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

dx-server

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dx-server - npm Package Compare versions

Comparing version 0.0.1-pre-16 to 0.0.1-pre-17

1

cjs/file.d.ts

@@ -1,4 +0,3 @@

import type { IChainable } from 'jchain';
export declare const serveFile: ({ prefix }: {
prefix?: string | undefined;
}) => IChainable;

10

cjs/route.d.ts
import type { Key } from 'path-to-regexp';
import { type IChainable } from 'jchain';
interface RegexpToPathOptions {

@@ -17,2 +16,5 @@ end?: boolean;

} | undefined;
interface Chainable<P extends any[] = any[], R = any, Next = (...np: any[]) => any> {
(next: Next, ...p: P): R;
}
interface RouteContext {

@@ -31,8 +33,8 @@ matched: string;

type IRouter = {
[K in typeof allMethods[number]]: (definition: RouteDefinition, options?: RouterOptions) => IChainable;
[K in typeof allMethods[number]]: (definition: RouteDefinition, options?: RouterOptions) => Chainable;
} & {
all(definition: RouteDefinition, options?: RouterOptions): IChainable;
method(method: string, definition: RouteDefinition, options?: RouterOptions): IChainable;
all(definition: RouteDefinition, options?: RouterOptions): Chainable;
method(method: string, definition: RouteDefinition, options?: RouterOptions): Chainable;
};
export declare const router: IRouter;
export {};
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -9,3 +6,2 @@ exports.router = exports.matchPattern = void 0;

const context_js_1 = require("./context.js");
const jchain_1 = __importDefault(require("jchain"));
const cache = {};

@@ -59,29 +55,29 @@ const cacheLimit = 10000;

method(method, router, { prefix = '', ...options } = {}) {
return n => {
return next => {
const req = context_js_1.requestContext.value;
if (req.method !== method.toUpperCase())
return n();
return (0, jchain_1.default)(...Object.entries(router).map(([pattern, handler]) => next => {
return next();
for (const [pattern, handler] of Object.entries(router)) {
const match = matchPattern(req.url ?? '', `${prefix}${pattern}`, options);
if (!match)
return next();
return handler({
...match,
next,
});
}), n)();
if (match)
return handler({
...match,
next,
});
}
return next();
};
},
all(router, { prefix = '', ...options } = {}) {
return n => {
return next => {
const req = context_js_1.requestContext.value;
return (0, jchain_1.default)(...Object.entries(router).map(([pattern, handler]) => next => {
for (const [pattern, handler] of Object.entries(router)) {
const match = matchPattern(req.url ?? '', `${prefix}${pattern}`, options);
if (!match)
return next();
return handler({
...match,
next,
});
}), n)();
if (match)
return handler({
...match,
next,
});
}
return next();
};

@@ -92,2 +88,2 @@ }

exports.router[method] = exports.router.method.bind(exports.router, method);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvcm91dGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQ0EsbURBQTJDO0FBQzNDLDZDQUEyQztBQUMzQyxvREFBNkM7QUFFN0MsTUFBTSxLQUFLLEdBQXdCLEVBQUUsQ0FBQTtBQUNyQyxNQUFNLFVBQVUsR0FBRyxLQUFLLENBQUE7QUFDeEIsSUFBSSxVQUFVLEdBQUcsQ0FBQyxDQUFBO0FBY2xCLFNBQVMsV0FBVyxDQUFDLElBQVksRUFBRSxPQUE0QjtJQUM5RCxNQUFNLFFBQVEsR0FBRyxJQUFJLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxDQUFBO0lBQ3hDLE1BQU0sU0FBUyxHQUFHLEtBQUssQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxRQUFRLENBQUMsR0FBRyxFQUFFLENBQUMsQ0FBQTtJQUMzRCxJQUFJLFNBQVMsQ0FBQyxJQUFJLENBQUM7UUFBRSxPQUFPLFNBQVMsQ0FBQyxJQUFJLENBQUMsQ0FBQTtJQUUzQyxNQUFNLElBQUksR0FBVSxFQUFFLENBQUE7SUFDd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BQUUsQ0FBQTtRQUNkLENBQUMsQ0FBQTtJQUNGLENBQUM7SUFDRCxHQUFHLENBQUMsTUFBTSxFQUFFLEVBQUMsTUFBTSxHQUFHLEVBQUUsRUFBRSxHQUFHLE9BQU8sS0FBbUIsRUFBRTtRQUN4RCxPQUFPLElBQUksQ0FBQyxFQUFFO1lBQ2IsTUFBTSxHQUFHLEdBQUcsMkJBQWMsQ0FBQyxLQUFLLENBQUE7WUFDaEMsS0FBSyxNQUFNLENBQUMsT0FBTyxFQUFFLE9BQU8sQ0FBQyxJQUFJLE1BQU0sQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLEVBQUU7Z0JBQ3hELE1BQU0sS0FBSyxHQUFHLFlBQVksQ0FBQyxHQUFHLENBQUMsR0FBRyxJQUFJLEVBQUUsRUFBRSxHQUFHLE1BQU0sR0FBRyxPQUFPLEVBQUUsRUFBRSxPQUFPLENBQUMsQ0FBQTtnQkFDekUsSUFBSSxLQUFLO29CQUFFLE9BQU8sT0FBTyxDQUFDO3dCQUN6QixHQUFHLEtBQUs7d0JBQ1IsSUFBSTtxQkFDSixDQUFDLENBQUE7YUFDRjtZQUNELE9BQU8sSUFBSSxFQUFFLENBQUE7UUFDZCxDQUFDLENBQUE7SUFDRixDQUFDO0NBQ0QsQ0FBQTtBQUVELEtBQUssTUFBTSxNQUFNLElBQUksVUFBVTtJQUFFLGNBQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxjQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxjQUFNLEVBQUUsTUFBTSxDQUFDLENBQUEifQ==

@@ -1,4 +0,3 @@

import type { IChainable } from 'jchain';
export declare const serveFile: ({ prefix }: {
prefix?: string | undefined;
}) => IChainable;
import type { Key } from 'path-to-regexp';
import { type IChainable } from 'jchain';
interface RegexpToPathOptions {

@@ -17,2 +16,5 @@ end?: boolean;

} | undefined;
interface Chainable<P extends any[] = any[], R = any, Next = (...np: any[]) => any> {
(next: Next, ...p: P): R;
}
interface RouteContext {

@@ -31,8 +33,8 @@ matched: string;

type IRouter = {
[K in typeof allMethods[number]]: (definition: RouteDefinition, options?: RouterOptions) => IChainable;
[K in typeof allMethods[number]]: (definition: RouteDefinition, options?: RouterOptions) => Chainable;
} & {
all(definition: RouteDefinition, options?: RouterOptions): IChainable;
method(method: string, definition: RouteDefinition, options?: RouterOptions): IChainable;
all(definition: RouteDefinition, options?: RouterOptions): Chainable;
method(method: string, definition: RouteDefinition, options?: RouterOptions): Chainable;
};
export declare const router: IRouter;
export {};
import { pathToRegexp } from 'path-to-regexp';
import { requestContext } from './context.js';
import chain from 'jchain';
const cache = {};

@@ -51,29 +50,29 @@ const cacheLimit = 10000;

method(method, router, { prefix = '', ...options } = {}) {
return n => {
return next => {
const req = requestContext.value;
if (req.method !== method.toUpperCase())
return n();
return chain(...Object.entries(router).map(([pattern, handler]) => next => {
return next();
for (const [pattern, handler] of Object.entries(router)) {
const match = matchPattern(req.url ?? '', `${prefix}${pattern}`, options);
if (!match)
return next();
return handler({
...match,
next,
});
}), n)();
if (match)
return handler({
...match,
next,
});
}
return next();
};
},
all(router, { prefix = '', ...options } = {}) {
return n => {
return next => {
const req = requestContext.value;
return chain(...Object.entries(router).map(([pattern, handler]) => next => {
for (const [pattern, handler] of Object.entries(router)) {
const match = matchPattern(req.url ?? '', `${prefix}${pattern}`, options);
if (!match)
return next();
return handler({
...match,
next,
});
}), n)();
if (match)
return handler({
...match,
next,
});
}
return next();
};

@@ -84,2 +83,2 @@ }

router[method] = router.method.bind(router, method);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvcm91dGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGdCQUFnQixDQUFBO0FBQzNDLE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFB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LEVBQUUsRUFBRSxPQUFPLENBQUMsQ0FBQTtnQkFDekUsSUFBSSxLQUFLO29CQUFFLE9BQU8sT0FBTyxDQUFDO3dCQUN6QixHQUFHLEtBQUs7d0JBQ1IsSUFBSTtxQkFDSixDQUFDLENBQUE7YUFDRjtZQUNELE9BQU8sSUFBSSxFQUFFLENBQUE7UUFDZCxDQUFDLENBQUE7SUFDRixDQUFDO0NBQ0QsQ0FBQTtBQUVELEtBQUssTUFBTSxNQUFNLElBQUksVUFBVTtJQUFFLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsTUFBTSxDQUFDLENBQUEifQ==
{
"name": "dx-server",
"version": "0.0.1-pre-16",
"version": "0.0.1-pre-17",
"main": "./cjs/index.js",

@@ -30,3 +30,2 @@ "repository": "git@github.com:tranvansang/dx-server.git",

"dependencies": {
"jchain": "^0.0.2",
"jdefer": "^0.0.9",

@@ -33,0 +32,0 @@ "jmisc": "^0.0.8",

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