@atlaspack/rust
Advanced tools
Comparing version 2.12.1-canary.3405 to 2.12.1-canary.3406
@@ -78,2 +78,12 @@ /* tslint:disable */ | ||
export function registerWorker(channel: JsTransferable, worker: object): void | ||
export interface InlineRequiresOptimizerInput { | ||
code: string | ||
sourceMaps: boolean | ||
ignoreModuleIds: Array<string> | ||
} | ||
export interface InlineRequiresOptimizerResult { | ||
code: string | ||
sourceMap?: string | ||
} | ||
export function runInlineRequiresOptimizer(input: InlineRequiresOptimizerInput): InlineRequiresOptimizerResult | ||
export interface JsFileSystemOptions { | ||
@@ -80,0 +90,0 @@ canonicalize: (...args: any[]) => any |
@@ -313,3 +313,3 @@ /* tslint:disable */ | ||
const { initTracingSubscriber, Lmdb, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, AtlaspackNapi, initializeMonitoring, closeMonitoring, registerWorker, Resolver, ResolverOld, transform, transformAsync } = nativeBinding | ||
const { initTracingSubscriber, Lmdb, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, AtlaspackNapi, initializeMonitoring, closeMonitoring, registerWorker, runInlineRequiresOptimizer, Resolver, ResolverOld, transform, transformAsync } = nativeBinding | ||
@@ -329,2 +329,3 @@ module.exports.initTracingSubscriber = initTracingSubscriber | ||
module.exports.registerWorker = registerWorker | ||
module.exports.runInlineRequiresOptimizer = runInlineRequiresOptimizer | ||
module.exports.Resolver = Resolver | ||
@@ -331,0 +332,0 @@ module.exports.ResolverOld = ResolverOld |
{ | ||
"name": "@atlaspack/rust", | ||
"version": "2.12.1-canary.3405+e0110f1d8", | ||
"version": "2.12.1-canary.3406+3f272b43c", | ||
"license": "MIT", | ||
@@ -36,6 +36,7 @@ "publishConfig": { | ||
"build-release": "napi build --platform --release --cargo-cwd ../../../crates/node-bindings", | ||
"test": "mocha", | ||
"wasm:build": "cargo build -p atlaspack-node-bindings --target wasm32-unknown-unknown && cp ../../../target/wasm32-unknown-unknown/debug/atlaspack_node_bindings.wasm .", | ||
"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" | ||
}, | ||
"gitHead": "e0110f1d8f1647eee3086a4ac49a0ffc1c3edb0f" | ||
"gitHead": "3f272b43c6222ff13100e5f3f927fc0c39418b41" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
204047897
608