Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 27, 2024 via pnpm

webpack-dev-server 4.15.1

Serves a webpack app. Updates the browser on changes.
Package summary
Share
2
issues
1
high severity
license
1
1
low severity
license
1
8
licenses
232
MIT
20
ISC
8
BSD-2-Clause
15
other licenses
Apache-2.0
7
BSD-3-Clause
4
Unlicense
2
CC-BY-4.0
1
+ 1 more
Package created
18 Sep 2012
Version published
9 Jun 2023
Maintainers
4
Total deps
275
Direct deps
31
License
MIT

Issues

2

1 high severity issue

high
Recommendation: Read and validate the license terms
via: webpack-dev-middleware@5.3.4 & others
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: webpack-dev-middleware@5.3.4 & others
Collapse
Expand

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
232 Packages, Including:
@jridgewell/gen-mapping@0.3.5
@jridgewell/resolve-uri@3.1.2
@jridgewell/set-array@1.2.1
@jridgewell/source-map@0.3.6
@jridgewell/sourcemap-codec@1.4.15
@jridgewell/trace-mapping@0.3.25
@leichtgewicht/ip-codec@2.0.5
@types/body-parser@1.19.5
@types/bonjour@3.5.13
@types/connect-history-api-fallback@1.5.4
@types/connect@3.4.38
@types/eslint-scope@3.7.7
@types/eslint@8.56.10
@types/estree@1.0.5
@types/express-serve-static-core@4.19.0
@types/express@4.17.21
@types/http-errors@2.0.4
@types/http-proxy@1.17.14
@types/json-schema@7.0.15
@types/mime@1.3.5
@types/node-forge@1.3.11
@types/node@20.12.7
@types/qs@6.9.15
@types/range-parser@1.2.7
@types/retry@0.12.0
@types/send@0.17.4
@types/serve-index@1.9.4
@types/serve-static@1.15.7
@types/sockjs@0.3.36
@types/ws@8.5.10
@webassemblyjs/ast@1.12.1
@webassemblyjs/floating-point-hex-parser@1.11.6
@webassemblyjs/helper-api-error@1.11.6
@webassemblyjs/helper-buffer@1.12.1
@webassemblyjs/helper-numbers@1.11.6
@webassemblyjs/helper-wasm-bytecode@1.11.6
@webassemblyjs/helper-wasm-section@1.12.1
@webassemblyjs/ieee754@1.11.6
@webassemblyjs/utf8@1.11.6
@webassemblyjs/wasm-edit@1.12.1
@webassemblyjs/wasm-gen@1.12.1
@webassemblyjs/wasm-opt@1.12.1
@webassemblyjs/wasm-parser@1.12.1
@webassemblyjs/wast-printer@1.12.1
accepts@1.3.8
acorn-import-assertions@1.9.0
acorn@8.11.3
ajv-formats@2.1.1
ajv-keywords@3.5.2
ajv-keywords@5.1.0

ISC License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
Cannot
hold-liable
Must
include-copyright
include-license
20 Packages, Including:
anymatch@3.1.3
electron-to-chromium@1.4.750
fs.realpath@1.0.0
glob-parent@5.1.2
glob@7.2.3
graceful-fs@4.2.11
inflight@1.0.6
inherits@2.0.3
inherits@2.0.4
isexe@2.0.0
minimalistic-assert@1.0.1
minimatch@3.1.2
once@1.4.0
picocolors@1.0.0
rimraf@3.0.2
setprototypeof@1.1.0
setprototypeof@1.2.0
signal-exit@3.0.7
which@2.0.2
wrappy@1.0.2

BSD 2-Clause "Simplified" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
hold-liable
Must
include-copyright
include-license
8 Packages, Including:
default-gateway@6.0.3
eslint-scope@5.1.1
esrecurse@4.3.0
estraverse@4.3.0
estraverse@5.3.0
glob-to-regexp@0.4.1
terser@5.30.4
uri-js@4.4.1

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
7 Packages, Including:
@webassemblyjs/leb128@1.11.6
@xtuc/long@4.2.2
ansi-html-community@0.0.8
faye-websocket@0.11.4
human-signals@2.1.0
websocket-driver@0.7.4
websocket-extensions@0.1.4

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
4 Packages, Including:
@xtuc/ieee754@1.2.0
qs@6.11.0
serialize-javascript@6.0.2
source-map@0.6.1

