Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-transform-exponentiation-operator

Package Overview
Dependencies
Maintainers
6
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-exponentiation-operator - npm Package Compare versions

Comparing version 7.0.0-beta.42 to 7.0.0-beta.43

44

lib/index.js
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _helperPluginUtils = require("@babel/helper-plugin-utils");
function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
var _helperBuilderBinaryAssignmentOperatorVisitor = _interopRequireDefault(require("@babel/helper-builder-binary-assignment-operator-visitor"));
_helperPluginUtils = function () {
return data;
};
var _core = require("@babel/core");
return data;
}
function _helperBuilderBinaryAssignmentOperatorVisitor() {
const data = _interopRequireDefault(require("@babel/helper-builder-binary-assignment-operator-visitor"));
_helperBuilderBinaryAssignmentOperatorVisitor = function () {
return data;
};
return data;
}
function _core() {
const data = require("@babel/core");
_core = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var _default = (0, _helperPluginUtils.declare)(function (api) {
var _default = (0, _helperPluginUtils().declare)(api => {
api.assertVersion(7);
return {
visitor: (0, _helperBuilderBinaryAssignmentOperatorVisitor.default)({
visitor: (0, _helperBuilderBinaryAssignmentOperatorVisitor().default)({
operator: "**",
build: function build(left, right) {
return _core.types.callExpression(_core.types.memberExpression(_core.types.identifier("Math"), _core.types.identifier("pow")), [left, right]);
build(left, right) {
return _core().types.callExpression(_core().types.memberExpression(_core().types.identifier("Math"), _core().types.identifier("pow")), [left, right]);
}
})

@@ -23,0 +51,0 @@ };

12

package.json
{
"name": "@babel/plugin-transform-exponentiation-operator",
"version": "7.0.0-beta.42",
"version": "7.0.0-beta.43",
"description": "Compile exponentiation operator to ES5",

@@ -12,12 +12,12 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-exponentiation-operator",

"dependencies": {
"@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.42",
"@babel/helper-plugin-utils": "7.0.0-beta.42"
"@babel/helper-builder-binary-assignment-operator-visitor": "7.0.0-beta.43",
"@babel/helper-plugin-utils": "7.0.0-beta.43"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.42"
"@babel/core": "7.0.0-beta.43"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.42",
"@babel/helper-plugin-test-runner": "7.0.0-beta.42"
"@babel/core": "7.0.0-beta.43",
"@babel/helper-plugin-test-runner": "7.0.0-beta.43"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc