@parcel/rust
Advanced tools
Comparing version 2.12.1-canary.3245 to 2.12.1-canary.3247
@@ -12,48 +12,2 @@ /* tslint:disable */ | ||
export function closeSentry(): void | ||
/** | ||
* JavaScript API for running a config request. | ||
* At the moment the request fields themselves will be copied on call. | ||
* | ||
* This is not efficient but can be worked around when it becomes an issue. | ||
* | ||
* This should have exhaustive unit-tests on `packages/core/core/test/requests/ConfigRequest.test.js`. | ||
*/ | ||
export function napiRunConfigRequest(configRequest: ConfigRequest, api: object, options: object): void | ||
/** napi entry-point for `run_entry_request`. */ | ||
export function napiRunEntryRequest(entryRequest: EntryRequestInput, api: object, options: object): EntryResult | ||
export interface ConfigKeyChange { | ||
filePath: ProjectPath | ||
configKey: string | ||
} | ||
export interface InternalFileCreateInvalidation { | ||
filePath?: ProjectPath | ||
glob?: InternalGlob | ||
fileName?: string | ||
aboveFilePath?: ProjectPath | ||
} | ||
export interface ConfigRequest { | ||
id: string | ||
invalidateOnFileChange: Array<ProjectPath> | ||
invalidateOnConfigKeyChange: Array<ConfigKeyChange> | ||
invalidateOnFileCreate: Array<InternalFileCreateInvalidation> | ||
invalidateOnEnvChange: Array<string> | ||
invalidateOnOptionChange: Array<string> | ||
invalidateOnStartup: boolean | ||
invalidateOnBuild: boolean | ||
} | ||
export interface RequestOptions { | ||
} | ||
export interface Entry { | ||
filePath: ProjectPath | ||
packagePath: ProjectPath | ||
} | ||
export interface EntryResult { | ||
entries: Array<Entry> | ||
files: Array<ProjectPath> | ||
globs: Array<string> | ||
} | ||
export interface EntryRequestInput { | ||
projectPath: string | ||
} | ||
export function findAncestorFile(filenames: Array<string>, from: string, root: string): string | null | ||
@@ -60,0 +14,0 @@ export function findFirstFile(names: Array<string>): string | null |
@@ -298,8 +298,6 @@ /* tslint:disable */ | ||
const { initSentry, closeSentry, napiRunConfigRequest, napiRunEntryRequest, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, Resolver, transform, transformAsync } = nativeBinding | ||
const { initSentry, closeSentry, findAncestorFile, findFirstFile, findNodeModule, hashString, hashBuffer, Hash, optimizeImage, Resolver, transform, transformAsync } = nativeBinding | ||
module.exports.initSentry = initSentry | ||
module.exports.closeSentry = closeSentry | ||
module.exports.napiRunConfigRequest = napiRunConfigRequest | ||
module.exports.napiRunEntryRequest = napiRunEntryRequest | ||
module.exports.findAncestorFile = findAncestorFile | ||
@@ -306,0 +304,0 @@ module.exports.findFirstFile = findFirstFile |
{ | ||
"name": "@parcel/rust", | ||
"version": "2.12.1-canary.3245+062993bab", | ||
"version": "2.12.1-canary.3247+7fb3eb824", | ||
"license": "MIT", | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "062993bab608c05a92027bc56da4f1192e8a97ed" | ||
"gitHead": "7fb3eb82493dbb01c6da245b62b35844dedb89fc" | ||
} |
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
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
254955205
429