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

@rspack/binding

Package Overview
Dependencies
Maintainers
1
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 0.0.0-28c9a9ca7c-20221122072855 to 0.0.0-2b6f22786b-20221128111122

35

binding.d.ts

@@ -107,8 +107,31 @@ /* tslint:disable */

}
export interface RawModuleRuleCondition {
/** Condition can be either a `string` or `Regexp`. */
type: "string" | "regexp"
/**
* Based on the condition type, the value can be either a `string` or `Regexp`.
* - "string": The value will be matched against the string.
* - "regexp": The value will be matched against the raw regexp source from JS side.
*/
matcher?: string
}
export interface RawModuleRule {
test?: string
resource?: string
resourceQuery?: string
/**
* A condition matcher matching an absolute path.
* - String: To match the input must start with the provided string. I. e. an absolute directory path, or absolute path to the file.
* - Regexp: It's tested with the input.
*/
test?: RawModuleRuleCondition
/**
* A condition matcher matching an absolute path.
* See `test` above
*/
resource?: RawModuleRuleCondition
/**
* A condition matcher against the resource query.
* TODO: align with webpack's `?` prefixed `resourceQuery`
*/
resourceQuery?: RawModuleRuleCondition
func?: (...args: any[]) => any
uses?: Array<RawModuleRuleUse>
use?: Array<RawModuleRuleUse>
type?: "js" | "jsx" | "ts" | "tsx" | "css" | "json" | "asset" | "asset/resource" | "asset/source" | "asset/inline"

@@ -138,2 +161,4 @@ }

chunkFilename?: string
cssFilename?: string
cssChunkFilename?: string
uniqueName?: string

@@ -150,3 +175,3 @@ }

symlinks?: boolean
tsconfig?: string
tsConfigPath?: string
}

@@ -153,0 +178,0 @@ export interface RawSplitChunksOptions {

9

package.json
{
"name": "@rspack/binding",
"version": "0.0.0-28c9a9ca7c-20221122072855",
"version": "0.0.0-2b6f22786b-20221128111122",
"description": "Node binding for rspack",

@@ -20,7 +20,8 @@ "main": "binding.js",

"@napi-rs/cli": "^2.6.2",
"why-is-node-running": "2.2.1"
"why-is-node-running": "2.2.1",
"npm-run-all": "4.1.5"
},
"scripts": {
"build": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json",
"build:release:all": "pnpm build:release && pnpm build:release:x64 && pnpm build:release:linux",
"build:debug": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json",
"build:release:all": "run-p build:release build:release:x64 build:release:linux",
"build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json",

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

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