3.5.2 • Published 7 years ago

mithril-codemods v3.5.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

mithril-codemods NPM Version NPM License

NPM Downloads Build Status Dependency Status devDependency Status

Automated porting of mithril@0.2 code to mithril@1.0.

Usage

> npm i -g mithril-codemods
> mithril-codemods --help

Usage
    $ mithril-codemods [<file|glob> ...]

Options
    --unsafe, -u    Use unsafe transforms
    --apply,  -a    Apply transforms (instead of a dry run)

Examples
    mithril-codemods **/*.js
    mithril-codemods --apply **/*.js
    mithril-codemods -ua some/specific/file.js

Transforms

Safe

These transforms are pretty safe and unlikely to have many false positives.

⚠️️️ Unsafe ⚠️

These transform are usually fine, but not applied by default since they can have unfortunate side-effects.

Warnings

There are certain classes of changes that are impossible to automatically convert.

3.5.2

7 years ago

3.5.1

7 years ago

3.5.0

7 years ago

3.4.3

7 years ago

3.4.2

7 years ago

3.4.1

7 years ago

3.3.2

7 years ago

3.4.0

7 years ago

3.3.1

7 years ago

3.3.0

7 years ago

3.2.1

7 years ago

3.1.0

7 years ago

3.0.1

7 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago