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

@parcel/rust

Package Overview
Dependencies
Maintainers
0
Versions
267
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-dev.3275 to 2.12.1-dev.3303

31

index.d.ts

@@ -18,2 +18,27 @@ /* tslint:disable */

export function optimizeImage(kind: string, buf: Buffer): Buffer
/**
* JavaScript provided options to configure the `tracing_subscriber` rust logs into a file or the
* console.
*/
export interface ParcelTracingOptions {
/** Enable tracing */
enabled: boolean
/**
* If set to some, will trace to a file with the given options, otherwise the console will be
* used.
*/
outputFileOptions?: ParcelTracingOutputFileOptions
}
/**
* Output file configuration.
* Tracing log files will be rotated hourly on the provided directory.
*/
export interface ParcelTracingOutputFileOptions {
/** The directory where the log files will be written. */
directory: string
/** A prefix for the log file names. */
prefix: string
/** The maximum number of rotated files to keep. */
maxFiles: number
}
export interface ParcelNapiBuildOptions {

@@ -29,5 +54,5 @@

fs?: object
rpc: (...args: any[]) => any
tracingOptions?: ParcelTracingOptions
}
export function workerCallback(callback: (...args: any[]) => any): void
export function registerWorker(worker: object): void
export interface JsFileSystemOptions {

@@ -81,2 +106,3 @@ canonicalize: (...args: any[]) => any

}
export function testingRunParcelJsTransformerPlugin(targetPath: string): unknown
export function transform(opts: object): unknown

@@ -97,3 +123,2 @@ export function transformAsync(opts: object): object

testingTempFsIsDir(path: string): Promise<boolean>
testingRpcPing(): Promise<void>
}

@@ -100,0 +125,0 @@ export class Resolver {

5

index.js

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

const { initSentry, closeSentry, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, ParcelNapi, workerCallback, Resolver, transform, transformAsync } = nativeBinding
const { initSentry, closeSentry, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, ParcelNapi, registerWorker, Resolver, testingRunParcelJsTransformerPlugin, transform, transformAsync } = nativeBinding

@@ -326,5 +326,6 @@ module.exports.initSentry = initSentry

module.exports.ParcelNapi = ParcelNapi
module.exports.workerCallback = workerCallback
module.exports.registerWorker = registerWorker
module.exports.Resolver = Resolver
module.exports.testingRunParcelJsTransformerPlugin = testingRunParcelJsTransformerPlugin
module.exports.transform = transform
module.exports.transformAsync = transformAsync
{
"name": "@parcel/rust",
"version": "2.12.1-dev.3275+8b017703f",
"version": "2.12.1-dev.3303+3edb0d741",
"license": "MIT",

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

},
"gitHead": "8b017703fdf4a90a643ce0190cdd7482060dc86b"
"gitHead": "3edb0d7419831e49cfa7ea8c52b4f7127a16ae52"
}

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