Skip to content
A collection of codemod's for fixing memory leaks in Ember applications.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Committing prototype-ref codemods Apr 5, 2019
transforms
.gitignore Adding gitignore and license Apr 5, 2019
.travis.yml [CHORE] Setting up coveralls Apr 5, 2019
LICENSE
README.md [DOCS] Readme updates Apr 11, 2019
package-lock.json 1.3.5 Apr 13, 2019
package.json 1.3.5 Apr 13, 2019

README.md

ember-memory-leaks-codemod

Build Status Coverage Status npm version dependencies Status devDependencies Status

A collection of codemod's for fixing memory leaks in Ember applications.

Please refer here to know more about memory leaks in Ember applications.

Usage

To run a specific codemod from this project, you would run the following:

npx ember-memory-leaks-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

# or

yarn global add ember-memory-leaks-codemod
ember-memory-leaks-codemod <TRANSFORM NAME> path/of/files/ or/some**/*glob.js

Transforms

For fixing prototype reference leaks

npx ember-memory-leaks-codemod prototype-reference-leaks path/of/files/ or/some**/*glob.js

For fixing callback leaks

npx ember-memory-leaks-codemod callback-leaks path/of/files/ or/some**/*glob.js

Contributing

Installation

  • clone the repo
  • change into the repo directory
  • yarn

Running tests

  • yarn test

Update Documentation

  • yarn update-docs
You can’t perform that action at this time.