forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@angular-devkit/build-angular): update to core-js 3
Fixes angular#13954
- Loading branch information
Showing
16 changed files
with
116 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
packages/angular_devkit/build_angular/src/angular-cli-files/models/es2015-polyfills.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
packages/angular_devkit/build_angular/src/angular-cli-files/models/es5-polyfills.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
|
||
// ES2015 symbol capabilities | ||
import 'core-js/modules/es.symbol'; | ||
|
||
// ES2015 function capabilities | ||
import 'core-js/modules/es.function.bind'; | ||
import 'core-js/modules/es.function.name'; | ||
import 'core-js/modules/es.function.has-instance'; | ||
|
||
// ES2015 object capabilities | ||
import 'core-js/modules/es.object.create'; | ||
import 'core-js/modules/es.object.define-property'; | ||
import 'core-js/modules/es.object.define-properties'; | ||
import 'core-js/modules/es.object.get-own-property-descriptor'; | ||
import 'core-js/modules/es.object.get-prototype-of'; | ||
import 'core-js/modules/es.object.keys'; | ||
import 'core-js/modules/es.object.get-own-property-names'; | ||
import 'core-js/modules/es.object.freeze'; | ||
import 'core-js/modules/es.object.seal'; | ||
import 'core-js/modules/es.object.prevent-extensions'; | ||
import 'core-js/modules/es.object.is-frozen'; | ||
import 'core-js/modules/es.object.is-sealed'; | ||
import 'core-js/modules/es.object.is-extensible'; | ||
import 'core-js/modules/es.object.assign'; | ||
import 'core-js/modules/es.object.is'; | ||
import 'core-js/modules/es.object.set-prototype-of'; | ||
import 'core-js/modules/es.object.to-string'; | ||
|
||
// ES2015 array capabilities | ||
import 'core-js/modules/es.array.is-array'; | ||
import 'core-js/modules/es.array.from'; | ||
import 'core-js/modules/es.array.of'; | ||
import 'core-js/modules/es.array.join'; | ||
import 'core-js/modules/es.array.slice'; | ||
import 'core-js/modules/es.array.sort'; | ||
import 'core-js/modules/es.array.for-each'; | ||
import 'core-js/modules/es.array.map'; | ||
import 'core-js/modules/es.array.filter'; | ||
import 'core-js/modules/es.array.some'; | ||
import 'core-js/modules/es.array.every'; | ||
import 'core-js/modules/es.array.reduce'; | ||
import 'core-js/modules/es.array.reduce-right'; | ||
import 'core-js/modules/es.array.index-of'; | ||
import 'core-js/modules/es.array.last-index-of'; | ||
import 'core-js/modules/es.array.copy-within'; | ||
import 'core-js/modules/es.array.fill'; | ||
import 'core-js/modules/es.array.find'; | ||
import 'core-js/modules/es.array.find-index'; | ||
import 'core-js/modules/es.array.iterator'; | ||
|
||
// ES2015 string capabilities | ||
import 'core-js/modules/es.string.from-code-point'; | ||
import 'core-js/modules/es.string.raw'; | ||
import 'core-js/modules/es.string.trim'; | ||
import 'core-js/modules/es.string.iterator'; | ||
import 'core-js/modules/es.string.code-point-at'; | ||
import 'core-js/modules/es.string.ends-with'; | ||
import 'core-js/modules/es.string.includes'; | ||
import 'core-js/modules/es.string.repeat'; | ||
import 'core-js/modules/es.string.starts-with'; | ||
import 'core-js/modules/es.string.anchor'; | ||
import 'core-js/modules/es.string.big'; | ||
import 'core-js/modules/es.string.blink'; | ||
import 'core-js/modules/es.string.bold'; | ||
import 'core-js/modules/es.string.fixed'; | ||
import 'core-js/modules/es.string.fontcolor'; | ||
import 'core-js/modules/es.string.fontsize'; | ||
import 'core-js/modules/es.string.italics'; | ||
import 'core-js/modules/es.string.link'; | ||
import 'core-js/modules/es.string.small'; | ||
import 'core-js/modules/es.string.strike'; | ||
import 'core-js/modules/es.string.sub'; | ||
import 'core-js/modules/es.string.sup'; | ||
|
||
import 'core-js/modules/es.parse-int'; | ||
import 'core-js/modules/es.parse-float'; | ||
|
||
import 'core-js/es/number'; | ||
import 'core-js/es/math'; | ||
import 'core-js/es/date'; | ||
import 'core-js/es/regexp'; | ||
|
||
import 'core-js/modules/es.map'; | ||
import 'core-js/modules/es.weak-map'; | ||
import 'core-js/modules/es.set'; | ||
import 'core-js/modules/web.dom-collections.iterator'; | ||
import 'core-js/modules/es.promise'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/legacy-cli/e2e/assets/webpack/test-app-weird-ng5/not/so/source/app/main.jit.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/legacy-cli/e2e/assets/webpack/test-server-app-ng5/app/main.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2484,7 +2484,12 @@ [email protected]: | |
serialize-javascript "^1.4.0" | ||
webpack-log "^2.0.0" | ||
|
||
core-js@^2.2.0, core-js@^2.4.0, core-js@^2.4.1: | ||
[email protected]: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.0.tgz#a8dbfa978d29bfc263bfb66c556d0ca924c28957" | ||
integrity sha512-WBmxlgH2122EzEJ6GH8o9L/FeoUKxxxZ6q6VUxoTlsE4EvbTWKJb447eyVxTEuq0LpXjlq/kCB2qgBvsYRkLvQ== | ||
|
||
core-js@^2.2.0, core-js@^2.4.0: | ||
version "2.5.7" | ||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.7.tgz#f972608ff0cead68b841a16a932d0b183791814e" | ||
integrity sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw== | ||
|