@atlaspack/rust 2.13.2-dev.3674 → 2.13.2-dev.3689
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/atlaspack-node-bindings.darwin-arm64.node +0 -0
- package/atlaspack-node-bindings.darwin-x64.node +0 -0
- package/atlaspack-node-bindings.linux-arm-gnueabihf.node +0 -0
- package/atlaspack-node-bindings.linux-arm64-gnu.node +0 -0
- package/atlaspack-node-bindings.linux-x64-gnu.node +0 -0
- package/index.js.flow +6 -7
- package/package.json +2 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/index.js.flow
CHANGED
|
@@ -7,13 +7,14 @@ import type {
|
|
|
7
7
|
PackageManager,
|
|
8
8
|
} from '@atlaspack/types';
|
|
9
9
|
|
|
10
|
+
// This is defined in browser.js for wasm builds
|
|
10
11
|
declare export var init: void | (() => void);
|
|
11
12
|
|
|
12
13
|
export type WatchEventType = 'create' | 'update' | 'delete';
|
|
13
14
|
|
|
14
15
|
export interface WatchEvent {
|
|
15
|
-
path: string
|
|
16
|
-
type: WatchEventType
|
|
16
|
+
path: string;
|
|
17
|
+
type: WatchEventType;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
export type WatchEvents = Array<WatchEvent>;
|
|
@@ -51,7 +52,7 @@ export type AtlaspackNapiOptions = {|
|
|
|
51
52
|
nodeWorkers?: number,
|
|
52
53
|
napiWorkerPool: any,
|
|
53
54
|
options: {|
|
|
54
|
-
featureFlags?: {
|
|
55
|
+
featureFlags?: {[string]: string | boolean},
|
|
55
56
|
corePath?: string,
|
|
56
57
|
// TODO Use Omit when available in flow >0.210.0
|
|
57
58
|
...$Diff<
|
|
@@ -71,7 +72,7 @@ declare export class AtlaspackNapi {
|
|
|
71
72
|
static create(options: AtlaspackNapiOptions, lmdb: mixed): AtlaspackNapi;
|
|
72
73
|
nodeWorkerCount: number;
|
|
73
74
|
buildAssetGraph(): Promise<any>;
|
|
74
|
-
respondToFsEvents(events: WatchEvents): boolean
|
|
75
|
+
respondToFsEvents(events: WatchEvents): Promise<boolean>;
|
|
75
76
|
static defaultThreadCount(): number;
|
|
76
77
|
testingTempFsReadToString(path: string): string;
|
|
77
78
|
testingTempFsIsDir(path: string): boolean;
|
|
@@ -86,9 +87,7 @@ declare export function registerWorker(
|
|
|
86
87
|
worker: any,
|
|
87
88
|
): void;
|
|
88
89
|
|
|
89
|
-
declare export function newNodejsWorker(
|
|
90
|
-
delegate: any,
|
|
91
|
-
): Transferable;
|
|
90
|
+
declare export function newNodejsWorker(delegate: any): Transferable;
|
|
92
91
|
|
|
93
92
|
declare export function initializeMonitoring(): void;
|
|
94
93
|
declare export function closeMonitoring(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/rust",
|
|
3
|
-
"version": "2.13.2-dev.
|
|
3
|
+
"version": "2.13.2-dev.3689+7a2e6e783",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"wasm:build": "cargo build -p atlaspack-node-bindings --target wasm32-unknown-unknown && cp ../../../target/wasm32-unknown-unknown/debug/atlaspack_node_bindings.wasm .",
|
|
38
38
|
"wasm:build-release": "CARGO_PROFILE_RELEASE_LTO=true cargo build -p atlaspack-node-bindings --target wasm32-unknown-unknown --release && wasm-opt --strip-debug -O ../../../target/wasm32-unknown-unknown/release/atlaspack_node_bindings.wasm -o atlaspack_node_bindings.wasm"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "7a2e6e7835fa846b27021b374097c6a4f37541ba"
|
|
41
41
|
}
|