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 14.3.0 to 14.3.1

1

lib/is.js

@@ -87,2 +87,3 @@ 'use strict';

module.exports.isAnyStr = (a) => a === ANY;
module.exports.isBodyStr = (a) => a === BODY;

@@ -89,0 +90,0 @@ const isBody = (a) => isIdentifier(a, {

@@ -18,2 +18,3 @@ 'use strict';

isInsideTypeReference,
isBodyStr,
} = require('./is');

@@ -111,2 +112,5 @@

if (isBodyStr(name))
way = way.replace(/\.body\.0$/, '');
result[name] = result[name] || extractExpression(jessy(way, node));

@@ -150,2 +154,5 @@ }

if (isBodyStr(name))
way = way.replace(/\.body\.0$/, '');
const {extra} = jessy(way, node);

@@ -152,0 +159,0 @@ const valueExtra = values[name].extra;

2

package.json
{
"name": "@putout/compare",
"version": "14.3.0",
"version": "14.3.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