🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

@rspack/browser

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rspack/browser - npm Package Compare versions

Comparing version
2.0.0-rc.2
to
2.0.0-rc.3
+13
dist/web/JsonpTemplatePlugin.d.ts
/**
* The following code is modified based on
* https://github.com/webpack/webpack/blob/4b4ca3b/lib/web/JsonpTemplatePlugin.js
*
* MIT Licensed
* Author Tobias Koppers @sokra
* Copyright (c) JS Foundation and other contributors
* https://github.com/webpack/webpack/blob/main/LICENSE
*/
import type { Compiler } from '../Compiler';
export default class JsonpTemplatePlugin {
apply(compiler: Compiler): void;
}
/**
* The following code is modified based on
* https://github.com/webpack/webpack/blob/4b4ca3b/lib/webworker/WebWorkerTemplatePlugin.js
*
* MIT Licensed
* Author Tobias Koppers @sokra
* Copyright (c) JS Foundation and other contributors
* https://github.com/webpack/webpack/blob/main/LICENSE
*/
import type { Compiler } from '../Compiler';
export default class WebWorkerTemplatePlugin {
apply(compiler: Compiler): void;
}
+0
-1

@@ -86,3 +86,2 @@ export * from './APIPlugin';

export * from './URLPlugin';
export * from './WebWorkerTemplatePlugin';
export * from './WorkerPlugin';

@@ -13,3 +13,3 @@ /**

import type { ServerOptions } from 'node:https';
import type { Server as ConnectApplication, NextFunction } from 'connect-next';
import type { NextFunction } from 'connect-next';
import type { Filter as ProxyFilter, Options as ProxyOptions } from 'http-proxy-middleware';

@@ -157,3 +157,3 @@ import type { Options as OpenOptions } from 'open';

};
export type DevServerOptions<A extends BasicApplication = ConnectApplication, S extends BasicServer = BasicServer> = {
export type DevServerOptions<A extends BasicApplication = BasicApplication, S extends BasicServer = BasicServer> = {
ipc?: string | boolean;

@@ -160,0 +160,0 @@ host?: DevServerHost;

@@ -60,5 +60,7 @@ declare const rspackVersion: string;

import { FetchCompileAsyncWasmPlugin, lazyCompilationMiddleware, rsc, SubresourceIntegrityPlugin } from './builtin-plugin';
import JsonpTemplatePlugin from './web/JsonpTemplatePlugin';
export { SubresourceIntegrityPlugin };
interface Web {
FetchCompileAsyncWasmPlugin: typeof FetchCompileAsyncWasmPlugin;
JsonpTemplatePlugin: typeof JsonpTemplatePlugin;
}

@@ -102,3 +104,3 @@ export declare const web: Web;

export declare const javascript: JavaScript;
import { WebWorkerTemplatePlugin } from './builtin-plugin';
import WebWorkerTemplatePlugin from './webworker/WebWorkerTemplatePlugin';
interface Webworker {

@@ -105,0 +107,0 @@ WebWorkerTemplatePlugin: typeof WebWorkerTemplatePlugin;

{
"name": "@rspack/browser",
"version": "2.0.0-rc.2",
"version": "2.0.0-rc.3",
"webpackVersion": "5.75.0",

@@ -5,0 +5,0 @@ "license": "MIT",

import { type BuiltinPlugin, BuiltinPluginName } from '../binding';
import type { Compiler } from '../Compiler';
import { RspackBuiltinPlugin } from './base';
export declare class WebWorkerTemplatePlugin extends RspackBuiltinPlugin {
name: BuiltinPluginName;
raw(compiler: Compiler): BuiltinPlugin | undefined;
}

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

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

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

Sorry, the diff of this file is not supported yet