graphql-ws
Advanced tools
Comparing version 5.16.2 to 6.0.0-alpha-a8af1e8e5e1745327897641d99a053ea77e760ff
{ | ||
"name": "graphql-ws", | ||
"version": "5.16.2", | ||
"version": "6.0.0-alpha-a8af1e8e5e1745327897641d99a053ea77e760ff", | ||
"description": "Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client", | ||
"type": "module", | ||
"repository": { | ||
@@ -14,48 +15,41 @@ "type": "git", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=20" | ||
}, | ||
"main": "lib/index.js", | ||
"module": "lib/index.mjs", | ||
"main": "dist/index.js", | ||
"exports": { | ||
".": { | ||
"types": "./lib/index.d.ts", | ||
"require": "./lib/index.js", | ||
"import": "./lib/index.mjs", | ||
"browser": "./umd/graphql-ws.js" | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.cjs", | ||
"import": "./dist/index.js", | ||
"browser": "./dist/client.js" | ||
}, | ||
"./lib/use/ws": { | ||
"types": "./lib/use/ws.d.ts", | ||
"require": "./lib/use/ws.js", | ||
"import": "./lib/use/ws.mjs" | ||
"./use/ws": { | ||
"types": "./dist/use/ws.d.ts", | ||
"require": "./dist/use/ws.cjs", | ||
"import": "./dist/use/ws.js" | ||
}, | ||
"./lib/use/uWebSockets": { | ||
"types": "./lib/use/uWebSockets.d.ts", | ||
"require": "./lib/use/uWebSockets.js", | ||
"import": "./lib/use/uWebSockets.mjs" | ||
"./use/uWebSockets": { | ||
"types": "./dist/use/uWebSockets.d.ts", | ||
"require": "./dist/use/uWebSockets.cjs", | ||
"import": "./dist/use/uWebSockets.js" | ||
}, | ||
"./lib/use/@fastify/websocket": { | ||
"types": "./lib/use/@fastify/websocket.d.ts", | ||
"require": "./lib/use/@fastify/websocket.js", | ||
"import": "./lib/use/@fastify/websocket.mjs" | ||
"./use/@fastify/websocket": { | ||
"types": "./dist/use/@fastify/websocket.d.ts", | ||
"require": "./dist/use/@fastify/websocket.cjs", | ||
"import": "./dist/use/@fastify/websocket.js" | ||
}, | ||
"./lib/use/fastify-websocket": { | ||
"types": "./lib/use/fastify-websocket.d.ts", | ||
"require": "./lib/use/fastify-websocket.js", | ||
"import": "./lib/use/fastify-websocket.mjs" | ||
"./use/bun": { | ||
"types": "./dist/use/bun.d.ts", | ||
"require": "./dist/use/bun.cjs", | ||
"import": "./dist/use/bun.js" | ||
}, | ||
"./lib/use/bun": { | ||
"bun": "./lib/use/bun.mjs", | ||
"types": "./lib/use/bun.d.ts", | ||
"require": "./lib/use/bun.js", | ||
"import": "./lib/use/bun.mjs" | ||
"./use/deno": { | ||
"types": "./dist/use/deno.d.ts", | ||
"require": "./dist/use/deno.cjs", | ||
"import": "./dist/use/deno.js" | ||
}, | ||
"./lib/use/deno": { | ||
"types": "./lib/use/deno.d.ts", | ||
"require": "./lib/use/deno.js", | ||
"import": "./lib/use/deno.mjs" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"browser": "umd/graphql-ws.js", | ||
"types": "lib/index.d.ts", | ||
"browser": "./dist/client.js", | ||
"types": "./dist/index.d.ts", | ||
"sideEffects": [ | ||
@@ -67,3 +61,3 @@ "umd/*" | ||
"PROTOCOL.md", | ||
"lib", | ||
"dist", | ||
"umd", | ||
@@ -88,6 +82,5 @@ "README.md" | ||
"scripts": { | ||
"build": "yarn build:esm && yarn build:cjs && yarn build:umd && yarn postbuild", | ||
"build:cjs": "tsc -b tsconfig.cjs.json", | ||
"build:esm": "tsc -b tsconfig.esm.json && node scripts/esm-post-process.mjs", | ||
"build": "pkgroll --clean-dist", | ||
"build:umd": "rollup --bundleConfigAsCjs --config rollup.config.ts --configPlugin typescript && gzip umd/graphql-ws.min.js -c > umd/graphql-ws.min.js.gz", | ||
"prepack": "yarn build", | ||
"changeset": "changeset", | ||
@@ -98,9 +91,8 @@ "check:format": "prettier --check .", | ||
"format": "yarn check:format --write", | ||
"gendocs": "typedoc --options typedoc.js src/ && node scripts/post-gendocs.mjs", | ||
"postbuild": "node scripts/fix-declaration-directives.mjs", | ||
"test": "vitest", | ||
"release": "yarn build && yarn changeset publish" | ||
"gendocs": "typedoc --options typedoc.js src/ && node scripts/post-gendocs.js", | ||
"postbuild": "node scripts/fix-declaration-directives.js", | ||
"test": "vitest" | ||
}, | ||
"peerDependencies": { | ||
"graphql": ">=0.11 <=16" | ||
"graphql": "^15.9.0 || ^16.9.0" | ||
}, | ||
@@ -110,6 +102,8 @@ "devDependencies": { | ||
"@changesets/cli": "^2.27.11", | ||
"@fastify/websocket": "^9.0.0", | ||
"@fastify/websocket": "^11.0.1", | ||
"@ianvs/prettier-plugin-sort-imports": "^4.4.0", | ||
"@rollup/plugin-terser": "^0.4.4", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@tsconfig/node20": "^20.1.4", | ||
"@tsconfig/strictest": "^2.0.5", | ||
"@types/eslint": "^8.56.10", | ||
@@ -122,7 +116,7 @@ "@types/glob": "^8.1.0", | ||
"eslint": "^8.57.0", | ||
"fastify": "^4.26.2", | ||
"fastify-websocket": "4.2.2", | ||
"fastify": "^5.2.1", | ||
"glob": "^10.3.12", | ||
"graphql": "^16.8.1", | ||
"graphql": "^16.9.0", | ||
"jsdom": "^25.0.1", | ||
"pkgroll": "patch:pkgroll@npm%3A2.6.1#~/.yarn/patches/pkgroll-npm-2.6.1-193e78e84e.patch", | ||
"prettier": "^3.4.2", | ||
@@ -137,7 +131,6 @@ "prettier-plugin-sh": "^0.14.0", | ||
"typescript": "^5.4.5", | ||
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.43.0", | ||
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.51.0", | ||
"vitest": "^2.1.8", | ||
"ws": "8.12.0", | ||
"ws7": "npm:ws@^7.5.9" | ||
"ws": "8.12.0" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Yes
172773
32
29
4177
1
1