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 9, 2024 via pnpm

webpack 5.76.2

Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Package summary
Share
2
issues
1
high severity
license
1
1
low severity
license
1
6
licenses
62
MIT
7
BSD-2-Clause
3
BSD-3-Clause
6
other licenses
ISC
3
Apache-2.0
2
CC-BY-4.0
1
Package created
11 Mar 2012
Version published
15 Mar 2023
Maintainers
4
Total deps
78
Direct deps
24
License
MIT

Issues

2

1 high severity issue

high
Recommendation: Read and validate the license terms
via: browserslist@4.23.0
Collapse
Expand

1 low severity issue

low
Recommendation: Read and validate the license terms
via: browserslist@4.23.0
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
62 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
@types/eslint-scope@3.7.7
@types/eslint@8.56.7
@types/estree@0.0.51
@types/json-schema@7.0.15
@types/node@20.12.6
@webassemblyjs/ast@1.11.1
@webassemblyjs/floating-point-hex-parser@1.11.1
@webassemblyjs/helper-api-error@1.11.1
@webassemblyjs/helper-buffer@1.11.1
@webassemblyjs/helper-numbers@1.11.1
@webassemblyjs/helper-wasm-bytecode@1.11.1
@webassemblyjs/helper-wasm-section@1.11.1
@webassemblyjs/ieee754@1.11.1
@webassemblyjs/utf8@1.11.1
@webassemblyjs/wasm-edit@1.11.1
@webassemblyjs/wasm-gen@1.11.1
@webassemblyjs/wasm-opt@1.11.1
@webassemblyjs/wasm-parser@1.11.1
@webassemblyjs/wast-printer@1.11.1
acorn-import-assertions@1.9.0
acorn@8.11.3
ajv-keywords@3.5.2
ajv@6.12.6
browserslist@4.23.0
buffer-from@1.1.2
chrome-trace-event@1.0.3
commander@2.20.3
enhanced-resolve@5.16.0
es-module-lexer@0.9.3
escalade@3.1.2
events@3.3.0
fast-deep-equal@3.1.3
fast-json-stable-stringify@2.1.0
has-flag@4.0.0
jest-worker@27.5.1
json-parse-even-better-errors@2.3.1
json-schema-traverse@0.4.1
loader-runner@4.3.0
merge-stream@2.0.0
mime-db@1.52.0
mime-types@2.1.35
neo-async@2.6.2
node-releases@2.0.14
punycode@2.3.1

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
7 Packages, Including:
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.3
uri-js@4.4.1

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
3 Packages, Including:
@xtuc/ieee754@1.2.0
serialize-javascript@6.0.2
source-map@0.6.1

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
3 Packages, Including:
electron-to-chromium@1.4.730
graceful-fs@4.2.11
picocolors@1.0.0

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
2 Packages, Including:
@webassemblyjs/leb128@1.11.1
@xtuc/long@4.2.2

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.30001607
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

24
All Dependencies CSV
β“˜ This is a list of webpack 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
@types/eslint-scope3.7.72.09 kBMIT
prod
@types/estree0.0.515.51 kBMIT
prod
@webassemblyjs/ast1.11.135.54 kBMIT
prod
@webassemblyjs/wasm-edit1.11.15.62 kBMIT
prod
@webassemblyjs/wasm-parser1.11.122.69 kBMIT
prod
acorn-import-assertions1.9.03.64 kBMIT
prod
acorn8.11.3122.89 kBMIT
prod peer
browserslist4.23.061.29 kBMIT
prod peer
1
1
chrome-trace-event1.0.34.88 kBMIT
prod
enhanced-resolve5.16.0205.49 kBMIT
prod
es-module-lexer0.9.321.19 kBMIT
prod
eslint-scope5.1.116.33 kBBSD-2-Clause
prod
events3.3.016.19 kBMIT
prod
glob-to-regexp0.4.14.38 kBBSD-2-Clause
prod
graceful-fs4.2.119.57 kBISC
prod
json-parse-even-better-errors2.3.14.45 kBMIT
prod
loader-runner4.3.05.38 kBMIT
prod
mime-types2.1.355.46 kBMIT
prod
neo-async2.6.237.74 kBMIT
prod
schema-utils3.3.017.93 kBMIT
prod
tapable2.2.110.64 kBMIT
prod
terser-webpack-plugin5.3.1018.28 kBMIT
prod
watchpack2.4.154.86 kBMIT
prod
webpack-sources3.2.318 kBMIT
prod

Visualizations

Frequently Asked Questions

What does webpack do?

Webpack is a powerful modular bundler for JavaScript that allows for the packaging of JavaScript files for use in the browser. It is capable of bundling, transforming, or packaging virtually any type of resource or asset. Webpack supports ECMA Script, CommonJS, and AMD modules making it flexible and convenient. It allows for code splitting which can significantly reduce initial loading time. It packs modules for the browser, enabling developers to split their codebase into multiple bundles that can be loaded on demand, enhancing performance.

How do you use webpack?

To use webpack, you will first need to install it to your project as a development dependency. Webpack is typically installed using npm (Node Package Manager) or yarn.

Using npm, the installation command is:

npm install --save-dev webpack

Using yarn, the installation command is:

yarn add webpack --dev

Once installed, you can use webpack by creating a webpack.config.js configuration file in your project root, and then simply running the webpack command in your terminal:

npx webpack

Here is a simple webpack configuration example:

const path = require('path');

module.exports = {
  entry: './src/index.js',
  output: {
    filename: 'main.js',
    path: path.resolve(__dirname, 'dist')
  }
};

This config tells webpack to take ./src/index.js as the entry point to start building the dependency graph and to output the bundled result to ./dist/main.js.

Webpack offers a rich set of loaders to preprocess files. Loaders are functions that take the source code as an input, process it, and return it as an output. They can be chained together and applied to a specific file type using a regex expression.

Where are the webpack docs?

The official documentation for webpack can be found at [https://webpack.js.org