New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@putout/operate

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/operate - npm Package Compare versions

Comparing version 10.3.0 to 11.0.0

9

lib/rename-property.js

@@ -8,3 +8,7 @@ 'use strict';

const {key, value} = node;
const equal = key.name === value.name;
if (!equal)
return;
if (key.name !== from)

@@ -14,6 +18,5 @@ return;

key.name = to;
value.name = to;
node.shorthand = true;
if (key.name === value.name)
node.shorthand = true;
path.stop();

@@ -20,0 +23,0 @@ },

@@ -12,6 +12,6 @@ 'use strict';

const bindingPath = bindings[from].path;
const bindingPath = bindingCurrent.path;
renameProperty(bindingPath, from, to);
bindingPath.scope.rename(from, to);
renameProperty(bindingPath, from, to);
};
{
"name": "@putout/operate",
"version": "10.3.0",
"version": "11.0.0",
"type": "commonjs",

@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

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