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

@babel/plugin-transform-object-assign

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-object-assign - npm Package Compare versions

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

18

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 _default = (0, _helperPluginUtils.declare)(function (api) {
_helperPluginUtils = function () {
return data;
};
return data;
}
var _default = (0, _helperPluginUtils().declare)(api => {
api.assertVersion(7);
return {
visitor: {
CallExpression: function CallExpression(path, file) {
CallExpression: function (path, file) {
if (path.get("callee").matchesPattern("Object.assign")) {

@@ -14,0 +24,0 @@ path.node.callee = file.addHelper("extends");

{
"name": "@babel/plugin-transform-object-assign",
"version": "7.0.0-beta.42",
"version": "7.0.0-beta.43",
"description": "Replace Object.assign with an inline helper",

@@ -13,11 +13,11 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-assign",

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-beta.42"
"@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