@putout/compare
Advanced tools
+1
-0
@@ -67,2 +67,3 @@ 'use strict'; | ||
| module.exports.isArgsStr = (a) => a === ARGS || LINKED_ARGS.test(a); | ||
| module.exports.isJSXChildrenStr = (a) => a === JSX_CHILDREN; | ||
| module.exports.isObjectStr = (a) => a === ANY_OBJECT; | ||
@@ -69,0 +70,0 @@ module.exports.isArrayStr = (a) => a === ANY_ARRAY; |
+3
-2
@@ -17,2 +17,3 @@ 'use strict'; | ||
| isArgsStr, | ||
| isJSXChildrenStr, | ||
| isImportsStr, | ||
@@ -92,3 +93,3 @@ } = require('./is'); | ||
| else if (isArgsStr(name)) | ||
| else if (isArgsStr(name) || isJSXChildrenStr(name)) | ||
| way = way.replace(/\.0$/, ''); | ||
@@ -119,3 +120,3 @@ | ||
| if (isArgsStr(name)) | ||
| if (isArgsStr(name) || isJSXChildrenStr(name)) | ||
| way = way.replace(/\.0$/, ''); | ||
@@ -122,0 +123,0 @@ |
+1
-1
| { | ||
| "name": "@putout/compare", | ||
| "version": "9.7.0", | ||
| "version": "9.8.0", | ||
| "type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
23581
0.58%566
0.35%