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

@gquittet/graceful-server

Package Overview
Dependencies
Maintainers
1
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 2.1.0 to 2.1.1

183

package.json
{
"name": "@gquittet/graceful-server",
"description": "Tiny (~5k), dependency-free Node.JS library to make your API more graceful",
"author": {
"name": "Guillaume Quittet",
"email": "guillaume.quittet@gmail.com",
"url": "https://github.com/gquittet"
},
"license": "MIT",
"author": "Guillaume Quittet <guillaume.quittet@gmail.com> (https://github.com/gquittet)",
"homepage": "https://github.com/gquittet/graceful-server#readme",
"bugs": {
"url": "https://github.com/gquittet/graceful-server/issues",
"email": "guillaume.quittet@gmail.com"
},
"repository": {

@@ -18,31 +11,24 @@ "type": "git",

},
"engines": {
"node": ">=10.13.0"
"bugs": {
"url": "https://github.com/gquittet/graceful-server/issues",
"email": "guillaume.quittet@gmail.com"
},
"keywords": [
"api",
"http",
"server",
"graceful",
"connection",
"gracefulserver"
],
"license": "MIT",
"version": "2.1.0",
"version": "2.1.1",
"main": "./lib/index.js",
"types": "./lib/types/index.d.ts",
"scripts": {
"clean": "rimraf lib/",
"type-check": "ttsc -p tsconfig.prod.json --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"build": "npm run build:types && npm run bundle",
"build:types": "ttsc -p tsconfig.prod.json --emitDeclarationOnly",
"bundle": "webpack",
"clean": "rimraf lib/",
"precommit": "lint-staged",
"lint": "eslint src/**/*.ts",
"prepublishOnly": "npm run preversion",
"test": "NODE_ENV=test jest",
"test:lint": "eslint __tests__/**/*.ts",
"test:coverage": "NODE_ENV=test jest --coverage",
"preversion": "npm run clean && npm run lint && npm run test:lint && npm run test && npm run build",
"prepublishOnly": "npm run preversion"
"test:lint": "eslint tests/**/*.ts",
"type-check": "ttsc -p tsconfig.prod.json --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"preversion": "npm run clean && npm run lint && npm run test:lint && npm run test && npm run build"
},
"types": "./lib/types/index.d.ts",
"devDependencies": {

@@ -57,11 +43,11 @@ "@babel/cli": "7.12.1",

"@types/jest": "26.0.15",
"@types/node": "14.11.11",
"@typescript-eslint/eslint-plugin": "4.5.0",
"@typescript-eslint/parser": "4.5.0",
"@types/node": "14.14.6",
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"add-module-exports-webpack-plugin": "2.0.0",
"babel-loader": "8.1.0",
"babel-plugin-module-resolver": "4.0.0",
"eslint": "7.11.0",
"eslint-config-prettier": "6.13.0",
"eslint-config-standard": "14.1.1",
"eslint": "7.12.1",
"eslint-config-prettier": "6.15.0",
"eslint-config-standard": "16.0.1",
"eslint-import-resolver-babel-module": "5.2.0",

@@ -72,18 +58,101 @@ "eslint-plugin-import": "2.22.1",

"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"eslint-plugin-standard": "4.0.2",
"esm": "3.2.25",
"fork-ts-checker-webpack-plugin": "5.2.0",
"fork-ts-checker-webpack-plugin": "5.2.1",
"husky": "4.3.0",
"jest": "26.6.0",
"jest": "26.6.1",
"lint-staged": "10.5.1",
"prettier": "2.1.2",
"prettier-package-json": "2.1.3",
"pretty-quick": "3.1.0",
"rimraf": "3.0.2",
"ts-jest": "26.4.1",
"ts-jest": "26.4.3",
"ts-node": "9.0.0",
"ttypescript": "1.5.12",
"typescript": "4.0.3",
"typescript-transform-paths": "2.0.1",
"webpack": "5.1.3",
"typescript": "4.0.5",
"typescript-transform-paths": "2.0.2",
"webpack": "5.3.2",
"webpack-cli": "4.1.0"
},
"keywords": [
"api",
"connection",
"graceful",
"gracefulserver",
"http",
"server"
],
"engines": {
"node": ">=10.13.0"
},
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "8"
},
"modules": false
}
],
"@babel/typescript"
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
[
"module-resolver",
{
"root": [
"."
],
"alias": {
"@": "./src",
"test": "./tests"
}
}
]
]
},
"eslintConfig": {
"root": true,
"env": {
"jest": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"prettier",
"standard"
],
"plugins": [
"module-resolver",
"@typescript-eslint"
],
"rules": {
"space-before-function-paren": "off",
"no-unused-vars": "off",
"module-resolver/use-alias": 2,
"@typescript-eslint/no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false
}
]
},
"settings": {
"import/resolver": {
"babel-module": {}
}
},
"ignorePatterns": [
"/node_modules/",
"/lib/"
]
},
"husky": {

@@ -93,3 +162,35 @@ "hooks": {

}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"globals": {
"ts-jest": {
"compiler": "ttypescript",
"tsconfig": "tsconfig.json",
"diagnostics": true
}
},
"testRegex": "/tests/.*\\.test\\.ts",
"moduleNameMapper": {
"@/(.*)": "<rootDir>/src/$1"
}
},
"lint-staged": {
"package.json": [
"prettier-package-json --write",
"git add"
]
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"endOfLine": "lf",
"printWidth": 120,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
}
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