babel-helper-builder-binary-assignment-operator-visitor
Advanced tools
Comparing version 7.0.0-beta.2 to 7.0.0-beta.3
"use strict"; | ||
exports.__esModule = true; | ||
exports.default = _default; | ||
exports.default = function (opts) { | ||
var _babelHelperExplodeAssignableExpression = _interopRequireDefault(require("babel-helper-explode-assignable-expression")); | ||
var t = _interopRequireWildcard(require("babel-types")); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _default(opts) { | ||
var build = opts.build, | ||
@@ -14,3 +23,3 @@ operator = opts.operator; | ||
var nodes = []; | ||
var exploded = (0, _babelHelperExplodeAssignableExpression2.default)(node.left, nodes, this, scope); | ||
var exploded = (0, _babelHelperExplodeAssignableExpression.default)(node.left, nodes, this, scope); | ||
nodes.push(t.assignmentExpression("=", exploded.ref, build(exploded.uid, node.right))); | ||
@@ -27,14 +36,2 @@ path.replaceWith(t.sequenceExpression(nodes)); | ||
}; | ||
}; | ||
var _babelHelperExplodeAssignableExpression = require("babel-helper-explode-assignable-expression"); | ||
var _babelHelperExplodeAssignableExpression2 = _interopRequireDefault(_babelHelperExplodeAssignableExpression); | ||
var _babelTypes = require("babel-types"); | ||
var t = _interopRequireWildcard(_babelTypes); | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
} |
{ | ||
"name": "babel-helper-builder-binary-assignment-operator-visitor", | ||
"version": "7.0.0-beta.2", | ||
"version": "7.0.0-beta.3", | ||
"description": "Helper function to build binary assignment operator visitors", | ||
@@ -9,5 +9,5 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-helper-builder-binary-assignment-operator-visitor", | ||
"dependencies": { | ||
"babel-helper-explode-assignable-expression": "7.0.0-beta.2", | ||
"babel-types": "7.0.0-beta.2" | ||
"babel-helper-explode-assignable-expression": "7.0.0-beta.3", | ||
"babel-types": "7.0.0-beta.3" | ||
} | ||
} |
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
1929
27
+ Addedbabel-code-frame@7.0.0-beta.3(transitive)
+ Addedbabel-helper-explode-assignable-expression@7.0.0-beta.3(transitive)
+ Addedbabel-helper-function-name@7.0.0-beta.3(transitive)
+ Addedbabel-helper-get-function-arity@7.0.0-beta.3(transitive)
+ Addedbabel-template@7.0.0-beta.3(transitive)
+ Addedbabel-traverse@7.0.0-beta.3(transitive)
+ Addedbabel-types@7.0.0-beta.3(transitive)
+ Addedbabylon@7.0.0-beta.27(transitive)
- Removedbabel-code-frame@7.0.0-beta.2(transitive)
- Removedbabel-helper-explode-assignable-expression@7.0.0-beta.2(transitive)
- Removedbabel-helper-function-name@7.0.0-beta.2(transitive)
- Removedbabel-helper-get-function-arity@7.0.0-beta.2(transitive)
- Removedbabel-messages@7.0.0-beta.2(transitive)
- Removedbabel-template@7.0.0-beta.2(transitive)
- Removedbabel-traverse@7.0.0-beta.2(transitive)
- Removedbabel-types@7.0.0-beta.2(transitive)
- Removedbabylon@7.0.0-beta.25(transitive)
Updatedbabel-helper-explode-assignable-expression@7.0.0-beta.3
Updatedbabel-types@7.0.0-beta.3