@putout/compare
Advanced tools
Comparing version 14.7.0 to 14.7.1
@@ -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; |
@@ -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)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30041
744