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
284
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.3245 to 2.12.1-canary.3247

46

index.d.ts

@@ -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

4

index.js

@@ -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

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