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

build-output-router

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

build-output-router - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0-f06f114

images/format-resizing-response.cjs

3

index.d.ts

@@ -1,2 +0,3 @@

export declare const HELLO = "WORLD";
export type { Assets, RequestContext } from './router';
export { Router } from './router';
//# sourceMappingURL=index.d.ts.map

@@ -1,5 +0,6 @@

const L = "WORLD";
import "./index-B_hJqMhp.js";
import { Router as e } from "./router/router.js";
export {
L as HELLO
e as Router
};
//# sourceMappingURL=index.js.map
{
"name": "build-output-router",
"version": "0.0.1",
"version": "0.1.0-f06f114",
"description": "Router for the Build Output API (v3)",

@@ -11,17 +11,19 @@ "license": "MIT",

"import": "./index.js",
"require": "./index.cjs"
"require": "./index.cjs",
"types": "./index.d.ts"
},
"./router": {
"import": "./router/index.js",
"require": "./router/index.cjs",
"types": "./router/index.d.ts"
},
"./images": {
"import": "./images/index.js",
"require": "./images/index.cjs",
"types": "./images/index.d.ts"
}
},
"typesVersions": {
"*": {
"types": [
"./index.d.ts"
]
}
},
"publishConfig": {
"directory": "dist"
},
"main": "./index.js",
"types": "./index.d.ts",
"repository": {

@@ -38,2 +40,3 @@ "type": "git",

"@tsconfig/strictest": "^2.0.5",
"@types/cookie": "^0.6.0",
"@types/node": "^22.7.4",

@@ -47,4 +50,12 @@ "@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": {
"type": "BETA"
},
"scripts": {

@@ -51,0 +62,0 @@ "build": "vite build",

@@ -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.
> [!NOTE]
> 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

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