-
class構文を使って書き換える。
* 親メソッドの参照方法は、`this._super`から、`super.`となる。
* let,const,classの定義はグローバルオブジェクトのプロパティにならないことに注意。window\[\]ではundefinedになる。
* ↑ `if(typeof moduleClass != 'undefined')` のような箇所を書き換える必要が…
-
Hello, I am back after a 3-month retreat and I am now trying to upgrade my react version within my libraries as suggested by react `16.9.0` using `react-codemod` that use under the hood `jscodeshift`.…
kopax updated
2 years ago
-
### Describe the bug
im trying to decompile a 3MB file
```
wget https://boxy-svg.com/elements/apps/bx-progressivewebapp.js
node packages/cli/dist/cli.cjs unminify bx-progressivewebapp.js
``…
-
I found this library to be AMAZING, because it can event parse code like
`var answer: number = 6 * 7;` and get typeAnnotation, not like esprima. I just wonder why this cool feature not mentioned in r…
-
[AST Explorer](https://astexplorer.net/#/gist/fb1d90bd9d97857af8a7acbc7649dcc3/b81b9bd246ca9a13d7fa2b0e6f1287d42718bae3)
**Input**
```ts
interface Foo { foo: string; }
interface Bar { bar: strin…
-
### Summary
I hate how the `sx` prop wraps in my UI, creating large scrollbars:
I would rather see:
It feels so much better. But as soon as I run prettier, it gets back to the previou…
-
If I start with this code:
```js
const s = `
a
`;
function f() {
}
```
then run a codemod to move the declaration into the function, it produces this code:
```js
function f() {
const …
-
I run command `npx react-codemod rename-unsafe-lifecycles src` and got this error:
```
Error: Cannot find module 'core-js/modules/es.array.find'
Require stack:
- /Users/minhtran/.npm/_npx/24243/…
-
- [x ] I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item | Version
----- | -----
generator-angular-f…
-
Tried this command
git clone https://github.com/theia-ide/yangster-electron.git \
&& cd yangster-electron \
&& yarn \
&& yarn build \
&& yarn package
Failed with the following error message.…