The Unlicense

Public Domain
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
private-use
modify
Cannot
include-copyright
hold-liable
Must
2 Packages, Including:
fs-monkey@1.0.5
memfs@3.5.3

Creative Commons Attribution 4.0 International

Uncategorized
Not OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
Cannot
Must
1 Packages, Including:
caniuse-lite@1.0.30001612

(BSD-3-Clause OR GPL-2.0)

Permissive
1 Packages, Including:
node-forge@1.3.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

31
All Dependencies CSV
β“˜ This is a list of webpack-dev-server 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@types/bonjour3.5.132.32 kBMIT
prod
@types/connect-history-api-fallback1.5.41.88 kBMIT
prod
@types/express4.17.212.64 kBMIT
prod peer
@types/serve-index1.9.41.87 kBMIT
prod
@types/serve-static1.15.77.61 kBMIT
prod
@types/sockjs0.3.361.98 kBMIT
prod
@types/ws8.5.104.96 kBMIT
prod
ansi-html-community0.0.87.32 kBApache-2.0
prod
bonjour-service1.2.116.64 kBMIT
prod
chokidar3.6.025.83 kBMIT
prod
colorette2.0.204.94 kBMIT
prod
compression1.7.47.64 kBMIT
prod
connect-history-api-fallback2.0.04.13 kBMIT
prod
default-gateway6.0.34.31 kBBSD-2-Clause
prod
express4.19.2209.73 kBMIT
prod
graceful-fs4.2.119.57 kBISC
prod
html-entities2.5.2280.65 kBMIT
prod
http-proxy-middleware2.0.618.14 kBMIT
prod
ipaddr.js2.2.060.85 kBMIT
prod
launch-editor2.6.14.75 kBMIT
prod
open8.4.212.6 kBMIT
prod
p-retry4.6.23.81 kBMIT
prod
rimraf3.0.26.33 kBISC
prod
schema-utils4.2.015.34 kBMIT
prod
selfsigned2.4.19.04 kBMIT
prod
serve-index1.9.162.28 kBMIT
prod
sockjs0.3.2421.39 kBMIT
prod
spdy4.0.216.17 kBMIT
prod
webpack-dev-middleware5.3.481.53 kBMIT
prod
1
1
webpack5.91.04.71 MBMIT
prod peer
1
1
ws8.16.032.35 kBMIT
prod

Visualizations

Frequently Asked Questions

What does webpack-dev-server do?

Webpack-dev-server is a development server that provides live reloading for your webpack application. Its primary use is to significantly speed up the development process by automatically loading the changes you make without having to manually refresh your browser. It should be noted that this tool is recommended for development use only and not for deployment in a production environment. Under the hood, webpack-dev-server leverages webpack-dev-middleware to provide rapid in-memory access to the webpack assets.

How do you use webpack-dev-server?

Using webpack-dev-server is straightforward. First, you need to install the module. You can do so using npm, yarn, or pnpm:

npm install webpack-dev-server --save-dev

or

yarn add -D webpack-dev-server

or

pnpm add -D webpack-dev-server

Once installed, you can use the webpack-dev-server in several ways:

  1. With the CLI: run the npx webpack serve in the directory where your webpack.config.js is.
  2. With NPM Scripts: Define a new script in your package.json file:
{
  "scripts": {
    "serve": "webpack serve"
  }
}

And then, you can start your development server with npm run serve. 3. With the API: You can also start a server via the API. 4. With TypeScript: If you use TypeScript in your webpack config, you'll need to properly type devServer property to avoid TypeScript errors.

By default, the server instance will start listening for connections from localhost on port 8080.

Where are the webpack-dev-server docs?

The detailed documentation for webpack-dev-server can be found here. This provides an exhaustive list of all configuration options and additional use cases. Whether you are a JavaScript beginner or experienced coder, you can count on the documentation to be a valuable resource for your web development journey.