@rspack/core 1.1.0-beta.0 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/core",
3
- "version": "1.1.0-beta.0",
3
+ "version": "1.1.0",
4
4
  "webpackVersion": "5.75.0",
5
5
  "license": "MIT",
6
6
  "description": "The fast Rust-based web bundler with webpack-compatible API",
@@ -37,15 +37,15 @@
37
37
  "directory": "packages/rspack"
38
38
  },
39
39
  "devDependencies": {
40
- "@swc/core": "1.4.0",
40
+ "@swc/core": "1.7.40",
41
41
  "@swc/types": "0.1.12",
42
42
  "@types/graceful-fs": "4.1.9",
43
43
  "@types/watchpack": "^2.4.0",
44
44
  "@types/webpack-sources": "3.2.3",
45
45
  "browserslist": "^4.21.3",
46
46
  "cross-env": "^7.0.3",
47
- "enhanced-resolve": "5.12.0",
48
- "graceful-fs": "4.2.10",
47
+ "enhanced-resolve": "5.17.1",
48
+ "graceful-fs": "4.2.11",
49
49
  "json-parse-even-better-errors": "^3.0.0",
50
50
  "prebundle": "^1.1.0",
51
51
  "tsc-alias": "^1.8.8",
@@ -55,13 +55,13 @@
55
55
  "webpack-dev-server": "5.0.4",
56
56
  "webpack-sources": "3.2.3",
57
57
  "zod": "^3.23.8",
58
- "zod-validation-error": "3.3.1"
58
+ "zod-validation-error": "3.4.0"
59
59
  },
60
60
  "dependencies": {
61
61
  "@module-federation/runtime-tools": "0.5.1",
62
62
  "@rspack/lite-tapable": "1.0.1",
63
63
  "caniuse-lite": "^1.0.30001616",
64
- "@rspack/binding": "1.1.0-beta.0"
64
+ "@rspack/binding": "1.1.0"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@swc/helpers": ">=0.5.1"
@@ -1,23 +0,0 @@
1
- /**
2
- * The following code is modified based on
3
- * https://github.com/webpack/webpack/blob/4b4ca3b/lib/Dependency.js
4
- *
5
- * MIT Licensed
6
- * Author Tobias Koppers @sokra
7
- * Copyright (c) JS Foundation and other contributors
8
- * https://github.com/webpack/webpack/blob/main/LICENSE
9
- */
10
- export type SourcePosition = {
11
- line: number;
12
- column?: number;
13
- };
14
- export type RealDependencyLocation = {
15
- start: SourcePosition;
16
- end?: SourcePosition;
17
- index?: number;
18
- };
19
- export type SyntheticDependencyLocation = {
20
- name: string;
21
- index?: number;
22
- };
23
- export type DependencyLocation = SyntheticDependencyLocation | RealDependencyLocation;
@@ -1,16 +0,0 @@
1
- /**
2
- * The following code is modified based on
3
- * https://github.com/webpack/webpack/blob/4b4ca3b/lib/formatLocation.js
4
- *
5
- * MIT Licensed
6
- * Author Tobias Koppers @sokra
7
- * Copyright (c) JS Foundation and other contributors
8
- * https://github.com/webpack/webpack/blob/main/LICENSE
9
- */
10
- import type { DependencyLocation } from "./Dependency";
11
- /**
12
- * @param loc location
13
- * @returns formatted location
14
- */
15
- declare const formatLocation: (loc: DependencyLocation) => string;
16
- export default formatLocation;
@@ -1,16 +0,0 @@
1
- /**
2
- * The following code is modified based on
3
- * https://github.com/webpack/webpack/blob/4b4ca3b/lib/logging/runtime.js
4
- *
5
- * MIT Licensed
6
- * Author Tobias Koppers @sokra
7
- * Copyright (c) JS Foundation and other contributors
8
- * https://github.com/webpack/webpack/blob/main/LICENSE
9
- */
10
- import { Logger } from "./Logger";
11
- import { type LoggerOptions } from "./createConsoleLogger";
12
- export declare const getLogger: (name: string) => Logger;
13
- export declare const configureDefaultLogger: (options: LoggerOptions) => void;
14
- export declare const hooks: {
15
- log: any;
16
- };
@@ -1,12 +0,0 @@
1
- /**
2
- * The following code is modified based on
3
- * https://github.com/webpack/webpack/tree/4b4ca3bb53f36a5b8fc6bc1bd976ed7af161bd80/lib/util
4
- *
5
- * MIT Licensed
6
- * Author Tobias Koppers @sokra
7
- * Copyright (c) JS Foundation and other contributors
8
- * https://github.com/webpack/webpack/blob/main/LICENSE
9
- */
10
- export declare const last: <T>(set: Iterable<T>) => T | undefined;
11
- export declare const someInIterable: <T>(iterable: Iterable<T>, filter: (arg: T) => boolean) => boolean;
12
- export declare const countIterable: <T>(iterable: Iterable<T>) => number;
@@ -1,6 +0,0 @@
1
- /**
2
- * Get scheme if specifier is an absolute URL specifier
3
- * e.g. Absolute specifiers like 'file:///user/webpack/index.js'
4
- * https://tools.ietf.org/html/rfc3986#section-3.1
5
- */
6
- export declare function getScheme(specifier: string): string | undefined;
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- readonly createHash: (algorithm: "debug" | "xxhash64" | "md4" | "native-md4" | (string & {}) | (new () => import("./hash").default)) => import("./hash").default;
3
- };
4
- export default _default;