diff --git a/Makefile b/Makefile index df498a5323..b35ddf0707 100644 --- a/Makefile +++ b/Makefile @@ -72,5 +72,4 @@ bootstrap: ./node_modules/.bin/lerna bootstrap make build cd packages/babel-runtime; \ - npm install; \ node scripts/build-dist.js diff --git a/circle.yml b/circle.yml index 42bf0b0ea2..df9b1c49ec 100644 --- a/circle.yml +++ b/circle.yml @@ -3,6 +3,14 @@ machine: version: 6 +dependencies: + pre: + - curl -o- -L https://yarnpkg.com/install.sh | bash + cache_directories: + - ~/.yarn-cache + override: + - yarn + test: override: - make test-ci diff --git a/lerna.json b/lerna.json index 2a66b05933..29d69c0eea 100644 --- a/lerna.json +++ b/lerna.json @@ -14,9 +14,6 @@ } }, "cacheDir": ".changelog", - "bootstrapConfig": { - "ignore": "babel-runtime" - }, "publishConfig": { "ignore": [ "*.md", diff --git a/package.json b/package.json index b2cb44e7b8..99d9cf5126 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,9 @@ "babel-plugin-istanbul": "^2.0.1", "babel-plugin-transform-class-properties": "^6.6.0", "babel-plugin-transform-flow-strip-types": "^6.3.13", - "babel-plugin-transform-runtime": "^6.3.13", "babel-preset-es2015": "^6.13.2", "babel-preset-stage-0": "^6.0.0", "babel-register": "^6.14.0", - "babel-runtime": "^6.0.0", "browserify": "^13.1.1", "bundle-collapser": "^1.2.1", "chai": "^3.5.0", @@ -58,7 +56,6 @@ "stage-0" ], "plugins": [ - "transform-runtime", "transform-class-properties", "transform-flow-strip-types" ], diff --git a/packages/babel-cli/package.json b/packages/babel-cli/package.json index 4cecd9fe97..dba5eea05a 100644 --- a/packages/babel-cli/package.json +++ b/packages/babel-cli/package.json @@ -19,7 +19,6 @@ "babel-core": "^6.22.1", "babel-register": "^6.22.0", "babel-polyfill": "^6.22.0", - "babel-runtime": "^6.22.0", "commander": "^2.8.1", "convert-source-map": "^1.1.0", "fs-readdir-recursive": "^1.0.0", diff --git a/packages/babel-core/package.json b/packages/babel-core/package.json index 8de01d55b1..e28bf0b3c7 100644 --- a/packages/babel-core/package.json +++ b/packages/babel-core/package.json @@ -31,7 +31,6 @@ "babel-helpers": "^6.22.0", "babel-messages": "^6.22.0", "babel-template": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-register": "^6.22.0", "babel-traverse": "^6.22.1", "babel-types": "^6.22.0", diff --git a/packages/babel-core/src/store.js b/packages/babel-core/src/store.js index 1b172efbe0..bf5c984d75 100644 --- a/packages/babel-core/src/store.js +++ b/packages/babel-core/src/store.js @@ -1,22 +1,24 @@ -export default class Store extends Map { +export default class Store { constructor() { - super(); - this.dynamicData = {}; + this._map = new Map(); + this._map.dynamicData = {}; } - dynamicData: Object; - setDynamic(key, fn) { - this.dynamicData[key] = fn; + this._map.dynamicData[key] = fn; + } + + set(key: string, val) { + this._map.set(key, val); } get(key: string): any { - if (this.has(key)) { - return super.get(key); + if (this._map.has(key)) { + return this._map.get(key); } else { - if (Object.prototype.hasOwnProperty.call(this.dynamicData, key)) { - const val = this.dynamicData[key](); - this.set(key, val); + if (Object.prototype.hasOwnProperty.call(this._map.dynamicData, key)) { + const val = this._map.dynamicData[key](); + this._map.set(key, val); return val; } } diff --git a/packages/babel-generator/package.json b/packages/babel-generator/package.json index b305ca829c..9a6b38db42 100644 --- a/packages/babel-generator/package.json +++ b/packages/babel-generator/package.json @@ -12,7 +12,6 @@ ], "dependencies": { "babel-messages": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0", "detect-indent": "^5.0.0", "jsesc": "^1.3.0", diff --git a/packages/babel-helper-bindify-decorators/package.json b/packages/babel-helper-bindify-decorators/package.json index ba8d4b6ed3..782f453cfa 100644 --- a/packages/babel-helper-bindify-decorators/package.json +++ b/packages/babel-helper-bindify-decorators/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-traverse": "^6.22.0", "babel-types": "^6.22.0" } diff --git a/packages/babel-helper-builder-binary-assignment-operator-visitor/package.json b/packages/babel-helper-builder-binary-assignment-operator-visitor/package.json index 1170a03986..5cceb0d22c 100644 --- a/packages/babel-helper-builder-binary-assignment-operator-visitor/package.json +++ b/packages/babel-helper-builder-binary-assignment-operator-visitor/package.json @@ -7,7 +7,6 @@ "main": "lib/index.js", "dependencies": { "babel-helper-explode-assignable-expression": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" } } diff --git a/packages/babel-helper-builder-conditional-assignment-operator-visitor/package.json b/packages/babel-helper-builder-conditional-assignment-operator-visitor/package.json index d693b0dab6..215847d2b6 100644 --- a/packages/babel-helper-builder-conditional-assignment-operator-visitor/package.json +++ b/packages/babel-helper-builder-conditional-assignment-operator-visitor/package.json @@ -7,7 +7,6 @@ "main": "lib/index.js", "dependencies": { "babel-helper-explode-assignable-expression": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" } } diff --git a/packages/babel-helper-builder-react-jsx/package.json b/packages/babel-helper-builder-react-jsx/package.json index 96eda6166a..b42a80759e 100644 --- a/packages/babel-helper-builder-react-jsx/package.json +++ b/packages/babel-helper-builder-react-jsx/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0", "esutils": "^2.0.0", "lodash": "^4.2.0" diff --git a/packages/babel-helper-call-delegate/package.json b/packages/babel-helper-call-delegate/package.json index 258f15ebef..f50d9cdd54 100644 --- a/packages/babel-helper-call-delegate/package.json +++ b/packages/babel-helper-call-delegate/package.json @@ -7,7 +7,6 @@ "main": "lib/index.js", "dependencies": { "babel-traverse": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0", "babel-helper-hoist-variables": "^6.22.0" } diff --git a/packages/babel-helper-define-map/package.json b/packages/babel-helper-define-map/package.json index 615b8f7a05..6b37578050 100644 --- a/packages/babel-helper-define-map/package.json +++ b/packages/babel-helper-define-map/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "lodash": "^4.2.0", "babel-types": "^6.22.0", "babel-helper-function-name": "^6.22.0" diff --git a/packages/babel-helper-explode-assignable-expression/package.json b/packages/babel-helper-explode-assignable-expression/package.json index 5baba21edd..6a030f9006 100644 --- a/packages/babel-helper-explode-assignable-expression/package.json +++ b/packages/babel-helper-explode-assignable-expression/package.json @@ -7,7 +7,6 @@ "main": "lib/index.js", "dependencies": { "babel-traverse": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" } } diff --git a/packages/babel-helper-explode-class/package.json b/packages/babel-helper-explode-class/package.json index 0bbd09cc0a..9d2c16a0d0 100644 --- a/packages/babel-helper-explode-class/package.json +++ b/packages/babel-helper-explode-class/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-traverse": "^6.22.0", "babel-types": "^6.22.0", "babel-helper-bindify-decorators": "^6.22.0" diff --git a/packages/babel-helper-fixtures/package.json b/packages/babel-helper-fixtures/package.json index f02d590a3e..9233a89998 100644 --- a/packages/babel-helper-fixtures/package.json +++ b/packages/babel-helper-fixtures/package.json @@ -7,7 +7,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-fixtures", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "lodash": "^4.2.0", "try-resolve": "^1.0.0" } diff --git a/packages/babel-helper-function-name/package.json b/packages/babel-helper-function-name/package.json index a6482601d9..e73131de5d 100644 --- a/packages/babel-helper-function-name/package.json +++ b/packages/babel-helper-function-name/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0", "babel-traverse": "^6.22.0", "babel-helper-get-function-arity": "^6.22.0", diff --git a/packages/babel-helper-get-function-arity/package.json b/packages/babel-helper-get-function-arity/package.json index d6878a1758..199e2bc695 100644 --- a/packages/babel-helper-get-function-arity/package.json +++ b/packages/babel-helper-get-function-arity/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" } } diff --git a/packages/babel-helper-hoist-variables/package.json b/packages/babel-helper-hoist-variables/package.json index 6d303b2765..428b1d04d3 100644 --- a/packages/babel-helper-hoist-variables/package.json +++ b/packages/babel-helper-hoist-variables/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" } } diff --git a/packages/babel-helper-optimise-call-expression/package.json b/packages/babel-helper-optimise-call-expression/package.json index a033ad6dd9..b3b8cbdcb4 100644 --- a/packages/babel-helper-optimise-call-expression/package.json +++ b/packages/babel-helper-optimise-call-expression/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" } } diff --git a/packages/babel-helper-plugin-test-runner/package.json b/packages/babel-helper-plugin-test-runner/package.json index c8b0dfa1f2..e8fc962da4 100644 --- a/packages/babel-helper-plugin-test-runner/package.json +++ b/packages/babel-helper-plugin-test-runner/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-helper-transform-fixture-test-runner": "^6.22.0" } } diff --git a/packages/babel-helper-regex/package.json b/packages/babel-helper-regex/package.json index 0a3e92f249..ab92376eff 100644 --- a/packages/babel-helper-regex/package.json +++ b/packages/babel-helper-regex/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "lodash": "^4.2.0", "babel-types": "^6.22.0" } diff --git a/packages/babel-helper-remap-async-to-generator/package.json b/packages/babel-helper-remap-async-to-generator/package.json index e1ec449760..d00a0410bd 100644 --- a/packages/babel-helper-remap-async-to-generator/package.json +++ b/packages/babel-helper-remap-async-to-generator/package.json @@ -6,7 +6,6 @@ "license": "MIT", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-template": "^6.22.0", "babel-types": "^6.22.0", "babel-traverse": "^6.22.0", diff --git a/packages/babel-helper-replace-supers/package.json b/packages/babel-helper-replace-supers/package.json index e9fd9c65eb..d1bb283209 100644 --- a/packages/babel-helper-replace-supers/package.json +++ b/packages/babel-helper-replace-supers/package.json @@ -7,7 +7,6 @@ "main": "lib/index.js", "dependencies": { "babel-helper-optimise-call-expression": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-traverse": "^6.22.0", "babel-messages": "^6.22.0", "babel-template": "^6.22.0", diff --git a/packages/babel-helper-transform-fixture-test-runner/package.json b/packages/babel-helper-transform-fixture-test-runner/package.json index 61e7603096..2d9f78097a 100644 --- a/packages/babel-helper-transform-fixture-test-runner/package.json +++ b/packages/babel-helper-transform-fixture-test-runner/package.json @@ -8,7 +8,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-transform-fixture-test-runner", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-core": "^6.22.0", "babel-polyfill": "^6.22.0", "babel-helper-fixtures": "^6.22.0", diff --git a/packages/babel-helpers/package.json b/packages/babel-helpers/package.json index a88c869426..19e03ccd86 100644 --- a/packages/babel-helpers/package.json +++ b/packages/babel-helpers/package.json @@ -8,7 +8,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helpers", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "babel-template": "^6.22.0" } } diff --git a/packages/babel-messages/package.json b/packages/babel-messages/package.json index 13f11c756a..022d7508ac 100644 --- a/packages/babel-messages/package.json +++ b/packages/babel-messages/package.json @@ -6,8 +6,5 @@ "homepage": "https://babeljs.io/", "license": "MIT", "repository": "https://github.com/babel/babel/tree/master/packages/babel-messages", - "main": "lib/index.js", - "dependencies": { - "babel-runtime": "^6.22.0" - } + "main": "lib/index.js" } diff --git a/packages/babel-plugin-check-es2015-constants/package.json b/packages/babel-plugin-check-es2015-constants/package.json index b335fbf3f8..fdceaa851a 100644 --- a/packages/babel-plugin-check-es2015-constants/package.json +++ b/packages/babel-plugin-check-es2015-constants/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-external-helpers/package.json b/packages/babel-plugin-external-helpers/package.json index c178ef6555..ba6643c695 100644 --- a/packages/babel-plugin-external-helpers/package.json +++ b/packages/babel-plugin-external-helpers/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-async-functions/package.json b/packages/babel-plugin-transform-async-functions/package.json index 98f9ad738b..c39e9d439c 100644 --- a/packages/babel-plugin-transform-async-functions/package.json +++ b/packages/babel-plugin-transform-async-functions/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-plugin-syntax-async-functions": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-plugin-syntax-async-functions": "^6.8.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-async-generator-functions/package.json b/packages/babel-plugin-transform-async-generator-functions/package.json index 0fdff521fb..38e5682b3c 100644 --- a/packages/babel-plugin-transform-async-generator-functions/package.json +++ b/packages/babel-plugin-transform-async-generator-functions/package.json @@ -10,8 +10,7 @@ ], "dependencies": { "babel-helper-remap-async-to-generator": "^6.22.0", - "babel-plugin-syntax-async-generators": "^6.5.0", - "babel-runtime": "^6.22.0" + "babel-plugin-syntax-async-generators": "^6.5.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-async-to-generator/package.json b/packages/babel-plugin-transform-async-to-generator/package.json index 9dcbc1e179..a08251e34b 100644 --- a/packages/babel-plugin-transform-async-to-generator/package.json +++ b/packages/babel-plugin-transform-async-to-generator/package.json @@ -10,8 +10,7 @@ ], "dependencies": { "babel-helper-remap-async-to-generator": "^6.22.0", - "babel-plugin-syntax-async-functions": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-plugin-syntax-async-functions": "^6.8.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-async-to-module-method/package.json b/packages/babel-plugin-transform-async-to-module-method/package.json index 1d5029e79b..338bc63f30 100644 --- a/packages/babel-plugin-transform-async-to-module-method/package.json +++ b/packages/babel-plugin-transform-async-to-module-method/package.json @@ -11,8 +11,7 @@ "dependencies": { "babel-plugin-syntax-async-functions": "^6.8.0", "babel-helper-remap-async-to-generator": "^6.22.0", - "babel-types": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-types": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-class-properties/package.json b/packages/babel-plugin-transform-class-properties/package.json index 6bb3fd5012..7122b69b10 100644 --- a/packages/babel-plugin-transform-class-properties/package.json +++ b/packages/babel-plugin-transform-class-properties/package.json @@ -11,7 +11,6 @@ "dependencies": { "babel-helper-function-name": "^6.22.0", "babel-plugin-syntax-class-properties": "^6.8.0", - "babel-runtime": "^6.22.0", "babel-template": "^6.22.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-decorators/package.json b/packages/babel-plugin-transform-decorators/package.json index e8df3a76d0..0264dc7052 100644 --- a/packages/babel-plugin-transform-decorators/package.json +++ b/packages/babel-plugin-transform-decorators/package.json @@ -12,8 +12,7 @@ "babel-types": "^6.22.0", "babel-plugin-syntax-decorators": "^6.13.0", "babel-helper-explode-class": "^6.22.0", - "babel-template": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-template": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-do-expressions/package.json b/packages/babel-plugin-transform-do-expressions/package.json index 7df5dc01b7..2280a1b7ee 100644 --- a/packages/babel-plugin-transform-do-expressions/package.json +++ b/packages/babel-plugin-transform-do-expressions/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-plugin-syntax-do-expressions": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-plugin-syntax-do-expressions": "^6.8.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-es2015-arrow-functions/package.json b/packages/babel-plugin-transform-es2015-arrow-functions/package.json index 0db0959e50..4616579a78 100644 --- a/packages/babel-plugin-transform-es2015-arrow-functions/package.json +++ b/packages/babel-plugin-transform-es2015-arrow-functions/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-block-scoped-functions/package.json b/packages/babel-plugin-transform-es2015-block-scoped-functions/package.json index 922e711887..a23ad992fa 100644 --- a/packages/babel-plugin-transform-es2015-block-scoped-functions/package.json +++ b/packages/babel-plugin-transform-es2015-block-scoped-functions/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-block-scoping/package.json b/packages/babel-plugin-transform-es2015-block-scoping/package.json index 15bedf9241..ef72fdfecf 100644 --- a/packages/babel-plugin-transform-es2015-block-scoping/package.json +++ b/packages/babel-plugin-transform-es2015-block-scoping/package.json @@ -9,8 +9,7 @@ "babel-traverse": "^6.22.0", "babel-types": "^6.22.0", "babel-template": "^6.22.0", - "lodash": "^4.2.0", - "babel-runtime": "^6.22.0" + "lodash": "^4.2.0" }, "keywords": [ "babel-plugin" diff --git a/packages/babel-plugin-transform-es2015-classes/package.json b/packages/babel-plugin-transform-es2015-classes/package.json index 7288800d7e..1d17d0b748 100644 --- a/packages/babel-plugin-transform-es2015-classes/package.json +++ b/packages/babel-plugin-transform-es2015-classes/package.json @@ -13,7 +13,6 @@ "babel-traverse": "^6.22.0", "babel-helper-define-map": "^6.22.0", "babel-messages": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" }, "keywords": [ diff --git a/packages/babel-plugin-transform-es2015-computed-properties/package.json b/packages/babel-plugin-transform-es2015-computed-properties/package.json index 5eb95c5463..b0ec2bbc45 100644 --- a/packages/babel-plugin-transform-es2015-computed-properties/package.json +++ b/packages/babel-plugin-transform-es2015-computed-properties/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-template": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-template": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-es2015-destructuring/package.json b/packages/babel-plugin-transform-es2015-destructuring/package.json index 1eb1c832d7..4eb5eb75ae 100644 --- a/packages/babel-plugin-transform-es2015-destructuring/package.json +++ b/packages/babel-plugin-transform-es2015-destructuring/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-duplicate-keys/package.json b/packages/babel-plugin-transform-es2015-duplicate-keys/package.json index 6b67a6e48d..085c74f022 100644 --- a/packages/babel-plugin-transform-es2015-duplicate-keys/package.json +++ b/packages/babel-plugin-transform-es2015-duplicate-keys/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-es2015-for-of/package.json b/packages/babel-plugin-transform-es2015-for-of/package.json index 5c1aa3b7e4..53b2959969 100644 --- a/packages/babel-plugin-transform-es2015-for-of/package.json +++ b/packages/babel-plugin-transform-es2015-for-of/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-function-name/package.json b/packages/babel-plugin-transform-es2015-function-name/package.json index 27d81478bc..806288e82e 100644 --- a/packages/babel-plugin-transform-es2015-function-name/package.json +++ b/packages/babel-plugin-transform-es2015-function-name/package.json @@ -10,8 +10,7 @@ ], "dependencies": { "babel-helper-function-name": "^6.22.0", - "babel-types": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-types": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-es2015-instanceof/package.json b/packages/babel-plugin-transform-es2015-instanceof/package.json index 7f214ad6ac..439f03eadb 100644 --- a/packages/babel-plugin-transform-es2015-instanceof/package.json +++ b/packages/babel-plugin-transform-es2015-instanceof/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-literals/package.json b/packages/babel-plugin-transform-es2015-literals/package.json index f99175fe37..1b856acbd1 100644 --- a/packages/babel-plugin-transform-es2015-literals/package.json +++ b/packages/babel-plugin-transform-es2015-literals/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-modules-amd/package.json b/packages/babel-plugin-transform-es2015-modules-amd/package.json index 81560058ad..b7aee66862 100644 --- a/packages/babel-plugin-transform-es2015-modules-amd/package.json +++ b/packages/babel-plugin-transform-es2015-modules-amd/package.json @@ -7,8 +7,7 @@ "main": "lib/index.js", "dependencies": { "babel-plugin-transform-es2015-modules-commonjs": "^6.22.0", - "babel-template": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-template": "^6.22.0" }, "keywords": [ "babel-plugin" diff --git a/packages/babel-plugin-transform-es2015-modules-commonjs/package.json b/packages/babel-plugin-transform-es2015-modules-commonjs/package.json index d27c57c5af..923bf06419 100644 --- a/packages/babel-plugin-transform-es2015-modules-commonjs/package.json +++ b/packages/babel-plugin-transform-es2015-modules-commonjs/package.json @@ -7,7 +7,6 @@ "main": "lib/index.js", "dependencies": { "babel-types": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-template": "^6.22.0", "babel-plugin-transform-strict-mode": "^6.22.0" }, diff --git a/packages/babel-plugin-transform-es2015-modules-systemjs/package.json b/packages/babel-plugin-transform-es2015-modules-systemjs/package.json index 4a2955ebfc..73cdf2d9c5 100644 --- a/packages/babel-plugin-transform-es2015-modules-systemjs/package.json +++ b/packages/babel-plugin-transform-es2015-modules-systemjs/package.json @@ -7,8 +7,7 @@ "main": "lib/index.js", "dependencies": { "babel-template": "^6.22.0", - "babel-helper-hoist-variables": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-helper-hoist-variables": "^6.22.0" }, "keywords": [ "babel-plugin" diff --git a/packages/babel-plugin-transform-es2015-modules-umd/package.json b/packages/babel-plugin-transform-es2015-modules-umd/package.json index 1fc3b03b9b..95944f163b 100644 --- a/packages/babel-plugin-transform-es2015-modules-umd/package.json +++ b/packages/babel-plugin-transform-es2015-modules-umd/package.json @@ -7,8 +7,7 @@ "main": "lib/index.js", "dependencies": { "babel-plugin-transform-es2015-modules-amd": "^6.22.0", - "babel-template": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-template": "^6.22.0" }, "keywords": [ "babel-plugin" diff --git a/packages/babel-plugin-transform-es2015-object-super/package.json b/packages/babel-plugin-transform-es2015-object-super/package.json index df33b3d904..ca04d8f410 100644 --- a/packages/babel-plugin-transform-es2015-object-super/package.json +++ b/packages/babel-plugin-transform-es2015-object-super/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-helper-replace-supers": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-helper-replace-supers": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-es2015-parameters/package.json b/packages/babel-plugin-transform-es2015-parameters/package.json index 4715c8086b..72fdeee2a4 100644 --- a/packages/babel-plugin-transform-es2015-parameters/package.json +++ b/packages/babel-plugin-transform-es2015-parameters/package.json @@ -10,8 +10,7 @@ "babel-helper-call-delegate": "^6.22.0", "babel-helper-get-function-arity": "^6.22.0", "babel-template": "^6.22.0", - "babel-types": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-types": "^6.22.0" }, "keywords": [ "babel-plugin" diff --git a/packages/babel-plugin-transform-es2015-shorthand-properties/package.json b/packages/babel-plugin-transform-es2015-shorthand-properties/package.json index f3d831b323..050bca5f58 100644 --- a/packages/babel-plugin-transform-es2015-shorthand-properties/package.json +++ b/packages/babel-plugin-transform-es2015-shorthand-properties/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-types": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-types": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-es2015-spread/package.json b/packages/babel-plugin-transform-es2015-spread/package.json index f852ac3186..ac55dfe8b1 100644 --- a/packages/babel-plugin-transform-es2015-spread/package.json +++ b/packages/babel-plugin-transform-es2015-spread/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-sticky-regex/package.json b/packages/babel-plugin-transform-es2015-sticky-regex/package.json index 066ca612df..72dae50f3d 100644 --- a/packages/babel-plugin-transform-es2015-sticky-regex/package.json +++ b/packages/babel-plugin-transform-es2015-sticky-regex/package.json @@ -10,8 +10,7 @@ ], "dependencies": { "babel-helper-regex": "^6.22.0", - "babel-types": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-types": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-es2015-template-literals/package.json b/packages/babel-plugin-transform-es2015-template-literals/package.json index e24bb6d91c..fb4a761686 100644 --- a/packages/babel-plugin-transform-es2015-template-literals/package.json +++ b/packages/babel-plugin-transform-es2015-template-literals/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-typeof-symbol/package.json b/packages/babel-plugin-transform-es2015-typeof-symbol/package.json index db7ba27eb0..323c189e93 100644 --- a/packages/babel-plugin-transform-es2015-typeof-symbol/package.json +++ b/packages/babel-plugin-transform-es2015-typeof-symbol/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es2015-unicode-regex/package.json b/packages/babel-plugin-transform-es2015-unicode-regex/package.json index 0946948131..634c4fbe5d 100644 --- a/packages/babel-plugin-transform-es2015-unicode-regex/package.json +++ b/packages/babel-plugin-transform-es2015-unicode-regex/package.json @@ -10,7 +10,6 @@ ], "dependencies": { "babel-helper-regex": "^6.22.0", - "babel-runtime": "^6.22.0", "regexpu-core": "^4.0.2" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-es3-member-expression-literals/package.json b/packages/babel-plugin-transform-es3-member-expression-literals/package.json index 4fcbd64c14..a3bb29a196 100644 --- a/packages/babel-plugin-transform-es3-member-expression-literals/package.json +++ b/packages/babel-plugin-transform-es3-member-expression-literals/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es3-property-literals/package.json b/packages/babel-plugin-transform-es3-property-literals/package.json index 7409bed336..b8d43a4043 100644 --- a/packages/babel-plugin-transform-es3-property-literals/package.json +++ b/packages/babel-plugin-transform-es3-property-literals/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-es5-property-mutators/package.json b/packages/babel-plugin-transform-es5-property-mutators/package.json index b2cdbb72e7..d45b7e8f70 100644 --- a/packages/babel-plugin-transform-es5-property-mutators/package.json +++ b/packages/babel-plugin-transform-es5-property-mutators/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-helper-define-map": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-helper-define-map": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-eval/package.json b/packages/babel-plugin-transform-eval/package.json index bccdad7b70..22ac0cc9fb 100644 --- a/packages/babel-plugin-transform-eval/package.json +++ b/packages/babel-plugin-transform-eval/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-exponentiation-operator/package.json b/packages/babel-plugin-transform-exponentiation-operator/package.json index 17b67800e9..13bbfdef79 100644 --- a/packages/babel-plugin-transform-exponentiation-operator/package.json +++ b/packages/babel-plugin-transform-exponentiation-operator/package.json @@ -10,8 +10,7 @@ ], "dependencies": { "babel-plugin-syntax-exponentiation-operator": "^6.8.0", - "babel-helper-builder-binary-assignment-operator-visitor": "^6.22.0", - "babel-runtime": "^6.22.0" + "babel-helper-builder-binary-assignment-operator-visitor": "^6.22.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-export-extensions/package.json b/packages/babel-plugin-transform-export-extensions/package.json index d46c645073..535387da3f 100644 --- a/packages/babel-plugin-transform-export-extensions/package.json +++ b/packages/babel-plugin-transform-export-extensions/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-plugin-syntax-export-extensions": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-plugin-syntax-export-extensions": "^6.8.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-flow-comments/package.json b/packages/babel-plugin-transform-flow-comments/package.json index b6cc439158..1d717b8385 100644 --- a/packages/babel-plugin-transform-flow-comments/package.json +++ b/packages/babel-plugin-transform-flow-comments/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-plugin-syntax-flow": "^6.8.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-flow-strip-types/package.json b/packages/babel-plugin-transform-flow-strip-types/package.json index 58647d4487..3c0fd61d27 100644 --- a/packages/babel-plugin-transform-flow-strip-types/package.json +++ b/packages/babel-plugin-transform-flow-strip-types/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-plugin-syntax-flow": "^6.18.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-function-bind/package.json b/packages/babel-plugin-transform-function-bind/package.json index 1aa3363dc9..be80fbc653 100644 --- a/packages/babel-plugin-transform-function-bind/package.json +++ b/packages/babel-plugin-transform-function-bind/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-plugin-syntax-function-bind": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-plugin-syntax-function-bind": "^6.8.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-jscript/package.json b/packages/babel-plugin-transform-jscript/package.json index 5b6d73e62b..5302d018e1 100644 --- a/packages/babel-plugin-transform-jscript/package.json +++ b/packages/babel-plugin-transform-jscript/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-object-assign/package.json b/packages/babel-plugin-transform-object-assign/package.json index c024adffff..d365679451 100644 --- a/packages/babel-plugin-transform-object-assign/package.json +++ b/packages/babel-plugin-transform-object-assign/package.json @@ -9,9 +9,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-object-rest-spread/package.json b/packages/babel-plugin-transform-object-rest-spread/package.json index 9052c3e695..b3686266c1 100644 --- a/packages/babel-plugin-transform-object-rest-spread/package.json +++ b/packages/babel-plugin-transform-object-rest-spread/package.json @@ -9,8 +9,7 @@ "babel-plugin" ], "dependencies": { - "babel-plugin-syntax-object-rest-spread": "^6.8.0", - "babel-runtime": "^6.22.0" + "babel-plugin-syntax-object-rest-spread": "^6.8.0" }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" diff --git a/packages/babel-plugin-transform-object-set-prototype-of-to-assign/package.json b/packages/babel-plugin-transform-object-set-prototype-of-to-assign/package.json index a78df644be..c2c8ceb1ce 100644 --- a/packages/babel-plugin-transform-object-set-prototype-of-to-assign/package.json +++ b/packages/babel-plugin-transform-object-set-prototype-of-to-assign/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-proto-to-assign/package.json b/packages/babel-plugin-transform-proto-to-assign/package.json index e26181cc7b..b0eb2e46e1 100644 --- a/packages/babel-plugin-transform-proto-to-assign/package.json +++ b/packages/babel-plugin-transform-proto-to-assign/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "lodash": "^4.2.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-react-constant-elements/package.json b/packages/babel-plugin-transform-react-constant-elements/package.json index fe30acd07f..79d30ac762 100644 --- a/packages/babel-plugin-transform-react-constant-elements/package.json +++ b/packages/babel-plugin-transform-react-constant-elements/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-react-display-name/package.json b/packages/babel-plugin-transform-react-display-name/package.json index e08f45f41b..1bb155829a 100644 --- a/packages/babel-plugin-transform-react-display-name/package.json +++ b/packages/babel-plugin-transform-react-display-name/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-react-jsx-compat/package.json b/packages/babel-plugin-transform-react-jsx-compat/package.json index 7b853f1a64..87231cf7f1 100644 --- a/packages/babel-plugin-transform-react-jsx-compat/package.json +++ b/packages/babel-plugin-transform-react-jsx-compat/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-helper-builder-react-jsx": "^6.22.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-react-jsx-self/package.json b/packages/babel-plugin-transform-react-jsx-self/package.json index 45f1018b3f..1f26df5265 100644 --- a/packages/babel-plugin-transform-react-jsx-self/package.json +++ b/packages/babel-plugin-transform-react-jsx-self/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-plugin-syntax-jsx": "^6.8.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-react-jsx-source/package.json b/packages/babel-plugin-transform-react-jsx-source/package.json index e7e5c87747..150b203d7b 100644 --- a/packages/babel-plugin-transform-react-jsx-source/package.json +++ b/packages/babel-plugin-transform-react-jsx-source/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-plugin-syntax-jsx": "^6.8.0" }, "devDependencies": { diff --git a/packages/babel-plugin-transform-react-jsx/package.json b/packages/babel-plugin-transform-react-jsx/package.json index 0b242a701e..1f60338023 100644 --- a/packages/babel-plugin-transform-react-jsx/package.json +++ b/packages/babel-plugin-transform-react-jsx/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-helper-builder-react-jsx": "^6.22.0", "babel-plugin-syntax-jsx": "^6.8.0" }, diff --git a/packages/babel-plugin-transform-runtime/package.json b/packages/babel-plugin-transform-runtime/package.json index 9f01577ebd..4caf8e6951 100644 --- a/packages/babel-plugin-transform-runtime/package.json +++ b/packages/babel-plugin-transform-runtime/package.json @@ -8,9 +8,6 @@ "keywords": [ "babel-plugin" ], - "dependencies": { - "babel-runtime": "^6.22.0" - }, "devDependencies": { "babel-helper-plugin-test-runner": "^6.22.0" } diff --git a/packages/babel-plugin-transform-strict-mode/package.json b/packages/babel-plugin-transform-strict-mode/package.json index c006ccf966..8a2177f347 100644 --- a/packages/babel-plugin-transform-strict-mode/package.json +++ b/packages/babel-plugin-transform-strict-mode/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0" }, "devDependencies": { diff --git a/packages/babel-plugin-undeclared-variables-check/package.json b/packages/babel-plugin-undeclared-variables-check/package.json index 36566b54bc..71ae4c595b 100644 --- a/packages/babel-plugin-undeclared-variables-check/package.json +++ b/packages/babel-plugin-undeclared-variables-check/package.json @@ -9,7 +9,6 @@ "babel-plugin" ], "dependencies": { - "babel-runtime": "^6.22.0", "leven": "^1.0.2" }, "devDependencies": { diff --git a/packages/babel-polyfill/package.json b/packages/babel-polyfill/package.json index 5e74561a7a..77a62a8485 100644 --- a/packages/babel-polyfill/package.json +++ b/packages/babel-polyfill/package.json @@ -9,7 +9,6 @@ "main": "lib/index.js", "dependencies": { "core-js": "^2.4.0", - "babel-runtime": "^6.22.0", "regenerator-runtime": "^0.10.0" } } diff --git a/packages/babel-register/package.json b/packages/babel-register/package.json index 1d5554dafc..600bd1f920 100644 --- a/packages/babel-register/package.json +++ b/packages/babel-register/package.json @@ -9,7 +9,6 @@ "browser": "lib/browser.js", "dependencies": { "babel-core": "^6.22.0", - "babel-runtime": "^6.22.0", "core-js": "^2.4.0", "home-or-tmp": "^3.0.0", "lodash": "^4.2.0", diff --git a/packages/babel-runtime/scripts/build-dist.js b/packages/babel-runtime/scripts/build-dist.js index 1d1e6c58ad..050aa73b21 100644 --- a/packages/babel-runtime/scripts/build-dist.js +++ b/packages/babel-runtime/scripts/build-dist.js @@ -32,16 +32,6 @@ function relative(filename) { return __dirname + "/../" + filename; } -function readFile(filename, shouldDefaultify) { - var file = fs.readFileSync(require.resolve(filename), "utf8"); - - if (shouldDefaultify) { - file += "\n" + defaultify("module.exports") + "\n"; - } - - return file; -} - function defaultify(name) { return 'module.exports = { "default": ' + name + ', __esModule: true };'; } @@ -63,15 +53,15 @@ var transformOpts = { plugins: [ require("../../babel-plugin-transform-runtime"), - [require("../../babel-plugin-transform-es2015-modules-commonjs"), {loose: true, strict: false}] + [require("../../babel-plugin-transform-es2015-modules-commonjs"), { loose: true, strict: false }] ] }; function buildRuntimeRewritePlugin(relativePath, helperName) { return { - pre: function (file){ + pre: function (file) { var original = file.get("helperGenerator"); - file.set("helperGenerator", function(name){ + file.set("helperGenerator", function(name) { // make sure that helpers won't insert circular references to themselves if (name === helperName) return; @@ -92,13 +82,6 @@ function buildRuntimeRewritePlugin(relativePath, helperName) { }; } -function selfContainify(path, code) { - return babel.transform(code, { - presets: transformOpts.presets, - plugins: transformOpts.plugins.concat([buildRuntimeRewritePlugin(path, null)]) - }).code; -} - function buildHelper(helperName) { var tree = t.program([ t.exportDefaultDeclaration(helpers.get(helperName)) diff --git a/packages/babel-template/package.json b/packages/babel-template/package.json index 956384f9ee..8c36f1655b 100644 --- a/packages/babel-template/package.json +++ b/packages/babel-template/package.json @@ -11,7 +11,6 @@ "babylon": "^6.11.0", "babel-traverse": "^6.22.0", "babel-types": "^6.22.0", - "babel-runtime": "^6.22.0", "lodash": "^4.2.0" } } diff --git a/packages/babel-traverse/package.json b/packages/babel-traverse/package.json index 8066c617a8..51dff4bfd7 100644 --- a/packages/babel-traverse/package.json +++ b/packages/babel-traverse/package.json @@ -10,7 +10,6 @@ "dependencies": { "babel-code-frame": "^6.22.0", "babel-messages": "^6.22.0", - "babel-runtime": "^6.22.0", "babel-types": "^6.22.0", "babylon": "^6.15.0", "debug": "^2.2.0", diff --git a/packages/babel-types/package.json b/packages/babel-types/package.json index 0f8cb8565d..57c4bc762a 100644 --- a/packages/babel-types/package.json +++ b/packages/babel-types/package.json @@ -8,7 +8,6 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-types", "main": "lib/index.js", "dependencies": { - "babel-runtime": "^6.22.0", "esutils": "^2.0.2", "lodash": "^4.2.0", "to-fast-properties": "^1.0.1"