@rspack/core 1.6.0-beta.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/compiled/watchpack/index.js +1000 -3
  2. package/dist/Compilation.d.ts +13 -16
  3. package/dist/Compiler.d.ts +8 -0
  4. package/dist/MultiCompiler.d.ts +1 -0
  5. package/dist/MultiStats.d.ts +3 -2
  6. package/dist/RspackError.d.ts +3 -0
  7. package/dist/RuntimeGlobals.d.ts +3 -0
  8. package/dist/Watching.d.ts +9 -0
  9. package/dist/builtin-plugin/EsmLibraryPlugin.d.ts +6 -0
  10. package/dist/builtin-plugin/InlineExportsPlugin.d.ts +9 -0
  11. package/dist/builtin-plugin/SubresourceIntegrityPlugin.d.ts +0 -1
  12. package/dist/builtin-plugin/SwcJsMinimizerPlugin.d.ts +2 -1
  13. package/dist/builtin-plugin/css-extract/index.d.ts +2 -2
  14. package/dist/builtin-plugin/html-plugin/options.d.ts +0 -1
  15. package/dist/builtin-plugin/index.d.ts +1 -0
  16. package/dist/config/defaults.d.ts +0 -9
  17. package/dist/config/devServer.d.ts +8 -8
  18. package/dist/config/normalization.d.ts +2 -0
  19. package/dist/config/types.d.ts +47 -8
  20. package/dist/cssExtractHmr.js +1 -2
  21. package/dist/exports.d.ts +1 -3
  22. package/dist/index.js +739 -4826
  23. package/dist/lib/Cache.d.ts +1 -1
  24. package/dist/loader-runner/ModuleError.d.ts +7 -1
  25. package/dist/loader-runner/service.d.ts +1 -1
  26. package/dist/stats/DefaultStatsFactoryPlugin.d.ts +16 -0
  27. package/dist/util/fs.d.ts +25 -2
  28. package/dist/util/index.d.ts +0 -3
  29. package/dist/util/source.d.ts +5 -6
  30. package/dist/util/validateConfig.d.ts +5 -0
  31. package/dist/worker.js +21 -8
  32. package/package.json +8 -10
  33. package/compiled/graceful-fs/index.d.ts +0 -13
  34. package/compiled/graceful-fs/index.js +0 -1063
  35. package/compiled/graceful-fs/license +0 -15
  36. package/compiled/graceful-fs/package.json +0 -1
  37. package/dist/loader-runner/ModuleWarning.d.ts +0 -7
  38. package/dist/schema/config.d.ts +0 -1030
  39. package/dist/schema/loaders.d.ts +0 -402
  40. package/dist/schema/plugins.d.ts +0 -167
  41. package/dist/schema/utils.d.ts +0 -5
  42. package/dist/schema/validate.d.ts +0 -10
@@ -1,15 +0,0 @@
1
- The ISC License
2
-
3
- Copyright (c) 2011-2022 Isaac Z. Schlueter, Ben Noordhuis, and Contributors
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted, provided that the above
7
- copyright notice and this permission notice appear in all copies.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10
- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11
- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12
- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13
- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14
- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15
- IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -1 +0,0 @@
1
- {"name":"graceful-fs","version":"4.2.11","license":"ISC","types":"index.d.ts","type":"commonjs"}
@@ -1,7 +0,0 @@
1
- import WebpackError from "../lib/WebpackError";
2
- export default class ModuleWarning extends WebpackError {
3
- error?: Error;
4
- constructor(err: Error, { from }?: {
5
- from?: string;
6
- });
7
- }