@magnetarjs/utils
Advanced tools
Comparing version 0.16.13 to 0.16.15
@@ -13,2 +13,7 @@ import { Clauses, EventFnSuccess } from '@magnetarjs/types'; | ||
/** | ||
* Converts `['a', '==', 123]` into `"a", "==", 123` | ||
*/ | ||
declare function arrStr(clause: any[]): string; | ||
/** | ||
* Parses a value found at the field path, in order to be able to make a better comparison. | ||
@@ -29,2 +34,2 @@ * | ||
export { countCharacter, filterDataPerClauses, isCollectionModule, isDocModule, isEven, isOdd, logWithFlair, logger, parseValueForFilters }; | ||
export { arrStr, countCharacter, filterDataPerClauses, isCollectionModule, isDocModule, isEven, isOdd, logWithFlair, logger, parseValueForFilters }; |
@@ -23,2 +23,3 @@ "use strict"; | ||
__export(src_exports, { | ||
arrStr: () => arrStr, | ||
countCharacter: () => countCharacter, | ||
@@ -164,2 +165,7 @@ filterDataPerClauses: () => filterDataPerClauses, | ||
// src/internal/debugHelpers.ts | ||
function arrStr(clause) { | ||
return clause.map((part) => JSON.stringify(part)).join(", "); | ||
} | ||
// src/internal/pathHelpers.ts | ||
@@ -217,2 +223,3 @@ function isDocModule(path) { | ||
0 && (module.exports = { | ||
arrStr, | ||
countCharacter, | ||
@@ -219,0 +226,0 @@ filterDataPerClauses, |
{ | ||
"name": "@magnetarjs/utils", | ||
"version": "0.16.13", | ||
"version": "0.16.15", | ||
"sideEffects": false, | ||
@@ -25,3 +25,3 @@ "description": "Magnetar utils like a logger for easier development", | ||
"path-to-prop": "^2.0.4", | ||
"@magnetarjs/types": "0.16.13" | ||
"@magnetarjs/types": "0.16.15" | ||
}, | ||
@@ -28,0 +28,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
18080
438
+ Added@magnetarjs/types@0.16.15(transitive)
- Removed@magnetarjs/types@0.16.13(transitive)
Updated@magnetarjs/types@0.16.15