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
99
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 12.7.0 to 12.7.1

16

lib/get-path-after-requires.js
'use strict';
const {isArray} = Array;
module.exports.getPathAfterRequires = (path) => {
if (isArray(path))
return getNotRequire(path);
if (!path.isProgram())
path = path.scope.getProgramParent().path;
return getNotRequire(path.get('body'));
};
function getNotRequire(body) {
module.exports.getPathAfterRequires = (body) => {
let path;

@@ -24,3 +12,3 @@

return path;
}
};

@@ -27,0 +15,0 @@ function isRequire(path) {

2

package.json
{
"name": "@putout/operate",
"version": "12.7.0",
"version": "12.7.1",
"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