@cfworker/web
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -1,2 +0,2 @@ | ||
import { HttpError } from './http-error'; | ||
import { HttpError } from './http-error.js'; | ||
export function normalizePathname(pathname) { | ||
@@ -3,0 +3,0 @@ return decodeURIComponent(pathname).replace(/\/\/+/g, '/').normalize(); |
{ | ||
"name": "@cfworker/web", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Web framework for Cloudflare Workers and service workers, inspired by Koa and fastify", | ||
"type": "module", | ||
"keywords": [ | ||
@@ -13,16 +12,24 @@ "middleware", | ||
], | ||
"repository": "https://github.com/cfworker/cfworker", | ||
"author": "Jeremy Danyow <jdanyow@gmail.com>", | ||
"homepage": "https://github.com/cfworker/cfworker/tree/master/packages/web/README.md", | ||
"license": "MIT", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"type": "module", | ||
"sideEffects": false, | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"source": "src/index.ts", | ||
"types": "dist/types/index.d.ts", | ||
"main": "./dist/commonjs/index.js", | ||
"types": "./dist/commonjs/index.d.ts", | ||
"module": "./dist/esm/index.js", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"default": "./dist/esm/index.js", | ||
"types": "./dist/types/index.d.ts" | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"default": "./dist/cjs/index.js", | ||
"types": "./dist/types/index.d.ts" | ||
"types": "./dist/commonjs/index.d.ts", | ||
"default": "./dist/commonjs/index.js" | ||
} | ||
@@ -32,17 +39,8 @@ } | ||
"files": [ | ||
"dist/**/*", | ||
"src/**/*", | ||
"README.md", | ||
"package.json" | ||
"dist" | ||
], | ||
"repository": "https://github.com/cfworker/cfworker", | ||
"author": "Jeremy Danyow <jdanyow@gmail.com>", | ||
"homepage": "https://github.com/cfworker/cfworker/tree/master/packages/web/README.md", | ||
"license": "MIT", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"build": "tsc --build & tsc --build tsconfig.cjs.json", | ||
"clean": "tsc --build --clean && tsc --build tsconfig.cjs.json --clean", | ||
"prepare": "npm run prepare --workspace @cfworker/json-schema && tshy", | ||
"build": "tsc --build", | ||
"clean": "tsc --build --clean", | ||
"pretest": "esbuild test/test.ts --target=esnext --bundle --format=esm --conditions=worker,browser --outdir=dist-test --ignore-annotations", | ||
@@ -52,11 +50,10 @@ "test": "node ../../test.mjs" | ||
"dependencies": { | ||
"@cfworker/json-schema": "^4.0.1", | ||
"@types/cookie": "^1.0.0", | ||
"@cfworker/json-schema": "^4.0.2", | ||
"@types/html-escaper": "^3.0.2", | ||
"@types/statuses": "^2.0.5", | ||
"cookie": "^1.0.1", | ||
"cookie": "^1.0.2", | ||
"html-escaper": "^3.0.3", | ||
"negotiator": "^1.0.0", | ||
"path-to-regexp": "7.1.0", | ||
"secure-json-parse": "^2.7.0", | ||
"secure-json-parse": "^3.0.1", | ||
"statuses": "^2.0.1" | ||
@@ -66,10 +63,16 @@ }, | ||
"@types/chai": "^5.0.1", | ||
"@types/mocha": "^10.0.9", | ||
"@types/mocha": "^10.0.10", | ||
"chai": "^5.1.2", | ||
"esbuild": "^0.24.0", | ||
"jsonpointer": "^5.0.1", | ||
"mocha": "^10.8.2", | ||
"typescript": "^5.6.3", | ||
"wrangler": "^3.87.0" | ||
"mocha": "^11.0.1", | ||
"typescript": "^5.7.2", | ||
"wrangler": "^3.92.0" | ||
}, | ||
"tshy": { | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": "./src/index.ts" | ||
} | ||
} | ||
} |
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
9
59761
52
1628
1
+ Addedsecure-json-parse@3.0.2(transitive)
- Removed@types/cookie@^1.0.0
- Removed@types/cookie@1.0.0(transitive)
- Removedsecure-json-parse@2.7.0(transitive)
Updated@cfworker/json-schema@^4.0.2
Updatedcookie@^1.0.2
Updatedsecure-json-parse@^3.0.1