A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
177 matches across 7 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tooling/generate-html-entities.js | 1 | /* |
| LOW | tooling/generate-html-entities.js | 121 | `// #region html entities |
| LOW | test/walkHtmlTokens.unittest.js | 1941 | // at most 31 chars. The scanner bounds the consume loop at |
| LOW | test/test262.spectest.js | 801 | // known. Pre-knowing exports would require a larger architectural |
| LOW | test/test262.spectest.js | 881 | // `delete super[(super(), 0)]` in a derived constructor — webpack rewrites |
| LOW | test/test262.spectest.js | 1021 | "expressions/dynamic-import/catch/nested-block-import-catch-instn-iee-err-circular.js", |
| LOW | test/hotPlayground/element-dependency.js | 1 | // This file doesn't accept itself neither the parent accepts it. |
| LOW | test/statsCases/split-chunks-max-size/very-big.js | 1 | // content content content content content content content content |
| LOW | test/statsCases/split-chunks-max-size/very-big.js | 21 | // content content content content content content content content |
| LOW | test/statsCases/split-chunks-max-size/big.js | 1 | // content content content content content content content content |
| LOW | …statsCases/split-chunks-max-size/subfolder/very-big.js | 1 | // content content content content content content content content |
| LOW | …statsCases/split-chunks-max-size/subfolder/very-big.js | 21 | // content content content content content content content content |
| LOW | test/statsCases/split-chunks-max-size/subfolder/big.js | 1 | // content content content content content content content content |
| LOW | …tsCases/split-chunks-max-size/inner-module/very-big.js | 1 | // content content content content content content content content |
| LOW | …tsCases/split-chunks-max-size/inner-module/very-big.js | 21 | // content content content content content content content content |
| LOW | …t/statsCases/split-chunks-max-size/inner-module/big.js | 1 | // content content content content content content content content |
| LOW | …es/split-chunks-max-size/in-some-directory/very-big.js | 1 | // content content content content content content content content |
| LOW | …es/split-chunks-max-size/in-some-directory/very-big.js | 21 | // content content content content content content content content |
| LOW | …tsCases/split-chunks-max-size/in-some-directory/big.js | 1 | // content content content content content content content content |
| LOW | test/statsCases/module-reasons/c.js | 1 | // empty |
| LOW | test/cases/parsing/issue-17063/index.js | 1 | import foo, { named } from "./lib"; |
| LOW | …nfigCases/contenthash/hash-placeholders/test.config.js | 81 | expect(icon).toBeDefined(); |
| LOW | …nfigCases/contenthash/hash-placeholders/test.config.js | 121 | // `style.css` references `./bg.png` via `url(...)`, and webpack |
| LOW | …nfigCases/contenthash/hash-placeholders/test.config.js | 141 | const bundleContent = fs.readFileSync(path.join(dir, bundle), "utf8"); |
| LOW | …gCases/contenthash/hash-placeholders/webpack.config.js | 1 | "use strict"; |
| LOW | test/configCases/records/issue-295/file.js | 1 | // just a file |
| LOW | test/configCases/css/parsing/cases/selectors.css | 241 | a[href='place']::before {} |
| LOW | test/configCases/css/parsing/cases/selectors.css | 261 | #\31 23 {} |
| LOW | test/configCases/css/parsing/cases/selectors.css | 281 | #f\~o\~o {} |
| LOW | test/configCases/css/parsing/cases/selectors.css | 301 | #\<p\> {} |
| LOW | …/configCases/require/esm-module-exports/test.config.js | 1 | "use strict"; |
| LOW | test/configCases/require/esm-module-exports/index.js | 1 | // Verify webpack's `require(esm)` "module.exports" unwrapping matches Node's |
| LOW | …nfigCases/defer-import/json-import-attributes/index.js | 21 | |
| LOW | …onfigCases/defer-import/wasm-async-attributes/index.js | 1 | function assertIsNamespaceObject(ns) { |
| LOW | …onfigCases/defer-import/wasm-async-attributes/index.js | 61 | expect(Reflect.has(dyn, "getNumber")).toBe(true); |
| LOW | test/configCases/defer-import/css-export-types/index.js | 1 | // `import defer` coverage for every CSS module exportType webpack supports |
| LOW | test/configCases/defer-import/asset-modules/index.js | 1 | // `import defer` coverage for every asset module type webpack supports. |
| LOW | test/configCases/inline-exports/basic/index.js | 181 | }) |
| LOW | test/configCases/inline-exports/basic/index.js | 201 | // } else { |
| LOW | …es/html/css-mixed-link-and-js-import/webpack.config.js | 1 | "use strict"; |
| LOW | …es/html/css-runtime-and-split-chunks/webpack.config.js | 1 | "use strict"; |
| LOW | test/configCases/rule-set/simple/c.js | 1 | // never used |
| LOW | test/configCases/rule-set/simple-use-fn-array/c.js | 1 | // never used |
| LOW | test/configCases/rule-set/simple-use-array-fn/c.js | 1 | // never used |
| LOW | …igCases/inner-graph/issue-12669-mini/webpack.config.js | 21 | // "./dependency": ["y"] |
| LOW | test/hotCases/runtime/root-error/index.js | 41 | // will never happen |
| LOW | test/hotCases/html/html-head-change/index.js | 1 | import html from "./page.html"; |
| LOW | …t/hotCases/html/html-external-update-tracking/index.js | 1 | import "./page.html"; |
| LOW | assembly/hash/xxhash64.asm.ts | 1 | // ////////////////////////////////////////////////////////// |
| LOW | examples/html-template/src/app.js | 1 | // This script is referenced by `<script src="./app.js">` in the HTML entry. |
| LOW | examples/typescript/webpack.config.js | 1 | "use strict"; |
| LOW | examples/typescript/README.md | 61 | // |
| LOW | examples/module-federation/src/index.js | 1 | // Sharing modules requires that all remotes are initialized |
| LOW | examples/top-level-await/Actions.js | 1 | // import() doesn't care about whether a module is an async module or not |
| LOW | examples/top-level-await/README.md | 81 | // see CreateUserAction above |
| LOW | examples/top-level-await/README.md | 141 | |
| LOW | examples/multi-compiler/mobile-stuff.js | 1 | // mobile only stuff |
| LOW | examples/custom-javascript-parser/webpack.config.js | 81 | // { |
| LOW | examples/custom-javascript-parser/README.md | 401 | module: { |
| LOW | examples/harmony-interop/reexport-commonjs.js | 1 | // reexport a CommonJs module |
| 51 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | types.d.ts | 24056 | print( |
| HIGH | test/Defaults.unittest.js | 66 | print(received) { |
| HIGH | test/Defaults.unittest.js | 79 | print(received) { |
| HIGH | test/compileBooleanMatcher.unittest.js | 33 | print(received) { |
| HIGH | test/Errors.test.js | 52 | print(val) { |
| HIGH | test/Errors.test.js | 66 | print(received) { |
| HIGH | test/Errors.test.js | 78 | print(received) { |
| HIGH | examples/module-code-splitting/example.js | 5 | print(counter.value); |
| HIGH | examples/module-code-splitting/example.js | 9 | print(counter.value); |
| HIGH | examples/module-code-splitting/example.js | 11 | print(counter.value); |
| HIGH | examples/module/example.js | 3 | print(value); |
| HIGH | examples/module/example.js | 7 | print(value); |
| HIGH | examples/module/example.js | 9 | print(value); |
| HIGH | lib/stats/StatsPrinter.js | 190 | print(type, object, baseContext) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | declarations.d.ts | 168 | export function moduleContextFromModuleAST(module: Module): { |
| LOW | test/statsCases/cause-error/webpack.config.js | 30 | function createWebpackErrorWithCause(message, options) { |
| LOW | …igCases/rule-set/simple-use-fn-array/webpack.config.js | 7 | function createFunctionArrayFromUseArray(useArray) { |
| LOW | test/configCases/inner-graph/issue-11678/module.js | 181 | function showSortManualButtonState() { |
| LOW | test/configCases/inner-graph/issue-11678/module.js | 217 | async function onInsertFromTemplateDialog() { |
| LOW | test/configCases/inner-graph/issue-11678/module.js | 1073 | async function doCreateAndShowTableWidget( |
| LOW | test/configCases/inner-graph/issue-11678/module.js | 2486 | async function showAssignResourcesDialog(appendTo) { |
| LOW | test/configCases/inner-graph/altaskitButton/module.js | 104 | value: function componentWillReceiveProps(nextProps) { |
| LOW | …mangle-with-destructuring-assignment/webpack.config.js | 23 | function getJsonCodeGeneratedSource(compiler) { |
| LOW | test/helpers/supportsArrowFunctionExpression.js | 3 | module.exports = function supportArrowFunctionExpression() { |
| LOW | test/helpers/supportsLogicalAssignment.js | 3 | module.exports = function supportsLogicalAssignment() { |
| LOW | test/helpers/supportsOptionalCatchBinding.js | 3 | module.exports = function supportsOptionalCatchBinding() { |
| LOW | test/helpers/supportsIteratorDestructuring.js | 3 | module.exports = function supportsIteratorDestructuring() { |
| LOW | test/helpers/infrastructureLogErrors.js | 20 | module.exports = function filterInfraStructureErrors(logs, config) { |
| LOW | test/helpers/supportsObjectDestructuring.js | 3 | module.exports = function supportsObjectDestructuring() { |
| LOW | test/helpers/supportsNullishCoalescing.js | 3 | module.exports = function supportsNullishCoalescing() { |
| LOW | examples/externals/README.md | 57 | (function webpackUniversalModuleDefinition(root, factory) { |
| LOW | examples/wasm-complex/memory.js | 1 | async function getMemoryFromParentInWorker() { |
| LOW | examples/wasm-complex/README.md | 61 | async function getMemoryFromParentInWorker() { |
| LOW | examples/wasm-complex/README.md | 195 | async function getMemoryFromParentInWorker() { |
| LOW | examples/multi-part-library/README.md | 43 | (function webpackUniversalModuleDefinition(root, factory) { |
| LOW | examples/multi-part-library/README.md | 125 | (function webpackUniversalModuleDefinition(root, factory) { |
| LOW | examples/harmony-library/README.md | 26 | (function webpackUniversalModuleDefinition(root, factory) { |
| LOW | lib/ContextModule.js | 926 | function webpackAsyncContextResolve(req) { |
| LOW | lib/ContextModule.js | 980 | function webpackAsyncContextResolve(req) { |
| LOW | lib/ContextModule.js | 1048 | function webpackAsyncContextResolve(req) { |
| LOW | lib/optimize/InnerGraph.js | 116 | function isDependencyUsedByExports( |
| LOW | lib/util/traverseDestructuringAssignmentProperties.js | 19 | function traverseDestructuringAssignmentProperties( |
| LOW | lib/runtime/MakeDeferredNamespaceObjectRuntime.js | 19 | function getMakeDeferredNamespaceModeFromExportsType(exportsType) { |
| LOW | lib/runtime/MakeDeferredNamespaceObjectRuntime.js | 35 | function getOptimizedDeferredModule( |
| LOW | lib/dependencies/ImportParserPlugin.js | 67 | function tagDynamicImportReferenced(parser, importCall, variableName) { |
| LOW | lib/dependencies/ImportParserPlugin.js | 87 | function getFulfilledCallbackNamespaceObj(importThen) { |
| LOW | lib/dependencies/ImportParserPlugin.js | 108 | function walkImportThenFulfilledCallback( |
| LOW | lib/dependencies/HarmonyImportDependencyParserPlugin.js | 171 | function getNonOptionalMemberChain(node, count) { |
| LOW | lib/library/UmdLibraryPlugin.js | 241 | expr = `(function webpackLoadOptionalExternalModule() { try { return ${expr}; } catch(e) {} }())`; |
| LOW | lib/library/UmdLibraryPlugin.js | 287 | `function webpackLoadOptionalExternalModuleAmd(${wrapperArguments}) {\n` + |
| LOW | lib/library/UmdLibraryPlugin.js | 313 | `(function webpackUniversalModuleDefinition(root, factory) {\n${getAuxiliaryComment( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/cases/inner-graph/switch/module.js | 21 | function doSomething(obj) { |
| LOW | test/configCases/chunks-order/module/nested-shared.js | 1 | function doSomething() {} |
| LOW | test/configCases/chunks-order/module/shared.js | 3 | function doSomething() {} |
| LOW | test/configCases/chunks-order/module/dependency.js | 1 | function doSomething() {} |
| LOW | test/configCases/chunks-order/cjs/nested-shared.js | 1 | function doSomething() {} |
| LOW | test/configCases/chunks-order/cjs/shared.js | 3 | function doSomething() {} |
| LOW | test/configCases/chunks-order/cjs/dependency.js | 1 | function doSomething() {} |
| LOW | …t/configCases/plugins/manifest-plugin/nested-shared.js | 1 | function doSomething() {} |
| LOW | test/configCases/plugins/manifest-plugin/shared.js | 3 | function doSomething() {} |
| LOW | test/configCases/plugins/manifest-plugin/dependency.js | 1 | function doSomething() {} |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/FlagDependencyExportsPlugin.js | 51 | // Step 1: Try to restore cached provided export info from cache |
| LOW | lib/dependencies/CommonJsExportsParserPlugin.js | 63 | * The purpose of this function is to check whether an expression is a truthy literal or not. This is |
| LOW | lib/dependencies/CommonJsExportsParserPlugin.js | 80 | * The purpose of this function is to check whether an expression is a falsy literal or not. This is |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/configCases/defer-import/asset-modules/index.js | 49 | // robust if a user has a stricter `core.autocrlf` override. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | lib/dependencies/WorkerDependency.js | 43 | // If options are updated, don't forget to update the hash and serialization functions |