@ohos-ports/rspack-binding 2.3.2-beta.0 → 2.3.4-beta.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/README.md +3 -3
- package/napi-binding.d.ts +10 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -22,12 +22,12 @@ Rspack is [MIT licensed](https://github.com/web-infra-dev/rspack/blob/main/LICEN
|
|
|
22
22
|
|
|
23
23
|
## OpenHarmony port
|
|
24
24
|
|
|
25
|
-
This is the `@ohos-ports` distribution of `@rspack/binding@2.3.
|
|
25
|
+
This is the `@ohos-ports` distribution of `@rspack/binding@2.3.4`.
|
|
26
26
|
|
|
27
27
|
- On `process.platform === 'openharmony'` and `process.arch === 'arm64'`,
|
|
28
28
|
the loader probes the local `rspack.linux-arm64-ohos.node` slot first and
|
|
29
29
|
then `@ohos-ports/rspack-binding-openharmony-arm64` (installed
|
|
30
30
|
automatically via `optionalDependencies`), which ships the native binary
|
|
31
|
-
|
|
32
|
-
signed with `binary-sign-tool`.
|
|
31
|
+
taken from the official upstream `@rspack/binding-linux-arm64-musl@2.3.4`
|
|
32
|
+
prebuilt (exact version match) and signed with `binary-sign-tool -selfSign 1`.
|
|
33
33
|
- Upstream probe behavior on all other platforms is unchanged.
|
package/napi-binding.d.ts
CHANGED
|
@@ -760,6 +760,7 @@ export interface JsCodegenerationResults {
|
|
|
760
760
|
}
|
|
761
761
|
|
|
762
762
|
export interface JsCreateData {
|
|
763
|
+
context?: string
|
|
763
764
|
request: string
|
|
764
765
|
userRequest: string
|
|
765
766
|
resource: string
|
|
@@ -2033,10 +2034,12 @@ export interface RawCollectShareEntryPluginOptions {
|
|
|
2033
2034
|
|
|
2034
2035
|
export interface RawCompactHashedChunkIdsPluginOptions {
|
|
2035
2036
|
minLength?: number
|
|
2037
|
+
salt?: number
|
|
2036
2038
|
}
|
|
2037
2039
|
|
|
2038
2040
|
export interface RawCompactHashedModuleIdsPluginOptions {
|
|
2039
2041
|
minLength?: number
|
|
2042
|
+
salt?: number
|
|
2040
2043
|
}
|
|
2041
2044
|
|
|
2042
2045
|
export interface RawCompilerPlatform {
|
|
@@ -2282,6 +2285,10 @@ export interface RawCssParserOptions {
|
|
|
2282
2285
|
resolveImport?: boolean | ((context: { url: string, media: string | undefined, resourcePath: string, supports: string | undefined, layer: string | undefined }) => boolean)
|
|
2283
2286
|
}
|
|
2284
2287
|
|
|
2288
|
+
export interface RawDeterministicChunkIdsPluginOptions {
|
|
2289
|
+
salt?: number
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2285
2292
|
export interface RawDeterministicModuleIdsPluginOptions {
|
|
2286
2293
|
context?: string
|
|
2287
2294
|
test?: (module: Module) => boolean
|
|
@@ -2322,6 +2329,7 @@ export interface RawDllReferenceAgencyPluginOptions {
|
|
|
2322
2329
|
|
|
2323
2330
|
export interface RawDraft {
|
|
2324
2331
|
customMedia: boolean
|
|
2332
|
+
scrollNavigationControls: boolean
|
|
2325
2333
|
}
|
|
2326
2334
|
|
|
2327
2335
|
export interface RawDynamicEntryPluginOptions {
|
|
@@ -2356,6 +2364,8 @@ export interface RawEnvironment {
|
|
|
2356
2364
|
module: boolean
|
|
2357
2365
|
optionalChaining: boolean
|
|
2358
2366
|
logicalAssignment: boolean
|
|
2367
|
+
spread: boolean
|
|
2368
|
+
symbol: boolean
|
|
2359
2369
|
templateLiteral: boolean
|
|
2360
2370
|
dynamicImportInWorker: boolean
|
|
2361
2371
|
importMetaDirnameAndFilename: boolean
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohos-ports/rspack-binding",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"description": "Node binding loader for rspack (OpenHarmony port: probes @ohos-ports/rspack-binding-openharmony-arm64 on openharmony/arm64)",
|
|
5
|
+
"description": "Node binding loader for rspack (OpenHarmony port: probes @ohos-ports/rspack-binding-openharmony-arm64 on openharmony/arm64; binary from upstream @rspack/binding-linux-arm64-musl@2.3.4 prebuilt, signed)",
|
|
6
6
|
"main": "binding.js",
|
|
7
7
|
"types": "binding.d.ts",
|
|
8
8
|
"files": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"webcontainer-fallback.cjs"
|
|
13
13
|
],
|
|
14
14
|
"optionalDependencies": {
|
|
15
|
-
"@ohos-ports/rspack-binding-openharmony-arm64": "2.3.
|
|
15
|
+
"@ohos-ports/rspack-binding-openharmony-arm64": "2.3.4-beta.0"
|
|
16
16
|
},
|
|
17
17
|
"homepage": "https://rspack.rs",
|
|
18
18
|
"bugs": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"repository": {
|
|
22
22
|
"type": "git",
|
|
23
23
|
"url": "https://github.com/ohos-ports/ohos-ports.git",
|
|
24
|
-
"directory": "ports/@rspack/binding/2.3.
|
|
24
|
+
"directory": "ports/@rspack/binding/2.3.4"
|
|
25
25
|
},
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|