Socket
Socket
Sign inDemoInstall

modern-node-polyfills

Package Overview
Dependencies
3
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

1

dist/global.js

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

"use strict";
import "./chunk-EZUCZHGV.js";

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

8

dist/index.d.ts
import { RollupInjectOptions as RollupInjectOptions$1 } from '@rollup/plugin-inject';
declare type RollupInjectOptions = Pick<RollupInjectOptions$1 & {
type RollupInjectOptions = Pick<RollupInjectOptions$1 & {
expressions?: {

@@ -11,3 +11,3 @@ [str: string]: string;

declare function polyfillContent(mod: string): Promise<string>;
declare type Globals = {
type Globals = {
__filename?: string;

@@ -17,4 +17,4 @@ __dirname?: string;

declare function inject(content: string, options: RollupInjectOptions, id?: string): Promise<string>;
declare type InjectmentWithNull = string | [string, string] | null;
declare type Modules = Partial<{
type InjectmentWithNull = string | [string, string] | null;
type Modules = Partial<{
process: InjectmentWithNull;

@@ -21,0 +21,0 @@ Buffer: InjectmentWithNull;

{
"name": "modern-node-polyfills",
"version": "0.1.0",
"version": "0.1.1",
"description": "modern polyfills for node native modules based on jspm-core",

@@ -41,16 +41,16 @@ "type": "module",

"@jspm/core": "2.0.0-beta.24",
"@rollup/plugin-inject": "^4.0.4",
"acorn": "^8.8.0",
"esbuild": "^0.14.47",
"local-pkg": "^0.4.1",
"rollup": "^2.75.7"
"esbuild": "^0.14.54",
"local-pkg": "^0.4.3"
},
"devDependencies": {
"@rollup/plugin-inject": "^4.0.4",
"@rollup/pluginutils": "^3.1.0",
"@types/node": "^18.0.0",
"estree-walker": "^2.0.1",
"magic-string": "^0.25.7",
"resolve.exports": "^1.1.0",
"tsup": "^6.1.3",
"typescript": "^4.7.4",
"@types/node": "^18.15.13",
"acorn": "^8.8.2",
"estree-walker": "^2.0.2",
"magic-string": "^0.25.9",
"resolve.exports": "^1.1.1",
"rollup": "^2.79.1",
"tsup": "^6.7.0",
"typescript": "^4.9.5",
"vitest": "^0.16.0"

@@ -57,0 +57,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc