@digitak/esrun
Advanced tools
Comparing version 3.2.23 to 3.2.24
{ | ||
"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; | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32732
577
7