Skip to content

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

License

Notifications You must be signed in to change notification settings

rajasegar/ember-memory-leaks-codemod

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%