Merge pull request #2953 from zloirock/update-runtime-definition
Update definition entry points for runtime
This commit is contained in:
commit
985e71f288
@ -5,7 +5,9 @@ module.exports = {
|
||||
Map: "map",
|
||||
WeakMap: "weak-map",
|
||||
Set: "set",
|
||||
WeakSet: "weak-set"
|
||||
WeakSet: "weak-set",
|
||||
setImmediate: "set-immediate",
|
||||
clearImmediate: "clear-immediate"
|
||||
},
|
||||
|
||||
methods: {
|
||||
@ -41,11 +43,13 @@ module.exports = {
|
||||
values: "array/values"
|
||||
},
|
||||
|
||||
JSON: {
|
||||
stringify: "json/stringify"
|
||||
},
|
||||
|
||||
Object: {
|
||||
assign: "object/assign",
|
||||
classof: "object/classof",
|
||||
create: "object/create",
|
||||
define: "object/define",
|
||||
defineProperties: "object/define-properties",
|
||||
defineProperty: "object/define-property",
|
||||
entries: "object/entries",
|
||||
@ -54,15 +58,12 @@ module.exports = {
|
||||
getOwnPropertyDescriptors: "object/get-own-property-descriptors",
|
||||
getOwnPropertyNames: "object/get-own-property-names",
|
||||
getOwnPropertySymbols: "object/get-own-property-symbols",
|
||||
getPrototypePf: "object/get-prototype-of",
|
||||
index: "object/index",
|
||||
getPrototypeOf: "object/get-prototype-of",
|
||||
isExtensible: "object/is-extensible",
|
||||
isFrozen: "object/is-frozen",
|
||||
isObject: "object/is-object",
|
||||
isSealed: "object/is-sealed",
|
||||
is: "object/is",
|
||||
keys: "object/keys",
|
||||
make: "object/make",
|
||||
preventExtensions: "object/prevent-extensions",
|
||||
seal: "object/seal",
|
||||
setPrototypeOf: "object/set-prototype-of",
|
||||
@ -73,11 +74,6 @@ module.exports = {
|
||||
escape: "regexp/escape"
|
||||
},
|
||||
|
||||
Function: {
|
||||
only: "function/only",
|
||||
part: "function/part"
|
||||
},
|
||||
|
||||
Math: {
|
||||
acosh: "math/acosh",
|
||||
asinh: "math/asinh",
|
||||
@ -88,7 +84,6 @@ module.exports = {
|
||||
expm1: "math/expm1",
|
||||
fround: "math/fround",
|
||||
hypot: "math/hypot",
|
||||
pot: "math/pot",
|
||||
imul: "math/imul",
|
||||
log10: "math/log10",
|
||||
log1p: "math/log1p",
|
||||
@ -99,16 +94,10 @@ module.exports = {
|
||||
trunc: "math/trunc"
|
||||
},
|
||||
|
||||
Date: {
|
||||
addLocale: "date/add-locale",
|
||||
formatUTC: "date/format-utc",
|
||||
format: "date/format"
|
||||
},
|
||||
|
||||
Symbol: {
|
||||
for: "symbol/for",
|
||||
hasInstance: "symbol/has-instance",
|
||||
"is-concat-spreadable": "symbol/is-concat-spreadable",
|
||||
isConcatSpreadable: "symbol/is-concat-spreadable",
|
||||
iterator: "symbol/iterator",
|
||||
keyFor: "symbol/key-for",
|
||||
match: "symbol/match",
|
||||
@ -125,13 +114,16 @@ module.exports = {
|
||||
at: "string/at",
|
||||
codePointAt: "string/code-point-at",
|
||||
endsWith: "string/ends-with",
|
||||
escapeHTML: "string/escape-html",
|
||||
fromCodePoint: "string/from-code-point",
|
||||
includes: "string/includes",
|
||||
padLeft: "string/pad-left",
|
||||
padRight: "string/pad-right",
|
||||
raw: "string/raw",
|
||||
repeat: "string/repeat",
|
||||
startsWith: "string/starts-with",
|
||||
unescapeHTML: "string/unescape-html"
|
||||
trim: "string/trim",
|
||||
trimLeft: "string/trim-left",
|
||||
trimRight: "string/trim-right"
|
||||
},
|
||||
|
||||
Number: {
|
||||
@ -143,8 +135,7 @@ module.exports = {
|
||||
MAX_SAFE_INTEGER: "number/max-safe-integer",
|
||||
MIN_SAFE_INTEGER: "number/min-safe-integer",
|
||||
parseFloat: "number/parse-float",
|
||||
parseInt: "number/parse-int",
|
||||
random: "number/random"
|
||||
parseInt: "number/parse-int"
|
||||
},
|
||||
|
||||
Reflect: {
|
||||
|
||||
@ -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.0.0"
|
||||
"core-js": "^1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helpers": "^6.0.14",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user