Socket
Socket
Sign inDemoInstall

serve

Package Overview
Dependencies
Maintainers
187
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serve - npm Package Compare versions

Comparing version 13.0.4 to 14.0.0-canary.0

build/main.js

89

package.json
{
"name": "serve",
"version": "13.0.4",
"version": "14.0.0-canary.0",
"description": "Static file serving and directory listing",
"scripts": {
"test": ""
},
"files": [
"bin"
],
"repository": "vercel/serve",
"bin": {
"serve": "./bin/serve.js"
},
"keywords": [

@@ -21,14 +11,75 @@ "vercel",

],
"repository": "vercel/serve",
"license": "MIT",
"type": "module",
"bin": {
"serve": "./build/main.js"
},
"files": [
"build/"
],
"engines": {
"node": ">= 14"
},
"scripts": {
"develop": "tsx watch ./source/main.ts",
"start": "node ./build/main.js",
"compile": "tsup ./source/main.ts",
"test:tsc": "tsc --project tsconfig.json",
"test": "pnpm test:tsc",
"lint:code": "eslint --max-warnings 0 source/**/*.ts",
"lint:style": "prettier --check --ignore-path .gitignore .",
"lint": "pnpm lint:code && pnpm lint:style",
"format": "prettier --write --ignore-path .gitignore .",
"prepare": "husky install config/husky && pnpm compile"
},
"dependencies": {
"@zeit/schemas": "2.6.0",
"ajv": "6.12.6",
"arg": "2.0.0",
"boxen": "5.1.2",
"chalk": "2.4.1",
"clipboardy": "2.3.0",
"compression": "1.7.3",
"@zeit/schemas": "2.21.0",
"ajv": "8.11.0",
"arg": "5.0.2",
"boxen": "7.0.0",
"chalk": "5.0.1",
"clipboardy": "3.0.0",
"compression": "1.7.4",
"is-port-reachable": "4.0.0",
"serve-handler": "6.1.3",
"update-check": "1.5.2"
"update-check": "1.5.4"
},
"devDependencies": {
"@types/compression": "1.7.2",
"@types/serve-handler": "6.1.1",
"@vercel/style-guide": "3.0.0",
"eslint": "8.19.0",
"husky": "8.0.1",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"tsup": "6.1.3",
"tsx": "3.7.1",
"typescript": "4.6.4"
},
"tsup": {
"target": "esnext",
"format": [
"esm"
],
"outDir": "./build/"
},
"prettier": "@vercel/style-guide/prettier",
"eslintConfig": {
"extends": [
"./node_modules/@vercel/style-guide/eslint/node.js",
"./node_modules/@vercel/style-guide/eslint/typescript.js"
],
"parserOptions": {
"project": "tsconfig.json"
}
},
"lint-staged": {
"*": [
"prettier --ignore-unknown --write"
],
"source/**/*.ts": [
"eslint --max-warnings 0 --fix"
]
}
}
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