Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@parcel/rust

Package Overview
Dependencies
Maintainers
1
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/rust - npm Package Compare versions

Comparing version 2.12.1-canary.3319 to 2.12.1-canary.3320

26

index.d.ts

@@ -19,3 +19,3 @@ /* tslint:disable */

export interface ParcelNapiBuildOptions {
registerWorker: (...args: any[]) => any
}

@@ -33,3 +33,25 @@ export interface ParcelNapiBuildResult {

}
export function registerWorker(worker: object): void
/**
* This function is run in the Nodejs worker context upon initialization
* to notify the main thread that a Nodejs worker thread has started
*
* A Rust channel is transferred to the worker via JavaScript `worker.postMessage`.
* The worker then calls `register_worker`, supplying it with an object containing
* callbacks.
*
* The callbacks are later called from the main thread to send work to the worker.
*
* |-------------| --- Init channel ----> |-------------------|
* | Main Thread | | Worker Thread (n) |
* |-------------| <-- Worker wrapper --- |-------------------|
*
* **Later During Build**
*
* -- Resolver.resolve -->
* <- DependencyResult ---
*
* -- Transf.transform -->
* <--- Array<Asset> -----
*/
export function registerWorker(channel: JsTransferable, worker: object): void
export interface JsFileSystemOptions {

@@ -36,0 +58,0 @@ canonicalize: (...args: any[]) => any

4

package.json
{
"name": "@parcel/rust",
"version": "2.12.1-canary.3319+7fd97e461",
"version": "2.12.1-canary.3320+8cc5c8f48",
"license": "MIT",

@@ -43,3 +43,3 @@ "publishConfig": {

},
"gitHead": "7fd97e461582aa2cf22ed6cc7f3f788da63edd09"
"gitHead": "8cc5c8f4826882f8f066b3efff751324c3b9986c"
}

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc