@jsenv/core 40.1.1 → 40.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/build.js +1 -2
- package/dist/jsenv_core_packages.js +250 -1
- package/package.json +2 -2
package/dist/build/build.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { parseHtml, injectHtmlNodeAsEarlyAsPossible, createHtmlNode, stringifyHtmlAst, applyBabelPlugins, generateUrlForInlineContent, parseJsWithAcorn, visitHtmlNodes, analyzeScriptNode, getHtmlNodeText, getHtmlNodeAttribute, getHtmlNodePosition, getUrlForContentInsideHtml, setHtmlNodeAttributes, setHtmlNodeText, parseCssUrls, getHtmlNodeAttributePosition, parseSrcSet, removeHtmlNodeText, parseJsUrls, getUrlForContentInsideJs, analyzeLinkNode, injectJsenvScript, findHtmlNode, removeHtmlNode, insertHtmlNodeAfter } from "@jsenv/ast";
|
|
2
|
-
import { startMonitoringCpuUsage, startMonitoringMemoryUsage } from "@jsenv/os-metrics";
|
|
3
2
|
import { memoryUsage } from "node:process";
|
|
4
3
|
import { readFileSync, existsSync, readdirSync, lstatSync, realpathSync } from "node:fs";
|
|
5
|
-
import { lookupPackageDirectory$1 as lookupPackageDirectory, registerDirectoryLifecycle$1 as registerDirectoryLifecycle, urlToRelativeUrl$1 as urlToRelativeUrl, createDetailedMessage$1 as createDetailedMessage, stringifyUrlSite$1 as stringifyUrlSite, generateContentFrame$1 as generateContentFrame, validateResponseIntegrity$1 as validateResponseIntegrity, urlIsInsideOf$1 as urlIsInsideOf, ensureWindowsDriveLetter$1 as ensureWindowsDriveLetter, setUrlFilename$1 as setUrlFilename, moveUrl$1 as moveUrl, getCallerPosition$1 as getCallerPosition, urlToBasename$1 as urlToBasename, urlToExtension$1 as urlToExtension, asSpecifierWithoutSearch$1 as asSpecifierWithoutSearch, asUrlWithoutSearch$1 as asUrlWithoutSearch, injectQueryParamsIntoSpecifier$1 as injectQueryParamsIntoSpecifier, bufferToEtag$1 as bufferToEtag, isFileSystemPath$1 as isFileSystemPath, urlToPathname$1 as urlToPathname, setUrlBasename$1 as setUrlBasename, urlToFileSystemPath$1 as urlToFileSystemPath, writeFileSync$1 as writeFileSync, createLogger$1 as createLogger, URL_META$1 as URL_META, applyNodeEsmResolution$1 as applyNodeEsmResolution, RUNTIME_COMPAT$1 as RUNTIME_COMPAT, normalizeUrl$1 as normalizeUrl, ANSI$1 as ANSI, CONTENT_TYPE$1 as CONTENT_TYPE, urlToFilename$1 as urlToFilename, DATA_URL$1 as DATA_URL, normalizeImportMap$1 as normalizeImportMap, composeTwoImportMaps$1 as composeTwoImportMaps, resolveImport$1 as resolveImport, JS_QUOTES$1 as JS_QUOTES, defaultLookupPackageScope$1 as defaultLookupPackageScope, defaultReadPackageJson$1 as defaultReadPackageJson, readCustomConditionsFromProcessArgs$1 as readCustomConditionsFromProcessArgs, readEntryStatSync$1 as readEntryStatSync, ensurePathnameTrailingSlash$1 as ensurePathnameTrailingSlash, compareFileUrls$1 as compareFileUrls, applyFileSystemMagicResolution$1 as applyFileSystemMagicResolution, getExtensionsToTry$1 as getExtensionsToTry, setUrlExtension$1 as setUrlExtension, jsenvPluginTranspilation$1 as jsenvPluginTranspilation, renderTable, humanizeFileSize, humanizeDuration, renderDetails, renderBigSection, distributePercentages, humanizeMemory, comparePathnames, UNICODE, escapeRegexpSpecialChars, injectQueryParamIntoSpecifierWithoutEncoding, renderUrlOrRelativeUrlFilename, assertAndNormalizeDirectoryUrl$1 as assertAndNormalizeDirectoryUrl, Abort, raceProcessTeardownEvents, inferRuntimeCompatFromClosestPackage, browserDefaultRuntimeCompat, nodeDefaultRuntimeCompat, clearDirectorySync, createTaskLog$1 as createTaskLog, jsenvPluginBundling, jsenvPluginMinification, ensureEmptyDirectory, jsenvPluginJsModuleFallback, createDynamicLog } from "../jsenv_core_packages.js";
|
|
4
|
+
import { lookupPackageDirectory$1 as lookupPackageDirectory, registerDirectoryLifecycle$1 as registerDirectoryLifecycle, urlToRelativeUrl$1 as urlToRelativeUrl, createDetailedMessage$1 as createDetailedMessage, stringifyUrlSite$1 as stringifyUrlSite, generateContentFrame$1 as generateContentFrame, validateResponseIntegrity$1 as validateResponseIntegrity, urlIsInsideOf$1 as urlIsInsideOf, ensureWindowsDriveLetter$1 as ensureWindowsDriveLetter, setUrlFilename$1 as setUrlFilename, moveUrl$1 as moveUrl, getCallerPosition$1 as getCallerPosition, urlToBasename$1 as urlToBasename, urlToExtension$1 as urlToExtension, asSpecifierWithoutSearch$1 as asSpecifierWithoutSearch, asUrlWithoutSearch$1 as asUrlWithoutSearch, injectQueryParamsIntoSpecifier$1 as injectQueryParamsIntoSpecifier, bufferToEtag$1 as bufferToEtag, isFileSystemPath$1 as isFileSystemPath, urlToPathname$1 as urlToPathname, setUrlBasename$1 as setUrlBasename, urlToFileSystemPath$1 as urlToFileSystemPath, writeFileSync$1 as writeFileSync, createLogger$1 as createLogger, URL_META$1 as URL_META, applyNodeEsmResolution$1 as applyNodeEsmResolution, RUNTIME_COMPAT$1 as RUNTIME_COMPAT, normalizeUrl$1 as normalizeUrl, ANSI$1 as ANSI, CONTENT_TYPE$1 as CONTENT_TYPE, urlToFilename$1 as urlToFilename, DATA_URL$1 as DATA_URL, normalizeImportMap$1 as normalizeImportMap, composeTwoImportMaps$1 as composeTwoImportMaps, resolveImport$1 as resolveImport, JS_QUOTES$1 as JS_QUOTES, defaultLookupPackageScope$1 as defaultLookupPackageScope, defaultReadPackageJson$1 as defaultReadPackageJson, readCustomConditionsFromProcessArgs$1 as readCustomConditionsFromProcessArgs, readEntryStatSync$1 as readEntryStatSync, ensurePathnameTrailingSlash$1 as ensurePathnameTrailingSlash, compareFileUrls$1 as compareFileUrls, applyFileSystemMagicResolution$1 as applyFileSystemMagicResolution, getExtensionsToTry$1 as getExtensionsToTry, setUrlExtension$1 as setUrlExtension, jsenvPluginTranspilation$1 as jsenvPluginTranspilation, renderTable, humanizeFileSize, humanizeDuration, renderDetails, renderBigSection, distributePercentages, humanizeMemory, comparePathnames, UNICODE, escapeRegexpSpecialChars, injectQueryParamIntoSpecifierWithoutEncoding, renderUrlOrRelativeUrlFilename, assertAndNormalizeDirectoryUrl$1 as assertAndNormalizeDirectoryUrl, Abort, raceProcessTeardownEvents, startMonitoringCpuUsage, startMonitoringMemoryUsage, inferRuntimeCompatFromClosestPackage, browserDefaultRuntimeCompat, nodeDefaultRuntimeCompat, clearDirectorySync, createTaskLog$1 as createTaskLog, jsenvPluginBundling, jsenvPluginMinification, ensureEmptyDirectory, jsenvPluginJsModuleFallback, createDynamicLog } from "../jsenv_core_packages.js";
|
|
6
5
|
import { pathToFileURL } from "node:url";
|
|
7
6
|
import { generateSourcemapFileUrl, createMagicSource, composeTwoSourcemaps, generateSourcemapDataUrl, SOURCEMAP } from "@jsenv/sourcemap";
|
|
8
7
|
import { performance } from "node:perf_hooks";
|
|
@@ -9,6 +9,8 @@ import { parseJsUrls, parseHtml, visitHtmlNodes, analyzeScriptNode, getHtmlNodeA
|
|
|
9
9
|
import { createMagicSource, composeTwoSourcemaps, sourcemapConverter } from "@jsenv/sourcemap";
|
|
10
10
|
import { createRequire } from "node:module";
|
|
11
11
|
import { convertJsModuleToJsClassic, systemJsClientFileUrlDefault } from "@jsenv/js-module-fallback";
|
|
12
|
+
import { cpus, totalmem, freemem } from "node:os";
|
|
13
|
+
import { cpuUsage, memoryUsage } from "node:process";
|
|
12
14
|
|
|
13
15
|
/*
|
|
14
16
|
* data:[<mediatype>][;base64],<data>
|
|
@@ -14355,6 +14357,253 @@ const getExtensionsToTry = (magicExtensions, importer) => {
|
|
|
14355
14357
|
return Array.from(extensionsSet.values());
|
|
14356
14358
|
};
|
|
14357
14359
|
|
|
14360
|
+
const startMeasuringTotalCpuUsage = () => {
|
|
14361
|
+
let previousCpuArray = cpus();
|
|
14362
|
+
let previousMs = Date.now();
|
|
14363
|
+
let previousCpuUsage = cpuUsage();
|
|
14364
|
+
|
|
14365
|
+
const overall = {
|
|
14366
|
+
inactive: 100,
|
|
14367
|
+
active: 0,
|
|
14368
|
+
system: 0,
|
|
14369
|
+
user: 0,
|
|
14370
|
+
};
|
|
14371
|
+
const thisProcess = {
|
|
14372
|
+
active: 0,
|
|
14373
|
+
system: 0,
|
|
14374
|
+
user: 0,
|
|
14375
|
+
};
|
|
14376
|
+
const details = previousCpuArray.map(() => {
|
|
14377
|
+
return {
|
|
14378
|
+
inactive: 100,
|
|
14379
|
+
active: 0,
|
|
14380
|
+
system: 0,
|
|
14381
|
+
user: 0,
|
|
14382
|
+
};
|
|
14383
|
+
});
|
|
14384
|
+
|
|
14385
|
+
const samples = [];
|
|
14386
|
+
const interval = setInterval(() => {
|
|
14387
|
+
let cpuArray = cpus();
|
|
14388
|
+
const ms = Date.now();
|
|
14389
|
+
const ellapsedMs = ms - previousMs;
|
|
14390
|
+
const cpuUsageSampleArray = [];
|
|
14391
|
+
let overallSystemMs = 0;
|
|
14392
|
+
let overallUserMs = 0;
|
|
14393
|
+
let overallInactiveMs = 0;
|
|
14394
|
+
let overallActiveMs = 0;
|
|
14395
|
+
let overallMsEllapsed = 0;
|
|
14396
|
+
let index = 0;
|
|
14397
|
+
for (const cpu of cpuArray) {
|
|
14398
|
+
const previousCpuTimes = previousCpuArray[index].times;
|
|
14399
|
+
const cpuTimes = cpu.times;
|
|
14400
|
+
const systemMs = cpuTimes.sys - previousCpuTimes.sys;
|
|
14401
|
+
const userMs = cpuTimes.user - previousCpuTimes.user;
|
|
14402
|
+
const activeMs = systemMs + userMs;
|
|
14403
|
+
const inactiveMs = ellapsedMs - activeMs;
|
|
14404
|
+
const cpuUsageSample = {
|
|
14405
|
+
inactive: inactiveMs / ellapsedMs,
|
|
14406
|
+
active: activeMs / ellapsedMs,
|
|
14407
|
+
system: systemMs / ellapsedMs,
|
|
14408
|
+
user: userMs / ellapsedMs,
|
|
14409
|
+
};
|
|
14410
|
+
cpuUsageSampleArray.push(cpuUsageSample);
|
|
14411
|
+
|
|
14412
|
+
overallSystemMs += systemMs;
|
|
14413
|
+
overallUserMs += userMs;
|
|
14414
|
+
overallInactiveMs += inactiveMs;
|
|
14415
|
+
overallActiveMs += activeMs;
|
|
14416
|
+
overallMsEllapsed += ellapsedMs;
|
|
14417
|
+
index++;
|
|
14418
|
+
}
|
|
14419
|
+
const overallUsageSample = {
|
|
14420
|
+
inactive: overallInactiveMs / overallMsEllapsed,
|
|
14421
|
+
active: overallActiveMs / overallMsEllapsed,
|
|
14422
|
+
system: overallSystemMs / overallMsEllapsed,
|
|
14423
|
+
user: overallUserMs / overallMsEllapsed,
|
|
14424
|
+
};
|
|
14425
|
+
previousCpuArray = cpuArray;
|
|
14426
|
+
previousMs = ms;
|
|
14427
|
+
|
|
14428
|
+
const processCpuUsage = cpuUsage();
|
|
14429
|
+
const thisProcessSystemMs = Math.round(
|
|
14430
|
+
(processCpuUsage.system - previousCpuUsage.system) / 1000,
|
|
14431
|
+
);
|
|
14432
|
+
const thisProcessUserMs = Math.round(
|
|
14433
|
+
(processCpuUsage.user - previousCpuUsage.user) / 1000,
|
|
14434
|
+
);
|
|
14435
|
+
previousCpuUsage = processCpuUsage;
|
|
14436
|
+
|
|
14437
|
+
const thisProcessActiveMs = thisProcessSystemMs + thisProcessUserMs;
|
|
14438
|
+
const thisProcessInactiveMs = overallMsEllapsed - thisProcessActiveMs;
|
|
14439
|
+
const thisProcessSample = {
|
|
14440
|
+
inactive: thisProcessInactiveMs / overallMsEllapsed,
|
|
14441
|
+
active: thisProcessActiveMs / overallMsEllapsed,
|
|
14442
|
+
system: thisProcessSystemMs / overallMsEllapsed,
|
|
14443
|
+
user: thisProcessUserMs / overallMsEllapsed,
|
|
14444
|
+
};
|
|
14445
|
+
samples.push({
|
|
14446
|
+
cpuUsageSampleArray,
|
|
14447
|
+
overallUsageSample,
|
|
14448
|
+
thisProcessSample,
|
|
14449
|
+
});
|
|
14450
|
+
if (samples.length === 10) {
|
|
14451
|
+
{
|
|
14452
|
+
let index = 0;
|
|
14453
|
+
for (const detail of details) {
|
|
14454
|
+
let systemSum = 0;
|
|
14455
|
+
let userSum = 0;
|
|
14456
|
+
let inactiveSum = 0;
|
|
14457
|
+
let activeSum = 0;
|
|
14458
|
+
for (const sample of samples) {
|
|
14459
|
+
const { cpuUsageSampleArray } = sample;
|
|
14460
|
+
const cpuUsageSample = cpuUsageSampleArray[index];
|
|
14461
|
+
inactiveSum += cpuUsageSample.inactive;
|
|
14462
|
+
activeSum += cpuUsageSample.active;
|
|
14463
|
+
systemSum += cpuUsageSample.system;
|
|
14464
|
+
userSum += cpuUsageSample.user;
|
|
14465
|
+
}
|
|
14466
|
+
Object.assign(detail, {
|
|
14467
|
+
inactive: inactiveSum / samples.length,
|
|
14468
|
+
active: activeSum / samples.length,
|
|
14469
|
+
system: systemSum / samples.length,
|
|
14470
|
+
user: userSum / samples.length,
|
|
14471
|
+
});
|
|
14472
|
+
index++;
|
|
14473
|
+
}
|
|
14474
|
+
}
|
|
14475
|
+
{
|
|
14476
|
+
let overallSystemSum = 0;
|
|
14477
|
+
let overallUserSum = 0;
|
|
14478
|
+
let overallInactiveSum = 0;
|
|
14479
|
+
let overallActiveSum = 0;
|
|
14480
|
+
for (const sample of samples) {
|
|
14481
|
+
const { overallUsageSample } = sample;
|
|
14482
|
+
overallSystemSum += overallUsageSample.system;
|
|
14483
|
+
overallUserSum += overallUsageSample.user;
|
|
14484
|
+
overallInactiveSum += overallUsageSample.inactive;
|
|
14485
|
+
overallActiveSum += overallUsageSample.active;
|
|
14486
|
+
}
|
|
14487
|
+
Object.assign(overall, {
|
|
14488
|
+
inactive: overallInactiveSum / samples.length,
|
|
14489
|
+
active: overallActiveSum / samples.length,
|
|
14490
|
+
system: overallSystemSum / samples.length,
|
|
14491
|
+
user: overallUserSum / samples.length,
|
|
14492
|
+
});
|
|
14493
|
+
}
|
|
14494
|
+
{
|
|
14495
|
+
let thisProcessSystemSum = 0;
|
|
14496
|
+
let thisProcessUserSum = 0;
|
|
14497
|
+
let thisProcessInactiveSum = 0;
|
|
14498
|
+
let thisProcessActiveSum = 0;
|
|
14499
|
+
for (const sample of samples) {
|
|
14500
|
+
const { thisProcessSample } = sample;
|
|
14501
|
+
thisProcessSystemSum += thisProcessSample.system;
|
|
14502
|
+
thisProcessUserSum += thisProcessSample.user;
|
|
14503
|
+
thisProcessInactiveSum += thisProcessSample.inactive;
|
|
14504
|
+
thisProcessActiveSum += thisProcessSample.active;
|
|
14505
|
+
}
|
|
14506
|
+
Object.assign(thisProcess, {
|
|
14507
|
+
inactive: thisProcessInactiveSum / samples.length,
|
|
14508
|
+
active: thisProcessActiveSum / samples.length,
|
|
14509
|
+
system: thisProcessSystemSum / samples.length,
|
|
14510
|
+
user: thisProcessUserSum / samples.length,
|
|
14511
|
+
});
|
|
14512
|
+
}
|
|
14513
|
+
samples.length = 0;
|
|
14514
|
+
}
|
|
14515
|
+
}, 15);
|
|
14516
|
+
interval.unref();
|
|
14517
|
+
|
|
14518
|
+
return {
|
|
14519
|
+
overall,
|
|
14520
|
+
thisProcess,
|
|
14521
|
+
details,
|
|
14522
|
+
stop: () => {
|
|
14523
|
+
clearInterval(interval);
|
|
14524
|
+
},
|
|
14525
|
+
};
|
|
14526
|
+
};
|
|
14527
|
+
|
|
14528
|
+
const startMonitoringMetric = (measure) => {
|
|
14529
|
+
const metrics = [];
|
|
14530
|
+
const takeMeasure = () => {
|
|
14531
|
+
const value = measure();
|
|
14532
|
+
metrics.push(value);
|
|
14533
|
+
return value;
|
|
14534
|
+
};
|
|
14535
|
+
|
|
14536
|
+
const info = {
|
|
14537
|
+
start: takeMeasure(),
|
|
14538
|
+
min: null,
|
|
14539
|
+
max: null,
|
|
14540
|
+
median: null,
|
|
14541
|
+
end: null,
|
|
14542
|
+
};
|
|
14543
|
+
return {
|
|
14544
|
+
info,
|
|
14545
|
+
measure: takeMeasure,
|
|
14546
|
+
end: () => {
|
|
14547
|
+
info.end = takeMeasure();
|
|
14548
|
+
metrics.sort((a, b) => a - b);
|
|
14549
|
+
info.min = metrics[0];
|
|
14550
|
+
info.max = metrics[metrics.length - 1];
|
|
14551
|
+
info.median = medianFromSortedArray(metrics);
|
|
14552
|
+
metrics.length = 0;
|
|
14553
|
+
},
|
|
14554
|
+
};
|
|
14555
|
+
};
|
|
14556
|
+
|
|
14557
|
+
const medianFromSortedArray = (array) => {
|
|
14558
|
+
const length = array.length;
|
|
14559
|
+
const isOdd = length % 2 === 1;
|
|
14560
|
+
if (isOdd) {
|
|
14561
|
+
const medianNumberIndex = (length - 1) / 2;
|
|
14562
|
+
const medianNumber = array[medianNumberIndex];
|
|
14563
|
+
return medianNumber;
|
|
14564
|
+
}
|
|
14565
|
+
const rightMiddleNumberIndex = length / 2;
|
|
14566
|
+
const leftMiddleNumberIndex = rightMiddleNumberIndex - 1;
|
|
14567
|
+
const leftMiddleNumber = array[leftMiddleNumberIndex];
|
|
14568
|
+
const rightMiddleNumber = array[rightMiddleNumberIndex];
|
|
14569
|
+
const medianNumber = (leftMiddleNumber + rightMiddleNumber) / 2;
|
|
14570
|
+
return medianNumber;
|
|
14571
|
+
};
|
|
14572
|
+
|
|
14573
|
+
// https://gist.github.com/GaetanoPiazzolla/c40e1ebb9f709d091208e89baf9f4e00
|
|
14574
|
+
|
|
14575
|
+
|
|
14576
|
+
const startMonitoringCpuUsage = () => {
|
|
14577
|
+
const cpuUsage = startMeasuringTotalCpuUsage();
|
|
14578
|
+
const processCpuUsageMonitoring = startMonitoringMetric(() => {
|
|
14579
|
+
return cpuUsage.thisProcess.active;
|
|
14580
|
+
});
|
|
14581
|
+
const osCpuUsageMonitoring = startMonitoringMetric(() => {
|
|
14582
|
+
return cpuUsage.overall.active;
|
|
14583
|
+
});
|
|
14584
|
+
const result = [processCpuUsageMonitoring, osCpuUsageMonitoring];
|
|
14585
|
+
result.stop = cpuUsage.stop;
|
|
14586
|
+
return result;
|
|
14587
|
+
};
|
|
14588
|
+
|
|
14589
|
+
const startMonitoringMemoryUsage = () => {
|
|
14590
|
+
const processMemoryUsageMonitoring = startMonitoringMetric(() => {
|
|
14591
|
+
return memoryUsage().rss;
|
|
14592
|
+
});
|
|
14593
|
+
const osMemoryUsageMonitoring = startMonitoringMetric(() => {
|
|
14594
|
+
const total = totalmem();
|
|
14595
|
+
const free = freemem();
|
|
14596
|
+
return total - free;
|
|
14597
|
+
});
|
|
14598
|
+
const stop = () => {
|
|
14599
|
+
processMemoryUsageMonitoring.stop();
|
|
14600
|
+
osMemoryUsageMonitoring.stop();
|
|
14601
|
+
};
|
|
14602
|
+
const result = [processMemoryUsageMonitoring, osMemoryUsageMonitoring];
|
|
14603
|
+
result.stop = stop;
|
|
14604
|
+
return result;
|
|
14605
|
+
};
|
|
14606
|
+
|
|
14358
14607
|
const fileUrlConverter = {
|
|
14359
14608
|
asFilePath: (fileUrl) => {
|
|
14360
14609
|
const filePath = urlToFileSystemPath(fileUrl);
|
|
@@ -23413,4 +23662,4 @@ const assertAndNormalizeDirectoryUrl = (
|
|
|
23413
23662
|
return value;
|
|
23414
23663
|
};
|
|
23415
23664
|
|
|
23416
|
-
export { ANSI$2 as ANSI, ANSI$1, Abort$1 as Abort, Abort as Abort$1, CONTENT_TYPE$1 as CONTENT_TYPE, CONTENT_TYPE as CONTENT_TYPE$1, DATA_URL$1 as DATA_URL, DATA_URL as DATA_URL$1, JS_QUOTES$1 as JS_QUOTES, JS_QUOTES as JS_QUOTES$1, RUNTIME_COMPAT$1 as RUNTIME_COMPAT, RUNTIME_COMPAT as RUNTIME_COMPAT$1, UNICODE$1 as UNICODE, URL_META$1 as URL_META, URL_META as URL_META$1, applyFileSystemMagicResolution$1 as applyFileSystemMagicResolution, applyFileSystemMagicResolution as applyFileSystemMagicResolution$1, applyNodeEsmResolution$1 as applyNodeEsmResolution, applyNodeEsmResolution as applyNodeEsmResolution$1, asSpecifierWithoutSearch$1 as asSpecifierWithoutSearch, asSpecifierWithoutSearch as asSpecifierWithoutSearch$1, asUrlWithoutSearch$1 as asUrlWithoutSearch, asUrlWithoutSearch as asUrlWithoutSearch$1, assertAndNormalizeDirectoryUrl$2 as assertAndNormalizeDirectoryUrl, assertAndNormalizeDirectoryUrl$1, assertAndNormalizeDirectoryUrl as assertAndNormalizeDirectoryUrl$2, browserDefaultRuntimeCompat, bufferToEtag$1 as bufferToEtag, bufferToEtag as bufferToEtag$1, clearDirectorySync, compareFileUrls$1 as compareFileUrls, compareFileUrls as compareFileUrls$1, comparePathnames, composeTwoImportMaps$1 as composeTwoImportMaps, composeTwoImportMaps as composeTwoImportMaps$1, createDetailedMessage$3 as createDetailedMessage, createDetailedMessage$1, createDynamicLog$1 as createDynamicLog, createLogger$2 as createLogger, createLogger$1, createLogger as createLogger$2, createTaskLog$2 as createTaskLog, createTaskLog$1, createTaskLog as createTaskLog$2, defaultLookupPackageScope$1 as defaultLookupPackageScope, defaultLookupPackageScope as defaultLookupPackageScope$1, defaultReadPackageJson$1 as defaultReadPackageJson, defaultReadPackageJson as defaultReadPackageJson$1, distributePercentages, ensureEmptyDirectory, ensurePathnameTrailingSlash$2 as ensurePathnameTrailingSlash, ensurePathnameTrailingSlash$1, ensureWindowsDriveLetter$1 as ensureWindowsDriveLetter, ensureWindowsDriveLetter as ensureWindowsDriveLetter$1, escapeRegexpSpecialChars, generateContentFrame$1 as generateContentFrame, generateContentFrame as generateContentFrame$1, getCallerPosition$1 as getCallerPosition, getCallerPosition as getCallerPosition$1, getExtensionsToTry$1 as getExtensionsToTry, getExtensionsToTry as getExtensionsToTry$1, humanizeDuration$1 as humanizeDuration, humanizeFileSize, humanizeMemory, inferRuntimeCompatFromClosestPackage, injectQueryParamIntoSpecifierWithoutEncoding, injectQueryParamsIntoSpecifier$1 as injectQueryParamsIntoSpecifier, injectQueryParamsIntoSpecifier as injectQueryParamsIntoSpecifier$1, isFileSystemPath$2 as isFileSystemPath, isFileSystemPath$1, jsenvPluginBundling, jsenvPluginJsModuleFallback, jsenvPluginMinification, jsenvPluginTranspilation$1 as jsenvPluginTranspilation, jsenvPluginTranspilation as jsenvPluginTranspilation$1, lookupPackageDirectory$1 as lookupPackageDirectory, lookupPackageDirectory as lookupPackageDirectory$1, memoizeByFirstArgument, moveUrl$1 as moveUrl, moveUrl as moveUrl$1, nodeDefaultRuntimeCompat, normalizeImportMap$1 as normalizeImportMap, normalizeImportMap as normalizeImportMap$1, normalizeUrl$1 as normalizeUrl, normalizeUrl as normalizeUrl$1, raceProcessTeardownEvents$1 as raceProcessTeardownEvents, raceProcessTeardownEvents as raceProcessTeardownEvents$1, readCustomConditionsFromProcessArgs$1 as readCustomConditionsFromProcessArgs, readCustomConditionsFromProcessArgs as readCustomConditionsFromProcessArgs$1, readEntryStatSync$1 as readEntryStatSync, readEntryStatSync as readEntryStatSync$1, registerDirectoryLifecycle$1 as registerDirectoryLifecycle, registerDirectoryLifecycle as registerDirectoryLifecycle$1, renderBigSection, renderDetails, renderTable, renderUrlOrRelativeUrlFilename, resolveImport$1 as resolveImport, resolveImport as resolveImport$1, setUrlBasename$1 as setUrlBasename, setUrlBasename as setUrlBasename$1, setUrlExtension$1 as setUrlExtension, setUrlExtension as setUrlExtension$1, setUrlFilename$1 as setUrlFilename, setUrlFilename as setUrlFilename$1, stringifyUrlSite$1 as stringifyUrlSite, stringifyUrlSite as stringifyUrlSite$1, urlIsInsideOf$1 as urlIsInsideOf, urlIsInsideOf as urlIsInsideOf$1, urlToBasename$1 as urlToBasename, urlToBasename as urlToBasename$1, urlToExtension$4 as urlToExtension, urlToExtension$2 as urlToExtension$1, urlToExtension as urlToExtension$2, urlToFileSystemPath$1 as urlToFileSystemPath, urlToFileSystemPath as urlToFileSystemPath$1, urlToFilename$3 as urlToFilename, urlToFilename$1, urlToPathname$4 as urlToPathname, urlToPathname$2 as urlToPathname$1, urlToPathname as urlToPathname$2, urlToRelativeUrl$1 as urlToRelativeUrl, urlToRelativeUrl as urlToRelativeUrl$1, validateResponseIntegrity$1 as validateResponseIntegrity, validateResponseIntegrity as validateResponseIntegrity$1, writeFileSync$1 as writeFileSync, writeFileSync as writeFileSync$1 };
|
|
23665
|
+
export { ANSI$2 as ANSI, ANSI$1, Abort$1 as Abort, Abort as Abort$1, CONTENT_TYPE$1 as CONTENT_TYPE, CONTENT_TYPE as CONTENT_TYPE$1, DATA_URL$1 as DATA_URL, DATA_URL as DATA_URL$1, JS_QUOTES$1 as JS_QUOTES, JS_QUOTES as JS_QUOTES$1, RUNTIME_COMPAT$1 as RUNTIME_COMPAT, RUNTIME_COMPAT as RUNTIME_COMPAT$1, UNICODE$1 as UNICODE, URL_META$1 as URL_META, URL_META as URL_META$1, applyFileSystemMagicResolution$1 as applyFileSystemMagicResolution, applyFileSystemMagicResolution as applyFileSystemMagicResolution$1, applyNodeEsmResolution$1 as applyNodeEsmResolution, applyNodeEsmResolution as applyNodeEsmResolution$1, asSpecifierWithoutSearch$1 as asSpecifierWithoutSearch, asSpecifierWithoutSearch as asSpecifierWithoutSearch$1, asUrlWithoutSearch$1 as asUrlWithoutSearch, asUrlWithoutSearch as asUrlWithoutSearch$1, assertAndNormalizeDirectoryUrl$2 as assertAndNormalizeDirectoryUrl, assertAndNormalizeDirectoryUrl$1, assertAndNormalizeDirectoryUrl as assertAndNormalizeDirectoryUrl$2, browserDefaultRuntimeCompat, bufferToEtag$1 as bufferToEtag, bufferToEtag as bufferToEtag$1, clearDirectorySync, compareFileUrls$1 as compareFileUrls, compareFileUrls as compareFileUrls$1, comparePathnames, composeTwoImportMaps$1 as composeTwoImportMaps, composeTwoImportMaps as composeTwoImportMaps$1, createDetailedMessage$3 as createDetailedMessage, createDetailedMessage$1, createDynamicLog$1 as createDynamicLog, createLogger$2 as createLogger, createLogger$1, createLogger as createLogger$2, createTaskLog$2 as createTaskLog, createTaskLog$1, createTaskLog as createTaskLog$2, defaultLookupPackageScope$1 as defaultLookupPackageScope, defaultLookupPackageScope as defaultLookupPackageScope$1, defaultReadPackageJson$1 as defaultReadPackageJson, defaultReadPackageJson as defaultReadPackageJson$1, distributePercentages, ensureEmptyDirectory, ensurePathnameTrailingSlash$2 as ensurePathnameTrailingSlash, ensurePathnameTrailingSlash$1, ensureWindowsDriveLetter$1 as ensureWindowsDriveLetter, ensureWindowsDriveLetter as ensureWindowsDriveLetter$1, escapeRegexpSpecialChars, generateContentFrame$1 as generateContentFrame, generateContentFrame as generateContentFrame$1, getCallerPosition$1 as getCallerPosition, getCallerPosition as getCallerPosition$1, getExtensionsToTry$1 as getExtensionsToTry, getExtensionsToTry as getExtensionsToTry$1, humanizeDuration$1 as humanizeDuration, humanizeFileSize, humanizeMemory, inferRuntimeCompatFromClosestPackage, injectQueryParamIntoSpecifierWithoutEncoding, injectQueryParamsIntoSpecifier$1 as injectQueryParamsIntoSpecifier, injectQueryParamsIntoSpecifier as injectQueryParamsIntoSpecifier$1, isFileSystemPath$2 as isFileSystemPath, isFileSystemPath$1, jsenvPluginBundling, jsenvPluginJsModuleFallback, jsenvPluginMinification, jsenvPluginTranspilation$1 as jsenvPluginTranspilation, jsenvPluginTranspilation as jsenvPluginTranspilation$1, lookupPackageDirectory$1 as lookupPackageDirectory, lookupPackageDirectory as lookupPackageDirectory$1, memoizeByFirstArgument, moveUrl$1 as moveUrl, moveUrl as moveUrl$1, nodeDefaultRuntimeCompat, normalizeImportMap$1 as normalizeImportMap, normalizeImportMap as normalizeImportMap$1, normalizeUrl$1 as normalizeUrl, normalizeUrl as normalizeUrl$1, raceProcessTeardownEvents$1 as raceProcessTeardownEvents, raceProcessTeardownEvents as raceProcessTeardownEvents$1, readCustomConditionsFromProcessArgs$1 as readCustomConditionsFromProcessArgs, readCustomConditionsFromProcessArgs as readCustomConditionsFromProcessArgs$1, readEntryStatSync$1 as readEntryStatSync, readEntryStatSync as readEntryStatSync$1, registerDirectoryLifecycle$1 as registerDirectoryLifecycle, registerDirectoryLifecycle as registerDirectoryLifecycle$1, renderBigSection, renderDetails, renderTable, renderUrlOrRelativeUrlFilename, resolveImport$1 as resolveImport, resolveImport as resolveImport$1, setUrlBasename$1 as setUrlBasename, setUrlBasename as setUrlBasename$1, setUrlExtension$1 as setUrlExtension, setUrlExtension as setUrlExtension$1, setUrlFilename$1 as setUrlFilename, setUrlFilename as setUrlFilename$1, startMonitoringCpuUsage, startMonitoringMemoryUsage, stringifyUrlSite$1 as stringifyUrlSite, stringifyUrlSite as stringifyUrlSite$1, urlIsInsideOf$1 as urlIsInsideOf, urlIsInsideOf as urlIsInsideOf$1, urlToBasename$1 as urlToBasename, urlToBasename as urlToBasename$1, urlToExtension$4 as urlToExtension, urlToExtension$2 as urlToExtension$1, urlToExtension as urlToExtension$2, urlToFileSystemPath$1 as urlToFileSystemPath, urlToFileSystemPath as urlToFileSystemPath$1, urlToFilename$3 as urlToFilename, urlToFilename$1, urlToPathname$4 as urlToPathname, urlToPathname$2 as urlToPathname$1, urlToPathname as urlToPathname$2, urlToRelativeUrl$1 as urlToRelativeUrl, urlToRelativeUrl as urlToRelativeUrl$1, validateResponseIntegrity$1 as validateResponseIntegrity, validateResponseIntegrity as validateResponseIntegrity$1, writeFileSync$1 as writeFileSync, writeFileSync as writeFileSync$1 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "40.1.
|
|
3
|
+
"version": "40.1.3",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@jsenv/plugin-bundling": "2.8.7",
|
|
89
89
|
"@jsenv/plugin-minification": "1.6.2",
|
|
90
90
|
"@jsenv/plugin-supervisor": "1.6.12",
|
|
91
|
-
"@jsenv/plugin-transpilation": "1.5.
|
|
91
|
+
"@jsenv/plugin-transpilation": "1.5.9",
|
|
92
92
|
"@jsenv/server": "16.0.6",
|
|
93
93
|
"@jsenv/sourcemap": "1.3.4",
|
|
94
94
|
"@jsenv/url-meta": "8.5.6",
|