Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fastly/expressly

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastly/expressly - npm Package Compare versions

Comparing version 1.0.0-beta.1 to 1.0.0-beta.2

2

dist/lib/routing/error-middleware.d.ts
import { EReq } from "./request";
import { ERes } from "./response";
export declare type ErrorMiddlewareCallback = (err: Error, req: EReq, res: ERes) => Promise<any>;
export type ErrorMiddlewareCallback = (err: Error, req: EReq, res: ERes) => Promise<any>;
export declare class ErrorMiddleware {

@@ -5,0 +5,0 @@ private matchFn;

import { EReq } from "./request";
import { ERes } from "./response";
export declare type RequestHandlerCallback = (req: EReq, res: ERes) => Promise<any>;
export type RequestHandlerCallback = (req: EReq, res: ERes) => Promise<any>;
export declare class RequestHandler {

@@ -5,0 +5,0 @@ private matchFn;

@@ -33,3 +33,3 @@ /// <reference types="@fastly/js-compute" />

} & typeof ERequestBase;
export declare type EReq = InstanceType<typeof ERequest>;
export type EReq = InstanceType<typeof ERequest>;
export {};

@@ -36,3 +36,3 @@ /// <reference types="@fastly/js-compute" />

} & typeof EResponseBase;
export declare type ERes = InstanceType<typeof EResponse>;
export type ERes = InstanceType<typeof EResponse>;
export {};

@@ -63,5 +63,2 @@ import cookie from "cookie";

return;
// if(typeof body !== "string") {
// body = body.toString()
// }
this.send(body);

@@ -68,0 +65,0 @@ }

{
"name": "@fastly/expressly",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"description": "Express-style router for Fastly's Compute@Edge.",

@@ -27,3 +27,3 @@ "main": "dist/index.js",

"engines": {
"node": "^16"
"node": ">=16.0.0"
},

@@ -35,14 +35,14 @@ "author": "oss@fastly.com",

"auto": "^10.37.6",
"husky": "^8.0.1",
"prettier": "^2.7.1",
"husky": "^8.0.2",
"prettier": "^2.8.1",
"pretty-quick": "^3.1.3",
"ts-loader": "^9.4.1",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
"ts-loader": "^9.4.2",
"typescript": "^4.9.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@fastly/js-compute": "^0.5.4",
"@fastly/js-compute": "^0.7.0",
"cookie": "^0.5.0",
"core-js": "^3.25.5",
"core-js": "^3.26.1",
"path-to-regexp": "^6.2.1"

@@ -49,0 +49,0 @@ },

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