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

@gquittet/graceful-server

Package Overview
Dependencies
Maintainers
0
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gquittet/graceful-server - npm Package Compare versions

Comparing version 5.2.0 to 5.2.1

1

lib/core/signals.d.ts

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

/// <reference types="node" resolution-mode="require"/>
declare const signals: {

@@ -3,0 +2,0 @@ type: NodeJS.Signals | "uncaughtException";

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

/// <reference types="node" resolution-mode="require"/>
import type { Socket } from "node:net";

@@ -3,0 +2,0 @@ declare const SocketsPool: (sockets?: Set<Socket>) => {

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

/// <reference types="node" resolution-mode="require"/>
import type { IStatus } from "#interface/status";

@@ -3,0 +2,0 @@ import type { EventEmitter } from "events";

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

/// <reference types="node" resolution-mode="require"/>
import type { IStatus } from "#interface/status";

@@ -3,0 +2,0 @@ import type { EventEmitter } from "events";

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

/// <reference types="node" resolution-mode="require"/>
import type { EventEmitter } from "events";

@@ -3,0 +2,0 @@ export type IGracefulServer = {

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

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import type http from "node:http";

@@ -6,0 +2,0 @@ import type http2 from "node:http2";

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

/// <reference types="node" resolution-mode="require"/>
import type * as http from "node:http";
export type Server = Pick<http.Server, "on" | "listening" | "close" | "removeAllListeners" | "listeners">;

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

/// <reference types="node" resolution-mode="require"/>
import type { IStatus } from "#interface/status";

@@ -3,0 +2,0 @@ import type http from "node:http";

29

package.json
{
"name": "@gquittet/graceful-server",
"version": "5.2.0",
"version": "5.2.1",
"description": "Tiny (~5k), dependency-free Node.JS library to make your API more graceful",

@@ -42,17 +42,18 @@ "license": "MIT",

"devDependencies": {
"@eslint/js": "^9.3.0",
"@eslint/js": "^9.8.0",
"@types/eslint__js": "^8.42.3",
"@types/express": "^4.17.21",
"@types/node": "^20.12.12",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"@types/node": "^22.1.0",
"@vitest/coverage-v8": "^2.0.5",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-security": "^3.0.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-sonarjs": "^1.0.3",
"eslint-plugin-unused-imports": "^3.2.0",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.10.0",
"vitest": "^1.6.0"
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-sonarjs": "^1.0.4",
"eslint-plugin-unused-imports": "^4.0.1",
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.1",
"vitest": "^2.0.5"
},

@@ -59,0 +60,0 @@ "keywords": [

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