Comparing version 0.0.0 to 0.1.0
{ | ||
"name": "unws", | ||
"version": "0.0.0", | ||
"packageManager": "pnpm@8.1.1", | ||
"description": "Unified WebSocket API for Node.js and browser.", | ||
"version": "0.1.0", | ||
"packageManager": "pnpm@8.3.0", | ||
"description": "Unified WebSocket API for Node.js, Bun and browser.", | ||
"license": "MIT", | ||
@@ -16,14 +16,15 @@ "homepage": "https://github.com/sxzz/unws#readme", | ||
"files": [ | ||
"dist" | ||
"src" | ||
], | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"main": "./src/index.js", | ||
"module": "./src/index.mjs", | ||
"types": "./src/index.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./*": "./*" | ||
"types": "./src/index.d.ts", | ||
"browser": "./src/browser.mjs", | ||
"require": "./src/index.js", | ||
"import": "./src/index.mjs" | ||
} | ||
}, | ||
@@ -43,6 +44,3 @@ "publishConfig": { | ||
"eslint-define-config": "^1.17.0", | ||
"fast-glob": "^3.2.12", | ||
"prettier": "^2.8.7", | ||
"tsup": "^6.7.0", | ||
"tsx": "^3.12.6", | ||
"typescript": "^5.0.3", | ||
@@ -49,0 +47,0 @@ "ws": "^8.13.0" |
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
9
8
3280
10
1