@cfworker/web
Advanced tools
Comparing version 1.12.3 to 1.12.4
@@ -1,2 +0,2 @@ | ||
import { Reviver } from 'secure-json-parse/index.js'; | ||
import { Reviver } from 'secure-json-parse'; | ||
import { Accepts } from './accepts.js'; | ||
@@ -3,0 +3,0 @@ export declare class Req { |
@@ -1,2 +0,2 @@ | ||
import { safeParse } from 'secure-json-parse/index.js'; | ||
import { safeParse } from 'secure-json-parse'; | ||
import { Accepts } from './accepts.js'; | ||
@@ -3,0 +3,0 @@ export class Req { |
@@ -16,3 +16,3 @@ import { ParseOptions, TokensToRegexpOptions } from 'path-to-regexp'; | ||
export declare const Referer: (host: string) => ({ req }: Context) => boolean; | ||
export declare const Path: (pattern: string, options?: PathToRegExpOptions | undefined) => ({ req: { url, params } }: Context) => boolean; | ||
export declare const Path: (pattern: string, options?: PathToRegExpOptions) => ({ req: { url, params } }: Context) => boolean; | ||
export declare type RouteCondition = (context: Context) => boolean; | ||
@@ -19,0 +19,0 @@ export interface Route { |
{ | ||
"name": "@cfworker/web", | ||
"version": "1.12.3", | ||
"version": "1.12.4", | ||
"description": "Web framework for Cloudflare Workers and service workers, inspired by Koa and fastify", | ||
@@ -37,24 +37,24 @@ "keywords": [ | ||
"dependencies": { | ||
"@cfworker/json-schema": "^1.12.2", | ||
"@cfworker/worker-types": "^1.12.1", | ||
"@cfworker/json-schema": "^1.12.4", | ||
"@cfworker/worker-types": "^1.12.2", | ||
"@cloudflare/workers-types": "^2.2.2", | ||
"@types/cookie": "^0.4.1", | ||
"@types/cookie": "^0.5.1", | ||
"@types/html-escaper": "^3.0.0", | ||
"@types/statuses": "^2.0.0", | ||
"cookie": "^0.4.2", | ||
"cookie": "^0.5.0", | ||
"html-escaper": "^3.0.3", | ||
"negotiator": "^0.6.3", | ||
"path-to-regexp": "^6.2.0", | ||
"secure-json-parse": "^2.4.0", | ||
"path-to-regexp": "^6.2.1", | ||
"secure-json-parse": "^2.5.0", | ||
"statuses": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@cfworker/dev": "^1.14.0", | ||
"@types/chai": "^4.3.0", | ||
"@types/mocha": "^9.1.0", | ||
"@cfworker/dev": "^1.14.1", | ||
"@types/chai": "^4.3.3", | ||
"@types/mocha": "^9.1.1", | ||
"chai": "^4.3.6", | ||
"jsonpointer": "^5.0.0", | ||
"mocha": "^9.2.1", | ||
"typescript": "^4.5.5" | ||
"jsonpointer": "^5.0.1", | ||
"mocha": "^10.0.0", | ||
"typescript": "^4.7.4" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Reviver, safeParse } from 'secure-json-parse/index.js'; | ||
import { Reviver, safeParse } from 'secure-json-parse'; | ||
import { Accepts } from './accepts.js'; | ||
@@ -3,0 +3,0 @@ |
51142
+ Added@types/cookie@0.5.4(transitive)
+ Addedcookie@0.5.0(transitive)
- Removed@types/cookie@0.4.1(transitive)
- Removedcookie@0.4.2(transitive)
Updated@types/cookie@^0.5.1
Updatedcookie@^0.5.0
Updatedpath-to-regexp@^6.2.1
Updatedsecure-json-parse@^2.5.0