Socket
Socket
Sign inDemoInstall

@rsbuild/plugin-node-polyfill

Package Overview
Dependencies
Maintainers
0
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rsbuild/plugin-node-polyfill - npm Package Compare versions

Comparing version 0.7.10 to 1.0.0-alpha.0

dist/libs.d.ts

12

dist/index.d.ts

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

import { RsbuildPlugin } from '@rsbuild/core';
import type { RsbuildPlugin } from '@rsbuild/core';
type Globals = {

@@ -7,3 +6,3 @@ process?: boolean;

};
type PluginNodePolyfillOptions = {
export type PluginNodePolyfillOptions = {
/**

@@ -25,5 +24,4 @@ * Whether to provide polyfill of globals.

};
declare const PLUGIN_NODE_POLYFILL_NAME = "rsbuild:node-polyfill";
declare function pluginNodePolyfill(options?: PluginNodePolyfillOptions): RsbuildPlugin;
export { PLUGIN_NODE_POLYFILL_NAME, type PluginNodePolyfillOptions, pluginNodePolyfill };
export declare const PLUGIN_NODE_POLYFILL_NAME = "rsbuild:node-polyfill";
export declare function pluginNodePolyfill(options?: PluginNodePolyfillOptions): RsbuildPlugin;
export {};

@@ -21,7 +21,7 @@ import { createRequire } from 'module';

// ../../node_modules/.pnpm/@modern-js+module-tools@2.52.0_eslint@9.5.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js
// ../../node_modules/.pnpm/@modern-js+module-tools@2.54.5_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js
import { fileURLToPath } from "url";
import path from "path";
var init_esm = __esm({
"../../node_modules/.pnpm/@modern-js+module-tools@2.52.0_eslint@9.5.0_typescript@5.4.5/node_modules/@modern-js/module-tools/shims/esm.js"() {
"../../node_modules/.pnpm/@modern-js+module-tools@2.54.5_eslint@9.6.0_typescript@5.5.2/node_modules/@modern-js/module-tools/shims/esm.js"() {
"use strict";

@@ -28,0 +28,0 @@ }

{
"name": "@rsbuild/plugin-node-polyfill",
"version": "0.7.10",
"version": "1.0.0-alpha.0",
"description": "Node polyfill plugin for Rsbuild",

@@ -51,7 +51,7 @@ "homepage": "https://rsbuild.dev",

"devDependencies": {
"typescript": "^5.4.2",
"@rsbuild/core": "0.7.10"
"typescript": "^5.5.2",
"@rsbuild/core": "1.0.0-alpha.0"
},
"peerDependencies": {
"@rsbuild/core": "^0.7.10"
"@rsbuild/core": "^1.0.0-alpha.0"
},

@@ -58,0 +58,0 @@ "publishConfig": {

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