@parcel/rust 2.12.1-canary.3340 → 2.12.1-canary.3342
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +0 -1
- package/index.js +1 -2
- package/package.json +2 -2
- package/parcel-node-bindings.darwin-arm64.node +0 -0
- package/parcel-node-bindings.darwin-x64.node +0 -0
- package/parcel-node-bindings.linux-arm-gnueabihf.node +0 -0
- package/parcel-node-bindings.linux-arm64-gnu.node +0 -0
- package/parcel-node-bindings.linux-arm64-musl.node +0 -0
- package/parcel-node-bindings.linux-x64-gnu.node +0 -0
- package/parcel-node-bindings.linux-x64-musl.node +0 -0
- package/parcel-node-bindings.win32-x64-msvc.node +0 -0
package/index.d.ts
CHANGED
@@ -147,7 +147,6 @@ export interface JsInvalidationsOld {
|
|
147
147
|
invalidateOnFileCreate: Array<FilePathCreateInvalidationOld | FileNameCreateInvalidationOld | GlobCreateInvalidationOld>
|
148
148
|
invalidateOnStartup: boolean
|
149
149
|
}
|
150
|
-
export function testingRunParcelJsTransformerPlugin(targetPath: string): unknown
|
151
150
|
export function transform(opts: object): unknown
|
152
151
|
export function transformAsync(opts: object): object
|
153
152
|
export class Hash {
|
package/index.js
CHANGED
@@ -310,7 +310,7 @@ if (!nativeBinding) {
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
311
311
|
}
|
312
312
|
|
313
|
-
const { findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, initializeMonitoring, closeMonitoring, ParcelNapi, registerWorker, Resolver, ResolverOld,
|
313
|
+
const { findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, initializeMonitoring, closeMonitoring, ParcelNapi, registerWorker, Resolver, ResolverOld, transform, transformAsync } = nativeBinding
|
314
314
|
|
315
315
|
module.exports.findAncestorFile = findAncestorFile
|
316
316
|
module.exports.findFirstFile = findFirstFile
|
@@ -325,6 +325,5 @@ module.exports.ParcelNapi = ParcelNapi
|
|
325
325
|
module.exports.registerWorker = registerWorker
|
326
326
|
module.exports.Resolver = Resolver
|
327
327
|
module.exports.ResolverOld = ResolverOld
|
328
|
-
module.exports.testingRunParcelJsTransformerPlugin = testingRunParcelJsTransformerPlugin
|
329
328
|
module.exports.transform = transform
|
330
329
|
module.exports.transformAsync = transformAsync
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parcel/rust",
|
3
|
-
"version": "2.12.1-canary.
|
3
|
+
"version": "2.12.1-canary.3342+7ee87f7d5",
|
4
4
|
"license": "MIT",
|
5
5
|
"publishConfig": {
|
6
6
|
"access": "public"
|
@@ -40,5 +40,5 @@
|
|
40
40
|
"wasm:build": "cargo build -p parcel-node-bindings --target wasm32-unknown-unknown && cp ../../../target/wasm32-unknown-unknown/debug/parcel_node_bindings.wasm .",
|
41
41
|
"wasm:build-release": "CARGO_PROFILE_RELEASE_LTO=true cargo build -p parcel-node-bindings --target wasm32-unknown-unknown --release && wasm-opt --strip-debug -O ../../../target/wasm32-unknown-unknown/release/parcel_node_bindings.wasm -o parcel_node_bindings.wasm"
|
42
42
|
},
|
43
|
-
"gitHead": "
|
43
|
+
"gitHead": "7ee87f7d588eda1be7bb5279266f274368443d76"
|
44
44
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|