build-output-router
Advanced tools
Comparing version 0.0.1-c5614b3 to 0.0.1-c861e29
@@ -1,2 +0,2 @@ | ||
export declare const HELLO = "WORLD"; | ||
export * from './router'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,5 +0,5 @@ | ||
const L = "WORLD"; | ||
import { Router as e } from "./router.js"; | ||
export { | ||
L as HELLO | ||
e as Router | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "build-output-router", | ||
"version": "0.0.1-c5614b3", | ||
"version": "0.0.1-c861e29", | ||
"description": "Router for the Build Output API (v3)", | ||
@@ -11,17 +11,14 @@ "license": "MIT", | ||
"import": "./index.js", | ||
"require": "./index.cjs" | ||
"require": "./index.cjs", | ||
"types": "./index.d.ts" | ||
}, | ||
"./utils": { | ||
"import": "./utils/index.js", | ||
"require": "./utils/index.cjs", | ||
"types": "./utils/index.d.ts" | ||
} | ||
}, | ||
"typesVersions": { | ||
"*": { | ||
"types": [ | ||
"./index.d.ts" | ||
] | ||
} | ||
}, | ||
"publishConfig": { | ||
"directory": "dist" | ||
}, | ||
"main": "./index.js", | ||
"types": "./index.d.ts", | ||
"repository": { | ||
@@ -38,2 +35,3 @@ "type": "git", | ||
"@tsconfig/strictest": "^2.0.5", | ||
"@types/cookie": "^0.6.0", | ||
"@types/node": "^22.7.4", | ||
@@ -47,4 +45,9 @@ "@vitest/coverage-v8": "^2.1.1", | ||
"vite-plugin-dts": "^4.2.2", | ||
"vite-tsconfig-paths": "^5.0.1", | ||
"vitest": "^2.1.1" | ||
}, | ||
"dependencies": { | ||
"cookie": "0.6.0", | ||
"pcre-to-regexp": "1.1.0" | ||
}, | ||
"versionMetadata": { | ||
@@ -51,0 +54,0 @@ "type": "BETA" |
@@ -19,1 +19,8 @@ <p align="center"> | ||
--- | ||
The Build Output Router was originally designed for Cloudflare's [next-on-pages](https://github.com/cloudflare/next-on-pages) project, where it handles hundreds of millions of requests a day on Cloudflare Pages. | ||
This repository became the home for the core router (while preserving old Git history) to enable it to be re-usable as a generic router for all Build Output API (v3) projects. | ||
> [!WARNING] | ||
> There _might_ be changes the library's public API. It is recommended to lock the version you use to a specific patch release. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 5 instances in 1 package
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
257184
215
1317
26
2
13
10
3
+ Addedcookie@0.6.0
+ Addedpcre-to-regexp@1.1.0
+ Addedcookie@0.6.0(transitive)
+ Addedpcre-to-regexp@1.1.0(transitive)