New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@rspack/binding

Package Overview
Dependencies
Maintainers
2
Versions
1108
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 0.0.0-d85a152f17-20221125024647 to 0.0.0-e859caeee2-20221212102225

58

binding.d.ts

@@ -17,4 +17,10 @@ /* tslint:disable */

*/
presetEnv: Array<string>
presetEnv?: Array<string>
modules?: RawCssModulesConfig
}
export interface RawCssModulesConfig {
localsConvention?: string
localIdentName?: string
exportsOnly?: boolean
}
export interface RawDecoratorOptions {

@@ -75,2 +81,6 @@ legacy: boolean

}
export interface Minification {
passes?: number
enable?: boolean
}
export interface RawBuiltins {

@@ -80,3 +90,3 @@ html?: Array<RawHtmlPluginConfig>

postcss?: RawPostCssConfig
minify?: boolean
minify?: Minification
polyfill?: boolean

@@ -86,2 +96,3 @@ browserslist?: Array<string>

treeShaking?: boolean
sideEffects?: boolean
progress?: RawProgressPluginConfig

@@ -91,5 +102,23 @@ react?: RawReactOptions

}
export interface RawCacheOptions {
cacheType: string
maxGenerations: number
maxAge: number
profile: boolean
buildDependencies: Array<string>
cacheDirectory: string
cacheLocation: string
name: string
version: string
}
export interface RawDevServer {
hot?: boolean
}
export interface RawEntryItem {
import: Array<string>
runtime?: string
}
export interface RawExperiments {
lazyCompilation: boolean
}
/**

@@ -129,2 +158,4 @@ * `loader` is for js side loader, `builtin_loader` is for rust side loader,

test?: RawModuleRuleCondition
include?: Array<RawModuleRuleCondition>
exclude?: Array<RawModuleRuleCondition>
/**

@@ -141,3 +172,3 @@ * A condition matcher matching an absolute path.

func?: (...args: any[]) => any
uses?: Array<RawModuleRuleUse>
use?: Array<RawModuleRuleUse>
type?: "js" | "jsx" | "ts" | "tsx" | "css" | "json" | "asset" | "asset/resource" | "asset/source" | "asset/inline"

@@ -160,2 +191,3 @@ }

splitChunks?: RawSplitChunksOptions
moduleIds?: string
}

@@ -168,3 +200,6 @@ export interface RawOutputOptions {

chunkFilename?: string
cssFilename?: string
cssChunkFilename?: string
uniqueName?: string
library?: string
}

@@ -180,4 +215,14 @@ export interface RawResolveOptions {

symlinks?: boolean
tsconfig?: string
tsConfigPath?: string
}
export interface RawSnapshotStrategy {
hash: boolean
timestamp: boolean
}
export interface RawSnapshotOptions {
resolveBuildDependencies: RawSnapshotStrategy
buildDependencies: RawSnapshotStrategy
resolve: RawSnapshotStrategy
module: RawSnapshotStrategy
}
export interface RawSplitChunksOptions {

@@ -198,3 +243,3 @@ cacheGroups?: Record<string, RawCacheGroupOptions>

export interface RawOptions {
entry?: Record<string, string>
entry?: Record<string, RawEntryItem>
mode?: string

@@ -213,2 +258,5 @@ target?: string[]

devServer?: RawDevServer
snapshot?: RawSnapshotOptions
cache?: RawCacheOptions
experiments?: RawExperiments
}

@@ -215,0 +263,0 @@ export interface JsAssetInfoRelated {

3

package.json
{
"name": "@rspack/binding",
"version": "0.0.0-d85a152f17-20221125024647",
"version": "0.0.0-e859caeee2-20221212102225",
"description": "Node binding for rspack",

@@ -25,2 +25,3 @@ "main": "binding.js",

"build:debug": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json",
"build:debug:x64": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json --target x86_64-apple-darwin",
"build:release:all": "run-p build:release build:release:x64 build:release:linux",

@@ -27,0 +28,0 @@ "build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json",

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