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

@simonbackx/simple-endpoints

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simonbackx/simple-endpoints - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

2

dist/src/RouterServer.d.ts

@@ -20,4 +20,4 @@ /// <reference types="node" />

listen(port: number): void;
close(): Promise<Error | undefined>;
close(): Promise<void>;
}
export {};

@@ -123,6 +123,7 @@ "use strict";

async close() {
console.log("Stoppping server...");
console.log(`Stoppping ${this.httpsOptions ? 'HTTPS' : 'HTTP'} server...`);
return new Promise((resolve, reject) => {
if (!this.server) {
throw new Error("Already stopped.");
reject(new Error("Already stopped."));
return;
}

@@ -129,0 +130,0 @@ this.server.close((err) => {

@@ -5,3 +5,3 @@ {

"types": "./dist/index.d.ts",
"version": "1.7.2",
"version": "1.7.3",
"scripts": {

@@ -8,0 +8,0 @@ "test": "jest --setupFiles dotenv/config",

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