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

@digitak/esrun

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitak/esrun - npm Package Compare versions

Comparing version 3.2.23 to 3.2.24

2

package.json
{
"name": "@digitak/esrun",
"version": "3.2.23",
"version": "3.2.24",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Execute directly your Typescript files using Esbuild",

@@ -26,2 +26,3 @@ /// <reference types="node" resolution-mode="require"/>

sudo: boolean;
esbuildOptions: BuildOptions;
protected watched: boolean | string[];

@@ -28,0 +29,0 @@ protected inspect: boolean;

@@ -35,2 +35,4 @@ import { context } from "esbuild";

this.nodeOptions = options?.nodeOptions ?? {};
this.nodeOptions = options?.nodeOptions ?? {};
this.esbuildOptions = options?.esbuildOptions ?? {};
this.sendCodeMode =

@@ -60,3 +62,3 @@ options?.sendCodeMode ?? process.platform === "win32"

}
async build(buildOptions) {
async build(buildOptions = {}) {
const plugins = [];

@@ -91,3 +93,4 @@ if (this.fileConstants) {

: [],
...(buildOptions ?? {}),
...this.esbuildOptions,
...buildOptions,
write: false,

@@ -94,0 +97,0 @@ metafile: true,

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

import { BuildOptions } from "esbuild";
import { Parameter } from "./Parameter.js";

@@ -18,2 +19,3 @@ import { SendCodeMode } from "./SendCodeMode.js";

nodeOptions?: Record<string, Parameter>;
esbuildOptions?: BuildOptions;
};
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