@babel/helper-define-polyfill-provider
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -60,4 +60,10 @@ "use strict"; | ||
_ensure(map, programPath, Collection) { | ||
if (!map.has(programPath)) map.set(programPath, new Collection()); | ||
return map.get(programPath); | ||
let collection = map.get(programPath); | ||
if (!collection) { | ||
collection = new Collection(); | ||
map.set(programPath, collection); | ||
} | ||
return collection; | ||
} | ||
@@ -64,0 +70,0 @@ |
{ | ||
"name": "@babel/helper-define-polyfill-provider", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Babel helper to create your own polyfill provider", | ||
@@ -22,6 +22,6 @@ "repository": { | ||
"dependencies": { | ||
"@babel/helper-compilation-targets": "^7.8.7", | ||
"@babel/helper-module-imports": "^7.8.3", | ||
"@babel/helper-plugin-utils": "^7.8.3", | ||
"@babel/traverse": "^7.0.0", | ||
"@babel/helper-compilation-targets": "^7.10.4", | ||
"@babel/helper-module-imports": "^7.10.4", | ||
"@babel/helper-plugin-utils": "^7.10.4", | ||
"@babel/traverse": "^7.11.5", | ||
"debug": "^4.1.1", | ||
@@ -36,5 +36,5 @@ "lodash.debounce": "^4.0.8", | ||
"devDependencies": { | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.8.3", | ||
"@babel/generator": "^7.8.3", | ||
"@babel/cli": "^7.11.5", | ||
"@babel/core": "^7.11.5", | ||
"@babel/generator": "^7.11.5", | ||
"babel-loader": "^8.1.0", | ||
@@ -46,3 +46,3 @@ "rollup": "^2.3.2", | ||
}, | ||
"gitHead": "884798ac0f8dec9d8a4b6fc18967acdaf6596836" | ||
"gitHead": "84d6f5b367b9044dcf25d8539a638531effb5add" | ||
} |
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
27960
712