uid-promise
Advanced tools
Comparing version 1.1.1 to 2.0.0
{ | ||
"name": "uid-promise", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"license": "MIT", | ||
"description": "generates a cryptographically strong random uid", | ||
"repository": "vercel/uid-promise", | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"main": "lib/cjs/index.js", | ||
"module": "lib/esm/index.js", | ||
"types": "lib/cjs/index.d.ts", | ||
"packageManager": "pnpm@7.25.0", | ||
"engines": { | ||
"node": ">=18" | ||
}, | ||
"files": [ | ||
@@ -13,10 +18,14 @@ "lib" | ||
"scripts": { | ||
"build": "tsc", | ||
"test": "tsc && ava" | ||
"build": "pnpm build:cjs && pnpm build:esm", | ||
"build:cjs": "tsc", | ||
"build:esm": "tsc --module esnext --outDir ./lib/esm && echo '{ \"type\": \"module\" }' > ./lib/esm/package.json", | ||
"test": "pnpm test:cjs && pnpm test:esm && pnpm test:webcrypto", | ||
"test:cjs": "pnpm build:cjs && node --test test/test.js", | ||
"test:esm": "pnpm build:esm && node --test test/test-esm.mjs", | ||
"test:webcrypto": "pnpm build:cjs && node --test --experimental-global-webcrypto test/test.js" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "16.6.1", | ||
"ava": "3.15.0", | ||
"@types/node": "20.1.3", | ||
"prettier": "2.3.2", | ||
"typescript": "4.3.5" | ||
"typescript": "4.9.5" | ||
}, | ||
@@ -23,0 +32,0 @@ "prettier": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9623
3
24
164
2