Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-object-assign

Package Overview
Dependencies
Maintainers
6
Versions
71
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.43 to 7.0.0-beta.44

8

lib/index.js

@@ -9,5 +9,5 @@ "use strict";

function _helperPluginUtils() {
const data = require("@babel/helper-plugin-utils");
var data = require("@babel/helper-plugin-utils");
_helperPluginUtils = function () {
_helperPluginUtils = function _helperPluginUtils() {
return data;

@@ -19,7 +19,7 @@ };

var _default = (0, _helperPluginUtils().declare)(api => {
var _default = (0, _helperPluginUtils().declare)(function (api) {
api.assertVersion(7);
return {
visitor: {
CallExpression: function (path, file) {
CallExpression: function CallExpression(path, file) {
if (path.get("callee").matchesPattern("Object.assign")) {

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

{
"name": "@babel/plugin-transform-object-assign",
"version": "7.0.0-beta.43",
"version": "7.0.0-beta.44",
"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.43"
"@babel/helper-plugin-utils": "7.0.0-beta.44"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.43"
"@babel/core": "7.0.0-beta.44"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.43",
"@babel/helper-plugin-test-runner": "7.0.0-beta.43"
"@babel/core": "7.0.0-beta.44",
"@babel/helper-plugin-test-runner": "7.0.0-beta.44"
}
}
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