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

express-router-api

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-router-api - npm Package Compare versions

Comparing version 1.3.6 to 1.3.7

4

dist/index.d.ts

@@ -10,6 +10,6 @@ import { Request, Response, Router, RouterOptions } from 'express';

}
export declare const ApiNext: {};
export declare const ApiNext: unique symbol;
declare type SimpleApiResult = string | boolean | number | object | {
[key: string]: string;
} | undefined;
} | typeof ApiNext | undefined;
export declare class ApiResponse {

@@ -16,0 +16,0 @@ apiResult: SimpleApiResult;

@@ -26,3 +26,3 @@ "use strict";

exports.ApiError = ApiError;
exports.ApiNext = {};
exports.ApiNext = Symbol('ApiNext');
class ApiResponse {

@@ -29,0 +29,0 @@ constructor(apiResult, code = 200) {

{
"name": "express-router-api",
"version": "1.3.6",
"version": "1.3.7",
"description": "Express router that lets you construct your API entirely on promises",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -34,5 +34,5 @@ import {

export const ApiNext = {};
export const ApiNext: unique symbol = Symbol('ApiNext');
type SimpleApiResult = string | boolean | number | object | { [key: string]: string; } | undefined;
type SimpleApiResult = string | boolean | number | object | { [key: string]: string; } | typeof ApiNext | undefined;

@@ -39,0 +39,0 @@ export class ApiResponse {

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