Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

uid-promise

Package Overview
Dependencies
Maintainers
6
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uid-promise - npm Package Compare versions

Comparing version 1.1.1 to 2.0.0

lib/cjs/chars.d.ts

25

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc