Commit Graph

18079 Commits

Author SHA1 Message Date
hai-x 076863133b
fix: `needCreateRequire` should be set to true only when module output and node target (#19761) 2025-08-25 21:23:34 +03:00
Alexander Akait 08599420db
refactor: fix types in javascript parser (#19836) 2025-08-25 20:27:53 +03:00
Xiao 914db1f7ca
fix: unify the error handling for hmrDownloadManifest (#19835) 2025-08-25 17:03:25 +03:00
Gengkun a0f19f7c50
feat: static analyze member expression for dynamic import (#19818) 2025-08-25 16:43:57 +03:00
Alexander Akait e2ded49ee6
refactor: update types (#19834) 2025-08-25 16:36:05 +03:00
dependabot[bot] e570c1b5d1
chore(deps-dev): bump the dependencies group with 6 updates (#19833)
Bumps the dependencies group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.33.0` | `9.34.0` |
| [@eslint/markdown](https://github.com/eslint/markdown) | `7.1.0` | `7.2.0` |
| [eslint](https://github.com/eslint/eslint) | `9.33.0` | `9.34.0` |
| [eslint-config-webpack](https://github.com/webpack/eslint-config-webpack) | `4.6.1` | `4.6.3` |
| [memfs](https://github.com/streamich/memfs) | `4.37.0` | `4.38.1` |
| [tinybench](https://github.com/tinylibs/tinybench) | `5.0.0` | `5.0.1` |


Updates `@eslint/js` from 9.33.0 to 9.34.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.34.0/packages/js)

Updates `@eslint/markdown` from 7.1.0 to 7.2.0
- [Release notes](https://github.com/eslint/markdown/releases)
- [Changelog](https://github.com/eslint/markdown/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/markdown/compare/v7.1.0...v7.2.0)

Updates `eslint` from 9.33.0 to 9.34.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.33.0...v9.34.0)

Updates `eslint-config-webpack` from 4.6.1 to 4.6.3
- [Release notes](https://github.com/webpack/eslint-config-webpack/releases)
- [Changelog](https://github.com/webpack/eslint-config-webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/eslint-config-webpack/compare/v4.6.1...v4.6.3)

Updates `memfs` from 4.37.0 to 4.38.1
- [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.37.0...v4.38.1)

Updates `tinybench` from 5.0.0 to 5.0.1
- [Release notes](https://github.com/tinylibs/tinybench/releases)
- [Commits](https://github.com/tinylibs/tinybench/compare/v5.0.0...v5.0.1)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 9.34.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: "@eslint/markdown"
  dependency-version: 7.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: eslint
  dependency-version: 9.34.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: eslint-config-webpack
  dependency-version: 4.6.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: memfs
  dependency-version: 4.38.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: tinybench
  dependency-version: 5.0.1
  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-08-25 13:47:31 +03:00
Sergei Slipchenko c1803e4b37
fix: ignore import failure during HMR update with esm output (#19832) 2025-08-25 13:46:52 +03:00
Alexander Akait 500b22c42d
docs: update examples (#19831) 2025-08-24 13:55:31 +03:00
Xiao d624db8491
perf: avoid running unnecessary code (#19829) 2025-08-24 13:51:25 +03:00
Xiao 70cecf35dd
ci: fix test (#19830) 2025-08-24 13:50:59 +03:00
Alexander Akait f5edf251a9
chore(deps): bump `tapable` (#19828) 2025-08-24 13:49:54 +03:00
dependabot[bot] 13f6eab4f4
chore(deps-dev): bump the dependencies group across 1 directory with 4 updates 2025-08-22 19:22:45 +03:00
Alexander Akait 64985ecad6
Merge pull request #19825 from webpack/fix-todo-types 2025-08-22 16:05:33 +03:00
alexander-akait ba552aabfc fix: types 2025-08-22 14:21:30 +03:00
alexander-akait 82966a31a7 fix: types 2025-08-22 02:12:39 +03:00
alexander-akait bcde724fec refactor: remove unused code 2025-08-21 21:30:56 +03:00
alexander-akait 153afb3cf1 fix: types 2025-08-21 20:45:11 +03:00
alexander-akait 31f983ec38 fix: types 2025-08-21 19:44:50 +03:00
alexander-akait 160395c94b fix: types 2025-08-21 19:41:27 +03:00
alexander-akait 4d670a28a9 fix: types 2025-08-21 19:23:47 +03:00
alexander-akait 04398dd9b4 fix: types 2025-08-21 17:13:36 +03:00
alexander-akait 71569824c3 fix: types 2025-08-21 16:34:51 +03:00
alexander-akait 5b7dee29ff fix: types 2025-08-21 16:23:01 +03:00
alexander-akait a61ea77727 fix: types 2025-08-21 16:14:20 +03:00
alexander-akait 6c26f74e88 test: fix 2025-08-20 21:50:55 +03:00
alexander-akait 8c287addee fix: types 2025-08-20 21:16:46 +03:00
alexander-akait 3f9a75fadf fix: types 2025-08-20 19:39:55 +03:00
Alexander Akait feaa933996
fix: remove unused `timeout` attribute of script tag (#19823) 2025-08-20 16:48:52 +03:00
dependabot[bot] 72b7d0c298
chore(deps): bump the dependencies group with 3 updates (#19819)
Bumps the dependencies group with 3 updates: [browserslist](https://github.com/browserslist/browserslist), [less](https://github.com/less/less.js) and [memfs](https://github.com/streamich/memfs).


Updates `browserslist` from 4.25.2 to 4.25.3
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.25.2...4.25.3)

Updates `less` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/less/less.js/releases)
- [Changelog](https://github.com/less/less.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/less/less.js/commits)

Updates `memfs` from 4.36.0 to 4.36.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.36.0...v4.36.3)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-version: 4.25.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: less
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: memfs
  dependency-version: 4.36.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-08-20 15:08:55 +03:00
Alexander Akait 3da52936e0
refactor: code (#19822) 2025-08-20 14:26:53 +03:00
Alexander Akait 7cdb4b92fe
fix: many types 2025-08-20 13:50:12 +03:00
alexander-akait 07b1ac0213 chore(release): 5.101.3 2025-08-18 15:53:06 +03:00
dependabot[bot] 8d7efb8b04
chore(deps-dev): bump the dependencies group with 2 updates (#19816)
Bumps the dependencies group with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [tinybench](https://github.com/tinylibs/tinybench).


Updates `@types/node` from 24.2.1 to 24.3.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `tinybench` from 4.1.0 to 5.0.0
- [Release notes](https://github.com/tinylibs/tinybench/releases)
- [Commits](https://github.com/tinylibs/tinybench/compare/v4.1.0...v5.0.0)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: tinybench
  dependency-version: 5.0.0
  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-08-18 15:28:37 +03:00
Alexander Akait 935cbd8552
docs: update examples (#19812) 2025-08-17 18:11:00 +03:00
Gengkun dc79e95022
fix: collect only specific expressions for destructuring assignment 2025-08-17 18:10:08 +03:00
hai-x 90ae8af3d1
fix: avoid empty block for unused statement 2025-08-17 18:07:04 +03:00
Xiao 8db97f863f
fix: resolve execution order issue from extra await in async modules 2025-08-17 18:05:52 +03:00
Ryuya c92deaf02c
ci: pin Node.js 24.x to 24.5.0 in CI workflow (#19813) 2025-08-17 18:04:57 +03:00
Xiao c50930b3be
refactor(test): correct the value retrieval 2025-08-17 18:04:46 +03:00
dependabot[bot] 613a5ada7e
chore(deps-dev): bump @babel/core in the dependencies group (#19807)
Bumps the dependencies group with 1 update: [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core).


Updates `@babel/core` from 7.28.0 to 7.28.3
- [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.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-version: 7.28.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-08-15 15:18:24 +03:00
alexander-akait 1d9cc240a2 chore(release): 5.101.2 2025-08-14 18:56:22 +03:00
hai-x f0da8c6c2e
fix: syntax error when comment is on the last line (#19805) 2025-08-14 18:51:50 +03:00
Gengkun 0d7aaae4ca
fix: handle var declaration for `createRequire` (#19804) 2025-08-14 16:40:07 +03:00
dependabot[bot] c21b4e2475
chore(deps-dev): bump the dependencies group across 1 directory with 2 updates (#19801)
Bumps the dependencies group with 2 updates in the / directory: [eslint-config-webpack](https://github.com/webpack/eslint-config-webpack) and [tinybench](https://github.com/tinylibs/tinybench).


Updates `eslint-config-webpack` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/webpack/eslint-config-webpack/releases)
- [Changelog](https://github.com/webpack/eslint-config-webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/eslint-config-webpack/compare/v4.5.1...v4.6.0)

Updates `tinybench` from 4.0.1 to 4.1.0
- [Release notes](https://github.com/tinylibs/tinybench/releases)
- [Commits](https://github.com/tinylibs/tinybench/compare/v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: eslint-config-webpack
  dependency-version: 4.6.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: tinybench
  dependency-version: 4.1.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-08-14 12:48:14 +03:00
Xiao 0617b7d787
refactor: restructure dependOn relationship retrieval (#19800) 2025-08-14 12:47:15 +03:00
Gengkun cbfba9a150
fix: distinguish free variable and tagged variable (#19795) 2025-08-13 21:36:56 +03:00
hai-x 61a15a672e
test: more case about cjs bundle to esm lib (#19787) 2025-08-12 22:14:02 +03:00
dependabot[bot] ad23854a27
chore(deps-dev): bump mini-css-extract-plugin in the dependencies group (#19792)
Bumps the dependencies group with 1 update: [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin).


Updates `mini-css-extract-plugin` from 2.9.3 to 2.9.4
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.9.3...v2.9.4)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-version: 2.9.4
  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-08-12 16:39:10 +03:00
alexander-akait 1a3c3a33bf chore(release): 5.101.1 2025-08-12 15:02:12 +03:00
dependabot[bot] 4a0aa5d204
chore(deps): bump actions/checkout from 4 to 5 (#19791)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 14:44:52 +03:00