Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: should not provide for defined variable #5489

Merged
merged 6 commits into from
Jan 29, 2024
Merged

fix: should not provide for defined variable #5489

merged 6 commits into from
Jan 29, 2024

Conversation

ahabhgk
Copy link
Collaborator

@ahabhgk ahabhgk commented Jan 26, 2024

Summary

Buffer

function Buffer() {}

before:

var __webpack_provided_buffer_Buffer = __webpack_require("./buffer")["Buffer"];
__webpack_provided_buffer_Buffer // this should not replace by ProvidePlugin

function Buffer() {}

This PR also align the behavior of member() / get_member_expression_info()

The only missing test case of ProvidePlugin is function() { this.env.NODE_ENV }.call(process) case, this need support walkIIFE

Test Plan

update packages/rspack/tests/configCases/builtins/provide

Require Documentation?

  • No
  • Yes, the corresponding rspack-website PR is __

@ahabhgk ahabhgk requested a review from h-a-n-a as a code owner January 26, 2024 12:44
@ahabhgk ahabhgk requested review from bvanjoi and removed request for h-a-n-a January 26, 2024 12:44
@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Jan 26, 2024
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Jan 26, 2024
@ahabhgk ahabhgk enabled auto-merge (squash) January 29, 2024 06:47
Copy link
Contributor

Test Compatibility Diff

main pr diff
73.721% 73.864% ✅ ⏫ 0.143
Unpassed tests

