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

@rspack/core

Package Overview
Dependencies
Maintainers
2
Versions
1115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rspack/core - npm Package Compare versions

Comparing version 1.2.7-alpha.0 to 1.2.7

5

dist/builtin-plugin/EntryPlugin.d.ts

@@ -1,2 +0,2 @@

import { BuiltinPluginName, type JsEntryOptions } from "@rspack/binding";
import { BuiltinPluginName, EntryDependency, type JsEntryOptions } from "@rspack/binding";
import type { EntryDescriptionNormalized } from "../config";

@@ -27,5 +27,2 @@ /**

};
interface EntryDependency {
request: string;
}
type EntryPluginType = typeof OriginEntryPlugin & {

@@ -32,0 +29,0 @@ createDependency(entry: string): EntryDependency;

@@ -11,3 +11,3 @@ /**

import type * as binding from "@rspack/binding";
import { type AssetInfo, type ExternalObject, type JsCompilation, type JsRuntimeModule } from "@rspack/binding";
import { type AssetInfo, type Dependency, type ExternalObject, type JsCompilation, type JsRuntimeModule } from "@rspack/binding";
export type { AssetInfo } from "@rspack/binding";

@@ -21,3 +21,2 @@ import * as liteTapable from "@rspack/lite-tapable";

import type { ContextModuleFactory } from "./ContextModuleFactory";
import { Dependency } from "./Dependency";
import { Entrypoint } from "./Entrypoint";

@@ -245,3 +244,3 @@ import { type CodeGenerationResult, Module } from "./Module";

*/
updateAsset(filename: string, newSourceOrFunction: Source | ((source: Source) => Source), assetInfoUpdateOrFunction?: AssetInfo | ((assetInfo: AssetInfo) => AssetInfo)): void;
updateAsset(filename: string, newSourceOrFunction: Source | ((source: Source) => Source), assetInfoUpdateOrFunction?: AssetInfo | ((assetInfo: AssetInfo) => AssetInfo | undefined)): void;
/**

@@ -248,0 +247,0 @@ * Emit an not existing asset. Trying to emit an asset that already exists will throw an error.

6

dist/Compiler.d.ts

@@ -131,4 +131,8 @@ /**

* @param callback - signals when the call finishes
* @param options - additional data like modifiedFiles, removedFiles
*/
run(callback: liteTapable.Callback<Error, Stats>): void;
run(callback: liteTapable.Callback<Error, Stats>, options?: {
modifiedFiles?: ReadonlySet<string>;
removedFiles?: ReadonlySet<string>;
}): void;
runAsChild(callback: (err?: null | Error, entries?: Chunk[], compilation?: Compilation) => any): void;

@@ -135,0 +139,0 @@ purgeInputFileSystem(): void;

@@ -1,3 +0,2 @@

import type { JsDependenciesBlock } from "@rspack/binding";
import { Dependency } from "./Dependency";
import type { Dependency, JsDependenciesBlock } from "@rspack/binding";
export declare class DependenciesBlock {

@@ -4,0 +3,0 @@ #private;

@@ -21,2 +21,3 @@ declare const rspackVersion: string;

export { RuntimeModule } from "./RuntimeModule";
export { EntryDependency, Dependency } from "@rspack/binding";
import * as ModuleFilenameHelpers from "./lib/ModuleFilenameHelpers";

@@ -23,0 +24,0 @@ export { ModuleFilenameHelpers };

@@ -1,6 +0,5 @@

import type { AssetInfo, JsCodegenerationResult, JsContextModuleFactoryAfterResolveData, JsContextModuleFactoryBeforeResolveData, JsCreateData, JsFactoryMeta, JsLibIdentOptions } from "@rspack/binding";
import type { AssetInfo, Dependency, JsCodegenerationResult, JsContextModuleFactoryAfterResolveData, JsContextModuleFactoryBeforeResolveData, JsCreateData, JsFactoryMeta, JsLibIdentOptions } from "@rspack/binding";
import type { JsModule } from "@rspack/binding";
import type { Source } from "../compiled/webpack-sources";
import { DependenciesBlock } from "./DependenciesBlock";
import { Dependency } from "./Dependency";
export type ResourceData = {

@@ -18,3 +17,3 @@ resource: string;

issuer: string;
issuerLayer?: string;
issuerLayer?: string | null;
};

@@ -21,0 +20,0 @@ export type ResolveData = {

@@ -1,3 +0,2 @@

import type { JsModuleGraph } from "@rspack/binding";
import { Dependency } from "./Dependency";
import type { Dependency, JsModuleGraph } from "@rspack/binding";
import { ExportsInfo } from "./ExportsInfo";

@@ -20,2 +19,3 @@ import { Module } from "./Module";

isAsync(module: Module): boolean;
getOutgoingConnectionsInOrder(module: Module): ModuleGraphConnection[];
}

@@ -1,3 +0,2 @@

import type { JsModuleGraphConnection } from "@rspack/binding";
import { Dependency } from "./Dependency";
import type { Dependency, JsModuleGraphConnection } from "@rspack/binding";
import { Module } from "./Module";

@@ -4,0 +3,0 @@ export declare class ModuleGraphConnection {

@@ -65,5 +65,12 @@ /**

watch(watchOptions: WatchOptions, handler: liteTapable.Callback<Error, MultiStats>): MultiWatching;
run(callback: liteTapable.Callback<Error, MultiStats>): void;
/**
* @param callback - signals when the call finishes
* @param options - additional data like modifiedFiles, removedFiles
*/
run(callback: liteTapable.Callback<Error, MultiStats>, options?: {
modifiedFiles?: ReadonlySet<string>;
removedFiles?: ReadonlySet<string>;
}): void;
purgeInputFileSystem(): void;
close(callback: liteTapable.Callback<Error, void>): void;
}
{
"name": "@rspack/core",
"version": "1.2.7-alpha.0",
"version": "1.2.7",
"webpackVersion": "5.75.0",

@@ -60,3 +60,3 @@ "license": "MIT",

"zod-validation-error": "3.4.0",
"@rspack/tracing": "1.2.7-alpha.0"
"@rspack/tracing": "1.2.7"
},

@@ -67,3 +67,3 @@ "dependencies": {

"caniuse-lite": "^1.0.30001700",
"@rspack/binding": "1.2.7-alpha.0"
"@rspack/binding": "1.2.7"
},

@@ -70,0 +70,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

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