├── .babelrc ├── .devolutionrc.js ├── .gitignore ├── .npmignore ├── README.md ├── __tests__ ├── __fixtures__ │ └── babel │ │ ├── generator │ │ ├── actual.js │ │ └── expected.json │ │ ├── node │ │ ├── actual.js │ │ └── expected.json │ │ └── static-fields │ │ ├── actual.js │ │ └── expected.json ├── detector.spec.js └── utils.spec.js ├── assets └── devo-logo.jpg ├── bin └── devolution ├── jest.config.js ├── package.json ├── src ├── cli.js ├── data │ ├── README.md │ ├── corejs2 │ │ ├── built-in-definitions.js │ │ ├── built-ins.js │ │ └── index.js │ ├── corejs3 │ │ ├── built-in-definitions.js │ │ ├── built-ins.js │ │ └── index.js │ └── esmBaseline.js ├── index.js ├── plugins │ └── detectPolyfills.js ├── rc.js ├── smoke-tester.js ├── utils.js └── workers │ ├── composePolyfill.js │ ├── detect.js │ └── transpile.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/.babelrc -------------------------------------------------------------------------------- /.devolutionrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/.devolutionrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | _tests 2 | assets 3 | yarn.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/__fixtures__/babel/generator/actual.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/__tests__/__fixtures__/babel/generator/actual.js -------------------------------------------------------------------------------- /__tests__/__fixtures__/babel/generator/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/__tests__/__fixtures__/babel/generator/expected.json -------------------------------------------------------------------------------- /__tests__/__fixtures__/babel/node/actual.js: -------------------------------------------------------------------------------- 1 | new Promise(() => { 2 | const map = new Map(); 3 | }); -------------------------------------------------------------------------------- /__tests__/__fixtures__/babel/node/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/__tests__/__fixtures__/babel/node/expected.json -------------------------------------------------------------------------------- /__tests__/__fixtures__/babel/static-fields/actual.js: -------------------------------------------------------------------------------- 1 | Number.isInteger(20); -------------------------------------------------------------------------------- /__tests__/__fixtures__/babel/static-fields/expected.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/__tests__/__fixtures__/babel/static-fields/expected.json -------------------------------------------------------------------------------- /__tests__/detector.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/__tests__/detector.spec.js -------------------------------------------------------------------------------- /__tests__/utils.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/__tests__/utils.spec.js -------------------------------------------------------------------------------- /assets/devo-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/assets/devo-logo.jpg -------------------------------------------------------------------------------- /bin/devolution: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | require('../dist/cli'); -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | testMatch: ['**/__tests__/*.spec.js'], 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/package.json -------------------------------------------------------------------------------- /src/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/cli.js -------------------------------------------------------------------------------- /src/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/README.md -------------------------------------------------------------------------------- /src/data/corejs2/built-in-definitions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/corejs2/built-in-definitions.js -------------------------------------------------------------------------------- /src/data/corejs2/built-ins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/corejs2/built-ins.js -------------------------------------------------------------------------------- /src/data/corejs2/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/corejs2/index.js -------------------------------------------------------------------------------- /src/data/corejs3/built-in-definitions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/corejs3/built-in-definitions.js -------------------------------------------------------------------------------- /src/data/corejs3/built-ins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/corejs3/built-ins.js -------------------------------------------------------------------------------- /src/data/corejs3/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/corejs3/index.js -------------------------------------------------------------------------------- /src/data/esmBaseline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/data/esmBaseline.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/index.js -------------------------------------------------------------------------------- /src/plugins/detectPolyfills.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/plugins/detectPolyfills.js -------------------------------------------------------------------------------- /src/rc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/rc.js -------------------------------------------------------------------------------- /src/smoke-tester.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/smoke-tester.js -------------------------------------------------------------------------------- /src/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/utils.js -------------------------------------------------------------------------------- /src/workers/composePolyfill.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/workers/composePolyfill.js -------------------------------------------------------------------------------- /src/workers/detect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/workers/detect.js -------------------------------------------------------------------------------- /src/workers/transpile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/src/workers/transpile.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theKashey/devolution/HEAD/yarn.lock --------------------------------------------------------------------------------