Merge pull request #3206 from zloirock/update-core-js

update core-js
This commit is contained in:
Denis Pushkarev 2015-12-24 21:42:15 +06:00
commit 99622e3d0f
3 changed files with 20 additions and 10 deletions

View File

@ -70,10 +70,6 @@ module.exports = {
values: "object/values"
},
RegExp: {
escape: "regexp/escape"
},
Math: {
acosh: "math/acosh",
asinh: "math/asinh",
@ -91,7 +87,11 @@ module.exports = {
sign: "math/sign",
sinh: "math/sinh",
tanh: "math/tanh",
trunc: "math/trunc"
trunc: "math/trunc",
iaddh: "math/iaddh",
isubh: "math/isubh",
imulh: "math/imulh",
umulh: "math/umulh"
},
Symbol: {
@ -116,14 +116,16 @@ module.exports = {
endsWith: "string/ends-with",
fromCodePoint: "string/from-code-point",
includes: "string/includes",
padLeft: "string/pad-left",
padRight: "string/pad-right",
padStart: "string/pad-start",
padEnd: "string/pad-end",
raw: "string/raw",
repeat: "string/repeat",
startsWith: "string/starts-with",
trim: "string/trim",
trimLeft: "string/trim-left",
trimRight: "string/trim-right"
trimRight: "string/trim-right",
trimStart: "string/trim-left",
trimEnd: "string/trim-right"
},
Number: {
@ -153,6 +155,14 @@ module.exports = {
preventExtensions: "reflect/prevent-extensions",
setPrototypeOf: "reflect/set-prototype-of",
set: "reflect/set"
},
System: {
global: "system/global"
},
Error: {
isError: "error/is-error"
}
}
};

View File

@ -8,7 +8,7 @@
"repository": "https://github.com/babel/babel/tree/master/packages/babel-polyfill",
"main": "lib/index.js",
"dependencies": {
"core-js": "^1.0.1",
"core-js": "^2.0.0",
"babel-regenerator-runtime": "^6.3.13",
"babel-runtime": "^5.0.0"
}

View File

@ -6,7 +6,7 @@
"repository": "https://github.com/babel/babel/tree/master/packages/babel-runtime",
"author": "Sebastian McKenzie <sebmck@gmail.com>",
"dependencies": {
"core-js": "^1.2.0"
"core-js": "^2.0.0"
},
"devDependencies": {
"babel-helpers": "^6.3.13",