@parcel/rust
Advanced tools
Comparing version 2.12.1-canary.3327 to 2.12.1-canary.3328
@@ -103,2 +103,50 @@ /* tslint:disable */ | ||
} | ||
export interface JsFileSystemOptionsOld { | ||
canonicalize: (...args: any[]) => any | ||
read: (...args: any[]) => any | ||
isFile: (...args: any[]) => any | ||
isDir: (...args: any[]) => any | ||
includeNodeModules?: NapiSideEffectsVariants | ||
} | ||
export interface FileSystemOld { | ||
fs?: JsFileSystemOptionsOld | ||
includeNodeModules?: NapiSideEffectsVariants | ||
conditions?: number | ||
moduleDirResolver?: (...args: any[]) => any | ||
mode: number | ||
entries?: number | ||
extensions?: Array<string> | ||
packageExports: boolean | ||
typescript?: boolean | ||
} | ||
export interface ResolveOptionsOld { | ||
filename: string | ||
specifierType: string | ||
parent: string | ||
packageConditions?: Array<string> | ||
} | ||
export interface FilePathCreateInvalidationOld { | ||
filePath: string | ||
} | ||
export interface FileNameCreateInvalidationOld { | ||
fileName: string | ||
aboveFilePath: string | ||
} | ||
export interface GlobCreateInvalidationOld { | ||
glob: string | ||
} | ||
export interface ResolveResultOld { | ||
resolution: unknown | ||
invalidateOnFileChange: Array<string> | ||
invalidateOnFileCreate: Array<FilePathCreateInvalidationOld | FileNameCreateInvalidationOld | GlobCreateInvalidationOld> | ||
query?: string | ||
sideEffects: boolean | ||
error: unknown | ||
moduleType: number | ||
} | ||
export interface JsInvalidationsOld { | ||
invalidateOnFileChange: Array<string> | ||
invalidateOnFileCreate: Array<FilePathCreateInvalidationOld | FileNameCreateInvalidationOld | GlobCreateInvalidationOld> | ||
invalidateOnStartup: boolean | ||
} | ||
export function testingRunParcelJsTransformerPlugin(targetPath: string): unknown | ||
@@ -127,1 +175,9 @@ export function transform(opts: object): unknown | ||
} | ||
export class ResolverOld { | ||
constructor(projectRoot: string, options: FileSystemOld) | ||
resolve(options: ResolveOptionsOld): ResolveResultOld | ||
resolveAsync(): object | ||
resolveAsync(options: ResolveOptionsOld): object | ||
getInvalidations(path: string): JsInvalidationsOld | ||
getInvalidations(path: string): JsInvalidationsOld | ||
} |
@@ -313,3 +313,3 @@ /* tslint:disable */ | ||
const { initSentry, closeSentry, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, ParcelNapi, registerWorker, Resolver, testingRunParcelJsTransformerPlugin, transform, transformAsync } = nativeBinding | ||
const { initSentry, closeSentry, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, ParcelNapi, registerWorker, Resolver, ResolverOld, testingRunParcelJsTransformerPlugin, transform, transformAsync } = nativeBinding | ||
@@ -328,4 +328,5 @@ module.exports.initSentry = initSentry | ||
module.exports.Resolver = Resolver | ||
module.exports.ResolverOld = ResolverOld | ||
module.exports.testingRunParcelJsTransformerPlugin = testingRunParcelJsTransformerPlugin | ||
module.exports.transform = transform | ||
module.exports.transformAsync = transformAsync |
{ | ||
"name": "@parcel/rust", | ||
"version": "2.12.1-canary.3327+808ad6a34", | ||
"version": "2.12.1-canary.3328+6f80bf156", | ||
"license": "MIT", | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "808ad6a34cf66cc96cc820f2aa46cecb562218f3" | ||
"gitHead": "6f80bf15678673b9633b0de75a1921ff5d1bebb2" | ||
} |
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
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
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
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
275631224
547
11