Commit Graph

17669 Commits

Author SHA1 Message Date
Alexander Akait 4af44a78bb
test: change hash to fullhash in tests
Github Actions / lint (push) Has been cancelled Details
Github Actions / basic (push) Has been cancelled Details
Github Actions / validate-legacy-node (push) Has been cancelled Details
Github Actions / unit (push) Has been cancelled Details
Github Actions / integration (10.x, macos-latest, a) (push) Has been cancelled Details
Github Actions / integration (10.x, macos-latest, b) (push) Has been cancelled Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (10.x, windows-latest, a) (push) Has been cancelled Details
Github Actions / integration (10.x, windows-latest, b) (push) Has been cancelled Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (18.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (20.x, macos-latest, a) (push) Has been cancelled Details
Github Actions / integration (20.x, macos-latest, b) (push) Has been cancelled Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (20.x, windows-latest, a) (push) Has been cancelled Details
Github Actions / integration (20.x, windows-latest, b) (push) Has been cancelled Details
Github Actions / integration (22.x, macos-latest, a) (push) Has been cancelled Details
Github Actions / integration (22.x, macos-latest, b) (push) Has been cancelled Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (22.x, windows-latest, a) (push) Has been cancelled Details
Github Actions / integration (22.x, windows-latest, b) (push) Has been cancelled Details
Github Actions / integration (23.x, ubuntu-latest, a) (push) Has been cancelled Details
Github Actions / integration (23.x, ubuntu-latest, b) (push) Has been cancelled Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Has been cancelled Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Has been cancelled Details
2025-03-22 17:55:52 +03:00
Pavitra Mallick fc47ea72be fix: hash to fullhash 2025-03-18 10:13:47 +05:30
Alexander Akait 3aa6b6bc3a
chore(deps): bump the dependencies group across 1 directory with 12 updates 2025-03-14 05:52:43 +03:00
Alexander Akait 87b203b27e
fix : optimize loc for monomorphic inline caching 2025-03-14 04:53:51 +03:00
dependabot[bot] 14b46d25a4
chore(deps): bump the dependencies group across 1 directory with 12 updates
Bumps the dependencies group with 12 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [acorn](https://github.com/acornjs/acorn) | `8.14.0` | `8.14.1` |
| [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) | `5.3.11` | `5.3.14` |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.26.8` | `7.26.10` |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.21.0` | `9.22.0` |
| [assemblyscript](https://github.com/AssemblyScript/assemblyscript) | `0.27.34` | `0.27.35` |
| [babel-loader](https://github.com/babel/babel-loader) | `9.2.1` | `10.0.0` |
| [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) | `3.40.0` | `3.41.0` |
| [eslint](https://github.com/eslint/eslint) | `9.21.0` | `9.22.0` |
| [globals](https://github.com/sindresorhus/globals) | `15.15.0` | `16.0.0` |
| [lint-staged](https://github.com/lint-staged/lint-staged) | `15.4.3` | `15.5.0` |
| [prettier](https://github.com/prettier/prettier) | `3.5.1` | `3.5.3` |
| [terser](https://github.com/terser/terser) | `5.38.1` | `5.39.0` |



Updates `acorn` from 8.14.0 to 8.14.1
- [Commits](https://github.com/acornjs/acorn/compare/8.14.0...8.14.1)

Updates `terser-webpack-plugin` from 5.3.11 to 5.3.14
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v5.3.11...v5.3.14)

Updates `@babel/core` from 7.26.8 to 7.26.10
- [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.26.10/packages/babel-core)

Updates `@eslint/js` from 9.21.0 to 9.22.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.22.0/packages/js)

Updates `assemblyscript` from 0.27.34 to 0.27.35
- [Release notes](https://github.com/AssemblyScript/assemblyscript/releases)
- [Commits](https://github.com/AssemblyScript/assemblyscript/compare/v0.27.34...v0.27.35)

Updates `babel-loader` from 9.2.1 to 10.0.0
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v9.2.1...v10.0.0)

Updates `core-js` from 3.40.0 to 3.41.0
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.41.0/packages/core-js)

Updates `eslint` from 9.21.0 to 9.22.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.21.0...v9.22.0)

Updates `globals` from 15.15.0 to 16.0.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.15.0...v16.0.0)

Updates `lint-staged` from 15.4.3 to 15.5.0
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v15.4.3...v15.5.0)

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

Updates `terser` from 5.38.1 to 5.39.0
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.38.1...v5.39.0)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: terser-webpack-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: assemblyscript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: core-js
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: terser
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-14 01:52:25 +00:00
Alexander Akait 0032a052b4
chore: fix ts generation 2025-03-14 04:48:10 +03:00
alexander-akait e273d260c4 chore: fix types generation 2025-03-14 04:21:08 +03:00
alexander-akait 115f41ee8d ci: add typescript validation test using old version 2025-03-14 02:02:01 +03:00
alexander-akait b91099b38e chore: fix ts generation 2025-03-14 01:05:02 +03:00
Alexander Akait 370bacc6c8
fix: profiling plugin for CSS (#19324) 2025-03-13 23:06:40 +03:00
Alexander Akait cb93228ce5
fix: use `xxhash64` for `cache.hashAlgorithm` when `experiments.futureDefaults` (#19323) 2025-03-13 22:39:02 +03:00
Alexander Akait 5c51d83932
fix(types): no `Function` 2025-03-13 20:46:01 +03:00
alexander-akait 70bdb248e4 fix: no `Function` types 2025-03-13 19:34:04 +03:00
Alexander Akait 48ffd14e2a
feat: implement module.generator.json.JSONParse 2025-03-13 18:18:59 +03:00
ShobhitPatra 394c4c32e9 optimize loc for monomorphic inline caching 2025-03-13 20:21:25 +05:30
Qingyu Wang 8ab85e29bb feat: implement `module.generator.json.JSONParse`
For large `.json` modules, webpack will generate `JSON.parse` by default for
better performance. But there are some circumstances that `JSON.parse` is not a
good choice (e.g.: when doing AOT compilation).

Thus, a new generator option `module.generator.json.JSONParse` is added to
disable generating `JSON.parse` for `.json` module.

The default value is kept as `true` and can be opt-out by custom rules.

fix: #19319
2025-03-13 22:24:10 +08:00
Alexander Akait cb25853b58
refactor: improve eslint configuration and better types 2025-03-12 06:07:46 +03:00
alexander-akait 75314afd4e chore: fix typo 2025-03-12 05:14:53 +03:00
alexander-akait a1df00d339 refactor: improve eslint configuration and better types 2025-03-12 04:56:14 +03:00
Alexander Akait 1178013c99
fix: `strict` types 2025-03-11 18:12:31 +03:00
alexander-akait c1c085d74a fix: `strict` types 2025-03-11 17:20:50 +03:00
Pavitra Mallick 3c753354bf
test: deprecation warning 2025-03-11 09:21:48 +03:00
Wei 1b7f0e1e95
fix(commonjs-static): export unprovided variables (#19303) 2025-03-11 09:18:11 +03:00
Alexander Akait c282c96ca1
fix types 2025-03-11 09:15:34 +03:00
alexander-akait 8089525014 fix: fs type 2025-03-11 05:34:56 +03:00
alexander-akait 0992137f40 fix: types 2025-03-11 05:03:41 +03:00
alexander-akait 5a94c06c67 fix: types 2025-03-11 03:28:01 +03:00
Nitin Kumar 4ea7d5a834
docs: fix typo in name 2025-03-10 16:44:35 +03:00
Alexander Akait 7df403ed5d
chore: fix lint (#19295) 2025-03-10 16:05:50 +03:00
alexander-akait 9abab772ea fix: types 2025-03-07 19:02:26 +03:00
Alexander Akait 8e9ff66838
chore: eslint improvements (#19293) 2025-03-07 18:32:55 +03:00
Alexander Akait 7b4641f5ee
fix: types (#19291) 2025-03-07 16:12:22 +03:00
Alexander Akait 59ede3c64a
fix: do not duplicate modules with import attributes and reexport (#19290) 2025-03-06 23:02:09 +03:00
Alexander Akait 98221f239b
fix: use a valid output path for errored asset modules (#19281) 2025-03-05 17:41:19 +03:00
Alexander Akait 05f2862b32
feat: handle `new Worker(import.meta.url)` and `new Worker(new URL(import.meta.url))` syntax (#19279) 2025-03-05 00:59:19 +03:00
Alexander Akait 916f049fba
fix: remove BOM from javascript and css modules 2025-03-04 21:05:18 +03:00
inottn ebd45ca5ee
fix: entry module isn't executed when targeting webworker with a runtime chunk 2025-03-03 20:36:12 +03:00
Ivan Kopeykin af7d788437
feat: add dead control flow check 2025-02-28 17:39:34 +03:00
Alexander Akait 0377fb1643
test: fix import assertion (#19260) 2025-02-27 18:43:07 +03:00
co63oc 564a0e52a0
chore: fix typo in types 2025-02-27 14:00:58 +03:00
Vansh Gilhotra 4fde180e9a
docs: added TESTING_DOCS for better understanding of testing (#19249) 2025-02-27 13:23:11 +03:00
inottn fdfb92ae3e
chore: remove duplicate 'yield' from reserved identifiers (#19256) 2025-02-27 13:16:36 +03:00
Mateusz Burzyński 3ee8d5fa82
chore: fixed type issues in `_createLoaderContext` (#19233) 2025-02-27 13:00:17 +03:00
inottn 6bda8a3549
refactor: remove unnecessary check in dependency type assignment (#19224) 2025-02-26 15:13:42 +03:00
hai-x 896ed385c9
test: commonjs static (#19242) 2025-02-26 15:11:22 +03:00
David Michon 3755a3ec8a
fix: forward semicolons from meta.webpackAST (#19252) 2025-02-26 15:03:47 +03:00
Even Stensberg d6679b3333
chore(docs): add sean larkin as a tsc member (#19243) 2025-02-20 02:32:22 +03:00
Alexander Akait 7168389ac6
fix: JSON generator now preserves `__proto__` property (#19232) 2025-02-14 23:57:39 +03:00
hai-x e3092e5d7e
fix: runtime error when using asset module as entrypoint and runtimeChunk (#19229) 2025-02-14 22:27:38 +03:00
hai-x 3f5c3a84fa
chore: fix prettier (#19230) 2025-02-14 19:42:40 +03:00