@jsenv/core 39.5.1 → 39.5.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/jsenv_core.js
CHANGED
|
@@ -23035,6 +23035,8 @@ const parseUserAgentHeader = memoizeByFirstArgument((userAgent) => {
|
|
|
23035
23035
|
};
|
|
23036
23036
|
});
|
|
23037
23037
|
|
|
23038
|
+
const EXECUTED_BY_TEST_PLAN = process.argv.includes("--jsenv-test");
|
|
23039
|
+
|
|
23038
23040
|
/**
|
|
23039
23041
|
* Start a server for source files:
|
|
23040
23042
|
* - cook source files according to jsenv plugins
|
|
@@ -23054,7 +23056,7 @@ const startDevServer = async ({
|
|
|
23054
23056
|
// it's better to use http1 by default because it allows to get statusText in devtools
|
|
23055
23057
|
// which gives valuable information when there is errors
|
|
23056
23058
|
http2 = false,
|
|
23057
|
-
logLevel =
|
|
23059
|
+
logLevel = EXECUTED_BY_TEST_PLAN ? "warn" : "info",
|
|
23058
23060
|
serverLogLevel = "warn",
|
|
23059
23061
|
services = [],
|
|
23060
23062
|
|
|
@@ -23633,9 +23635,7 @@ ${error.trace?.message}`);
|
|
|
23633
23635
|
stopOnExit: false,
|
|
23634
23636
|
stopOnSIGINT: handleSIGINT,
|
|
23635
23637
|
stopOnInternalError: false,
|
|
23636
|
-
keepProcessAlive
|
|
23637
|
-
? false
|
|
23638
|
-
: keepProcessAlive,
|
|
23638
|
+
keepProcessAlive,
|
|
23639
23639
|
logLevel: serverLogLevel,
|
|
23640
23640
|
startLog: false,
|
|
23641
23641
|
|
|
@@ -23773,9 +23773,7 @@ const startBuildServer = async ({
|
|
|
23773
23773
|
stopOnExit: false,
|
|
23774
23774
|
stopOnSIGINT: false,
|
|
23775
23775
|
stopOnInternalError: false,
|
|
23776
|
-
keepProcessAlive
|
|
23777
|
-
? false
|
|
23778
|
-
: keepProcessAlive,
|
|
23776
|
+
keepProcessAlive,
|
|
23779
23777
|
logLevel: serverLogLevel,
|
|
23780
23778
|
startLog: false,
|
|
23781
23779
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsenv/core",
|
|
3
|
-
"version": "39.5.
|
|
3
|
+
"version": "39.5.3",
|
|
4
4
|
"description": "Tool to develop, test and build js projects",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"@jsenv/integrity": "0.0.2",
|
|
77
77
|
"@jsenv/js-module-fallback": "1.3.38",
|
|
78
78
|
"@jsenv/node-esm-resolution": "1.0.6",
|
|
79
|
-
"@jsenv/plugin-bundling": "2.7.
|
|
80
|
-
"@jsenv/plugin-minification": "1.5.
|
|
79
|
+
"@jsenv/plugin-bundling": "2.7.9",
|
|
80
|
+
"@jsenv/plugin-minification": "1.5.6",
|
|
81
81
|
"@jsenv/plugin-supervisor": "1.5.19",
|
|
82
82
|
"@jsenv/plugin-transpilation": "1.4.22",
|
|
83
83
|
"@jsenv/runtime-compat": "1.3.1",
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
"@jsenv/plugin-as-js-classic": "workspace:*",
|
|
105
105
|
"@jsenv/snapshot": "workspace:*",
|
|
106
106
|
"@jsenv/test": "workspace:*",
|
|
107
|
-
"@playwright/browser-chromium": "1.46.
|
|
108
|
-
"@playwright/browser-firefox": "1.46.
|
|
109
|
-
"@playwright/browser-webkit": "1.46.
|
|
107
|
+
"@playwright/browser-chromium": "1.46.1",
|
|
108
|
+
"@playwright/browser-firefox": "1.46.1",
|
|
109
|
+
"@playwright/browser-webkit": "1.46.1",
|
|
110
110
|
"babel-plugin-transform-async-to-promises": "0.8.18",
|
|
111
111
|
"eslint": "9.9.0",
|
|
112
112
|
"marked": "14.0.0",
|
|
113
113
|
"open": "10.1.0",
|
|
114
|
-
"playwright": "1.46.
|
|
114
|
+
"playwright": "1.46.1",
|
|
115
115
|
"prettier": "3.3.3",
|
|
116
116
|
"prettier-plugin-organize-imports": "4.0.0",
|
|
117
117
|
"strip-ansi": "7.1.0"
|
|
@@ -108,9 +108,7 @@ export const startBuildServer = async ({
|
|
|
108
108
|
stopOnExit: false,
|
|
109
109
|
stopOnSIGINT: false,
|
|
110
110
|
stopOnInternalError: false,
|
|
111
|
-
keepProcessAlive
|
|
112
|
-
? false
|
|
113
|
-
: keepProcessAlive,
|
|
111
|
+
keepProcessAlive,
|
|
114
112
|
logLevel: serverLogLevel,
|
|
115
113
|
startLog: false,
|
|
116
114
|
|
|
@@ -28,6 +28,8 @@ import { jsenvPluginServerEventsClientInjection } from "../plugins/server_events
|
|
|
28
28
|
import { createServerEventsDispatcher } from "../plugins/server_events/server_events_dispatcher.js";
|
|
29
29
|
import { parseUserAgentHeader } from "./user_agent.js";
|
|
30
30
|
|
|
31
|
+
const EXECUTED_BY_TEST_PLAN = process.argv.includes("--jsenv-test");
|
|
32
|
+
|
|
31
33
|
/**
|
|
32
34
|
* Start a server for source files:
|
|
33
35
|
* - cook source files according to jsenv plugins
|
|
@@ -47,7 +49,7 @@ export const startDevServer = async ({
|
|
|
47
49
|
// it's better to use http1 by default because it allows to get statusText in devtools
|
|
48
50
|
// which gives valuable information when there is errors
|
|
49
51
|
http2 = false,
|
|
50
|
-
logLevel =
|
|
52
|
+
logLevel = EXECUTED_BY_TEST_PLAN ? "warn" : "info",
|
|
51
53
|
serverLogLevel = "warn",
|
|
52
54
|
services = [],
|
|
53
55
|
|
|
@@ -626,9 +628,7 @@ ${error.trace?.message}`);
|
|
|
626
628
|
stopOnExit: false,
|
|
627
629
|
stopOnSIGINT: handleSIGINT,
|
|
628
630
|
stopOnInternalError: false,
|
|
629
|
-
keepProcessAlive
|
|
630
|
-
? false
|
|
631
|
-
: keepProcessAlive,
|
|
631
|
+
keepProcessAlive,
|
|
632
632
|
logLevel: serverLogLevel,
|
|
633
633
|
startLog: false,
|
|
634
634
|
|