@parcel/rust 2.12.1-canary.3275 → 2.12.1-canary.3279
Sign up to get free protection for your applications and to get access to all the features.
- package/index.d.ts +1 -0
- package/index.js +2 -1
- 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
@@ -76,6 +76,7 @@ export interface JsInvalidations {
|
|
76
76
|
invalidateOnFileCreate: Array<FilePathCreateInvalidation | FileNameCreateInvalidation | GlobCreateInvalidation>
|
77
77
|
invalidateOnStartup: boolean
|
78
78
|
}
|
79
|
+
export function testingRunParcelJsTransformerPlugin(targetPath: string): unknown
|
79
80
|
export function transform(opts: object): unknown
|
80
81
|
export function transformAsync(opts: object): object
|
81
82
|
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 { initSentry, closeSentry, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, ParcelNapi, workerCallback, Resolver, transform, transformAsync } = nativeBinding
|
313
|
+
const { initSentry, closeSentry, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, ParcelNapi, workerCallback, Resolver, testingRunParcelJsTransformerPlugin, transform, transformAsync } = nativeBinding
|
314
314
|
|
315
315
|
module.exports.initSentry = initSentry
|
316
316
|
module.exports.closeSentry = closeSentry
|
@@ -324,5 +324,6 @@ module.exports.optimizeImage = optimizeImage
|
|
324
324
|
module.exports.ParcelNapi = ParcelNapi
|
325
325
|
module.exports.workerCallback = workerCallback
|
326
326
|
module.exports.Resolver = Resolver
|
327
|
+
module.exports.testingRunParcelJsTransformerPlugin = testingRunParcelJsTransformerPlugin
|
327
328
|
module.exports.transform = transform
|
328
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.3279+281efd120",
|
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": "281efd1206b3878139ef2b6b7660eda8f7dfa249"
|
44
44
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|