@jsenv/server 16.3.4 → 16.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/server",
3
- "version": "16.3.4",
3
+ "version": "16.3.6",
4
4
  "description": "A modern Node.js HTTP server with declarative routing, content negotiation, and WebSocket support",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "prepublishOnly": "npm run build"
36
36
  },
37
37
  "dependencies": {
38
- "launch-editor": "2.12.0"
38
+ "launch-editor": "2.13.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@jsenv/abort": "../../tooling/abort",
@@ -53,11 +53,11 @@
53
53
  "@jsenv/url-pattern": "../../tooling/url-pattern",
54
54
  "@jsenv/urls": "../../tooling/urls",
55
55
  "@jsenv/utils": "../../tooling/utils",
56
- "eventsource": "4.0.0",
56
+ "eventsource": "4.1.0",
57
57
  "formidable": "3.5.4",
58
- "playwright": "1.56.1",
59
- "undici": "7.16.0",
60
- "ws": "8.18.3"
58
+ "playwright": "1.58.1",
59
+ "undici": "7.24.2",
60
+ "ws": "8.19.0"
61
61
  },
62
62
  "engines": {
63
63
  "node": ">=22.13.1"
@@ -6,46 +6,46 @@
6
6
  <title>${status} ${statusText}</title>
7
7
  <style>
8
8
  body {
9
- font-family: Arial, sans-serif;
10
- background-color: #f8f9fa;
11
- color: #333;
12
9
  display: flex;
13
- align-items: center;
14
- justify-content: center;
15
10
  min-height: 100vh;
16
11
  margin: 0;
12
+ align-items: center;
13
+ justify-content: center;
14
+ color: #333;
15
+ font-family: Arial, sans-serif;
16
+ background-color: #f8f9fa;
17
17
  }
18
18
  .error_container {
19
+ padding: 20px;
19
20
  text-align: center;
20
21
  background: #fff;
21
- padding: 20px;
22
22
  border-radius: 8px;
23
23
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
24
24
  }
25
25
  .error_status {
26
- font-size: 5rem;
27
- color: #dc3545;
28
26
  margin: 0;
27
+ color: #dc3545;
28
+ font-size: 5rem;
29
29
  }
30
30
  .error_status_text {
31
- font-size: 1.5rem;
32
31
  margin: 10px 0;
33
- word-break: break-word;
32
+ font-size: 1.5rem;
34
33
  text-align: left;
34
+ word-break: break-word;
35
35
  }
36
36
  .error_message {
37
- font-size: 1rem;
38
37
  color: #555;
39
- word-break: break-word;
38
+ font-size: 1rem;
40
39
  text-align: left;
40
+ word-break: break-word;
41
41
  }
42
42
  .home_link {
43
- margin-top: 15px;
44
43
  display: inline-block;
44
+ margin-top: 15px;
45
45
  padding: 10px 15px;
46
- background-color: #007bff;
47
46
  color: #fff;
48
47
  text-decoration: none;
48
+ background-color: #007bff;
49
49
  border-radius: 5px;
50
50
  }
51
51
  .home_link:hover {
@@ -8,43 +8,43 @@
8
8
  */
9
9
 
10
10
  (() => {
11
- const css = /*css*/ `
12
- *[aria-hidden="true"] {
13
- display: none;
14
- }
15
-
16
- .clipboard_container {
17
- display: flex;
18
- padding: 8px;
19
- gap: 5px;
20
- align-items: center;
21
- }
22
-
23
- #copied_notif {
24
- background: black;
25
- color: white;
26
- border-radius: 3px;
27
- padding: 0.2em 0.5em;
28
- font-size: 80%;
29
- }
30
-
31
- button {
32
- border: none;
33
- background: none;
34
- background-color: rgb(246, 248, 250);
35
- border-color: rgb(209, 217, 224);
36
- border-radius: 6px;
37
- border-width: 1px;
38
- border-style: solid;
39
- cursor: pointer;
40
- width: 32px;
41
- height: 32px;
42
- }
43
-
44
- button:hover {
45
- background-color: rgb(239, 242, 245);
46
- }
47
- `;
11
+ const css = /* css */ `
12
+ *[aria-hidden="true"] {
13
+ display: none;
14
+ }
15
+
16
+ .clipboard_container {
17
+ display: flex;
18
+ padding: 8px;
19
+ align-items: center;
20
+ gap: 5px;
21
+ }
22
+
23
+ #copied_notif {
24
+ padding: 0.2em 0.5em;
25
+ color: white;
26
+ font-size: 80%;
27
+ background: black;
28
+ border-radius: 3px;
29
+ }
30
+
31
+ button {
32
+ width: 32px;
33
+ height: 32px;
34
+ background: none;
35
+ background-color: rgb(246, 248, 250);
36
+ border: none;
37
+ border-width: 1px;
38
+ border-style: solid;
39
+ border-color: rgb(209, 217, 224);
40
+ border-radius: 6px;
41
+ cursor: pointer;
42
+ }
43
+
44
+ button:hover {
45
+ background-color: rgb(239, 242, 245);
46
+ }
47
+ `;
48
48
 
49
49
  const html = /* html */ `<style>
50
50
  ${css}
@@ -126,27 +126,27 @@ button:hover {
126
126
  })();
127
127
 
128
128
  (() => {
129
- const css = /*css*/ `
130
- /* :host {
131
- display: block;
132
- }
133
- :host code[class*="language-"], :host pre[class*="language-"]{
134
- margin-top: 0;
135
- } */
136
- #code_block {
137
- position: relative;
138
- }
139
-
140
- #pre {
141
- padding: 16px;
142
- font-size: 86%;
143
- margin-top: 16px;
144
- margin-bottom: 16px;
145
- margin-left: 0;
146
- margin-right: 0;
147
- background: #333 ;
148
- }
149
- `;
129
+ const css = /* css */ `
130
+ /* :host {
131
+ display: block;
132
+ }
133
+ :host code[class*="language-"], :host pre[class*="language-"]{
134
+ margin-top: 0;
135
+ } */
136
+ #code_block {
137
+ position: relative;
138
+ }
139
+
140
+ #pre {
141
+ margin-top: 16px;
142
+ margin-right: 0;
143
+ margin-bottom: 16px;
144
+ margin-left: 0;
145
+ padding: 16px;
146
+ font-size: 86%;
147
+ background: #333;
148
+ }
149
+ `;
150
150
 
151
151
  const html = /* html */ `<style>
152
152
  ${css}