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

@rspack/binding

Package Overview
Dependencies
Maintainers
2
Versions
1105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rspack/binding - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

52

binding.d.ts

@@ -30,2 +30,3 @@ /* auto-generated by NAPI-RS */

getChunks(): Array<JsChunk>
getNamedChunkKeys(): Array<string>
getNamedChunk(name: string): JsChunk | null

@@ -450,2 +451,8 @@ setAssetSource(name: string, source: JsCompatSource): void

export interface JsResolveArgs {
request: string
context: string
issuer: string
}
export interface JsResolveForSchemeArgs {

@@ -769,6 +776,6 @@ resourceData: JsResourceData

minChunks?: number
minSize?: number
maxSize?: number
maxAsyncSize?: number
maxInitialSize?: number
minSize?: number | RawSplitChunkSizes
maxSize?: number | RawSplitChunkSizes
maxAsyncSize?: number | RawSplitChunkSizes
maxInitialSize?: number | RawSplitChunkSizes
name?: string | false | Function

@@ -989,6 +996,6 @@ reuseExistingChunk?: boolean

chunks?: RegExp | 'async' | 'initial' | 'all'
minSize?: number
maxSize?: number
maxAsyncSize?: number
maxInitialSize?: number
minSize?: number | RawSplitChunkSizes
maxSize?: number | RawSplitChunkSizes
maxAsyncSize?: number | RawSplitChunkSizes
maxInitialSize?: number | RawSplitChunkSizes
automaticNameDelimiter?: string

@@ -1063,2 +1070,3 @@ }

dynamicImportPrefetch: string
dynamicImportFetchPriority?: string
url: string

@@ -1435,2 +1443,6 @@ exprContextCritical: boolean

export interface RawSplitChunkSizes {
sizes: Record<string, number>
}
export interface RawSplitChunksOptions {

@@ -1448,8 +1460,8 @@ fallbackCacheGroup?: RawFallbackCacheGroupOptions

hidePathInfo?: boolean
minSize?: number
minSize?: number | RawSplitChunkSizes
enforceSizeThreshold?: number
minRemainingSize?: number
maxSize?: number
maxAsyncSize?: number
maxInitialSize?: number
minRemainingSize?: number | RawSplitChunkSizes
maxSize?: number | RawSplitChunkSizes
maxAsyncSize?: number | RawSplitChunkSizes
maxInitialSize?: number | RawSplitChunkSizes
}

@@ -1524,8 +1536,9 @@

NormalModuleFactoryFactorize = 25,
NormalModuleFactoryAfterResolve = 26,
NormalModuleFactoryCreateModule = 27,
NormalModuleFactoryResolveForScheme = 28,
ContextModuleFactoryBeforeResolve = 29,
ContextModuleFactoryAfterResolve = 30,
JavascriptModulesChunkHash = 31
NormalModuleFactoryResolve = 26,
NormalModuleFactoryAfterResolve = 27,
NormalModuleFactoryCreateModule = 28,
NormalModuleFactoryResolveForScheme = 29,
ContextModuleFactoryBeforeResolve = 30,
ContextModuleFactoryAfterResolve = 31,
JavascriptModulesChunkHash = 32
}

@@ -1560,2 +1573,3 @@

registerNormalModuleFactoryFactorizeTaps: (stages: Array<number>) => Array<{ function: ((arg: JsFactorizeArgs) => Promise<JsFactorizeArgs>); stage: number; }>
registerNormalModuleFactoryResolveTaps: (stages: Array<number>) => Array<{ function: ((arg: JsResolveArgs) => Promise<JsResolveArgs>); stage: number; }>
registerNormalModuleFactoryResolveForSchemeTaps: (stages: Array<number>) => Array<{ function: ((arg: JsResolveForSchemeArgs) => Promise<[boolean | undefined, JsResolveForSchemeArgs]>); stage: number; }>

@@ -1562,0 +1576,0 @@ registerNormalModuleFactoryAfterResolveTaps: (stages: Array<number>) => Array<{ function: ((arg: JsAfterResolveData) => Promise<[boolean | undefined, JsCreateData | undefined]>); stage: number; }>

{
"name": "@rspack/binding",
"version": "1.0.0-alpha.0",
"version": "1.0.0-alpha.1",
"license": "MIT",

@@ -26,11 +26,11 @@ "description": "Node binding for rspack",

"optionalDependencies": {
"@rspack/binding-darwin-arm64": "1.0.0-alpha.0",
"@rspack/binding-win32-arm64-msvc": "1.0.0-alpha.0",
"@rspack/binding-linux-arm64-gnu": "1.0.0-alpha.0",
"@rspack/binding-linux-arm64-musl": "1.0.0-alpha.0",
"@rspack/binding-win32-ia32-msvc": "1.0.0-alpha.0",
"@rspack/binding-darwin-x64": "1.0.0-alpha.0",
"@rspack/binding-win32-x64-msvc": "1.0.0-alpha.0",
"@rspack/binding-linux-x64-gnu": "1.0.0-alpha.0",
"@rspack/binding-linux-x64-musl": "1.0.0-alpha.0"
"@rspack/binding-win32-arm64-msvc": "1.0.0-alpha.1",
"@rspack/binding-linux-arm64-musl": "1.0.0-alpha.1",
"@rspack/binding-linux-arm64-gnu": "1.0.0-alpha.1",
"@rspack/binding-win32-ia32-msvc": "1.0.0-alpha.1",
"@rspack/binding-darwin-arm64": "1.0.0-alpha.1",
"@rspack/binding-win32-x64-msvc": "1.0.0-alpha.1",
"@rspack/binding-linux-x64-gnu": "1.0.0-alpha.1",
"@rspack/binding-linux-x64-musl": "1.0.0-alpha.1",
"@rspack/binding-darwin-x64": "1.0.0-alpha.1"
},

@@ -37,0 +37,0 @@ "scripts": {

@@ -9,5 +9,4 @@ <picture>

Private node binding crate for rspack.
> Rspack's internal package, don't use it directly in your project, This package does *NOT* follow [semantic versioning](https://semver.org/).
This package does *NOT* follow [semantic versioning](https://semver.org/).
## Documentation

@@ -14,0 +13,0 @@

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