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
105
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 8.14.0 to 8.15.0

12

lib/rename.js

@@ -6,5 +6,13 @@ 'use strict';

module.exports.rename = (path, from, to) => {
path.scope.rename(from, to);
renameProperty(path, from, to);
const bindings = path.scope.getAllBindings();
const bindingCurrent = bindings[from];
if (!bindingCurrent)
return;
const bindingPath = bindings[from].path;
bindingPath.scope.rename(from, to);
renameProperty(bindingPath, from, to);
};

4

package.json
{
"name": "@putout/operate",
"version": "8.14.0",
"version": "8.15.0",
"type": "commonjs",

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

"devDependencies": {
"@putout/plugin-minify": "*",
"@putout/plugin-remove-unreferenced-variables": "*",
"c8": "^7.5.0",

@@ -39,0 +41,0 @@ "eslint": "^8.0.1",

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