1 ⚪️ Examples aggressive-merging: TODO
2 ⚪️ Examples asset-advanced: TODO
6 ⚪️ Examples cjs-tree-shaking: TODO
10 ⚪️ Examples code-splitting-bundle-loader: TODO
19 ⚪️ Examples common-chunk-grandchildren: TODO
22 ⚪️ Examples custom-json-modules: TODO
23 ⚪️ Examples dll: TODO
24 ⚪️ Examples dll-app-and-vendor/0-vendor: TODO
25 ⚪️ Examples dll-app-and-vendor/1-app: TODO
26 ⚪️ Examples dll-entry-only: TODO
27 ⚪️ Examples dll-user: TODO
28 ⚪️ Examples explicit-vendor-chunk: TODO
36 ⚪️ Examples http2-aggressive-splitting: TODO
38 ⚪️ Examples lazy-compilation: TODO
44 ⚪️ Examples module-federation: TODO
51 ⚪️ Examples persistent-caching: TODO
60 ⚪️ Examples typescript: TODO
64 ⚪️ ConfigTestCases additional-pass simple simple: TODO
65 ⚪️ ConfigTestCases amd disabled disabled: TODO
66 ⚪️ ConfigTestCases asset-emitted normal normal: TODO
67 ⚪️ ConfigTestCases asset-modules assetModuleFilename assetModuleFilename: TODO
71 ⚪️ ConfigTestCases asset-modules custom-condition custom-condition: TODO
72 ⚪️ ConfigTestCases asset-modules custom-encoder custom-encoder: TODO
73 ⚪️ ConfigTestCases asset-modules data-url data-url: TODO
74 ⚪️ ConfigTestCases asset-modules different-query different-query: TODO
75 ⚪️ ConfigTestCases asset-modules emit emit: TODO
76 ⚪️ ConfigTestCases asset-modules file-loader file-loader: TODO
77 ⚪️ ConfigTestCases asset-modules file-url file-url: TODO
78 ⚪️ ConfigTestCases asset-modules generator-asset-publicPath generator-asset-publicPath: TODO
79 ⚪️ ConfigTestCases asset-modules generator-asset-publicPath-hash generator-asset-publicPath-hash: TODO
80 ⚪️ ConfigTestCases asset-modules global-options global-options: TODO
81 ⚪️ ConfigTestCases asset-modules http-url http-url: TODO
82 ⚪️ ConfigTestCases asset-modules ignore ignore: TODO
83 ⚪️ ConfigTestCases asset-modules input-data-url input-data-url: TODO
84 ⚪️ ConfigTestCases asset-modules input-data-url-encoding input-data-url-encoding: TODO
85 ⚪️ ConfigTestCases asset-modules opus opus: TODO
86 ⚪️ ConfigTestCases asset-modules overridePath overridePath: TODO
87 ⚪️ ConfigTestCases asset-modules path path: TODO
88 ⚪️ ConfigTestCases asset-modules publicPath publicPath: TODO
89 ⚪️ ConfigTestCases asset-modules query query: TODO
90 ⚪️ ConfigTestCases asset-modules query-and-custom-condition query-and-custom-condition: TODO
91 ⚪️ ConfigTestCases asset-modules query-and-custom-encoder query-and-custom-encoder: TODO
92 ⚪️ ConfigTestCases asset-modules real-content-hash real-content-hash: TODO
93 ⚪️ ConfigTestCases asset-modules resource-from-data-uri resource-from-data-uri: TODO
94 ⚪️ ConfigTestCases asset-modules rule-generator-outputPath rule-generator-outputPath: TODO
95 ⚪️ ConfigTestCases asset-modules rule-generator-publicPath rule-generator-publicPath: TODO
96 ⚪️ ConfigTestCases asset-modules rule-generator-publicPath-override rule-generator-publicPath-override: TODO
97 ⚪️ ConfigTestCases asset-modules source source: TODO
98 ⚪️ ConfigTestCases asset-modules types types: TODO
99 ⚪️ ConfigTestCases asset-modules unsafe-cache-13827 unsafe-cache-13827: TODO
109 ⚪️ ConfigTestCases asset-url target-node3 target-node3: TODO
110 ⚪️ ConfigTestCases asset-url target-web1 target-web1: TODO
111 ⚪️ ConfigTestCases asset-url target-web2 target-web2: TODO
112 ⚪️ ConfigTestCases asset-url target-webworker1 target-webworker1: TODO
113 ⚪️ ConfigTestCases asset-url target-webworker2 target-webworker2: TODO
114 ⚪️ ConfigTestCases assets delete-asset delete-asset: TODO
115 ⚪️ ConfigTestCases async-commons-chunk all-selected all-selected: TODO
116 ⚪️ ConfigTestCases async-commons-chunk duplicate duplicate: TODO
117 ⚪️ ConfigTestCases async-commons-chunk existing-name existing-name: TODO
118 ⚪️ ConfigTestCases async-commons-chunk nested nested: TODO
119 ⚪️ ConfigTestCases async-commons-chunk node node: TODO
120 ⚪️ ConfigTestCases async-commons-chunk simple simple: TODO
123 ⚪️ ConfigTestCases async-library 1-use-library 1-use-library: TODO
124 ⚫️ ConfigTestCases cache-dependencies managed-items managed-items: No plan
125 ⚫️ ConfigTestCases cache-dependencies managed-items-unsafe-cache managed-items-unsafe-cache: No plan
126 ⚪️ ConfigTestCases chunk-graph issue-15173 issue-15173: TODO
132 ⚪️ ConfigTestCases chunk-index order-multiple-entries order-multiple-entries: TODO
133 ⚪️ ConfigTestCases clean dry dry: TODO
134 ⚪️ ConfigTestCases clean enabled enabled: TODO
135 ⚪️ ConfigTestCases clean ignore-fn ignore-fn: TODO
136 ⚪️ ConfigTestCases clean ignore-hook ignore-hook: TODO
137 ⚪️ ConfigTestCases clean ignore-rx ignore-rx: TODO
138 ⚪️ ConfigTestCases clean link link: TODO
139 ⚪️ ConfigTestCases code-generation harmony-pure-default harmony-pure-default: TODO
140 ⚪️ ConfigTestCases code-generation require-context-id require-context-id: TODO
141 ⚪️ ConfigTestCases code-generation use-strict use-strict: TODO
142 ⚪️ ConfigTestCases compiletime error-not-found error-not-found: TODO
143 ⚪️ ConfigTestCases compiletime exports-presence exports-presence: TODO
144 ⚪️ ConfigTestCases compiletime warn-not-found warn-not-found: TODO
145 ⚪️ ConfigTestCases concatenate-modules destructuring-assignment-with-default-value-and-variable-collision-nested destructuring-assignment-with-default-value-and-variable-collision-nested: TODO
146 ⚪️ ConfigTestCases concatenate-modules destructuring-assignment-with-default-value-and-variable-collision-simple destructuring-assignment-with-default-value-and-variable-collision-simple: TODO
147 ⚪️ ConfigTestCases concatenate-modules import-module import-module: TODO
148 ⚪️ ConfigTestCases concatenate-modules issue-13022 issue-13022: TODO
149 ⚪️ ConfigTestCases concatenate-modules load-chunk-function load-chunk-function: TODO
150 ⚪️ ConfigTestCases concatenate-modules rename-10168 rename-10168: TODO
151 ⚪️ ConfigTestCases concatenate-modules side-effects side-effects: TODO
152 ⚪️ ConfigTestCases concatenate-modules split-chunk-entry-module split-chunk-entry-module: TODO
227 ⚪️ ConfigTestCases contenthash assets assets: TODO
228 ⚪️ ConfigTestCases contenthash include-chunk-id include-chunk-id: TODO
229 ⚪️ ConfigTestCases context-exclusion simple simple: TODO
230 ⚪️ ConfigTestCases context-replacement System.import System.import: TODO
231 ⚪️ ConfigTestCases context-replacement a a: TODO
232 ⚪️ ConfigTestCases context-replacement b b: TODO
233 ⚪️ ConfigTestCases context-replacement c c: TODO
234 ⚪️ ConfigTestCases context-replacement d d: TODO
235 ⚪️ ConfigTestCases context-replacement e e: TODO
236 ⚪️ ConfigTestCases crossorigin set-crossorigin set-crossorigin: TODO
237 ⚪️ ConfigTestCases css basic basic: TODO
238 ⚪️ ConfigTestCases css basic-initial-only basic-initial-only: TODO
239 ⚪️ ConfigTestCases css conflicting-order conflicting-order: TODO
240 ⚪️ ConfigTestCases css css-modules css-modules: TODO
241 ⚪️ ConfigTestCases css css-modules-in-node css-modules-in-node: TODO
242 ⚪️ ConfigTestCases css exports exports: TODO
243 ⚪️ ConfigTestCases css exports-in-node exports-in-node: TODO
244 ⚪️ ConfigTestCases css external external: TODO
245 ⚪️ ConfigTestCases css large large: TODO
246 ⚪️ ConfigTestCases css urls urls: TODO
247 ⚫️ ConfigTestCases custom-hash-function xxhash xxhash: No plan
248 ⚪️ ConfigTestCases custom-modules json-custom json-custom: TODO
249 ⚪️ ConfigTestCases custom-source-type localization localization: TODO
250 ⚪️ ConfigTestCases deep-scope-analysis remove-export remove-export: TODO
251 ⚪️ ConfigTestCases deep-scope-analysis remove-export-scope-hoisting remove-export-scope-hoisting: TODO
252 ⚪️ ConfigTestCases defaulter immutable-config immutable-config: TODO
253 ⚪️ ConfigTestCases delegated simple simple: TODO
254 ⚪️ ConfigTestCases delegated-hash simple simple: TODO
258 ⚪️ ConfigTestCases deprecations chunk-and-module chunk-and-module: TODO
259 ⚪️ ConfigTestCases deprecations chunk-files chunk-files: TODO
260 ⚪️ ConfigTestCases deprecations config config: TODO
261 ⚪️ ConfigTestCases deprecations invalid-dependencies invalid-dependencies: TODO
262 ⚪️ ConfigTestCases deprecations non-unique-hash non-unique-hash: TODO
263 ⚪️ ConfigTestCases devtools harmony-eval harmony-eval: TODO
264 ⚪️ ConfigTestCases devtools harmony-eval-source-map harmony-eval-source-map: TODO
265 ⚪️ ConfigTestCases dll-plugin 0-create-dll 0-create-dll: TODO
266 ⚪️ ConfigTestCases dll-plugin 0-issue-10475 0-issue-10475: TODO
267 ⚪️ ConfigTestCases dll-plugin 1-issue-10475 1-issue-10475: TODO
268 ⚪️ ConfigTestCases dll-plugin 1-use-dll 1-use-dll: TODO
269 ⚪️ ConfigTestCases dll-plugin 2-use-dll-without-scope 2-use-dll-without-scope: TODO
270 ⚪️ ConfigTestCases dll-plugin 3-use-dll-with-hashid 3-use-dll-with-hashid: TODO
271 ⚪️ ConfigTestCases dll-plugin-entry 0-create-dll 0-create-dll: TODO
272 ⚪️ ConfigTestCases dll-plugin-entry 1-use-dll 1-use-dll: TODO
273 ⚪️ ConfigTestCases dll-plugin-entry 2-error-non-entry 2-error-non-entry: TODO
274 ⚪️ ConfigTestCases dll-plugin-format 0-create-dll 0-create-dll: TODO
275 ⚪️ ConfigTestCases dll-plugin-side-effects 0-create-dll 0-create-dll: TODO
276 ⚪️ ConfigTestCases dll-plugin-side-effects 1-use-dll 1-use-dll: TODO
277 ⚪️ ConfigTestCases ecmaVersion 2015 2015: TODO
278 ⚪️ ConfigTestCases ecmaVersion 2020 2020: TODO
279 ⚪️ ConfigTestCases ecmaVersion 5 5: TODO
280 ⚪️ ConfigTestCases ecmaVersion browserslist browserslist: TODO
281 ⚪️ ConfigTestCases ecmaVersion browserslist-config browserslist-config: TODO
282 ⚪️ ConfigTestCases ecmaVersion browserslist-config-env browserslist-config-env: TODO
283 ⚪️ ConfigTestCases ecmaVersion browserslist-missing browserslist-missing: TODO
284 ⚪️ ConfigTestCases ecmaVersion browserslist-query browserslist-query: TODO
285 ⚪️ ConfigTestCases ecmaVersion custom custom: TODO
286 ⚪️ ConfigTestCases emit-asset different-source different-source: TODO
287 ⚪️ ConfigTestCases emit-asset equal-source equal-source: TODO
288 ⚪️ ConfigTestCases entry adding-multiple-entry-points adding-multiple-entry-points: TODO
289 ⚪️ ConfigTestCases entry depend-on-advanced depend-on-advanced: TODO
290 ⚪️ ConfigTestCases entry depend-on-bug depend-on-bug: TODO
291 ⚪️ ConfigTestCases entry depend-on-non-js depend-on-non-js: TODO
292 ⚪️ ConfigTestCases entry depend-on-simple depend-on-simple: TODO
293 ⚪️ ConfigTestCases entry descriptor descriptor: TODO
297 ⚪️ ConfigTestCases entry function function: TODO
298 ⚪️ ConfigTestCases entry function-promise function-promise: TODO
299 ⚪️ ConfigTestCases entry issue-1068 issue-1068: TODO
300 ⚪️ ConfigTestCases entry issue-12562 issue-12562: TODO
305 ⚪️ ConfigTestCases entry issue-8110 issue-8110: TODO
312 ⚪️ ConfigTestCases entry require-entry-point require-entry-point: TODO
313 ⚪️ ConfigTestCases entry single-entry-point single-entry-point: TODO
317 ⚪️ ConfigTestCases entry weird-names weird-names: TODO
318 ⚪️ ConfigTestCases entry weird-names2 weird-names2: TODO
319 ⚪️ ConfigTestCases errors asset-options-validation asset-options-validation: TODO
320 ⚪️ ConfigTestCases errors case-emit case-emit: TODO
321 ⚪️ ConfigTestCases errors depend-on-and-runtime depend-on-and-runtime: TODO
322 ⚪️ ConfigTestCases errors depend-on-error depend-on-error: TODO
323 ⚪️ ConfigTestCases errors entry-not-found entry-not-found: TODO
324 ⚪️ ConfigTestCases errors exception-in-chunk-renderer exception-in-chunk-renderer: TODO
325 ⚪️ ConfigTestCases errors import-missing import-missing: TODO
326 ⚪️ ConfigTestCases errors multi-entry-missing-module multi-entry-missing-module: TODO
327 ⚪️ ConfigTestCases errors self-reexport self-reexport: TODO
328 ⚪️ ConfigTestCases externals async-externals async-externals: TODO
329 ⚪️ ConfigTestCases externals concatenated concatenated: TODO
330 ⚪️ ConfigTestCases externals concatenated-module concatenated-module: TODO
331 ⚪️ ConfigTestCases externals externals-array externals-array: TODO
332 ⚪️ ConfigTestCases externals externals-in-chunk externals-in-chunk: TODO
333 ⚪️ ConfigTestCases externals externals-in-commons-chunk externals-in-commons-chunk: TODO
334 ⚪️ ConfigTestCases externals externals-system externals-system: TODO
335 ⚪️ ConfigTestCases externals externals-system-custom externals-system-custom: TODO
336 ⚪️ ConfigTestCases externals global global: TODO
337 ⚪️ ConfigTestCases externals harmony harmony: TODO
344 ⚪️ ConfigTestCases externals non-umd-externals-umd2 non-umd-externals-umd2: TODO
345 ⚪️ ConfigTestCases externals optional-externals-cjs optional-externals-cjs: TODO
346 ⚪️ ConfigTestCases externals optional-externals-root optional-externals-root: TODO
347 ⚪️ ConfigTestCases externals optional-externals-umd optional-externals-umd: TODO
348 ⚪️ ConfigTestCases externals optional-externals-umd2 optional-externals-umd2: TODO
349 ⚪️ ConfigTestCases externals optional-externals-umd2-mixed optional-externals-umd2-mixed: TODO
353 ⚪️ ConfigTestCases externals resolve resolve: TODO
354 ⚪️ ConfigTestCases externals this this: TODO
355 ⚪️ ConfigTestCases filename-template filename-function filename-function: TODO
356 ⚪️ ConfigTestCases filename-template module-filename-template module-filename-template: TODO
357 ⚪️ ConfigTestCases filename-template script-src-filename script-src-filename: TODO
358 ⚪️ ConfigTestCases filename-template split-chunks-filename split-chunks-filename: TODO
359 ⚪️ ConfigTestCases finish-modules simple simple: TODO
360 ⚪️ ConfigTestCases graph conditional-ensure conditional-ensure: TODO
361 ⚪️ ConfigTestCases graph issue-11770 issue-11770: TODO
362 ⚪️ ConfigTestCases graph issue-11856 issue-11856: TODO
363 ⚪️ ConfigTestCases graph issue-11856.2 issue-11856.2: TODO
364 ⚪️ ConfigTestCases graph issue-11863 issue-11863: TODO
365 ⚪️ ConfigTestCases hash-length deterministic-module-ids deterministic-module-ids: TODO
366 ⚪️ ConfigTestCases hash-length hashed-module-ids hashed-module-ids: TODO
367 ⚪️ ConfigTestCases hash-length output-filename output-filename: TODO
368 ⚪️ ConfigTestCases ignore checkContext checkContext: TODO
369 ⚪️ ConfigTestCases ignore checkResource-one-argument checkResource-one-argument: TODO
370 ⚪️ ConfigTestCases ignore checkResource-two-arguments checkResource-two-arguments: TODO
376 ⚪️ ConfigTestCases ignore multiple-with-externals multiple-with-externals: TODO
377 ⚪️ ConfigTestCases ignore only-resource only-resource: TODO
378 ⚪️ ConfigTestCases ignore only-resource-context only-resource-context: TODO
379 ⚪️ ConfigTestCases ignore resource-and-context resource-and-context: TODO
380 ⚪️ ConfigTestCases ignore resource-and-context-contextmodule resource-and-context-contextmodule: TODO
381 ⚪️ ConfigTestCases inner-graph altaskitButton altaskitButton: TODO
382 ⚪️ ConfigTestCases inner-graph basic basic: TODO
383 ⚪️ ConfigTestCases inner-graph blockScopes blockScopes: TODO
384 ⚪️ ConfigTestCases inner-graph class class: TODO
385 ⚪️ ConfigTestCases inner-graph const const: TODO
386 ⚪️ ConfigTestCases inner-graph defaultArrow defaultArrow: TODO
387 ⚪️ ConfigTestCases inner-graph defaultClass defaultClass: TODO
388 ⚪️ ConfigTestCases inner-graph defaultExpression defaultExpression: TODO
389 ⚪️ ConfigTestCases inner-graph defaultFunction defaultFunction: TODO
390 ⚪️ ConfigTestCases inner-graph defaultFunctionExpression defaultFunctionExpression: TODO
391 ⚪️ ConfigTestCases inner-graph defaultId defaultId: TODO
392 ⚪️ ConfigTestCases inner-graph defaultNamedFunction defaultNamedFunction: TODO
393 ⚪️ ConfigTestCases inner-graph defaultNamedFunctionExpression defaultNamedFunctionExpression: TODO
394 ⚪️ ConfigTestCases inner-graph eval-bailout eval-bailout: TODO
395 ⚪️ ConfigTestCases inner-graph export export: TODO
396 ⚪️ ConfigTestCases inner-graph importAll importAll: TODO
397 ⚪️ ConfigTestCases inner-graph issue-11678 issue-11678: TODO
398 ⚪️ ConfigTestCases inner-graph issue-12669 issue-12669: TODO
399 ⚪️ ConfigTestCases inner-graph issue-12669-mini issue-12669-mini: TODO
400 ⚪️ ConfigTestCases inner-graph localReference localReference: TODO
401 ⚪️ ConfigTestCases inner-graph nested nested: TODO
402 ⚪️ ConfigTestCases inner-graph pure pure: TODO
403 ⚪️ ConfigTestCases inner-graph ramdaIdentical ramdaIdentical: TODO
404 ⚪️ ConfigTestCases inner-graph specifier specifier: TODO
405 ⚪️ ConfigTestCases inner-graph varNotWritten varNotWritten: TODO
406 ⚪️ ConfigTestCases inner-graph varWritten varWritten: TODO
407 ⚪️ ConfigTestCases issues issue-11871-imports-order issue-11871-imports-order: TODO
408 ⚪️ ConfigTestCases issues issue-12924 issue-12924: TODO
413 ⚪️ ConfigTestCases issues issue-14974 issue-14974: TODO
414 ⚪️ ConfigTestCases issues issue-3596 issue-3596: TODO
415 ⚪️ ConfigTestCases issues issue-7470 issue-7470: TODO
418 ⚪️ ConfigTestCases json tree-shaking-default tree-shaking-default: TODO
419 ⚪️ ConfigTestCases layer rules rules: TODO
420 ⚪️ ConfigTestCases library 0-create-library 0-create-library: TODO
421 ⚪️ ConfigTestCases library 1-use-library 1-use-library: TODO
438 ⚪️ ConfigTestCases library invalid-name invalid-name: TODO
454 🟡 ConfigTestCases loader-import-module css css: #4923
455 ⚪️ ConfigTestCases loaders #-issue-14755-# #-issue-14755-#: TODO
459 🔴 ConfigTestCases loaders hot-in-context hot-in-context: blocked by parser hook and ConstPlugin: #4300
482 ⚪️ ConfigTestCases loaders options options: TODO
483 🔴 ConfigTestCases loaders pr-14384 pr-14384: Rspack does not export NormalModule and support beforeLoaders from JS side and whether to implemented is tracked here: https://github.com/orgs/web-infra-dev/projects/9
492 ⚪️ ConfigTestCases managedPaths futureDefaults futureDefaults: TODO
493 ⚪️ ConfigTestCases mangle mangle-with-object-prop mangle-with-object-prop: TODO
494 ⚪️ ConfigTestCases module externals externals: TODO
495 ⚪️ ConfigTestCases module runtime-chunk runtime-chunk: TODO
496 ⚪️ ConfigTestCases module split-chunks split-chunks: TODO
497 ⚪️ ConfigTestCases module-name different-issuers-for-same-module different-issuers-for-same-module: TODO
498 ⚪️ ConfigTestCases no-parse module.exports module.exports: TODO
499 ⚪️ ConfigTestCases no-parse no-parse-function no-parse-function: TODO
500 ⚪️ ConfigTestCases node node-prefix node-prefix: TODO
501 ⚪️ ConfigTestCases optimization chunk chunk: TODO
511 ⚪️ ConfigTestCases optimization hashed-module-ids hashed-module-ids: TODO
512 ⚪️ ConfigTestCases optimization minimizer minimizer: TODO
513 ⚪️ ConfigTestCases optimization named-modules named-modules: TODO
514 ⚪️ ConfigTestCases optimization runtime-specific-used-exports runtime-specific-used-exports: TODO
515 ⚪️ ConfigTestCases optimization runtime-specific-used-exports2 runtime-specific-used-exports2: TODO
516 ⚪️ ConfigTestCases output charset charset: TODO
517 ⚪️ ConfigTestCases output function function: TODO
518 ⚪️ ConfigTestCases output import-meta-name import-meta-name: TODO
519 ⚪️ ConfigTestCases output inner-dirs-entries inner-dirs-entries: TODO
520 ⚪️ ConfigTestCases output publicPath-node publicPath-node: TODO
521 ⚪️ ConfigTestCases output publicPath-scriptType-module publicPath-scriptType-module: TODO
522 ⚪️ ConfigTestCases output publicPath-web publicPath-web: TODO
523 ⚪️ ConfigTestCases output string string: TODO
524 ⚪️ ConfigTestCases output-module check-defaults check-defaults: TODO
529 ⚪️ ConfigTestCases parsing context context: TODO
534 ⚪️ ConfigTestCases parsing harmony-global harmony-global: TODO
535 ⚪️ ConfigTestCases parsing harmony-this harmony-this: TODO
536 ⚪️ ConfigTestCases parsing harmony-this-concat harmony-this-concat: TODO
543 ⚪️ ConfigTestCases parsing issue-14545 issue-14545: TODO
544 ⚪️ ConfigTestCases parsing issue-14720 issue-14720: TODO
545 ⚪️ ConfigTestCases parsing issue-2942 issue-2942: TODO
549 ⚪️ ConfigTestCases parsing issue-4857 issue-4857: TODO
550 ⚪️ ConfigTestCases parsing issue-5624 issue-5624: TODO
551 ⚪️ ConfigTestCases parsing issue-8293 issue-8293: TODO
552 ⚪️ ConfigTestCases parsing issue-9042 issue-9042: TODO
563 ⚪️ ConfigTestCases parsing optional optional: TODO
564 ⚪️ ConfigTestCases parsing optional-chaining optional-chaining: TODO
565 ⚪️ ConfigTestCases parsing relative-filedirname relative-filedirname: TODO
566 ⚪️ ConfigTestCases parsing require-ignore require-ignore: TODO
570 ⚪️ ConfigTestCases parsing requirejs requirejs: TODO
571 ⚪️ ConfigTestCases parsing system.import system.import: TODO
572 ⚪️ ConfigTestCases performance many-async-imports many-async-imports: TODO
573 ⚪️ ConfigTestCases performance many-exports many-exports: TODO
578 🔴 ConfigTestCases plugins banner-plugin-hashing banner-plugin-hashing: Lacking support of chunkhash
579 ⚪️ ConfigTestCases plugins define-plugin define-plugin: TODO
580 ⚪️ ConfigTestCases plugins define-plugin-bigint define-plugin-bigint: TODO
619 ⚪️ ConfigTestCases plugins lib-manifest-plugin lib-manifest-plugin: TODO
624 ⚪️ ConfigTestCases plugins min-chunk-size min-chunk-size: TODO
625 ⚪️ ConfigTestCases plugins mini-css-extract-plugin mini-css-extract-plugin: TODO
626 ⚪️ ConfigTestCases plugins profiling-plugin profiling-plugin: TODO
627 ⚪️ ConfigTestCases plugins progress-plugin progress-plugin: TODO
628 ⚪️ ConfigTestCases plugins provide-plugin provide-plugin: TODO
629 ⚪️ ConfigTestCases plugins source-map-dev-tool-plugin source-map-dev-tool-plugin: TODO
630 ⚪️ ConfigTestCases plugins source-map-dev-tool-pluginappend source-map-dev-tool-pluginappend: TODO
631 ⚪️ ConfigTestCases plugins terser-plugin terser-plugin: TODO
632 ⚪️ ConfigTestCases process-assets html-plugin html-plugin: TODO
633 ⚪️ ConfigTestCases race-conditions load-module load-module: TODO
634 ⚪️ ConfigTestCases rebuild finishModules finishModules: TODO
635 ⚪️ ConfigTestCases rebuild rebuildWithNewDependencies rebuildWithNewDependencies: TODO
636 ⚪️ ConfigTestCases records issue-295 issue-295: TODO
637 ⚪️ ConfigTestCases records issue-2991 issue-2991: TODO
638 ⚪️ ConfigTestCases records issue-7339 issue-7339: TODO
639 ⚪️ ConfigTestCases records issue-7492 issue-7492: TODO
640 ⚪️ ConfigTestCases records stable-sort stable-sort: TODO
641 ⚪️ ConfigTestCases require module-require module-require: TODO
642 ⚪️ ConfigTestCases resolve context-resolve-with-ignore context-resolve-with-ignore: TODO
643 ⚪️ ConfigTestCases resolve empty-context-module empty-context-module: TODO
649 ⚪️ ConfigTestCases resolve issue-11335-context-module issue-11335-context-module: TODO
650 ⚪️ ConfigTestCases resolve issue-15580 issue-15580: TODO
654 ⚪️ ConfigTestCases resolve only-module only-module: TODO
655 ⚪️ ConfigTestCases resolve-merging override override: TODO
659 ⚪️ ConfigTestCases resolving prefer-absolute prefer-absolute: TODO
660 ⚪️ ConfigTestCases resolving prefer-root prefer-root: TODO
661 ⚪️ ConfigTestCases rule-set chaining chaining: TODO
662 ⚪️ ConfigTestCases rule-set compiler compiler: TODO
663 ⚪️ ConfigTestCases rule-set custom custom: TODO
664 ⚪️ ConfigTestCases rule-set query query: TODO
665 ⚪️ ConfigTestCases rule-set resolve-options resolve-options: TODO
666 ⚪️ ConfigTestCases rule-set simple simple: TODO
667 ⚪️ ConfigTestCases rule-set simple-use-array-fn simple-use-array-fn: TODO
668 ⚪️ ConfigTestCases rule-set simple-use-fn-array simple-use-fn-array: TODO
669 ⚪️ ConfigTestCases rule-set undefined-values undefined-values: TODO
670 ⚪️ ConfigTestCases runtime entries-in-runtime entries-in-runtime: TODO
671 ⚪️ ConfigTestCases runtime invalid-esm-export invalid-esm-export: TODO
672 ⚪️ ConfigTestCases runtime no-runtime-per-entry no-runtime-per-entry: TODO
673 ⚪️ ConfigTestCases runtime opt-in-finally opt-in-finally: TODO
674 ⚪️ ConfigTestCases scope-hoisting class-naming class-naming: TODO
675 ⚪️ ConfigTestCases scope-hoisting create-dll-plugin create-dll-plugin: TODO
676 ⚪️ ConfigTestCases scope-hoisting dll-plugin dll-plugin: TODO
677 ⚪️ ConfigTestCases scope-hoisting esModule esModule: TODO
678 ⚪️ ConfigTestCases scope-hoisting export-global export-global: TODO
679 ⚪️ ConfigTestCases scope-hoisting harmony-pure-default harmony-pure-default: TODO
680 ⚪️ ConfigTestCases scope-hoisting named-modules named-modules: TODO
681 ⚪️ ConfigTestCases scope-hoisting strictThisContextOnImports strictThisContextOnImports: TODO
687 ⚪️ ConfigTestCases sharing consume-module-ignore-warnings consume-module-ignore-warnings: TODO
691 ⚪️ ConfigTestCases sharing consume-multiple-versions-ignore-warnings consume-multiple-versions-ignore-warnings: TODO
724 ⚪️ ConfigTestCases side-effects issue-13063 issue-13063: TODO
732 ⚪️ ConfigTestCases side-effects type-reexports type-reexports: TODO
733 ⚪️ ConfigTestCases side-effects url url: TODO
746 ⚪️ ConfigTestCases source-map array-as-output-library array-as-output-library: TODO
747 ⚪️ ConfigTestCases source-map array-as-output-library-in-object-output array-as-output-library-in-object-output: TODO
748 ⚪️ ConfigTestCases source-map context-module-source-path context-module-source-path: TODO
749 ⚪️ ConfigTestCases source-map default-filename-extensions-css default-filename-extensions-css: TODO
750 ⚪️ ConfigTestCases source-map default-filename-extensions-js default-filename-extensions-js: TODO
751 ⚪️ ConfigTestCases source-map default-filename-extensions-mjs default-filename-extensions-mjs: TODO
756 ⚪️ ConfigTestCases source-map exclude-modules-source-map exclude-modules-source-map: TODO
757 ⚪️ ConfigTestCases source-map module-names module-names: TODO
764 ⚪️ ConfigTestCases source-map namespace-source-path.library namespace-source-path.library: TODO
765 ⚪️ ConfigTestCases source-map no-source-map no-source-map: TODO
769 ⚪️ ConfigTestCases source-map object-as-output-library object-as-output-library: TODO
770 🟡 ConfigTestCases source-map relative-source-map-path relative-source-map-path: #4304
771 🔴 ConfigTestCases source-map relative-source-maps-by-loader relative-source-maps-by-loader: #5393
772 ⚪️ ConfigTestCases source-map resource-path resource-path: TODO
776 ⚪️ ConfigTestCases source-map source-map-with-profiling-plugin source-map-with-profiling-plugin: TODO
777 ⚪️ ConfigTestCases source-map sources-array-production sources-array-production: TODO
784 🔴 ConfigTestCases split-chunks chunk-filename-delimiter-default chunk-filename-delimiter-default: splitted chunk ids should be the same as webpack #4334
789 🔴 ConfigTestCases split-chunks custom-filename-function custom-filename-function: not support function type of splitChunks #4333
794 🔴 ConfigTestCases split-chunks entry-point-error entry-point-error: should emit error if entry point and splitted chunk have the same name #4332
801 🔴 ConfigTestCases split-chunks issue-11513 issue-11513: should support object type minSize #4331
817 🔴 ConfigTestCases split-chunks move-to-entrypoint move-to-entrypoint: jest node env blocks
818 🔴 ConfigTestCases split-chunks no-options no-options: no js splitChunks plugin
822 🟡 ConfigTestCases split-chunks runtime-chunk runtime-chunk: not have the same name for splitted chunk with webpack #4334
823 🔴 ConfigTestCases split-chunks runtime-chunk-async-node runtime-chunk-async-node: hang by unknown reasons #4342
827 🔴 ConfigTestCases split-chunks runtime-chunk-node runtime-chunk-node: hang by unknown reasons #4342
828 🔴 ConfigTestCases split-chunks runtime-chunk-node-13130 runtime-chunk-node-13130: hang by unknown reasons #4342
839 🔴 ConfigTestCases split-chunks-common hot hot: block: require.main #3562
852 🔴 ConfigTestCases split-chunks-common library library: block: require.ensure #4304
870 ⚪️ ConfigTestCases target amd-container-named amd-container-named: TODO
871 ⚪️ ConfigTestCases target amd-container-require amd-container-require: TODO
872 ⚪️ ConfigTestCases target amd-container-unnamed amd-container-unnamed: TODO
873 ⚪️ ConfigTestCases target amd-named amd-named: TODO
874 ⚪️ ConfigTestCases target amd-require amd-require: TODO
875 ⚪️ ConfigTestCases target amd-unnamed amd-unnamed: TODO
883 ⚪️ ConfigTestCases target node-dynamic-import node-dynamic-import: TODO
884 ⚪️ ConfigTestCases target strict-mode-global strict-mode-global: TODO
894 ⚪️ ConfigTestCases target system-named-assets-path system-named-assets-path: TODO
898 ⚪️ ConfigTestCases target umd-auxiliary-comments-object umd-auxiliary-comments-object: TODO
899 ⚪️ ConfigTestCases target umd-auxiliary-comments-string umd-auxiliary-comments-string: TODO
900 ⚪️ ConfigTestCases target umd-named-define umd-named-define: TODO
901 🔴 ConfigTestCases trusted-types custom-policy-name custom-policy-name: #5395
902 🔴 ConfigTestCases trusted-types default-policy-name default-policy-name: #5395
903 ⚪️ ConfigTestCases trusted-types devtool-eval devtool-eval: TODO
904 🔴 ConfigTestCases trusted-types no-policy-name no-policy-name: #5395
905 🔴 ConfigTestCases trusted-types no-trusted-types no-trusted-types: #5395
906 ⚪️ ConfigTestCases trusted-types web-worker web-worker: TODO
907 ⚪️ ConfigTestCases types filesystems filesystems: TODO
911 ⚪️ ConfigTestCases utils lazy-set lazy-set: TODO
912 ⚪️ ConfigTestCases wasm export-imported-global export-imported-global: TODO
913 ⚪️ ConfigTestCases wasm identical identical: TODO
914 ⚪️ ConfigTestCases wasm import-wasm-wasm import-wasm-wasm: TODO
915 ⚪️ ConfigTestCases wasm missing-wasm-experiment missing-wasm-experiment: TODO
916 ⚪️ ConfigTestCases wasm wasm-in-initial-chunk-error wasm-in-initial-chunk-error: TODO
917 ⚪️ ConfigTestCases web attach-existing attach-existing: TODO
918 ⚪️ ConfigTestCases web node-source node-source: TODO
919 ⚪️ ConfigTestCases web node-source-future-defaults node-source-future-defaults: TODO
920 ⚪️ ConfigTestCases web node-source-global node-source-global: TODO
921 ⚪️ ConfigTestCases web non-js-chunks-entrypoint non-js-chunks-entrypoint: TODO
922 ⚪️ ConfigTestCases web non-js-chunks-entrypoint-runtime-chunk non-js-chunks-entrypoint-runtime-chunk: TODO
926 ⚪️ ConfigTestCases web preexecuted-chunk preexecuted-chunk: TODO
933 ⚪️ ConfigTestCases web retry-failed-import retry-failed-import: TODO
934 ⚪️ ConfigTestCases web unique-jsonp unique-jsonp: TODO
935 🔴 ConfigTestCases worker custom-worker custom-worker: #3656
936 🔴 ConfigTestCases worker node-worker node-worker: needs compile time evaluateExpression
937 🔴 ConfigTestCases worker node-worker-hmr node-worker-hmr: HMR plugin
954 🔴 TestCases normal amd define-needs-module: #4313
955 🔴 TestCases normal amd namedModules: #4313
956 🔴 TestCases normal amd namedModulesConstArrayDep: #4313
993 🔴 TestCases normal chunks context: #4304
994 🔴 TestCases normal chunks inline-options: #4306
995 🔴 TestCases normal chunks named-chunks: #4304
996 🔴 TestCases normal chunks nested-in-empty: #4304
997 🔴 TestCases normal chunks parsing: #4304
998 🔴 TestCases normal chunks runtime: #4304
999 🔴 TestCases normal chunks var-inject-error-handler: #4304
1000 🟡 TestCases normal chunks weak-dependencies: #2787
1001 🔴 TestCases normal chunks weak-dependencies-context: #4315
1042 🔴 TestCases normal cjs-interop non-existing-export: #4323
1043 🟡 TestCases normal cjs-tree-shaking bailouts: #4313
1044 🟡 TestCases normal cjs-tree-shaking mutate: #4323
1045 🔴 TestCases normal cjs-tree-shaking reexports: #4424
1123 🔴 TestCases normal compile deduplication-bundle-loader: #4304
1124 🔴 TestCases normal compile error-hide-stack: #4326
1137 🔴 TestCases normal context import-meta-webpack-context: #4305
1138 🔴 TestCases normal context issue-10969: #4329
1139 🔴 TestCases normal context issue-5750: #4328
1184 🟡 TestCases normal errors crash-missing-import: #4348
1185 🟡 TestCases normal errors harmony-import-missing: #4348
1186 🟡 TestCases normal errors harmony-import-missing2: #4348
1187 🔴 TestCases normal errors load-module-cycle: #3738
1188 🔴 TestCases normal errors load-module-cycle-multiple: #3738
1189 🔴 TestCases normal errors load-module-error: #3738
1190 🟡 TestCases normal errors loader-error-warning: #4349
1191 🟡 TestCases normal errors mjs-non-fully-specified: #4348
1192 🟡 TestCases normal errors module-request: #4348
1201 🟡 TestCases normal esm import-meta: #4350
1266 🟡 TestCases normal json default-default-with-concatenation: #3823
1267 🔴 TestCases normal json import-assertions-type-json: #4358
1268 🔴 TestCases normal json import-by-name: #4323
1269 🟡 TestCases normal json import-by-name-with-concatenation: #3823, #4323
1270 🟡 TestCases normal json import-with-default-with-concatenation: #3823
1271 🟡 TestCases normal json reexport: #4323
1297 🔴 TestCases normal large big-assets: #3180
1298 ⚪️ TestCases normal large many-replacements: TODO
1299 🔴 TestCases normal loaders import-module: #4398
1300 🔴 TestCases normal loaders issue-10725: blocked by this.loadModule #3738
1301 🔴 TestCases normal loaders issue-2299: blocked by this.loadModule #3738
1302 🔴 TestCases normal loaders issue-4959: blocked by this.loadModule #3738
1303 🔴 TestCases normal loaders no-string: blocked by #3459
1304 🟡 TestCases normal loaders query: #4397
1305 🔴 TestCases normal loaders resolve: #3180
1306 🔴 TestCases normal loaders utils: #4397
1352 🟡 TestCases normal mjs non-enumerable: #4323
1353 🟡 TestCases normal mjs type-module: #3544, #5197
1399 🔴 TestCases normal nonce set-nonce: #4401
1400 🔴 TestCases normal optimize side-effects-reexport-start-unknown: new tree-shaking re-implementation
1460 🔴 TestCases normal parsing amd-rename: #4313
1461 🟡 TestCases normal parsing chunks: #4304
1462 🟡 TestCases normal parsing complex-require: #4304, #4313
1463 🔴 TestCases normal parsing context: #3346
1464 🔴 TestCases normal parsing declared-api: #4313
1465 🔴 TestCases normal parsing es6.nominimize: #4304
1466 🔴 TestCases normal parsing evaluate: #4424
1467 🔴 TestCases normal parsing evaluate-nullish: #4424
1468 🔴 TestCases normal parsing extract-amd: #4313
1469 🔴 TestCases normal parsing extract-amd.nominimize: #4313
1470 🔴 TestCases normal parsing extract-require: #4424
1471 🔴 TestCases normal parsing harmony-deep-exports: #4426
1472 🔴 TestCases normal parsing harmony-duplicate-export: #4323
1473 🔴 TestCases normal parsing harmony-export-import-specifier: #4426
1474 🔴 TestCases normal parsing harmony-export-precedence: #4323
1475 🔴 TestCases normal parsing harmony-info: #4323
1476 🔴 TestCases normal parsing harmony-injecting-order: #4313
1477 🔴 TestCases normal parsing harmony-reexport: new treeshaking re-implementation
1478 🔴 TestCases normal parsing harmony-star-conflict: #4118, #4323
1479 🔴 TestCases normal parsing issue-2084: #4313
1480 🔴 TestCases normal parsing issue-2600: #4348
1481 🔴 TestCases normal parsing issue-2641: #4313
1482 ⚪️ TestCases normal parsing issue-3252: TODO
1483 ⚪️ TestCases normal parsing issue-3273: TODO
1484 🔴 TestCases normal parsing issue-345: #4313
1485 🔴 TestCases normal parsing issue-387: #4313
1486 🔴 TestCases normal parsing issue-4596: #4424
1487 🔴 TestCases normal parsing issue-4940: #4313
1488 🔴 TestCases normal parsing issue-627: #4429
1489 🔴 TestCases normal parsing issue-758: #4313, #4304
1490 🔴 TestCases normal parsing issue-7778: #4450
1491 🔴 TestCases normal parsing local-modules: #4313
1492 🔴 TestCases normal parsing missing-export-warning-nested: #4323
1493 🔴 TestCases normal parsing nullish-coalescing: #4300
1494 🔴 TestCases normal parsing precreated-ast: #4442
1495 🔴 TestCases normal parsing renaming: #4313, #3346
1496 🔴 TestCases normal parsing resolve-weak-context: #4315
1497 🔴 TestCases normal parsing strict-mode: #4313
1498 🔴 TestCases normal parsing typeof: #4424
1499 🔴 TestCases normal parsing unsupported-amd: #4313
1903 🔴 TestCases normal resolving commomjs-local-module: #4313
1904 🔴 TestCases normal resolving context: #4397
1905 🔴 TestCases normal resolving data-uri: #4445
1906 🔴 TestCases normal resolving issue-2986: #4348
1936 🔴 TestCases normal runtime chunk-callback-order: #4313
1937 🔴 TestCases normal runtime error-handling: #4348
1938 🔴 TestCases normal runtime issue-15518: #4306
1939 🔴 TestCases normal runtime missing-module-exception: #4348
1940 🔴 TestCases normal runtime missing-module-syntax-error: #4348
1941 🔴 TestCases normal runtime module-caching: #4304
1958 ⚪️ TestCases normal scope-hoisting async-keyword-5615: TODO
1959 ⚪️ TestCases normal scope-hoisting chained-reexport: TODO
1960 ⚪️ TestCases normal scope-hoisting circular-external: TODO
1961 ⚪️ TestCases normal scope-hoisting circular-namespace-object: TODO
1962 ⚪️ TestCases normal scope-hoisting circular-root-export: TODO
1963 ⚪️ TestCases normal scope-hoisting delete-issue-10831: TODO
1964 ⚪️ TestCases normal scope-hoisting esModule: TODO
1965 ⚪️ TestCases normal scope-hoisting export-namespace: TODO
1966 ⚪️ TestCases normal scope-hoisting external-root: TODO
1967 ⚪️ TestCases normal scope-hoisting import-order: TODO
1968 ⚪️ TestCases normal scope-hoisting import-order-11617: TODO
1969 ⚪️ TestCases normal scope-hoisting indirect-reexport: TODO
1970 ⚪️ TestCases normal scope-hoisting inside-class: TODO
1971 ⚪️ TestCases normal scope-hoisting intra-references: TODO
1972 ⚪️ TestCases normal scope-hoisting issue-10308: TODO
1973 ⚪️ TestCases normal scope-hoisting issue-10409: TODO
1974 ⚪️ TestCases normal scope-hoisting issue-11840: TODO
1975 ⚪️ TestCases normal scope-hoisting issue-11897: TODO
1976 ⚪️ TestCases normal scope-hoisting issue-5020: TODO
1977 ⚪️ TestCases normal scope-hoisting issue-5020-minimal: TODO
1978 ⚪️ TestCases normal scope-hoisting issue-5096: TODO
1979 ⚪️ TestCases normal scope-hoisting issue-5314: TODO
1980 ⚪️ TestCases normal scope-hoisting issue-5443: TODO
1981 ⚪️ TestCases normal scope-hoisting issue-5481: TODO
1982 ⚪️ TestCases normal scope-hoisting issue-6407: TODO
1983 ⚪️ TestCases normal scope-hoisting issue-7930: TODO
1984 ⚪️ TestCases normal scope-hoisting json-reexport-6700: TODO
1985 ⚪️ TestCases normal scope-hoisting name-conflicts: TODO
1986 ⚪️ TestCases normal scope-hoisting order-without-side-effects: TODO
1987 ⚪️ TestCases normal scope-hoisting orphan: TODO
1988 ⚪️ TestCases normal scope-hoisting reexport-cjs: TODO
1989 ⚪️ TestCases normal scope-hoisting reexport-exposed-cjs: TODO
1990 ⚪️ TestCases normal scope-hoisting reexport-exposed-default-cjs: TODO
1991 ⚪️ TestCases normal scope-hoisting reexport-exposed-harmony: TODO
1992 ⚪️ TestCases normal scope-hoisting reexport-star-exposed-cjs: TODO
1993 ⚪️ TestCases normal scope-hoisting reexport-star-external-cjs: TODO
1994 ⚪️ TestCases normal scope-hoisting renaming-4967: TODO
1995 ⚪️ TestCases normal scope-hoisting renaming-shorthand-5027: TODO
1996 ⚪️ TestCases normal scope-hoisting require-root-5604: TODO
1997 ⚪️ TestCases normal scope-hoisting side-effects-11662: TODO
1998 ⚪️ TestCases normal scope-hoisting side-effects-11990: TODO
1999 ⚪️ TestCases normal scope-hoisting side-effects-11990-star: TODO
2000 ⚪️ TestCases normal scope-hoisting side-effects-9159: TODO
2001 ⚪️ TestCases normal scope-hoisting simple: TODO
2002 ⚪️ TestCases normal scope-hoisting this-in-import: TODO
2003 ⚪️ TestCases normal side-effects dynamic-reexports: TODO
2040 ⚪️ TestCases normal wasm v128: TODO

@ahabhgk ahabhgk merged commit 3eb3e82 into main Jan 29, 2024
17 checks passed
@ahabhgk ahabhgk deleted the fix-provide branch January 29, 2024 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants