Commit Graph

18063 Commits

Author SHA1 Message Date
Hai 4abdfa94df fix 2025-09-30 23:39:56 +08:00
Hai 4587dbb336 fix 2025-09-30 02:42:01 +08:00
Hai c056283928 fix 2025-09-30 02:26:28 +08:00
Hai 5604ce9b89 feat: support ignoreList 2025-09-30 02:26:28 +08:00
hai-x 761b153060
feat: support function matcher in rule options (#19952)
Github Actions / lint (push) Waiting to run Details
Github Actions / validate-legacy-node (push) Waiting to run Details
Github Actions / benchmark (1/4) (push) Waiting to run Details
Github Actions / benchmark (2/4) (push) Waiting to run Details
Github Actions / benchmark (3/4) (push) Waiting to run Details
Github Actions / benchmark (4/4) (push) Waiting to run Details
Github Actions / basic (push) Waiting to run Details
Github Actions / unit (push) Waiting to run Details
Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions Details
2025-09-29 21:22:46 +03:00
Gengkun 8c0fa9e9dc
feat: tree shaking nested exports for destructuring assignment (#19955) 2025-09-29 19:43:22 +03:00
dependabot[bot] 0a58530ef4
chore(deps): bump actions/dependency-review-action from 4.7.3 to 4.8.0 (#19958)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](595b5aeba7...56339e523c)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-29 19:18:52 +03:00
hai-x 042bf86cf8
fix: integrity in http-url test (#19954) 2025-09-29 19:17:35 +03:00
Alexander Akait d9121b39a1
docs: use markdown instead html (#19938)
Github Actions / lint (push) Waiting to run Details
Github Actions / validate-legacy-node (push) Waiting to run Details
Github Actions / benchmark (1/4) (push) Waiting to run Details
Github Actions / benchmark (2/4) (push) Waiting to run Details
Github Actions / benchmark (3/4) (push) Waiting to run Details
Github Actions / benchmark (4/4) (push) Waiting to run Details
Github Actions / basic (push) Waiting to run Details
Github Actions / unit (push) Waiting to run Details
Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions Details
2025-09-26 19:27:11 +03:00
Alexander Akait 3f00777e67
docs: remove unused files (#19937) 2025-09-26 16:51:33 +03:00
Even Stensberg 3cf0d95e86
chore: add lfx badge (#19934) 2025-09-26 15:19:55 +03:00
Gengkun 84e5c129d1
fix: should analyze correct variable for dynamic import (#19936) 2025-09-26 15:17:26 +03:00
Ulises Gascón 44cf16f2eb
docs: Revise security policy and reporting guidelines (#19886) 2025-09-25 15:23:26 +03:00
dependabot[bot] a9c6c3d203
chore(deps): bump actions/cache from 4.2.4 to 4.3.0 (#19932)
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.4 to 4.3.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0400d5f644...0057852bfa)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-25 15:23:01 +03:00
Gengkun 45d47c608a
fix: should always walk import then arguments (#19933) 2025-09-25 15:22:37 +03:00
Alexander Akait f6c3c24da3
feat: added support for import file from "./file.ext" with { type: "bytes" } to get the content as `Uint8Array` (#19928) 2025-09-24 21:01:10 +03:00
Jack Works c647cf193c
fix: deferred modules define order and transitive deferred module not emitted correctly in concatenated modules 2025-09-23 23:33:02 +03:00
Gengkun 73cecf5e78
feat: static analyze destructuring assignment dynamic import variable for tree shaking (#19925) 2025-09-23 20:52:59 +03:00
hai-x ae52500e95
fix: `assetsByChunkName` should also included assets from `chunk.auxiliaryFiles` (#19921) 2025-09-23 20:30:13 +03:00
Alexander Akait 19f5693ebc
docs: update examples (#19923) 2025-09-23 20:28:03 +03:00
Alexander Akait cf17a41259
fix: external function types (#19920) 2025-09-19 17:37:56 +03:00
Alexander Akait 898c48042d
refactor: fix merge (#19919) 2025-09-19 15:44:12 +03:00
Alexander Akait ab9f78b8f6
perf: avoid extra jobs for build dependencies (#19905) 2025-09-19 04:17:25 +03:00
Alexander Akait a796d25769
feat: added support for `import file from "./file.ext" with { type: "text" }` to get text content (#19918) 2025-09-19 04:16:25 +03:00
Alexander Akait 8e94386ee4
fix: property handle external modules for CSS (#19917) 2025-09-19 03:37:26 +03:00
Alexander Akait 3ac31e24e3
fix: support umd web workers loading 2025-09-19 01:25:38 +03:00
Even Stensberg 7fc28f1e53
chore: typo in IRP naming (#19915) 2025-09-18 16:14:10 +03:00
Gengkun 6e6d0442ae
feat: static analyse `import(...)_.then(...)` for tree shaking (#19903) 2025-09-18 15:46:16 +03:00
Alexander Akait 3799e931af
test: avoid extra output (#19901) 2025-09-18 15:41:17 +03:00
Even Stensberg 480bb3b91d
docs: add working group charter (#19911) 2025-09-18 15:40:48 +03:00
Alexander Akait c90f405abd
perf: move import attributes to own dependencies (#19892) 2025-09-18 15:37:40 +03:00
Even Stensberg 4fabb754de
Merge pull request #19912 from webpack/fix/redundant
chore: remove unused terms from cspell
2025-09-16 01:33:34 +02:00
Even Stensberg 2a76ea2192
chore: remove unused terms from cspell 2025-09-15 21:49:03 +02:00
Even Stensberg ffcbedddd4
Merge pull request #19910 from UlisesGascon/sec-add-threat-model
docs(security): add reference to webpack threat model
2025-09-15 20:45:53 +02:00
Ulises Gascón 36b322ad23
docs(security): add reference to webpack threat model
ref: https://github.com/webpack/security-wg/pull/9
2025-09-15 07:34:25 +02:00
dependabot[bot] 1f5e8e55c7
chore(deps-dev): bump memfs in the dependencies group (#19900)
Bumps the dependencies group with 1 update: [memfs](https://github.com/streamich/memfs).


Updates `memfs` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/memfs/compare/v4.38.3...v4.39.0)

---
updated-dependencies:
- dependency-name: memfs
  dependency-version: 4.39.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-12 20:20:55 +03:00
Alexander Akait ce2f41e312
fix: force use es-lexer for mjs files for build dependencies (#19904) 2025-09-12 19:59:51 +03:00
Alexander Akait 16c6966b14
fix: types 2025-09-11 03:10:10 +03:00
Alexander Akait 6b70c4ac52
test: worker webpack options (#19898) 2025-09-10 16:49:49 +03:00
dependabot[bot] 06f4cb2a08
chore(deps): bump CodSpeedHQ/action from 4.0.0 to 4.0.1 (#19896)
Bumps [CodSpeedHQ/action](https://github.com/codspeedhq/action) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/codspeedhq/action/releases)
- [Changelog](https://github.com/CodSpeedHQ/action/blob/main/CHANGELOG.md)
- [Commits](6eeb021fd0...653fdc30e6)

---
updated-dependencies:
- dependency-name: CodSpeedHQ/action
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-10 14:39:22 +03:00
dependabot[bot] a4c722ed95
chore(deps-dev): bump the dependencies group with 2 updates (#19895)
Bumps the dependencies group with 2 updates: [globals](https://github.com/sindresorhus/globals) and [memfs](https://github.com/streamich/memfs).


Updates `globals` from 16.3.0 to 16.4.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v16.3.0...v16.4.0)

Updates `memfs` from 4.38.2 to 4.38.3
- [Release notes](https://github.com/streamich/memfs/releases)
- [Changelog](https://github.com/streamich/memfs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/streamich/memfs/compare/v4.38.2...v4.38.3)

---
updated-dependencies:
- dependency-name: globals
  dependency-version: 16.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: memfs
  dependency-version: 4.38.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-10 14:38:49 +03:00
Alexander Akait 99c36fab8e
refactor: remove unused types (#19894) 2025-09-10 14:38:19 +03:00
Alexander Akait 95ce962897
refactor: avoid unnecessary the `defer` property for dependency (#19893) 2025-09-10 01:43:17 +03:00
Alexander Akait 930785fb00
fix: support `__non_webpack_require__` for ES modules 2025-09-09 22:11:56 +03:00
Xiao df204b5f71
feat: extractSourceMap supports HTTP URLs (#19882) 2025-09-09 18:52:36 +03:00
Alexander Akait cc8e6a195a
fix: types 2025-09-09 18:41:52 +03:00
dependabot[bot] c52d8b3b75
chore(deps-dev): bump the dependencies group with 2 updates (#19888)
Bumps the dependencies group with 2 updates: [assemblyscript](https://github.com/AssemblyScript/assemblyscript) and [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn).


Updates `assemblyscript` from 0.28.6 to 0.28.7
- [Release notes](https://github.com/AssemblyScript/assemblyscript/releases)
- [Commits](https://github.com/AssemblyScript/assemblyscript/compare/v0.28.6...v0.28.7)

Updates `eslint-plugin-unicorn` from 61.0.1 to 61.0.2
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v61.0.1...v61.0.2)

---
updated-dependencies:
- dependency-name: assemblyscript
  dependency-version: 0.28.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: eslint-plugin-unicorn
  dependency-version: 61.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-09 14:42:48 +03:00
dependabot[bot] e4ae6e83ce
chore(deps-dev): bump the dependencies group with 5 updates (#19885)
Bumps the dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.28.3` | `7.28.4` |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.34.0` | `9.35.0` |
| [assemblyscript](https://github.com/AssemblyScript/assemblyscript) | `0.28.5` | `0.28.6` |
| [eslint](https://github.com/eslint/eslint) | `9.34.0` | `9.35.0` |
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) | `60.0.0` | `61.0.1` |


Updates `@babel/core` from 7.28.3 to 7.28.4
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.4/packages/babel-core)

Updates `@eslint/js` from 9.34.0 to 9.35.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.35.0/packages/js)

Updates `assemblyscript` from 0.28.5 to 0.28.6
- [Release notes](https://github.com/AssemblyScript/assemblyscript/releases)
- [Commits](https://github.com/AssemblyScript/assemblyscript/compare/v0.28.5...v0.28.6)

Updates `eslint` from 9.34.0 to 9.35.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.34.0...v9.35.0)

Updates `eslint-plugin-unicorn` from 60.0.0 to 61.0.1
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v60.0.0...v61.0.1)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.28.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: "@eslint/js"
  dependency-version: 9.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: assemblyscript
  dependency-version: 0.28.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: eslint
  dependency-version: 9.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: eslint-plugin-unicorn
  dependency-version: 61.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 15:03:06 +03:00
Alexander Akait e5fd6a18fe
docs: update examples (#19883) 2025-09-08 15:02:43 +03:00
hai-x 6529f8c789
fix: type (#19881) 2025-09-08 14:58:12 +03:00