@jsenv/core 40.12.4 → 40.12.6
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
CHANGED
|
@@ -4,7 +4,7 @@ import { jsenvPluginMinification } from "@jsenv/plugin-minification";
|
|
|
4
4
|
import { jsenvPluginTranspilation, jsenvPluginJsModuleFallback } from "@jsenv/plugin-transpilation";
|
|
5
5
|
import { memoryUsage } from "node:process";
|
|
6
6
|
import { readFileSync, existsSync, readdirSync, lstatSync, realpathSync } from "node:fs";
|
|
7
|
-
import { lookupPackageDirectory, registerDirectoryLifecycle, urlToRelativeUrl, createDetailedMessage, stringifyUrlSite, generateContentFrame, validateResponseIntegrity, urlIsOrIsInsideOf, ensureWindowsDriveLetter, setUrlFilename, moveUrl, getCallerPosition, urlToBasename, urlToExtension, asSpecifierWithoutSearch, asUrlWithoutSearch, injectQueryParamsIntoSpecifier, bufferToEtag, isFileSystemPath, urlToPathname, setUrlBasename, urlToFileSystemPath, writeFileSync, createLogger, URL_META, applyNodeEsmResolution,
|
|
7
|
+
import { lookupPackageDirectory, registerDirectoryLifecycle, urlToRelativeUrl, createDetailedMessage, stringifyUrlSite, generateContentFrame, validateResponseIntegrity, urlIsOrIsInsideOf, ensureWindowsDriveLetter, setUrlFilename, moveUrl, getCallerPosition, urlToBasename, urlToExtension, asSpecifierWithoutSearch, asUrlWithoutSearch, injectQueryParamsIntoSpecifier, bufferToEtag, isFileSystemPath, urlToPathname, setUrlBasename, urlToFileSystemPath, writeFileSync, createLogger, URL_META, applyNodeEsmResolution, normalizeUrl, ANSI, RUNTIME_COMPAT, CONTENT_TYPE, urlToFilename, DATA_URL, errorToHTML, normalizeImportMap, composeTwoImportMaps, resolveImport, JS_QUOTES, defaultLookupPackageScope, defaultReadPackageJson, readCustomConditionsFromProcessArgs, readEntryStatSync, ensurePathnameTrailingSlash, compareFileUrls, applyFileSystemMagicResolution, getExtensionsToTry, setUrlExtension, isSpecifierForNodeBuiltin, renderDetails, humanizeDuration, humanizeFileSize, renderTable, renderBigSection, distributePercentages, humanizeMemory, comparePathnames, UNICODE, escapeRegexpSpecialChars, injectQueryParamIntoSpecifierWithoutEncoding, renderUrlOrRelativeUrlFilename, injectQueryParams, assertAndNormalizeDirectoryUrl, Abort, raceProcessTeardownEvents, startMonitoringCpuUsage, startMonitoringMemoryUsage, createLookupPackageDirectory, readPackageAtOrNull, inferRuntimeCompatFromClosestPackage, browserDefaultRuntimeCompat, nodeDefaultRuntimeCompat, clearDirectorySync, createTaskLog, ensureEmptyDirectory, updateJsonFileSync, createDynamicLog } from "./jsenv_core_packages.js";
|
|
8
8
|
import { pathToFileURL } from "node:url";
|
|
9
9
|
import { generateSourcemapFileUrl, createMagicSource, composeTwoSourcemaps, generateSourcemapDataUrl, SOURCEMAP } from "@jsenv/sourcemap";
|
|
10
10
|
import { performance } from "node:perf_hooks";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSupportsColor, isUnicodeSupported, stripAnsi, emojiRegex, eastAsianWidth, clearTerminal, eraseLines } from "./jsenv_core_node_modules.js";
|
|
2
2
|
import { extname } from "node:path";
|
|
3
|
-
import {
|
|
3
|
+
import { readFileSync as readFileSync$1, existsSync, readdir, chmod, stat, lstat, chmodSync, statSync, lstatSync, promises, readdirSync, openSync, closeSync, unlinkSync, rmdirSync, mkdirSync, writeFileSync as writeFileSync$1, unlink, rmdir, watch, realpathSync } from "node:fs";
|
|
4
4
|
import crypto, { createHash } from "node:crypto";
|
|
5
5
|
import { pathToFileURL, fileURLToPath } from "node:url";
|
|
6
6
|
import { cpus, totalmem, freemem } from "node:os";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { startServer, jsenvServiceCORS,
|
|
1
|
+
import { startServer, jsenvServiceCORS, jsenvAccessControlAllowedHeaders, jsenvServiceErrorHandler, createFileSystemFetch } from "@jsenv/server";
|
|
2
2
|
import { existsSync } from "node:fs";
|
|
3
3
|
import { assertAndNormalizeDirectoryUrl, createLogger, Abort, raceProcessTeardownEvents, createTaskLog, urlToExtension, urlToPathname } from "./jsenv_core_packages.js";
|
|
4
4
|
import "./jsenv_core_node_modules.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { WebSocketResponse, pickContentType, ServerEvents, jsenvServiceCORS, jsenvAccessControlAllowedHeaders, composeTwoResponses, serveDirectory, jsenvServiceErrorHandler, startServer } from "@jsenv/server";
|
|
2
2
|
import { convertFileSystemErrorToResponseProperties } from "@jsenv/server/src/internal/convertFileSystemErrorToResponseProperties.js";
|
|
3
|
-
import { lookupPackageDirectory, registerDirectoryLifecycle, urlToRelativeUrl, moveUrl, urlIsOrIsInsideOf, ensureWindowsDriveLetter, createDetailedMessage, stringifyUrlSite, generateContentFrame, validateResponseIntegrity, setUrlFilename, getCallerPosition, urlToBasename, urlToExtension, asSpecifierWithoutSearch, asUrlWithoutSearch, injectQueryParamsIntoSpecifier, bufferToEtag, isFileSystemPath, urlToPathname, setUrlBasename, urlToFileSystemPath, writeFileSync, createLogger, URL_META, applyNodeEsmResolution,
|
|
3
|
+
import { lookupPackageDirectory, registerDirectoryLifecycle, urlToRelativeUrl, moveUrl, urlIsOrIsInsideOf, ensureWindowsDriveLetter, createDetailedMessage, stringifyUrlSite, generateContentFrame, validateResponseIntegrity, setUrlFilename, getCallerPosition, urlToBasename, urlToExtension, asSpecifierWithoutSearch, asUrlWithoutSearch, injectQueryParamsIntoSpecifier, bufferToEtag, isFileSystemPath, urlToPathname, setUrlBasename, urlToFileSystemPath, writeFileSync, createLogger, URL_META, applyNodeEsmResolution, normalizeUrl, ANSI, RUNTIME_COMPAT, CONTENT_TYPE, errorToHTML, DATA_URL, normalizeImportMap, composeTwoImportMaps, resolveImport, JS_QUOTES, defaultLookupPackageScope, defaultReadPackageJson, readCustomConditionsFromProcessArgs, readEntryStatSync, ensurePathnameTrailingSlash, compareFileUrls, urlToFilename, applyFileSystemMagicResolution, getExtensionsToTry, setUrlExtension, isSpecifierForNodeBuiltin, memoizeByFirstArgument, assertAndNormalizeDirectoryUrl, createTaskLog, formatError, readPackageAtOrNull } from "./jsenv_core_packages.js";
|
|
4
4
|
import { readFileSync, existsSync, readdirSync, lstatSync, realpathSync } from "node:fs";
|
|
5
5
|
import { pathToFileURL } from "node:url";
|
|
6
6
|
import { generateSourcemapFileUrl, createMagicSource, composeTwoSourcemaps, generateSourcemapDataUrl, SOURCEMAP } from "@jsenv/sourcemap";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "40.12.
|
|
3
|
+
"version": "40.12.6",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -75,21 +75,21 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@financial-times/polyfill-useragent-normaliser": "1.10.2",
|
|
78
|
-
"@jsenv/ast": "6.7.
|
|
79
|
-
"@jsenv/js-module-fallback": "1.4.
|
|
80
|
-
"@jsenv/plugin-bundling": "2.10.
|
|
78
|
+
"@jsenv/ast": "6.7.19",
|
|
79
|
+
"@jsenv/js-module-fallback": "1.4.27",
|
|
80
|
+
"@jsenv/plugin-bundling": "2.10.6",
|
|
81
81
|
"@jsenv/plugin-minification": "1.7.3",
|
|
82
|
-
"@jsenv/plugin-supervisor": "1.7.
|
|
83
|
-
"@jsenv/plugin-transpilation": "1.5.
|
|
82
|
+
"@jsenv/plugin-supervisor": "1.7.13",
|
|
83
|
+
"@jsenv/plugin-transpilation": "1.5.68",
|
|
84
84
|
"@jsenv/server": "16.3.5",
|
|
85
|
-
"@jsenv/sourcemap": "1.3.
|
|
85
|
+
"@jsenv/sourcemap": "1.3.15",
|
|
86
86
|
"react-table": "7.8.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@babel/eslint-parser": "7.28.
|
|
90
|
-
"@babel/plugin-syntax-decorators": "7.
|
|
91
|
-
"@babel/plugin-syntax-import-attributes": "7.
|
|
92
|
-
"@babel/plugin-syntax-optional-chaining-assign": "7.
|
|
89
|
+
"@babel/eslint-parser": "7.28.6",
|
|
90
|
+
"@babel/plugin-syntax-decorators": "7.28.6",
|
|
91
|
+
"@babel/plugin-syntax-import-attributes": "7.28.6",
|
|
92
|
+
"@babel/plugin-syntax-optional-chaining-assign": "7.28.6",
|
|
93
93
|
"@jsenv/abort": "workspace:*",
|
|
94
94
|
"@jsenv/assert": "workspace:*",
|
|
95
95
|
"@jsenv/cli": "workspace:*",
|
|
@@ -116,24 +116,20 @@
|
|
|
116
116
|
"@jsenv/url-meta": "workspace:*",
|
|
117
117
|
"@jsenv/urls": "workspace:*",
|
|
118
118
|
"@jsenv/utils": "workspace:*",
|
|
119
|
-
"@playwright/browser-chromium": "1.
|
|
120
|
-
"@playwright/browser-firefox": "1.
|
|
121
|
-
"@playwright/browser-webkit": "1.
|
|
119
|
+
"@playwright/browser-chromium": "1.58.1",
|
|
120
|
+
"@playwright/browser-firefox": "1.58.1",
|
|
121
|
+
"@playwright/browser-webkit": "1.58.1",
|
|
122
122
|
"babel-plugin-transform-async-to-promises": "0.8.18",
|
|
123
123
|
"eslint": "9.39.2",
|
|
124
|
-
"
|
|
125
|
-
"eslint-plugin-import-x": "4.16.1",
|
|
126
|
-
"eslint-plugin-react": "7.37.5",
|
|
127
|
-
"eslint-plugin-regexp": "2.10.0",
|
|
128
|
-
"globals": "16.5.0",
|
|
124
|
+
"globals": "17.3.0",
|
|
129
125
|
"open": "11.0.0",
|
|
130
|
-
"playwright": "1.
|
|
126
|
+
"playwright": "1.58.1",
|
|
131
127
|
"preact": "11.0.0-beta.0",
|
|
132
|
-
"prettier": "3.
|
|
128
|
+
"prettier": "3.8.1",
|
|
133
129
|
"prettier-plugin-css-order": "git+https://github.com/dmail-fork/prettier-plugin-css-order.git",
|
|
134
|
-
"prettier-plugin-embed": "0.5.
|
|
130
|
+
"prettier-plugin-embed": "0.5.1",
|
|
135
131
|
"prettier-plugin-organize-imports": "4.3.0",
|
|
136
|
-
"prettier-plugin-packagejson": "
|
|
132
|
+
"prettier-plugin-packagejson": "3.0.0",
|
|
137
133
|
"prettier-plugin-sql": "0.19.2",
|
|
138
134
|
"strip-ansi": "7.1.2"
|
|
139
135
|
},
|