@bangle.dev/js-utils
Advanced tools
Comparing version 0.21.0 to 0.21.1
let counter = 0; | ||
let unique = Math.random(); | ||
@@ -9,3 +10,3 @@ export class ObjectUID extends WeakMap { | ||
} | ||
uid = (counter++).toString(); | ||
uid = (counter++).toString() + '-' + unique; | ||
this.set(obj, uid); | ||
@@ -12,0 +13,0 @@ return uid; |
{ | ||
"name": "@bangle.dev/js-utils", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"homepage": "https://bangle.dev", | ||
@@ -23,3 +23,7 @@ "authors": [ | ||
"types": "dist/index.d.ts", | ||
"scripts": {}, | ||
"scripts": { | ||
"compile-ts": "yarn g:tsc --build $INIT_CWD", | ||
"watch-ts": "yarn g:tsc -p $INIT_CWD -w", | ||
"prepack": "yarn compile-ts" | ||
}, | ||
"devDependencies": { | ||
@@ -26,0 +30,0 @@ "@types/jest": "^26.0.23" |
@@ -7,5 +7,3 @@ { | ||
}, | ||
"include": [ | ||
"./**/__tests__/*" | ||
], | ||
"include": ["./**/__tests__/*"], | ||
"references": [ | ||
@@ -16,2 +14,2 @@ { | ||
] | ||
} | ||
} |
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
63572
26
1134