@netlify/edge-bundler
Advanced tools
Comparing version 1.9.0 to 1.10.0
@@ -9,3 +9,3 @@ import { ExecaChildProcess } from 'execa'; | ||
denoDir?: string; | ||
logger: Logger; | ||
logger?: Logger; | ||
onAfterDownload?: OnAfterDownloadHook; | ||
@@ -12,0 +12,0 @@ onBeforeDownload?: OnBeforeDownloadHook; |
@@ -8,2 +8,3 @@ import { promises as fs } from 'fs'; | ||
import { getPathInHome } from './home_path.js'; | ||
import { getLogger } from './logger.js'; | ||
import { getBinaryExtension } from './platform.js'; | ||
@@ -14,11 +15,11 @@ const DENO_VERSION_FILE = 'version.txt'; | ||
constructor(options) { | ||
var _a, _b, _c, _d; | ||
var _a, _b, _c, _d, _e; | ||
this.cacheDirectory = (_a = options.cacheDirectory) !== null && _a !== void 0 ? _a : getPathInHome('deno-cli'); | ||
this.debug = (_b = options.debug) !== null && _b !== void 0 ? _b : false; | ||
this.denoDir = options.denoDir; | ||
this.logger = options.logger; | ||
this.logger = (_c = options.logger) !== null && _c !== void 0 ? _c : getLogger(undefined, options.debug); | ||
this.onAfterDownload = options.onAfterDownload; | ||
this.onBeforeDownload = options.onBeforeDownload; | ||
this.useGlobal = (_c = options.useGlobal) !== null && _c !== void 0 ? _c : true; | ||
this.versionRange = (_d = options.versionRange) !== null && _d !== void 0 ? _d : DENO_VERSION_RANGE; | ||
this.useGlobal = (_d = options.useGlobal) !== null && _d !== void 0 ? _d : true; | ||
this.versionRange = (_e = options.versionRange) !== null && _e !== void 0 ? _e : DENO_VERSION_RANGE; | ||
} | ||
@@ -25,0 +26,0 @@ async downloadBinary() { |
{ | ||
"name": "@netlify/edge-bundler", | ||
"version": "1.9.0", | ||
"version": "1.10.0", | ||
"description": "Intelligently prepare Netlify Edge Functions for deployment", | ||
@@ -5,0 +5,0 @@ "type": "module", |
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
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
49590
1147