Huge News!Announcing our $40M Series B led by Abstract Ventures.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 1.3.0 to 2.0.0

2

lib/compare.js

@@ -99,3 +99,3 @@ 'use strict';

if (isIdentifier(id) && /^_[a-z]$/.test(id.name))
if (isIdentifier(id) && /^__[a-z]$/.test(id.name))
continue;

@@ -102,0 +102,0 @@

{
"name": "@putout/compare",
"version": "1.3.0",
"version": "2.0.0",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",

@@ -5,0 +5,0 @@ "description": "compare ast-nodes",

@@ -25,3 +25,3 @@ # putout-compare [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL]

compare('const a = {}', 'const __ = {}');
compare('const hello = {}', 'const _a = {}');
compare('const hello = {}', 'const __a = {}');
compare('const a = "hello"', 'const __ = "__"');

@@ -28,0 +28,0 @@ // returns

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