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

@putout/compare

Package Overview
Dependencies
Maintainers
1
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@putout/compare - npm Package Compare versions

Comparing version 7.7.0 to 7.8.0

9

lib/compare.js
'use strict';
const {template} = require('@putout/engine-parser');
const {isExpressionStatement} = require('@babel/types');
const {
isIdentifier,
isExpressionStatement,
} = require('@babel/types');

@@ -21,2 +24,3 @@ const {

isEqualAnyArray,
isLinkedNode,
isEqualNop,

@@ -80,2 +84,5 @@ isTemplate,

if (isIdentifier(node) && isLinkedNode(templateNode))
return true;
if (isPath(path) && !isEqualType(node, templateNode)) {

@@ -82,0 +89,0 @@ const {type} = templateNode;

@@ -33,1 +33,2 @@ 'use strict';

};

3

package.json
{
"name": "@putout/compare",
"version": "7.7.0",
"version": "7.8.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -48,2 +48,3 @@ "description": "compare ast-nodes",

"madrun": "^8.0.1",
"mock-require": "^3.0.3",
"montag": "^1.0.0",

@@ -50,0 +51,0 @@ "nodemon": "^2.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