@babel/standalone
Advanced tools
Comparing version 7.5.5 to 7.6.0
{ | ||
"name": "@babel/standalone", | ||
"version": "7.5.5", | ||
"version": "7.6.0", | ||
"description": "Standalone build of Babel for use in non-Node.js environments.", | ||
@@ -12,3 +12,3 @@ "main": "babel.js", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"@babel/core": "^7.6.0", | ||
"@babel/helper-plugin-utils": "^7.0.0", | ||
@@ -18,4 +18,4 @@ "@babel/plugin-external-helpers": "^7.2.0", | ||
"@babel/plugin-proposal-class-properties": "^7.5.5", | ||
"@babel/plugin-proposal-decorators": "^7.4.4", | ||
"@babel/plugin-proposal-do-expressions": "^7.5.0", | ||
"@babel/plugin-proposal-decorators": "^7.6.0", | ||
"@babel/plugin-proposal-do-expressions": "^7.6.0", | ||
"@babel/plugin-proposal-export-default-from": "^7.5.2", | ||
@@ -31,5 +31,5 @@ "@babel/plugin-proposal-export-namespace-from": "^7.5.2", | ||
"@babel/plugin-proposal-optional-catch-binding": "^7.2.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.2.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.6.0", | ||
"@babel/plugin-proposal-pipeline-operator": "^7.5.0", | ||
"@babel/plugin-proposal-private-methods": "^7.4.4", | ||
"@babel/plugin-proposal-private-methods": "^7.6.0", | ||
"@babel/plugin-proposal-throw-expressions": "^7.2.0", | ||
@@ -56,10 +56,10 @@ "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", | ||
"@babel/plugin-transform-block-scoped-functions": "^7.2.0", | ||
"@babel/plugin-transform-block-scoping": "^7.5.5", | ||
"@babel/plugin-transform-block-scoping": "^7.6.0", | ||
"@babel/plugin-transform-classes": "^7.5.5", | ||
"@babel/plugin-transform-computed-properties": "^7.2.0", | ||
"@babel/plugin-transform-destructuring": "^7.5.0", | ||
"@babel/plugin-transform-destructuring": "^7.6.0", | ||
"@babel/plugin-transform-dotall-regex": "^7.4.4", | ||
"@babel/plugin-transform-duplicate-keys": "^7.5.0", | ||
"@babel/plugin-transform-exponentiation-operator": "^7.2.0", | ||
"@babel/plugin-transform-flow-comments": "^7.5.5", | ||
"@babel/plugin-transform-flow-comments": "^7.6.0", | ||
"@babel/plugin-transform-flow-strip-types": "^7.4.4", | ||
@@ -73,3 +73,3 @@ "@babel/plugin-transform-for-of": "^7.4.4", | ||
"@babel/plugin-transform-modules-amd": "^7.5.0", | ||
"@babel/plugin-transform-modules-commonjs": "^7.5.0", | ||
"@babel/plugin-transform-modules-commonjs": "^7.6.0", | ||
"@babel/plugin-transform-modules-systemjs": "^7.5.0", | ||
@@ -85,3 +85,3 @@ "@babel/plugin-transform-modules-umd": "^7.2.0", | ||
"@babel/plugin-transform-proto-to-assign": "^7.5.5", | ||
"@babel/plugin-transform-react-constant-elements": "^7.5.0", | ||
"@babel/plugin-transform-react-constant-elements": "^7.6.0", | ||
"@babel/plugin-transform-react-display-name": "^7.2.0", | ||
@@ -95,3 +95,3 @@ "@babel/plugin-transform-react-inline-elements": "^7.2.0", | ||
"@babel/plugin-transform-reserved-words": "^7.2.0", | ||
"@babel/plugin-transform-runtime": "^7.5.5", | ||
"@babel/plugin-transform-runtime": "^7.6.0", | ||
"@babel/plugin-transform-shorthand-properties": "^7.2.0", | ||
@@ -103,7 +103,7 @@ "@babel/plugin-transform-spread": "^7.2.2", | ||
"@babel/plugin-transform-typeof-symbol": "^7.2.0", | ||
"@babel/plugin-transform-typescript": "^7.5.5", | ||
"@babel/plugin-transform-typescript": "^7.6.0", | ||
"@babel/plugin-transform-unicode-regex": "^7.4.4", | ||
"@babel/preset-flow": "^7.0.0", | ||
"@babel/preset-react": "^7.0.0", | ||
"@babel/preset-typescript": "^7.3.3" | ||
"@babel/preset-typescript": "^7.6.0" | ||
}, | ||
@@ -126,3 +126,3 @@ "keywords": [ | ||
"homepage": "https://github.com/babel/babel/tree/master/packages/babel-standalone", | ||
"gitHead": "0407f034f09381b95e9cabefbf6b176c76485a43" | ||
"gitHead": "cbd5a26e57758e3f748174ff84aa570e8780e85d" | ||
} |
@@ -43,3 +43,3 @@ /** | ||
if (isArray(name) && typeof name[0] === "string") { | ||
if (builtinTable.hasOwnProperty(name[0])) { | ||
if (Object.prototype.hasOwnProperty.call(builtinTable, name[0])) { | ||
return [builtinTable[name[0]]].concat(name.slice(1)); | ||
@@ -70,3 +70,3 @@ } | ||
typeof preset[0] === "object" && | ||
preset[0].hasOwnProperty("buildPreset") | ||
Object.prototype.hasOwnProperty.call(preset[0], "buildPreset") | ||
) { | ||
@@ -117,3 +117,3 @@ preset[0] = { ...preset[0], buildPreset: preset[0].buildPreset }; | ||
export function registerPlugin(name: string, plugin: Object | Function): void { | ||
if (availablePlugins.hasOwnProperty(name)) { | ||
if (Object.prototype.hasOwnProperty.call(availablePlugins, name)) { | ||
console.warn( | ||
@@ -141,3 +141,3 @@ `A plugin named "${name}" is already registered, it will be overridden`, | ||
export function registerPreset(name: string, preset: Object | Function): void { | ||
if (availablePresets.hasOwnProperty(name)) { | ||
if (Object.prototype.hasOwnProperty.call(availablePresets, name)) { | ||
console.warn( | ||
@@ -144,0 +144,0 @@ `A preset named "${name}" is already registered, it will be overridden`, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4786732
77352