@babel/helper-define-map
Advanced tools
Comparing version 7.12.13 to 7.13.12
@@ -14,4 +14,2 @@ "use strict"; | ||
var _has = _interopRequireDefault(require("lodash/has")); | ||
var t = _interopRequireWildcard(require("@babel/types")); | ||
@@ -35,6 +33,8 @@ | ||
const has = Function.prototype.call.bind(Object.prototype.hasOwnProperty); | ||
function push(mutatorMap, node, kind, file, scope) { | ||
const alias = t.toKeyAlias(node); | ||
let map = {}; | ||
if ((0, _has.default)(mutatorMap, alias)) map = mutatorMap[alias]; | ||
if (has(mutatorMap, alias)) map = mutatorMap[alias]; | ||
mutatorMap[alias] = map; | ||
@@ -41,0 +41,0 @@ map._inherits = map._inherits || []; |
{ | ||
"name": "@babel/helper-define-map", | ||
"version": "7.12.13", | ||
"version": "7.13.12", | ||
"description": "Helper function to define a map", | ||
@@ -18,5 +18,4 @@ "repository": { | ||
"@babel/helper-function-name": "^7.12.13", | ||
"@babel/types": "^7.12.13", | ||
"lodash": "^4.17.19" | ||
"@babel/types": "^7.13.12" | ||
} | ||
} |
2
6689
- Removedlodash@^4.17.19
- Removedlodash@4.17.21(transitive)
Updated@babel/types@^7.13.12