node package manager

mx-check-deprecations

Check deprecations (Mendix 6) in your Mendix widgets

Mendix Deprecation checker for widgets

NPM DAVID npm version

This tool is in beta

It will check your .MPK (widget) files for possible Javascript deprecations that will break your widget in the new Mendix 6 release. Check the Mendix 6 client API, as well as the documented deprecations.

Install

Make sure you have the latest NodeJS LTS version installed (this checker might have problems with Node v0.10.x and v0.12.x). At the moment it is v4.2.3 LTS.

Run:

    npm install mx-check-deprecations -g

This will install the checker globally.

Usage

Run it in your folder where you have widget (.mpk) files:

    mx-check-deprecations

Or check a single widget / list of widgets:

    mx-check-deprecations WidgetFile.mpk WidgetFile2.mpk ...

Further options

    > mx-check-deprecations -h
 
  ================ Mendix Check Deprecations for Mendix ================
                            -- version 1.2.0 --
 
  Usage : mx-check-deprecations [OPTIONS] [<file.mpk> <file.mpk> <file.mpk> ... ]
 
  Either check individual files, or the whole folder
 
 Options:
   -d, --update-deprecations  Update the list with deprecations from Github (not implemented yet)
   -u, --update               Checks if there is an update for mx-check-deprecations
   -e, --excel                Output to Excel file : deprecations.xlsx
   -v, --verbose              Verbose output
   -s, --string               Search for a specific string
   -h, --help                 Shows this help screen
 

License

The MIT License (MIT)

Copyright (c) 2015 Mendix

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.