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
133
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.7.0 to 14.7.1

1

lib/is.js

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

module.exports.isArgsStr = (a) => a === ARGS || LINKED_ARGS.test(a);
module.exports.isTypeParamsStr = (a) => a === TYPE_PARAMS;
module.exports.isJSXChildrenStr = (a) => a === JSX_CHILDREN;

@@ -87,0 +88,0 @@ module.exports.isJSXAttributesStr = (a) => a === JSX_ATTRIBUTES;

4

lib/vars.js

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

isArgsStr,
isTypeParamsStr,
isJSXChildrenStr,

@@ -38,3 +39,2 @@ isJSXAttributesStr,

const parseNode = (a) => a.node || a;
const {stringify} = JSON;

@@ -109,3 +109,3 @@

way = way.replace(/\.0.local$/, '');
else if (isArgsStr(name) || isJSXChildrenStr(name) || isJSXAttributesStr(name))
else if (isArgsStr(name) || isJSXChildrenStr(name) || isJSXAttributesStr(name) || isTypeParamsStr(name))
way = way.replace(/\.0$/, '');

@@ -112,0 +112,0 @@

{
"name": "@putout/compare",
"version": "14.7.0",
"version": "14.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