ember-native-class-codemod
ember-native-class-codemod copied to clipboard
A codemod-cli project for converting Ember objects to es6 native classes
Bumps [async](https://github.com/caolan/async) from 3.2.0 to 3.2.4. Changelog Sourced from async's changelog. v3.2.4 Fix a bug in priorityQueue where it didn't wait for the result. (#1725) Fix a bug where unshiftAsync...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...
Bumps [tar](https://github.com/npm/node-tar) from 6.0.1 to 6.1.11. Commits e573aee 6.1.11 edb8e9a fix: perf regression on hot string munging path a9d9b05 chore(test): Avoid spurious failures packing node_modules/.cache 24b8bda fix(test): use posix path...
Bumps [color-string](https://github.com/Qix-/color-string) from 1.5.3 to 1.9.1. Release notes Sourced from color-string's releases. 1.9.0 Minor Release 1.9.0 Add parsing of exponential alpha values for HWB and HSL (#66) Thanks to @babycannotsay...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1. Commits 64735d2 v4.1.1 75a657d Fix potential ReDoS (#37) See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this...
--classic-decorator cli option isn't respected
Running this codemod with `--classic-decorator=false` still replaces objects with classes wrapped with the `@classic` decorator: ``` npx ember-native-class-codemod http://intercom.test/app-store --type=route --classic-decorator=false app/routes ``` [Manually](https://github.com/22a/ember-native-class-codemod/commit/6d417d2d11624bd96b7ebf5d4599089009311bbf) inverting the default works as expected.
TypeError: Cannot read property 'process' of undefined
TypeError: Cannot read property 'process' of undefined at C:\Users\lifeart\AppData\Roaming\npm-cache\_npx\173988\node_modules\ember-es6-class-codemod\node_modules\flow-parser\/flow_parser.js:281:70 at Object. (C:\Users\lifeart\AppData\Roaming\npm-cache\_npx\173988\node_modules\ember-es6-class-codemod\node_modules\flow-parser\/flow_parser.js:2:2) at Module._compile (internal/modules/cjs/loader.js:778:30) at Module._compile (C:\Users\lifeart\AppData\Roaming\npm-cache\_npx\173988\node_modules\ember-es6-class-codemod\node_modules\pirates\lib\index.js:99:24) at Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Object.newLoader [as .js] (C:\Users\lifeart\AppData\Roaming\npm-cache\_npx\173988\node_modules\ember-es6-class-codemod\node_modules\pirates\lib\index.js:104:7) at Module.load (internal/modules/cjs/loader.js:653:32) at...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
need option '--decorators=true' thrown when transforming `action(function) {})`
With a pretty vanilla run of this codemod, I saw these errors in the logs: ``` Transform not supported - need option '--decorators=true' or the property type CallExpression can not...
The error I receive for a lot of the `js` files I try to update is: `error evaluating 'app/components/power-up-tile': Ember is not defined` Any idea why this might happen? This...