New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cfworker/web

Package Overview
Dependencies
Maintainers
0
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfworker/web - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

dist/commonjs/accepts.d.ts

2

dist/esm/normalize-pathname.js

@@ -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"
}
}
}
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