@parcel/rust
Advanced tools
Comparing version 2.12.1-dev.3275 to 2.12.1-dev.3303
@@ -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 { |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 8 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
265700611
166086
492
3
266
3
7
1