apex-dev 1.0.0

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.
Files changed (63) hide show
  1. package/.config/amp/settings.json +3 -0
  2. package/.config/opencode/oh-my-opencode.json +58 -0
  3. package/.config/opencode/opencode.json +6 -0
  4. package/.local/share/amp/device-id.json +3 -0
  5. package/.local/share/amp/history.jsonl +33 -0
  6. package/.local/share/amp/session.json +6 -0
  7. package/.local/share/amp/threads/T-019c93b8-fce7-7083-aab9-d5f1c88a9545.json +2528 -0
  8. package/.local/share/amp/threads/T-019c93c8-4b7a-71df-94ac-867d8236a288.json +7 -0
  9. package/.local/share/amp/threads/T-019c93cd-5a7d-728e-8289-02e0ef4ca2ff.json +680 -0
  10. package/.local/share/amp/threads/T-019c93e7-83ca-7633-9eed-12bdcc118163.json +873 -0
  11. package/.local/share/amp/threads/T-019c93ea-ccd3-765a-88c9-42d7b631e977.json +620 -0
  12. package/.local/share/amp/threads/T-019c93ee-5977-71af-9ab7-c4611004b703.json +1000 -0
  13. package/.local/share/amp/threads/T-019c93f0-8328-71ed-a250-6da169cebfe1.json +829 -0
  14. package/.local/share/amp/threads/T-019c93f5-7bdd-703b-b2cd-0a04da64441a.json +459 -0
  15. package/.local/share/amp/threads/T-019c93f8-2b2e-733b-8249-9876546d9b5b.json +764 -0
  16. package/.local/share/amp/threads/T-019c93fd-fade-7195-a3b7-358f180d40b8.json +7 -0
  17. package/.local/share/amp/threads/T-019c93fe-2e56-705e-827e-eb99bd02e257.json +3593 -0
  18. package/.local/share/amp/threads/T-019c9408-6e64-77e1-9519-b913e3b24a03.json +1559 -0
  19. package/.local/share/amp/threads/T-019c9409-feeb-736d-b92c-4f7a263a643c.json +7 -0
  20. package/.local/share/amp/threads/T-019c940b-8d11-755b-b9e1-f923d8a5e6ba.json +7 -0
  21. package/.local/share/amp/threads/T-019c943a-6c5e-76a5-bf4e-170f7ad452ce.json +979 -0
  22. package/.local/share/amp/threads/T-019c94b2-1c8f-76d8-96d0-82449a028849.json +1584 -0
  23. package/.local/share/amp/threads/T-019c94b6-68f0-726e-92dd-90c5411ca28c.json +7 -0
  24. package/.local/share/amp/threads/T-019c94bf-a589-72a3-b3c2-a81359d9e0a6.json +7 -0
  25. package/.local/share/amp/threads/T-019c94e1-1bd9-70ab-b6f2-abd5cab4f4ce.json +1035 -0
  26. package/.local/share/amp/threads/T-019c94fd-cc4a-714b-896a-74f94020f6eb.json +1310 -0
  27. package/.local/share/amp/threads/T-019c9501-8976-7138-aca6-245a01a8fe9b.json +7 -0
  28. package/.local/share/amp/threads/T-019c9504-4b51-763e-8a9f-5d4cdfcf0cfa.json +496 -0
  29. package/.local/share/amp/threads/T-019c9506-4e3b-74fd-8eda-cedbf3793598.json +2679 -0
  30. package/.local/share/amp/threads/T-019c9508-178c-718c-88d2-caf816d64f65.json +965 -0
  31. package/.local/share/amp/threads/T-019c9509-2812-71fd-8fd2-923e29ad34fa.json +7 -0
  32. package/.local/share/kilo/kilo.db +0 -0
  33. package/.local/share/kilo/kilo.db-shm +0 -0
  34. package/.local/share/kilo/kilo.db-wal +0 -0
  35. package/.local/share/kilo/storage/migration +1 -0
  36. package/.local/share/kilo/storage/session_diff/ses_36bea4cb9ffe1b0j5HEL14KEaU.json +1 -0
  37. package/.local/share/kilo/storage/session_diff/ses_36beaa8f2ffeeZ3Y39SQ9UDWQQ.json +1 -0
  38. package/.local/share/kilo/telemetry-id +1 -0
  39. package/.local/share/opencode/auth.json +6 -0
  40. package/.local/share/opencode/opencode.db +0 -0
  41. package/.local/share/opencode/opencode.db-shm +0 -0
  42. package/.local/share/opencode/opencode.db-wal +0 -0
  43. package/.local/share/opencode/storage/agent-usage-reminder/ses_36bee9f1effeJbiHHLWLR6O3WJ.json +6 -0
  44. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c25e50affef2nhaXq9aSgKH3.json +6 -0
  45. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c260708ffel4wG4yhdo0knDD.json +6 -0
  46. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c261531ffeoVcvqXxry2bN9H.json +6 -0
  47. package/.local/share/opencode/storage/agent-usage-reminder/ses_36c291bddffePWRiaFLLJAC1y7.json +6 -0
  48. package/.local/share/opencode/storage/migration +1 -0
  49. package/.local/share/opencode/storage/session_diff/ses_36bee9f1effeJbiHHLWLR6O3WJ.json +1 -0
  50. package/.local/share/opencode/storage/session_diff/ses_36c25e50affef2nhaXq9aSgKH3.json +1 -0
  51. package/.local/share/opencode/storage/session_diff/ses_36c260708ffel4wG4yhdo0knDD.json +1 -0
  52. package/.local/share/opencode/storage/session_diff/ses_36c261531ffeoVcvqXxry2bN9H.json +1 -0
  53. package/.local/share/opencode/storage/session_diff/ses_36c291bddffePWRiaFLLJAC1y7.json +1 -0
  54. package/.local/share/opencode/storage/session_diff/ses_36c2af1c5ffegxEaOZOGcVykyy.json +1 -0
  55. package/.local/share/opencode/storage/session_diff/ses_36c2be235ffeOa6x8UCk1HW4kU.json +1 -0
  56. package/.local/share/opencode/tool-output/tool_c93da840c0016GrdyAkOnHGezU +2330 -0
  57. package/.local/share/opencode/tool-output/tool_c9411e784001cRoQqwVDb1a6lY +1017 -0
  58. package/.replit +21 -0
  59. package/.upm/store.json +1 -0
  60. package/bun.lock +237 -0
  61. package/generated-icon.png +0 -0
  62. package/index.js +1587 -0
  63. package/package.json +24 -0
@@ -0,0 +1,2330 @@
1
+ Found 2074 match(es) in 127 file(s)
2
+ [Output truncated due to size limit]
3
+
4
+ /home/runner/workspace/bun.lock
5
+ 9: "boxen": "^5.1.2",
6
+ 67: "boxen": ["boxen@5.1.2", "", { "dependencies": { "ansi-align": "^3.0.0", "camelcase": "^6.2.0", "chalk": "^4.1.0", "cli-boxes": "^2.2.1", "string-width": "^4.2.2", "type-fest": "^0.20.2", "widest-line": "^3.1.0", "wrap-ansi": "^7.0.0" } }, "sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ=="],
7
+ 81: "cli-boxes": ["cli-boxes@2.2.1", "", {}, "sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw=="],
8
+
9
+ /home/runner/workspace/public/app.js
10
+ 28: fileTree.innerHTML = renderTree(files, 0);
11
+ 30: fileTree.innerHTML = '<div style="padding:16px;color:var(--text-tertiary)">No files loaded</div>';
12
+ 34: function renderTree(items, depth) {
13
+ 46: html += renderTree(item.children, depth + 1);
14
+ 81: document.querySelector('.token-count').textContent = `~${count} tokens`;
15
+ 92: const text = chatInput.value.trim();
16
+ 93: if (!text || isProcessing) return;
17
+ 99: appendMessage('user', text);
18
+ 114: body: JSON.stringify({ message: text }),
19
+ 194: function formatContent(text) {
20
+ 196: text = text.replace(/```(\w+)?\n([\s\S]*?)```/g, (_, lang, code) => {
21
+ 208: text = text.replace(/`([^`]+)`/g, '<code>$1</code>');
22
+ 211: text = text.replace(/\*\*(.+?)\*\*/g, '<strong>$1</strong>');
23
+ 214: text = text.split('\n\n').map(p => `<p>${p}</p>`).join('');
24
+ 215: text = text.replace(/\n/g, '<br>');
25
+ 217: return text;
26
+ 220: function escapeHtml(text) {
27
+ 222: div.textContent = text;
28
+ 255: function sendQuickAction(text) {
29
+ 256: chatInput.value = text;
30
+ 270: const code = btn.closest('.code-block').querySelector('.code-body').textContent;
31
+ 272: btn.textContent = 'Copied!';
32
+ 273: setTimeout(() => btn.textContent = 'Copy', 2000);
33
+
34
+ /home/runner/workspace/public/styles.css
35
+ 14: --text-primary: #e4e4ed;
36
+ 15: --text-secondary: #8888a0;
37
+ 16: --text-tertiary: #5a5a72;
38
+ 17: --text-inverse: #0a0a0f;
39
+ 55: box-sizing: border-box;
40
+ 66: color: var(--text-primary);
41
+ 119: .logo-text {
42
+ 127: -webkit-background-clip: text;
43
+ 128: -webkit-text-fill-color: transparent;
44
+ 140: color: var(--text-secondary);
45
+ 164: color: var(--text-primary);
46
+ 181: box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
47
+ 189: color: var(--text-secondary);
48
+ 200: box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
49
+ 218: color: var(--text-secondary);
50
+ 225: color: var(--text-primary);
51
+ 262: text-transform: uppercase;
52
+ 264: color: var(--text-tertiary);
53
+ 301: color: var(--text-secondary);
54
+ 306: color: var(--text-primary);
55
+ 324: .tree-icon.md { color: var(--text-secondary); }
56
+ 339: color: var(--text-secondary);
57
+ 348: color: var(--text-primary);
58
+ 368: text-overflow: ellipsis;
59
+ 373: color: var(--text-tertiary);
60
+ 409: text-align: center;
61
+ 428: background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
62
+ 429: -webkit-background-clip: text;
63
+ 430: -webkit-text-fill-color: transparent;
64
+ 435: color: var(--text-secondary);
65
+ 456: color: var(--text-secondary);
66
+ 461: text-align: left;
67
+ 467: color: var(--text-primary);
68
+ 468: box-shadow: var(--shadow-glow);
69
+ 518: color: var(--text-tertiary);
70
+ 525: color: var(--text-primary);
71
+ 563: color: var(--text-tertiary);
72
+ 573: color: var(--text-tertiary);
73
+ 583: color: var(--text-primary);
74
+ 591: color: var(--text-primary);
75
+ 608: color: var(--text-secondary);
76
+ 616: text-transform: uppercase;
77
+ 630: color: var(--text-tertiary);
78
+ 681: color: var(--text-tertiary);
79
+ 688: color: var(--text-primary);
80
+ 718: box-shadow: 0 0 0 1px var(--accent-glow), var(--shadow-glow);
81
+ 726: color: var(--text-primary);
82
+ 736: color: var(--text-tertiary);
83
+ 756: box-shadow: var(--shadow-glow);
84
+ 773: color: var(--text-tertiary);
85
+ 788: color: var(--text-tertiary);
86
+ 817: text-transform: uppercase;
87
+ 819: color: var(--text-tertiary);
88
+ 867: color: var(--text-primary);
89
+ 873: color: var(--text-tertiary);
90
+ 876: text-overflow: ellipsis;
91
+ 919: color: var(--text-secondary);
92
+ 962: color: var(--text-secondary);
93
+ 968: color: var(--text-primary);
94
+
95
+ /home/runner/workspace/public/index.html
96
+ 29: <span class="logo-text">Apex <span class="logo-highlight">AI</span></span>
97
+ 144: <button class="toolbar-btn" title="Add context">
98
+ 152: <textarea
99
+ 157: ></textarea>
100
+
101
+ /home/runner/workspace/index.js
102
+ 6: const boxen = require('boxen');
103
+ 18: text: chalk.hex('#e4e4ed'),
104
+ 58: console.clear();
105
+ 60: const model = t.dim('model: ') + t.text('Claude 4 Opus');
106
+ 64: console.log();
107
+ 65: console.log(indent(`${logo} ${t.bar('│')} ${model} ${t.bar('│')} ${branch} ${t.bar('│')} ${status}`));
108
+ 66: console.log(indent(hr()));
109
+ 67: console.log();
110
+ 72: const title = t.text.bold('What can I help you build?');
111
+ 75: console.log(indent(title));
112
+ 76: console.log(indent(subtitle));
113
+ 77: console.log();
114
+ 87: console.log(indent(` ${icon} ${label}`));
115
+ 89: console.log();
116
+ 90: console.log(indent(hr()));
117
+ 91: console.log();
118
+ 95: function showUserMessage(text) {
119
+ 97: console.log(indent(header));
120
+ 98: console.log(indent(t.text(text), 6));
121
+ 99: console.log();
122
+ 104: console.log(indent(header));
123
+ 107: function showAssistantMessage(text) {
124
+ 108: const lines = text.split('\n');
125
+ 122: formatted.push(renderCodeBlock(codeLines.join('\n'), codeLang));
126
+ 128: formatted.push(t.text(processed));
127
+ 132: console.log(indent(formatted.join('\n'), 4));
128
+ 133: console.log();
129
+ 137: function renderCodeBlock(code, lang) {
130
+ 146: highlighted = t.text(code);
131
+ 172: text: `${toolBadge(name)} ${t.muted(detail)}`,
132
+ 182: text: `${toolBadge(name)} ${t.dim(detail)} ${t.dim(`${randomInt(50, 500)}ms`)}`,
133
+ 198: console.log(indent(`${prefix}${branch}${t.brand(f.name + '/')}`, 4));
134
+ 203: console.log(indent(`${prefix}${branch}${color(f.name)}`, 4));
135
+ 210: console.log(indent(t.dim('┌─ ') + t.text.bold(filename) + t.dim(' ─────────────────')));
136
+ 213: console.log(indent(chalk.red('│ - ' + line)));
137
+ 216: console.log(indent(chalk.green('│ + ' + line)));
138
+ 219: console.log(indent(t.dim('└─────────────────────────────────────')));
139
+ 220: console.log();
140
+ 225: const box = boxen(
141
+ 227: t.dim('Tokens ') + t.text(tokens.toLocaleString()),
142
+ 228: t.dim('Cost ') + t.text('$' + cost.toFixed(3)),
143
+ 229: t.dim('Duration ') + t.text(duration + 's'),
144
+ 238: console.log(indent(box, 4));
145
+ 239: console.log();
146
+ 245: text: t.dim('Thinking...'),
147
+ 273: console.log();
148
+ 274: console.log(' ' + topLeft);
149
+ 278: console.log();
150
+ 279: console.log(' ' + bottom);
151
+ 280: console.log(hint);
152
+ 296: console.log();
153
+ 303: console.log();
154
+ 317: // Response text
155
+ 335: console.log(indent(hr()));
156
+ 363: console.log();
157
+ 364: console.log(indent(t.dim('Goodbye! ') + t.brand('✦')));
158
+ 365: console.log();
159
+ 388: console.log();
160
+ 389: console.log(indent(t.dim('Goodbye! ') + t.brand('✦')));
161
+ 390: console.log();
162
+ 407: console.log();
163
+ 408: console.log(indent(t.dim.bold('PROJECT FILES')));
164
+ 409: console.log();
165
+ 411: console.log();
166
+ 426: console.log();
167
+ 427: console.log(indent(t.text.bold('Commands')));
168
+ 428: console.log();
169
+ 429: console.log(indent(` ${t.brand('/help')} ${t.muted('Show this menu')}`));
170
+ 430: console.log(indent(` ${t.brand('/files')} ${t.muted('Show project file tree')}`));
171
+ 431: console.log(indent(` ${t.brand('/clear')} ${t.muted('Clear the screen')}`));
172
+ 432: console.log(indent(` ${t.brand('/model')} ${t.muted('Switch AI model')}`));
173
+ 433: console.log(indent(` ${t.brand('/cost')} ${t.muted('Show session cost')}`));
174
+ 434: console.log(indent(` ${t.brand('/quit')} ${t.muted('Exit the agent')}`));
175
+ 435: console.log();
176
+ 458: main().catch(console.error);
177
+
178
+ /home/runner/workspace/package.json
179
+ 15: "boxen": "^5.1.2",
180
+
181
+ /home/runner/workspace/package-lock.json
182
+ 14: "boxen": "^5.1.2",
183
+ 373: "node_modules/boxen": {
184
+ 375: "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz",
185
+ 382: "cli-boxes": "^2.2.1",
186
+ 485: "node_modules/cli-boxes": {
187
+ 487: "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz",
188
+ 1957: "boxen": {
189
+ 1959: "resolved": "https://registry.npmjs.org/boxen/-/boxen-5.1.2.tgz",
190
+ 1965: "cli-boxes": "^2.2.1",
191
+ 2018: "cli-boxes": {
192
+ 2020: "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.1.tgz",
193
+
194
+ /home/runner/workspace/node_modules/vary/README.md
195
+ 77: res.setHeader('Content-Type', 'text/html')
196
+
197
+ /home/runner/workspace/node_modules/@types/node/ts5.6/index.d.ts
198
+ 45: /// <reference path="../console.d.ts" />
199
+
200
+ /home/runner/workspace/node_modules/finalhandler/README.md
201
+ 86: res.setHeader('Content-Type', 'text/html')
202
+ 123: res.setHeader('Content-Type', 'text/html')
203
+ 131: console.error(err.stack || err.toString())
204
+
205
+ /home/runner/workspace/node_modules/type-is/README.md
206
+ 28: var istext = typeis(req, ['text/*'])
207
+ 29: res.end('you ' + (istext ? 'sent' : 'did not send') + ' me text')
208
+ 127: typeis.match('text/html', 'text/html') // => true
209
+ 128: typeis.match('*/html', 'text/html') // => true
210
+ 129: typeis.match('text/*', 'text/html') // => true
211
+ 130: typeis.match('*/*', 'text/html') // => true
212
+
213
+ /home/runner/workspace/node_modules/type-is/HISTORY.md
214
+ 19: - Add extension `.mvt` to `application/vnd.mapbox-vector-tile`
215
+ 54: - Add `text/mdx` with extension `.mdx`
216
+ 63: - Add `text/shex` with extension `.shex`
217
+ 71: - Update extensions `.md` and `.markdown` to be `text/markdown`
218
+ 73: - Update `text/hjson` to registered `application/hjson`
219
+
220
+ /home/runner/workspace/node_modules/finalhandler/package.json
221
+ 43: "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
222
+ 44: "test-cov": "nyc --reporter=html --reporter=text npm test",
223
+
224
+ /home/runner/workspace/node_modules/@types/node/ts5.6/buffer.buffer.d.ts
225
+ 78: * console.log(buf);
226
+ 84: * console.log(buf);
227
+ 97: * console.log(buf.length);
228
+ 115: * console.log(arrA.buffer === arrB.buffer); // true
229
+ 118: * console.log(buf);
230
+ 143: * console.log(buf1.toString());
231
+ 145: * console.log(buf2.toString());
232
+ 147: * console.log(buf1.toString('latin1'));
233
+ 188: * console.log(totalLength);
234
+ 193: * console.log(bufA);
235
+ 195: * console.log(bufA.length);
236
+ 212: * console.log(buf.length); // 2
237
+ 213: * console.log(buf[0]); // 255
238
+ 214: * console.log(buf[1]); // 255
239
+ 230: * console.log(buf);
240
+ 243: * console.log(buf);
241
+ 255: * console.log(buf);
242
+ 281: * console.log(buf);
243
+ 286: * console.log(buf);
244
+ 369: * console.log(copiedBuf.toString());
245
+ 372: * console.log(buf.toString());
246
+ 378: * console.log(notReallyCopiedBuf.toString());
247
+ 380: * console.log(buf.toString());
248
+ 415: * console.log(buf2.toString('ascii', 0, buf2.length));
249
+ 420: * console.log(buf2.toString('ascii', 0, buf2.length));
250
+ 432: * console.log(buf.subarray(-6, -1).toString());
251
+ 436: * console.log(buf.subarray(-6, -2).toString());
252
+ 440: * console.log(buf.subarray(-5, -2).toString());
253
+
254
+ /home/runner/workspace/node_modules/type-is/package.json
255
+ 39: "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
256
+ 40: "test-cov": "nyc --reporter=html --reporter=text npm test"
257
+
258
+ /home/runner/workspace/node_modules/finalhandler/index.js
259
+ 271: res.setHeader('Content-Type', 'text/html; charset=utf-8')
260
+
261
+ /home/runner/workspace/node_modules/type-is/index.js
262
+ 107: * // With Content-Type: text/html; charset=utf-8
263
+ 109: * this.is('text/html'); // => 'text/html'
264
+ 110: * this.is('text/*', 'application/json'); // => 'text/html'
265
+
266
+ /home/runner/workspace/node_modules/@types/node/timers/promises.d.ts
267
+ 24: * console.log(res); // Prints 'result'
268
+ 39: * console.log(res); // Prints 'result'
269
+ 58: * console.log(now);
270
+ 62: * console.log(Date.now());
271
+
272
+ /home/runner/workspace/node_modules/@types/node/stream/web.d.ts
273
+ 548: * https://nodejs.org/api/globals.html#class-textdecoderstream
274
+ 557: * https://nodejs.org/api/globals.html#class-textencoderstream
275
+
276
+ /home/runner/workspace/node_modules/statuses/package.json
277
+ 44: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
278
+ 45: "test-cov": "nyc --reporter=html --reporter=text npm test",
279
+
280
+ /home/runner/workspace/node_modules/@types/node/stream/consumers.d.ts
281
+ 5: function text(stream: NodeJS.ReadableStream | Readable | AsyncIterable<any>): Promise<string>;
282
+
283
+ /home/runner/workspace/node_modules/@types/node/readline/promises.d.ts
284
+ 36: * console.log(`Oh, so your favorite food is ${answer}`);
285
+ 45: * console.log('The food question timed out');
286
+ 49: * console.log(`Oh, so your favorite food is ${answer}`);
287
+ 142: * console.log(`Received: ${line}`);
288
+ 146: * If `terminal` is `true` for this instance then the `output` stream will get
289
+ 156: terminal?: boolean,
290
+
291
+ /home/runner/workspace/node_modules/serve-static/package.json
292
+ 40: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
293
+ 41: "test-cov": "nyc --reporter=html --reporter=text npm test",
294
+
295
+ /home/runner/workspace/node_modules/serve-static/index.js
296
+ 201: res.setHeader('Content-Type', 'text/html; charset=UTF-8')
297
+
298
+ /home/runner/workspace/node_modules/@types/node/fs/promises.d.ts
299
+ 260: * console.log(chunk);
300
+ 329: * console.log(line);
301
+ 516: * console.log('can access');
302
+ 518: * console.error('cannot access');
303
+ 545: * console.log('source.txt was copied to destination.txt');
304
+ 547: * console.error('The file could not be copied');
305
+ 553: * console.log('source.txt was copied to destination.txt');
306
+ 555: * console.error('The file could not be copied');
307
+ 625: * console.log(`created ${createDir}`);
308
+ 627: * console.error(err.message);
309
+ 677: * console.log(file);
310
+ 679: * console.error(err);
311
+ 939: * console.error(err);
312
+ 1003: * console.error(err);
313
+ 1075: * console.log(contents);
314
+ 1077: * console.error(err.message);
315
+ 1098: * console.error(err);
316
+ 1172: * console.log(dirent.name);
317
+ 1174: * console.error(err);
318
+ 1198: * console.log(event);
319
+
320
+ /home/runner/workspace/node_modules/send/README.md
321
+ 228: custom function to render a listing of a directory.
322
+ 259: // render an index for the directory
323
+ 260: res.setHeader('Content-Type', 'text/plain; charset=UTF-8')
324
+
325
+ /home/runner/workspace/node_modules/encodeurl/README.md
326
+ 42: res.setHeader('Content-Type', 'text/html; charset=UTF-8')
327
+ 72: res.setHeader('Content-Type', 'text/html; charset=UTF-8')
328
+
329
+ /home/runner/workspace/node_modules/send/package.json
330
+ 59: "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
331
+ 60: "test-cov": "nyc --reporter=html --reporter=text npm test",
332
+
333
+ /home/runner/workspace/node_modules/send/index.js
334
+ 185: res.setHeader('Content-Type', 'text/html; charset=UTF-8')
335
+ 387: res.setHeader('Content-Type', 'text/html; charset=UTF-8')
336
+
337
+ /home/runner/workspace/node_modules/@types/node/dns/promises.d.ts
338
+ 71: * console.log('address: %j family: IPv%s', result.address, result.family);
339
+ 78: * console.log('addresses: %j', result);
340
+ 101: * console.log(result.hostname, result.service);
341
+ 296: * Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. On success, the `Promise` is resolved with a two-dimensional array
342
+ 297: * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
343
+
344
+ /home/runner/workspace/node_modules/range-parser/package.json
345
+ 41: "test-cov": "nyc --reporter=html --reporter=text npm test",
346
+ 42: "test-travis": "nyc --reporter=text npm test"
347
+
348
+ /home/runner/workspace/node_modules/depd/index.js
349
+ 297: var context = callSite.getThis()
350
+ 298: var typeName = context && callSite.getTypeName()
351
+ 307: typeName = context.name || typeName
352
+
353
+ /home/runner/workspace/node_modules/router/README.md
354
+ 30: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
355
+ 99: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
356
+ 179: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
357
+ 200: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
358
+ 225: This is most used when you want to define arbitrary rendering of errors.
359
+ 268: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
360
+ 285: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
361
+ 289: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
362
+ 298: You can get the message by running this command in your terminal,
363
+ 330: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
364
+ 344: res.setHeader('Content-Type', 'text/plain; charset=utf-8')
365
+
366
+ /home/runner/workspace/node_modules/depd/package.json
367
+ 42: "test-ci": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter spec test/ && istanbul report lcovonly text-summary",
368
+ 43: "test-cov": "istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter dot test/ && istanbul report lcov text-summary"
369
+
370
+ /home/runner/workspace/node_modules/router/package.json
371
+ 40: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
372
+ 41: "test-cov": "nyc --reporter=text npm test",
373
+
374
+ /home/runner/workspace/node_modules/@types/node/zlib.d.ts
375
+ 32: * console.error('An error occurred:', err);
376
+ 51: * console.error('An error occurred:', err);
377
+ 64: * console.error('An error occurred:', err);
378
+ 67: * console.log(buffer.toString('base64'));
379
+ 73: * console.error('An error occurred:', err);
380
+ 76: * console.log(buffer.toString());
381
+ 85: * .then((buf) => console.log(buf.toString()))
382
+ 87: * console.error('An error occurred:', err);
383
+
384
+ /home/runner/workspace/node_modules/debug/README.md
385
+ 18: `debug` exposes a function; simply pass this function the name of your module, and it will return a decorated version of `console.error` for you to pass debug statements to. This will allow you to toggle the debug output for different parts of your module as well as the module as a whole.
386
+ 128: 31](https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/))
387
+ 199: For example, if you wanted to add support for rendering a Buffer as hex with
388
+ 244: In Chromium-based web browsers (e.g. Brave, Chrome, and Electron), the JavaScript console will—by default—only show messages logged by `debug` if the "Verbose" log level is _enabled_.
389
+ 262: // set this namespace to log via console.log
390
+ 263: log.log = console.log.bind(console); // don't forget to bind to console!
391
+ 267: // set all output to go via console.info
392
+ 269: debug.log = console.info.bind(console);
393
+ 270: error('now goes to stdout via console.info');
394
+ 271: log('still goes to stdout, but via console.info now');
395
+ 295: console.log(1, debug.enabled('test'));
396
+ 298: console.log(2, debug.enabled('test'));
397
+ 301: console.log(3, debug.enabled('test'));
398
+ 319: $ DEBUG=foo node -e 'var dbg = require("debug"); dbg.enable("bar"); console.log(dbg.enabled("foo"))'
399
+
400
+ /home/runner/workspace/node_modules/@types/node/worker_threads.d.ts
401
+ 56: import { Context } from "node:vm";
402
+ 78: * port1.on('message', (message) => console.log('received', message));
403
+ 127: * port1.on('message', (message) => console.log(message));
404
+ 149: * port1.on('message', (message) => console.log(message));
405
+ 154: * // This does not copy data, but renders `uint8Array` unusable:
406
+ 346: * console.log('received:', value);
407
+ 527: * console.log(event.data);
408
+ 589: * console.log(typedArray1);
409
+ 590: * console.log(typedArray2);
410
+ 631: * Transfer a `MessagePort` to a different `vm` Context. The original `port` object is rendered unusable, and the returned `MessagePort` instance
411
+ 634: * The returned `MessagePort` is an object in the target context and
412
+ 636: * target context
413
+ 644: * @param contextifiedSandbox A `contextified` object as returned by the `vm.createContext()` method.
414
+ 646: function moveMessagePortToContext(port: MessagePort, contextifiedSandbox: Context): MessagePort;
415
+ 656: * console.log(receiveMessageOnPort(port2));
416
+ 658: * console.log(receiveMessageOnPort(port2));
417
+ 689: * console.log(getEnvironmentData('Hello')); // Prints 'World!'.
418
+ 697: * The `worker.setEnvironmentData()` API sets the content of `worker.getEnvironmentData()` in the current thread and all new `Worker` instances spawned from the current context.
419
+
420
+ /home/runner/workspace/node_modules/router/index.js
421
+ 712: res.setHeader('Content-Type', 'text/plain')
422
+
423
+ /home/runner/workspace/node_modules/@types/node/wasi.d.ts
424
+ 4: * **Full support for secure file system sandboxing may or may not be implemented in**
425
+ 32: * To run the above example, create a new WebAssembly text format file named `demo.wat`:
426
+ 34: * ```text
427
+ 45: * ;; Note the trailing newline which is required for the text to appear
428
+ 89: * sandbox directory structure. The string keys of `preopens` are treated as
429
+ 90: * directories within the sandbox. The corresponding values in `preopens` are
430
+
431
+ /home/runner/workspace/node_modules/debug/src/index.js
432
+ 2: * Detect Electron renderer / nwjs process, which is node, but we should
433
+ 6: if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) {
434
+
435
+ /home/runner/workspace/node_modules/debug/src/common.js
436
+ 284: console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
437
+
438
+ /home/runner/workspace/node_modules/debug/src/browser.js
439
+ 18: console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');
440
+ 119: if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {
441
+ 135: (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||
442
+ 185: * Invokes `console.debug()` when available.
443
+ 186: * No-op when `console.debug` is not a "function".
444
+ 187: * If `console.debug` is not available, falls back
445
+ 188: * to `console.log`.
446
+ 192: exports.log = console.debug || console.log || (() => {});
447
+ 249: // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context
448
+ 250: // The Browser also has localStorage in the global context.
449
+
450
+ /home/runner/workspace/node_modules/@types/node/vm.d.ts
451
+ 3: * Machine contexts.
452
+ 11: * A common use case is to run the code in a different V8 Context. This means
453
+ 14: * One can provide the context by `contextifying` an
454
+ 15: * object. The invoked code treats any property in the context like a
455
+ 17: * code are reflected in the context object.
456
+ 24: * const context = { x: 2 };
457
+ 25: * vm.createContext(context); // Contextify the object.
458
+ 28: * // `x` and `y` are global variables in the context.
459
+ 29: * // Initially, x has the value 2 because that is the value of context.x.
460
+ 30: * vm.runInContext(code, context);
461
+ 32: * console.log(context.x); // 42
462
+ 33: * console.log(context.y); // 17
463
+ 35: * console.log(x); // 1; y is not defined.
464
+ 41: interface Context extends NodeJS.Dict<any> {}
465
+ 95: interface RunningScriptInNewContextOptions extends RunningScriptOptions {
466
+ 97: * Human-readable name of the newly created context.
467
+ 99: contextName?: CreateContextOptions["name"];
468
+ 101: * Origin corresponding to the newly created context for display purposes. The origin should be formatted like a URL,
469
+ 105: contextOrigin?: CreateContextOptions["origin"];
470
+ 106: contextCodeGeneration?: CreateContextOptions["codeGeneration"];
471
+ 110: microtaskMode?: CreateContextOptions["microtaskMode"];
472
+ 116: interface RunningCodeInNewContextOptions extends RunningScriptInNewContextOptions {
473
+ 131: * The sandbox/context in which the said function should be compiled in.
474
+ 133: parsingContext?: Context | undefined;
475
+ 135: * An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
476
+ 137: contextExtensions?: Object[] | undefined;
477
+ 139: interface CreateContextOptions {
478
+ 141: * Human-readable name of the newly created context.
479
+ 142: * @default 'VM Context i' Where i is an ascending numerical index of the created context.
480
+ 146: * Corresponds to the newly created context for display purposes.
481
+ 192: * executed in specific contexts.
482
+ 198: * Runs the compiled code contained by the `vm.Script` object within the given `contextifiedObject` and returns the result. Running code does not have access
483
+ 203: * The globals are contained in the `context` object.
484
+ 208: * const context = {
485
+ 215: * vm.createContext(context);
486
+ 217: * script.runInContext(context);
487
+ 220: * console.log(context);
488
+ 228: * @param contextifiedObject A `contextified` object as returned by the `vm.createContext()` method.
489
+ 231: runInContext(contextifiedObject: Context, options?: RunningScriptOptions): any;
490
+ 233: * This method is a shortcut to `script.runInContext(vm.createContext(options), options)`.
491
+ 236: * 1. Creates a new context.
492
+ 237: * 2. If `contextObject` is an object, contextifies it with the new context.
493
+ 238: * If `contextObject` is undefined, creates a new object and contextifies it.
494
+ 239: * If `contextObject` is `vm.constants.DONT_CONTEXTIFY`, don't contextify anything.
495
+ 240: * 3. Runs the compiled code contained by the `vm.Script` object within the created context. The code
496
+ 245: * the code multiple times in different contexts. The globals are set on and
497
+ 246: * contained within each individual `context`.
498
+ 253: * const contexts = [{}, {}, {}];
499
+ 254: * contexts.forEach((context) => {
500
+ 255: * script.runInNewContext(context);
501
+ 258: * console.log(contexts);
502
+ 261: * // This would throw if the context is created from a contextified object.
503
+ 262: * // vm.constants.DONT_CONTEXTIFY allows creating contexts with ordinary
504
+ 265: * const frozenContext = freezeScript.runInNewContext(vm.constants.DONT_CONTEXTIFY);
505
+ 268: * @param contextObject Either `vm.constants.DONT_CONTEXTIFY` or an object that will be contextified.
506
+ 269: * If `undefined`, an empty contextified object will be created for backwards compatibility.
507
+ 272: runInNewContext(
508
+ 273: contextObject?: Context | typeof constants.DONT_CONTEXTIFY,
509
+ 274: options?: RunningScriptInNewContextOptions,
510
+ 277: * Runs the compiled code contained by the `vm.Script` within the context of the
511
+ 291: * script.runInThisContext();
512
+ 294: * console.log(globalVar);
513
+ 301: runInThisContext(options?: RunningScriptOptions): any;
514
+ 329: * script.runInThisContext();
515
+ 359: * console.log(script.sourceMapURL);
516
+ 367: * If the given `contextObject` is an object, the `vm.createContext()` method will
517
+ 368: * [prepare that object](https://nodejs.org/docs/latest-v22.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
518
+ 369: * and return a reference to it so that it can be used in calls to {@link runInContext} or
519
+ 370: * [`script.runInContext()`](https://nodejs.org/docs/latest-v22.x/api/vm.html#scriptrunincontextcontextifiedobject-options).
520
+ 371: * Inside such scripts, the global object will be wrapped by the `contextObject`, retaining all of its
521
+ 381: * const context = { globalVar: 1 };
522
+ 382: * vm.createContext(context);
523
+ 384: * vm.runInContext('globalVar *= 2;', context);
524
+ 386: * console.log(context);
525
+ 389: * console.log(global.globalVar);
526
+ 393: * If `contextObject` is omitted (or passed explicitly as `undefined`), a new,
527
+ 394: * empty contextified object will be returned.
528
+ 396: * When the global object in the newly created context is contextified, it has some quirks
529
+ 397: * compared to ordinary global objects. For example, it cannot be frozen. To create a context
530
+ 398: * without the contextifying quirks, pass `vm.constants.DONT_CONTEXTIFY` as the `contextObject`
531
+ 401: * The `vm.createContext()` method is primarily useful for creating a single
532
+ 402: * context that can be used to run multiple scripts. For instance, if emulating a
533
+ 403: * web browser, the method can be used to create a single context representing a
534
+ 405: * context.
535
+ 407: * The provided `name` and `origin` of the context are made visible through the
536
+ 410: * @param contextObject Either `vm.constants.DONT_CONTEXTIFY` or an object that will be contextified.
537
+ 411: * If `undefined`, an empty contextified object will be created for backwards compatibility.
538
+ 412: * @return contextified object.
539
+ 414: function createContext(
540
+ 415: contextObject?: Context | typeof constants.DONT_CONTEXTIFY,
541
+ 416: options?: CreateContextOptions,
542
+ 417: ): Context;
543
+ 419: * Returns `true` if the given `object` object has been contextified using {@link createContext},
544
+ 420: * or if it's the global object of a context created using `vm.constants.DONT_CONTEXTIFY`.
545
+ 423: function isContext(sandbox: Context): boolean;
546
+ 425: * The `vm.runInContext()` method compiles `code`, runs it within the context of
547
+ 426: * the `contextifiedObject`, then returns the result. Running code does not have
548
+ 427: * access to the local scope. The `contextifiedObject` object _must_ have been
549
+ 428: * previously `contextified` using the {@link createContext} method.
550
+ 432: * The following example compiles and executes different scripts using a single `contextified` object:
551
+ 437: * const contextObject = { globalVar: 1 };
552
+ 438: * vm.createContext(contextObject);
553
+ 441: * vm.runInContext('globalVar *= 2;', contextObject);
554
+ 443: * console.log(contextObject);
555
+ 448: * @param contextifiedObject The `contextified` object that will be used as the `global` when the `code` is compiled and run.
556
+ 451: function runInContext(code: string, contextifiedObject: Context, options?: RunningCodeOptions | string): any;
557
+ 454: * `(new vm.Script(code, options)).runInContext(vm.createContext(options), options)`.
558
+ 459: * 1. Creates a new context.
559
+ 460: * 2. If `contextObject` is an object, contextifies it with the new context.
560
+ 461: * If `contextObject` is undefined, creates a new object and contextifies it.
561
+ 462: * If `contextObject` is `vm.constants.DONT_CONTEXTIFY`, don't contextify anything.
562
+ 464: * 4. Runs the compield code within the created context. The code does not have access to the scope in
563
+ 469: * variable and sets a new one. These globals are contained in the `contextObject`.
564
+ 474: * const contextObject = {
565
+ 479: * vm.runInNewContext('count += 1; name = "kitty"', contextObject);
566
+ 480: * console.log(contextObject);
567
+ 483: * // This would throw if the context is created from a contextified object.
568
+ 484: * // vm.constants.DONT_CONTEXTIFY allows creating contexts with ordinary global objects that
569
+ 486: * const frozenContext = vm.runInNewContext('Object.freeze(globalThis); globalThis;', vm.constants.DONT_CONTEXTIFY);
570
+ 490: * @param contextObject Either `vm.constants.DONT_CONTEXTIFY` or an object that will be contextified.
571
+ 491: * If `undefined`, an empty contextified object will be created for backwards compatibility.
572
+ 494: function runInNewContext(
573
+ 496: contextObject?: Context | typeof constants.DONT_CONTEXTIFY,
574
+ 497: options?: RunningCodeInNewContextOptions | string,
575
+ 500: * `vm.runInThisContext()` compiles `code`, runs it within the context of the
576
+ 506: * The following example illustrates using both `vm.runInThisContext()` and
577
+ 513: * const vmResult = vm.runInThisContext('localVar = "vm";');
578
+ 514: * console.log(`vmResult: '${vmResult}', localVar: '${localVar}'`);
579
+ 518: * console.log(`evalResult: '${evalResult}', localVar: '${localVar}'`);
580
+ 522: * Because `vm.runInThisContext()` does not have access to the local scope, `localVar` is unchanged. In contrast,
581
+ 524: * local scope, so the value `localVar` is changed. In this way `vm.runInThisContext()` is much like an [indirect `eval()` call](https://es5.github.io/#x10.4.2), e.g.`(0,eval)('code')`.
582
+ 528: * When using either `script.runInThisContext()` or {@link runInThisContext}, the code is executed within the current V8 global
583
+ 529: * context. The code passed to this VM context will have its own isolated scope.
584
+ 532: * to the context must either import `node:http` on its own, or have a
585
+ 544: * response.writeHead(200, { 'Content-Type': 'text/plain' });
586
+ 548: * console.log('Server running at http://127.0.0.1:8124/');
587
+ 551: * vm.runInThisContext(code)(require);
588
+ 554: * The `require()` in the above case shares the state with the context it is
589
+ 556: * altering objects in the context in unwanted ways.
590
+ 561: function runInThisContext(code: string, options?: RunningCodeOptions | string): any;
591
+ 563: * Compiles the given code into the provided context (if no context is
592
+ 564: * supplied, the current context is used), and returns it wrapped inside a
593
+ 580: * Measure the memory known to V8 and used by all contexts known to the
594
+ 581: * current V8 isolate, or the main context.
595
+ 587: * memory reachable by each V8 specific contexts in the current instance of
596
+ 593: * // Measure the memory used by the main context.
597
+ 603: * console.log(result);
598
+ 606: * const context = vm.createContext({ a: 1 });
599
+ 609: * // Reference the context here so that it won't be GC'ed
600
+ 611: * console.log(context.a);
601
+ 628: * console.log(result);
602
+ 652: * ECMAScript modules in VM contexts. It is the counterpart of the `vm.Script` class that closely mirrors [Module Record](https://262.ecma-international.org/14.0/#sec-abstract-module-records) s as
603
+ 656: * Unlike `vm.Script` however, every `vm.Module` object is bound to a context from
604
+ 672: * const contextifiedObject = vm.createContext({
605
+ 674: * print: console.log,
606
+ 680: * // parses the provided source text, throwing a `SyntaxError` if anything goes
607
+ 681: * // wrong. By default, a Module is created in the top context. But here, we
608
+ 682: * // specify `contextifiedObject` as the context this Module belongs to.
609
+ 691: * `, { context: contextifiedObject });
610
+ 720: * // "contextifiedObject" when creating the context.
611
+ 722: * `, { context: referencingModule.context });
612
+ 724: * // Using `contextifiedObject` instead of `referencingModule.context`
613
+ 767: context: Context;
614
+ 819: * * It must belong to the same context as the parent `Module`.
615
+ 848: * @default 'vm:module(i)' where i is a context-specific ascending index.
616
+ 852: context?: Context | undefined;
617
+ 865: * The `vm.SourceTextModule` class provides the [Source Text Module Record](https://tc39.es/ecma262/#sec-source-text-module-records) as
618
+ 880: * @default 'vm:module(i)' where i is a context-specific ascending index.
619
+ 884: * The contextified object as returned by the `vm.createContext()` method, to compile and evaluate this module in.
620
+ 886: context?: Context | undefined;
621
+ 953: * context to load the requested module.
622
+ 960: * This constant, when used as the `contextObject` argument in vm APIs, instructs Node.js to create
623
+ 961: * a context without wrapping its global object with another object in a Node.js-specific manner.
624
+ 962: * As a result, the `globalThis` value inside the new context would behave more closely to an ordinary
625
+ 965: * When `vm.constants.DONT_CONTEXTIFY` is used as the `contextObject` argument to {@link createContext},
626
+ 966: * the returned object is a proxy-like object to the global object in the newly created context with
627
+ 967: * fewer Node.js-specific quirks. It is reference equal to the `globalThis` value in the new context,
628
+ 968: * can be modified from outside the context, and can be used to access built-ins in the new context directly.
629
+
630
+ /home/runner/workspace/node_modules/qs/README.md
631
+ 662: To completely skip rendering keys with `null` values, use the `skipNulls` flag:
632
+
633
+ /home/runner/workspace/node_modules/@types/node/v8.d.ts
634
+ 30: number_of_native_contexts: number;
635
+ 31: number_of_detached_contexts: number;
636
+ 60: * console.log(v8.cachedDataVersionTag()); // 3947234607
637
+ 65: * console.log(v8.cachedDataVersionTag()); // 183726201
638
+ 78: * `number_of_native_contexts` The value of native\_context is the number of the
639
+ 79: * top-level contexts currently active. Increase of this number over time indicates
640
+ 82: * `number_of_detached_contexts` The value of detached\_context is the number
641
+ 83: * of contexts that were detached and not yet garbage collected. This number
642
+ 106: * number_of_native_contexts: 1,
643
+ 107: * number_of_detached_contexts: 0,
644
+ 187: * This is similar to the [`queryObjects()` console API](https://developer.chrome.com/docs/devtools/console/utilities#queryObjects-function)
645
+ 188: * provided by the Chromium DevTools console. It can be used to search for objects that have the matching constructor on its prototype chain
646
+ 198: * Only objects created in the current execution context are included in the results.
647
+ 203: * console.log(queryObjects(A)); // 0
648
+ 205: * console.log(queryObjects(A)); // 1
649
+ 207: * console.log(queryObjects(A, { format: 'summary' }));
650
+ 211: * console.log(queryObjects(B)); // 1
651
+ 213: * console.log(queryObjects(B, { format: 'summary' }));
652
+ 219: * console.log(queryObjects(A)); // 3
653
+ 221: * console.log(queryObjects(A, { format: 'summary' }));
654
+ 245: * // Print heap snapshot to the console
655
+ 282: * console.log(`worker heapdump: ${filename}`);
656
+ 284: * console.log(`main thread heapdump: ${writeHeapSnapshot()}`);
657
+ 345: * Pass the corresponding `ArrayBuffer` in the deserializing context to `deserializer.transferArrayBuffer()`.
658
+ 395: * Pass the corresponding `ArrayBuffer` in the serializing context to `serializer.transferArrayBuffer()` (or return the `id` from `serializer._getSharedArrayBufferId()` in the case of
659
+ 557: * console.log(profiler.stop());
660
+ 788: * console.log(shelf.storage.get(name));
661
+
662
+ /home/runner/workspace/node_modules/qs/CHANGELOG.md
663
+ 234: - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
664
+ 287: - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
665
+ 314: - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
666
+ 343: - [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336)
667
+ 356: - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
668
+ 409: - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
669
+ 460: - [Docs] Clean up license text so it’s properly detected as BSD-3-Clause
670
+ 522: - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
671
+ 561: - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
672
+ 622: - [meta] Clean up license text so it’s properly detected as BSD-3-Clause
673
+
674
+ /home/runner/workspace/node_modules/cookie/README.md
675
+ 199: res.setHeader('Content-Type', 'text/html; charset=UTF-8');
676
+
677
+ /home/runner/workspace/node_modules/@types/node/util.d.ts
678
+ 64: * to be displayed on a new line. It will also add new lines to text that is
679
+ 68: * text will be reduced below 16 characters, no matter the `breakLength` size.
680
+ 109: stylize(text: string, styleType: Style): string;
681
+ 183: * // when printed to a terminal.
682
+ 205: * console.log('Call Sites:');
683
+ 207: * console.log(`CallSite ${index + 1}:`);
684
+ 208: * console.log(`Function Name: ${callSite.functionName}`);
685
+ 209: * console.log(`Script Name: ${callSite.scriptName}`);
686
+ 210: * console.log(`Line Number: ${callSite.lineNumber}`);
687
+ 211: * console.log(`Column Number: ${callSite.column}`);
688
+ 277: * console.error(name); // ENOENT
689
+ 292: * console.error(name); // ENOENT
690
+ 306: * console.error(name); // no such file or directory
691
+ 371: * console.log('Dependent resource was aborted.');
692
+ 421: * console.log(inspect(obj));
693
+ 433: * console.log(util.inspect(util, { showHidden: true, depth: null }));
694
+ 449: * console.log(util.inspect(o, { compact: true, depth: 5, breakLength: 80 }));
695
+ 461: * console.log(util.inspect(o, { compact: false, depth: 5, breakLength: 80 }));
696
+ 484: * // Setting `breakLength` to e.g. 150 will print the "Lorem ipsum" text in a
697
+ 502: * console.log(inspect(weakSet, { showHidden: true }));
698
+ 518: * console.log(inspect(o1, { sorted: true }));
699
+ 520: * console.log(inspect(o1, { sorted: (a, b) => b.localeCompare(a) }));
700
+ 545: * console.log(inspect(thousand, { numericSeparator: true }));
701
+ 547: * console.log(inspect(million, { numericSeparator: true }));
702
+ 549: * console.log(inspect(bigNumber, { numericSeparator: true }));
703
+ 551: * console.log(inspect(bigDecimal, { numericSeparator: true }));
704
+ 690: * console.log(stream instanceof EventEmitter); // true
705
+ 691: * console.log(MyStream.super_ === EventEmitter); // true
706
+ 694: * console.log(`Received data: "${data}"`);
707
+ 713: * console.log(`Received data: "${data}"`);
708
+ 728: * environment variable, then the returned function operates similar to `console.error()`. If not, then the returned function is a no-op.
709
+ 740: * ```console
710
+ 759: * ```console
711
+ 1057: * console.log(util.stripVTControlCharacters('\u001B[4mvalue\u001B[0m'));
712
+ 1079: * console.log(ret);
713
+ 1085: * ```text
714
+ 1217: * console.log(`This directory is owned by ${stats.uid}`);
715
+ 1250: * // naiveBar().then(a => console.log(a));
716
+ 1252: * naiveBar.call(foo).then((a) => console.log(a)); // '42'
717
+ 1255: * bindBar().then((a) => console.log(a)); // '42'
718
+ 1368: * This function returns a formatted text considering the `format` passed.
719
+ 1373: * console.log(errorMessage);
720
+ 1376: * `util.inspect.colors` also provides text formats such as `italic`, and `underline` and you can combine both:
721
+ 1379: * console.log(
722
+ 1388: * console.log(
723
+ 1389: * util.styleText(['red', 'green'], 'text'), // green
724
+ 1394: * @param format A text format or an Array of text formats defined in `util.inspect.colors`.
725
+ 1395: * @param text The text to to be formatted.
726
+ 1404: text: string,
727
+ 1412: * console.log(decoder.decode(u8arr)); // Hello
728
+ 1441: * internally and emitted after the next call to `textDecoder.decode()`.
729
+ 1443: * If `textDecoder.fatal` is `true`, decoding errors that occur will result in a `TypeError` being thrown.
730
+ 1486: * @param [input='an empty string'] The text to encode.
731
+ 1499: * @param src The text to encode.
732
+ 1508: * https://nodejs.org/api/globals.html#textdecoder
733
+ 1518: * https://nodejs.org/api/globals.html#textencoder
734
+ 1550: * console.log(values, positionals);
735
+ 1776: * const myMIME = new MIMEType('text/javascript');
736
+ 1777: * console.log(myMIME.type);
737
+ 1778: * // Prints: text
738
+ 1780: * console.log(myMIME.type);
739
+ 1782: * console.log(String(myMIME));
740
+ 1793: * const myMIME = new MIMEType('text/ecmascript');
741
+ 1794: * console.log(myMIME.subtype);
742
+ 1797: * console.log(myMIME.subtype);
743
+ 1799: * console.log(String(myMIME));
744
+ 1800: * // Prints: text/javascript
745
+ 1811: * const myMIME = new MIMEType('text/javascript;key=value');
746
+ 1812: * console.log(myMIME.essence);
747
+ 1813: * // Prints: text/javascript
748
+ 1815: * console.log(myMIME.essence);
749
+ 1817: * console.log(String(myMIME));
750
+ 1866: * const { params } = new MIMEType('text/plain;foo=0;bar=1');
751
+ 1868: * console.log(name);
752
+ 1883: * const { params } = new MIMEType('text/plain;foo=0;bar=1');
753
+ 1886: * console.log(params.toString());
754
+ 2014: * Returns `true` if the value is any boxed primitive object, e.g. created
755
+ 2212: * console.log(util.types.isNativeError(new Error())); // true
756
+ 2213: * console.log(util.types.isNativeError(new TypeError())); // true
757
+ 2214: * console.log(util.types.isNativeError(new RangeError())); // true
758
+ 2221: * console.log(util.types.isNativeError(new MyError())); // true
759
+ 2229: * const context = vm.createContext({});
760
+ 2230: * const myError = vm.runInContext('new Error()', context);
761
+ 2231: * console.log(util.types.isNativeError(myError)); // true
762
+ 2232: * console.log(myError instanceof Error); // false
763
+ 2241: * console.log(util.types.isNativeError(myError)); // false
764
+ 2242: * console.log(myError instanceof Error); // true
765
+
766
+ /home/runner/workspace/node_modules/cookie/package.json
767
+ 40: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
768
+ 41: "test-cov": "nyc --reporter=html --reporter=text npm test",
769
+
770
+ /home/runner/workspace/node_modules/@types/node/url.d.ts
771
+ 263: * console.log(url.domainToASCII('español.com'));
772
+ 265: * console.log(url.domainToASCII('中文.com'));
773
+ 267: * console.log(url.domainToASCII('xn--iñvalid.com'));
774
+ 282: * console.log(url.domainToUnicode('xn--espaol-zwa.com'));
775
+ 284: * console.log(url.domainToUnicode('xn--fiq228c.com'));
776
+ 286: * console.log(url.domainToUnicode('xn--iñvalid.com'));
777
+ 344: * console.log(urlToHttpOptions(myURL));
778
+ 414: * console.log(otherBlob.size);
779
+ 463: * console.log(myURL.hash);
780
+ 467: * console.log(myURL.href);
781
+ 481: * console.log(myURL.host);
782
+ 485: * console.log(myURL.href);
783
+ 498: * console.log(myURL.hostname);
784
+ 503: * console.log(myURL.href);
785
+ 508: * console.log(myURL.href);
786
+ 520: * console.log(myURL.href);
787
+ 524: * console.log(myURL.href);
788
+ 541: * console.log(myURL.origin);
789
+ 547: * console.log(idnURL.origin);
790
+ 550: * console.log(idnURL.hostname);
791
+ 560: * console.log(myURL.password);
792
+ 564: * console.log(myURL.href);
793
+ 578: * console.log(myURL.pathname);
794
+ 582: * console.log(myURL.href);
795
+ 611: * console.log(myURL.port);
796
+ 617: * console.log(myURL.port);
797
+ 619: * console.log(myURL.href);
798
+ 623: * console.log(myURL.port);
799
+ 625: * console.log(myURL.href);
800
+ 630: * console.log(myURL.port);
801
+ 635: * console.log(myURL.port);
802
+ 640: * console.log(myURL.port);
803
+ 646: * console.log(myURL.port);
804
+ 658: * console.log(myURL.port);
805
+ 668: * console.log(myURL.protocol);
806
+ 672: * console.log(myURL.href);
807
+ 684: * console.log(myURL.search);
808
+ 688: * console.log(myURL.href);
809
+ 711: * console.log(myURL.search); // prints ?foo=~bar
810
+ 716: * console.log(myURL.search); // prints ?foo=%7Ebar
811
+ 725: * console.log(myURL.username);
812
+ 729: * console.log(myURL.href);
813
+ 754: * console.log(JSON.stringify(myURLs));
814
+ 775: * console.log(myURL.searchParams.get('abc'));
815
+ 779: * console.log(myURL.href);
816
+ 784: * console.log(myURL.href);
817
+ 792: * console.log(myURL.href);
818
+ 794: * console.log(newSearchParams.toString());
819
+ 799: * console.log(myURL.href);
820
+ 802: * console.log(myURL.href);
821
+ 840: * console.log(name, value, myURL.searchParams === searchParams);
822
+ 880: * console.log(name);
823
+ 898: * console.log(params.toString());
824
+ 903: * console.log(params.toString());
825
+ 923: * console.log(params.toString());
826
+
827
+ /home/runner/workspace/node_modules/@types/node/tty.d.ts
828
+ 9: * When Node.js detects that it is being run with a text terminal ("TTY")
829
+ 12: * whether Node.js is being run within a TTY context is to check that the value of
830
+ 15: * ```console
831
+ 47: * This flag is always `false` when a process starts, even if the terminal is
832
+ 57: * terminal is disabled, including echoing input
833
+ 138: * Use this to determine what colors the terminal supports. Due to the nature of
834
+ 139: * colors in terminals it is possible to either have false positives or false
835
+ 141: * may lie about what terminal is used.
836
+ 143: * terminal. This can be useful to check how specific environment settings behave.
837
+ 154: * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.
838
+ 175: * @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.
839
+
840
+ /home/runner/workspace/node_modules/@types/node/trace_events.d.ts
841
+ 15: * * `node.console`: Enables capture of `console.time()` and `console.count()` output.
842
+ 32: * * `node.vm.script`: Enables capture of trace data for the `node:vm` module's `runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
843
+ 81: * console.info('Received SIGINT.');
844
+ 128: * console.log(trace_events.getEnabledCategories());
845
+ 133: * console.log(trace_events.getEnabledCategories());
846
+ 178: * Given the file `test.js` below, the command `node --trace-event-categories node.perf test.js` will print `'node.async_hooks,node.perf'` to the console.
847
+ 189: * console.log(trace_events.getEnabledCategories());
848
+
849
+ /home/runner/workspace/node_modules/content-type/package.json
850
+ 38: "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
851
+ 39: "test-cov": "nyc --reporter=html --reporter=text npm test",
852
+
853
+ /home/runner/workspace/node_modules/content-type/index.js
854
+ 18: * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE
855
+ 19: * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text
856
+ 20: * obs-text = %x80-FF
857
+ 21: * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
858
+ 30: * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text )
859
+ 31: * obs-text = %x80-FF
860
+
861
+ /home/runner/workspace/node_modules/@types/node/tls.d.ts
862
+ 188: interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions {
863
+ 470: * @param context Optionally provide a context.
864
+ 473: exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer;
865
+ 507: * An optional TLS context object from tls.createSecureContext()
866
+ 509: secureContext?: SecureContext | undefined;
867
+ 531: * invoke cb(null, ctx), where ctx is a SecureContext instance.
868
+ 532: * (tls.createSecureContext(...) can be used to get a proper
869
+ 533: * SecureContext.) If SNICallback wasn't provided the default callback
870
+ 536: SNICallback?: ((servername: string, cb: (err: Error | null, ctx?: SecureContext) => void) => void) | undefined;
871
+ 545: interface TlsOptions extends SecureContextOptions, CommonConnectionOptions, net.ServerOpts {
872
+ 594: interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions {
873
+ 632: * The `server.addContext()` method adds a secure context that will be used if
874
+ 635: * When there are multiple matching contexts, the most recently added one is
875
+ 639: * @param context An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc), or a TLS context object created
876
+ 640: * with {@link createSecureContext} itself.
877
+ 642: addContext(hostname: string, context: SecureContextOptions): void;
878
+ 652: * The `server.setSecureContext()` method replaces the secure context of an
879
+ 655: * @param options An object containing any of the possible properties from the {@link createSecureContext} `options` arguments (e.g. `key`, `cert`, `ca`, etc).
880
+ 657: setSecureContext(options: SecureContextOptions): void;
881
+ 797: cleartext: TLSSocket;
882
+ 800: interface SecureContextOptions {
883
+ 962: sessionIdContext?: string | undefined;
884
+ 975: interface SecureContext {
885
+ 976: context: any;
886
+ 1027: * console.log('server connected',
887
+ 1034: * console.log('server bound');
888
+ 1074: * console.log('client connected',
889
+ 1081: * console.log(data);
890
+ 1084: * console.log('server ends connection');
891
+ 1099: * the encrypted data and the other of which reads and writes the cleartext data.
892
+ 1101: * stream and the cleartext one is used as a replacement for the initial encrypted
893
+ 1104: * `tls.createSecurePair()` returns a `tls.SecurePair` object with `cleartext` and `encrypted` stream properties.
894
+ 1106: * Using `cleartext` has the same API as {@link TLSSocket}.
895
+ 1122: * where `secureSocket` has the same API as `pair.cleartext`.
896
+ 1125: * @param context A secure context object as returned by `tls.createSecureContext()`
897
+ 1131: context?: SecureContext,
898
+ 1138: * to `true`, other APIs that create secure contexts leave it unset.
899
+ 1141: * from `process.argv` as the default value of the `sessionIdContext` option, other
900
+ 1142: * APIs that create secure contexts have no default value.
901
+ 1144: * The `tls.createSecureContext()` method creates a `SecureContext` object. It is
902
+ 1145: * usable as an argument to several `tls` APIs, such as `server.addContext()`,
903
+ 1146: * but has no public methods. The {@link Server} constructor and the {@link createServer} method do not support the `secureContext` option.
904
+ 1160: function createSecureContext(options?: SecureContextOptions): SecureContext;
905
+ 1164: * the `ciphers` option of `{@link createSecureContext}`.
906
+ 1173: * console.log(tls.getCiphers()); // ['aes128-gcm-sha256', 'aes128-sha', ...]
907
+ 1180: * The default value is `'auto'`. See `{@link createSecureContext()}` for further
908
+ 1186: * The default value of the `maxVersion` option of `{@link createSecureContext()}`.
909
+ 1196: * The default value of the `minVersion` option of `{@link createSecureContext()}`.
910
+ 1207: * The default value of the `ciphers` option of `{@link createSecureContext()}`.
911
+
912
+ /home/runner/workspace/node_modules/qs/test/parse.js
913
+ 593: t.test('parses comma delimited array while having percent-encoded comma treated as normal text', function (st) {
914
+
915
+ /home/runner/workspace/node_modules/content-disposition/README.md
916
+ 119: - [RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1][rfc-2616]
917
+ 120: - [RFC 5987: Character Set and Language Encoding for Hypertext Transfer Protocol (HTTP) Header Field Parameters][rfc-5987]
918
+ 121: - [RFC 6266: Use of the Content-Disposition Header Field in the Hypertext Transfer Protocol (HTTP)][rfc-6266]
919
+
920
+ /home/runner/workspace/node_modules/@types/node/test.d.ts
921
+ 107: * The `TestContext` object passed to the `fn` argument can be used to perform
922
+ 138: * @param fn The function under test. The first argument to this function is a {@link TestContext} object.
923
+ 169: * @param fn The suite function declaring nested tests and suites. The first argument to this function is a {@link SuiteContext} object.
924
+ 297: * The type of a function passed to {@link test}. The first argument to this function is a {@link TestContext} object.
925
+ 300: type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise<void>;
926
+ 302: * The type of a suite test function. The argument to this function is a {@link SuiteContext} object.
927
+ 304: type SuiteFn = (s: SuiteContext) => void | Promise<void>;
928
+ 360: * If truthy, the test context will only run tests that have the `only` option set
929
+ 558: * An instance of `TestContext` is passed to each test function in order to
930
+ 559: * interact with the test runner. However, the `TestContext` constructor is not
931
+ 563: class TestContext {
932
+ 565: * An object containing assertion methods bound to the test context.
933
+ 569: * TestContext `assert` object, then the context parameter in the test's function signature **must be explicitly typed**
934
+ 572: * import { test, type TestContext } from 'node:test';
935
+ 574: * // The test function's context parameter must have a type annotation.
936
+ 575: * test('example', (t: TestContext) => {
937
+ 586: readonly assert: TestContextAssert;
938
+ 589: * @param fn The hook function. The first argument to this function is a `TestContext` object.
939
+ 594: before(fn?: TestContextHookFn, options?: HookOptions): void;
940
+ 597: * @param fn The hook function. The first argument to this function is a `TestContext` object.
941
+ 602: beforeEach(fn?: TestContextHookFn, options?: HookOptions): void;
942
+ 605: * @param fn The hook function. The first argument to this function is a `TestContext` object.
943
+ 610: after(fn?: TestContextHookFn, options?: HookOptions): void;
944
+ 613: * @param fn The hook function. The first argument to this function is a `TestContext` object.
945
+ 618: afterEach(fn?: TestContextHookFn, options?: HookOptions): void;
946
+ 653: * To make sure assertions are tracked, the assert functions on `context.assert` must be used,
947
+ 686: * If `shouldRunOnlyTests` is truthy, the test context will only run tests that
948
+ 693: * // The test context can be set to run subtests with the 'only' option.
949
+ 751: * @param fn The function under test. This first argument to this function is a {@link TestContext} object.
950
+ 761: interface TestContextAssert extends
951
+ 814: * An instance of `SuiteContext` is passed to each suite function in order to
952
+ 815: * interact with the test runner. However, the `SuiteContext` constructor is not
953
+ 819: class SuiteContext {
954
+ 848: * If truthy, and the test context is configured to run `only` tests, then this test will be
955
+ 891: * before(() => console.log('about to run some test'));
956
+ 907: * after(() => console.log('finished running tests'));
957
+ 923: * beforeEach(() => console.log('about to run a test'));
958
+ 940: * afterEach(() => console.log('finished running a test'));
959
+ 952: * The hook function. The first argument is the context in which the hook is called.
960
+ 955: type HookFn = (c: TestContext | SuiteContext, done: (result?: any) => void) => any;
961
+ 957: * The hook function. The first argument is a `TestContext` object.
962
+ 960: type TestContextHookFn = (t: TestContext, done: (result?: any) => void) => any;
963
+ 1000: mock: MockFunctionContext<F>;
964
+ 1033: * Each test also provides its own `MockTracker` instance via the test context's `mock` property.
965
+ 1071: * @return The mocked function. The mocked function contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the
966
+ 1113: * @return The mocked method. The mocked method contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the
967
+ 1203: module(specifier: string, options?: MockModuleOptions): MockModuleContext;
968
+ 1211: * After each test completes, this function is called on the test context's `MockTracker`. If the global `MockTracker` is used extensively, calling this
969
+ 1265: * The `MockFunctionContext` class is used to inspect or manipulate the behavior of
970
+ 1269: class MockFunctionContext<F extends Function> {
971
+ 1368: class MockModuleContext {
972
+ 1451: * test('sets the time of a date object', (context) => {
973
+ 1453: * context.mock.timers.enable({ apis: ['Date'], now: 100 });
974
+ 1456: * context.mock.timers.setTime(1000);
975
+ 1457: * context.mock.timers.tick(200);
976
+ 1469: * the test context's `MockTracker`.
977
+ 1493: * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
978
+ 1494: * const fn = context.mock.fn();
979
+ 1496: * context.mock.timers.enable({ apis: ['setTimeout'] });
980
+ 1503: * context.mock.timers.tick(9999);
981
+ 1515: * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
982
+ 1516: * const fn = context.mock.fn();
983
+ 1517: * context.mock.timers.enable({ apis: ['setTimeout'] });
984
+ 1522: * context.mock.timers.tick(twoSeconds);
985
+ 1523: * context.mock.timers.tick(twoSeconds);
986
+ 1524: * context.mock.timers.tick(twoSeconds);
987
+ 1537: * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
988
+ 1538: * const fn = context.mock.fn();
989
+ 1540: * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] });
990
+ 1547: * context.mock.timers.tick(9999);
991
+ 1566: * test('runAll functions following the given order', (context) => {
992
+ 1567: * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] });
993
+ 1578: * context.mock.timers.runAll();
994
+ 1586: * triggering timers in the context of timer mocking.
995
+ 1639: SuiteContext,
996
+ 1642: TestContext,
997
+ 1875: * Present if `context.todo` is called.
998
+ 1879: * Present if `context.skip` is called.
999
+ 1935: * Present if `context.todo` is called.
1000
+ 1939: * Present if `context.skip` is called.
1001
+ 1971: * Present if `context.todo` is called.
1002
+ 1975: * Present if `context.skip` is called.
1003
+
1004
+ /home/runner/workspace/node_modules/content-disposition/package.json
1005
+ 40: "test-ci": "c8 --reporter=lcovonly --reporter=text npm test",
1006
+ 41: "test-cov": "c8 --reporter=html --reporter=text npm test"
1007
+
1008
+ /home/runner/workspace/node_modules/@types/node/string_decoder.d.ts
1009
+ 17: * console.log(decoder.write(cent)); // Prints: ¢
1010
+ 20: * console.log(decoder.write(euro)); // Prints: €
1011
+ 37: * console.log(decoder.end(Buffer.from([0xAC]))); // Prints: €
1012
+
1013
+ /home/runner/workspace/node_modules/content-disposition/index.js
1014
+ 72: * quoted-string = ( <"> *(qdtext | quoted-pair ) <"> )
1015
+ 73: * qdtext = <any TEXT except <">>
1016
+
1017
+ /home/runner/workspace/node_modules/proxy-addr/package.json
1018
+ 44: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
1019
+ 45: "test-cov": "nyc --reporter=html --reporter=text npm test"
1020
+
1021
+ /home/runner/workspace/node_modules/@types/node/stream.d.ts
1022
+ 197: * console.log('Stream is readable (new data received in buffer)');
1023
+ 200: * console.log(`Read ${chunk.length} bytes of data...`);
1024
+ 206: * console.log('Reached end of stream.');
1025
+ 266: * console.log('Got %d characters of string data:', chunk.length);
1026
+ 281: * console.log(`Received ${chunk.length} bytes of data.`);
1027
+ 283: * console.log('There will be no additional data for 1 second.');
1028
+ 285: * console.log('Now data will start flowing again.');
1029
+ 306: * console.log('Reached the end, but did not read anything.');
1030
+ 348: * console.log('Stop writing to file.txt.');
1031
+ 350: * console.log('Manually close the file stream.');
1032
+ 850: * console.log('Write completed, do more writes now.');
1033
+ 1324: * console.log(value); // hello
1034
+ 1325: * console.log(done); // false
1035
+ 1365: * console.error('Stream failed.', err);
1036
+ 1367: * console.log('Stream is done reading.');
1037
+ 1457: * console.error('Pipeline failed.', err);
1038
+ 1459: * console.log('Pipeline succeeded.');
1039
+ 1492: * console.log(err); // No such file
1040
+
1041
+ /home/runner/workspace/node_modules/opencode-ai/postinstall.mjs
1042
+ 92: console.log(`opencode binary symlinked: ${targetPath} -> ${sourcePath}`)
1043
+ 105: console.log("Windows detected: binary setup not needed (using packaged .exe)")
1044
+ 121: console.error("Failed to setup opencode binary:", error.message)
1045
+ 129: console.error("Postinstall script error:", error.message)
1046
+
1047
+ /home/runner/workspace/node_modules/body-parser/README.md
1048
+ 37: * [Text body parser](#bodyparsertextoptions)
1049
+ 170: ### bodyParser.text([options])
1050
+ 183: The `text` function takes an optional `options` object that may contain any of
1051
+ 188: Specify the default character set for the text content if the charset is not
1052
+ 209: be an extension name (like `txt`), a mime type (like `text/plain`), or a mime
1053
+ 210: type with a wildcard (like `*/*` or `text/*`). If a function, the `type`
1054
+ 212: truthy value. Defaults to `text/plain`.
1055
+ 424: res.setHeader('Content-Type', 'text/plain')
1056
+ 479: app.use(bodyParser.text({ type: 'text/html' }))
1057
+
1058
+ /home/runner/workspace/node_modules/@types/node/sqlite.d.ts
1059
+ 38: * console.log(query.all());
1060
+ 331: * The source SQL text of the prepared statement with parameter
1061
+ 413: * The source SQL text of the prepared statement. This property is a
1062
+
1063
+ /home/runner/workspace/node_modules/body-parser/package.json
1064
+ 49: "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
1065
+ 50: "test-cov": "nyc --reporter=html --reporter=text npm test"
1066
+
1067
+ /home/runner/workspace/node_modules/@types/node/sea.d.ts
1068
+ 23: * echo 'console.log(`Hello, ${process.argv[2]}!`);' > hello.js
1069
+ 40: * ```text
1070
+ 80: * ```text
1071
+ 103: * ```console
1072
+ 108: * ```console
1073
+
1074
+ /home/runner/workspace/node_modules/opencode-ai/bin/opencode
1075
+ 13: console.error(result.error.message)
1076
+ 120: const text = ((result.stdout || "") + (result.stderr || "")).toLowerCase()
1077
+ 121: if (text.includes("musl")) return true
1078
+ 171: console.error(
1079
+
1080
+ /home/runner/workspace/node_modules/@types/node/repl.d.ts
1081
+ 13: import { Context } from "node:vm";
1082
+ 32: * If `true`, specifies that the output should be treated as a TTY terminal, and have
1083
+ 37: terminal?: boolean | undefined;
1084
+ 50: * @default `true` Always `false` in case `terminal` is falsy.
1085
+ 57: * @default the REPL instance's `terminal` value
1086
+ 62: * `global` as the context as opposed to creating a new separate context for the REPL
1087
+ 105: context: Context,
1088
+ 117: type REPLCommandAction = (this: REPLServer, text: string) => void;
1089
+ 120: * Help text to be displayed when `.help` is entered.
1090
+ 144: * The `vm.Context` provided to the `eval` function to be used for JavaScript
1091
+ 147: readonly context: Context;
1092
+ 213: * function will use the JavaScript `global` as the context as opposed to creating a new
1093
+ 214: * separate context for the REPL instance.
1094
+ 267: * console.log(`Hello, ${name}!`);
1095
+ 272: * console.log('Goodbye!');
1096
+ 279: * ```console
1097
+ 343: addListener(event: "reset", listener: (context: Context) => void): this;
1098
+ 353: emit(event: "reset", context: Context): boolean;
1099
+ 363: on(event: "reset", listener: (context: Context) => void): this;
1100
+ 373: once(event: "reset", listener: (context: Context) => void): this;
1101
+ 383: prependListener(event: "reset", listener: (context: Context) => void): this;
1102
+ 393: prependOnceListener(event: "reset", listener: (context: Context) => void): this;
1103
+
1104
+ /home/runner/workspace/node_modules/@types/node/readline.d.ts
1105
+ 27: * console.log(`Thank you for your valuable feedback: ${answer}`);
1106
+ 55: readonly terminal: boolean;
1107
+ 75: * console.log(
1108
+ 93: * as well as the column where the terminal caret will be rendered.
1109
+ 109: terminal?: boolean,
1110
+ 162: * console.log(`Oh, so your favorite food is ${answer}`);
1111
+ 173: * console.log(`Oh, so your favorite food is ${answer}`);
1112
+ 177: * console.log('The food question timed out');
1113
+ 214: * a `TTY` text terminal. See `TTY keybindings` for a list of key
1114
+ 334: terminal?: boolean | undefined;
1115
+ 337: * This option makes sense only if `terminal` is set to `true` by the user or by an internal `output` check,
1116
+ 345: * This option makes sense only if `terminal` is set to `true` by the user or by an internal `output` check,
1117
+ 406: * console.log(`Received: ${line}`);
1118
+ 410: * If `terminal` is `true` for this instance then the `output` stream will get
1119
+ 424: terminal?: boolean,
1120
+ 435: * This is automatically called by any readline instance on its `input` if the `input` is a terminal. Closing the `readline` instance does not stop
1121
+ 462: * console.log('world!');
1122
+ 465: * console.log(`Say what? I might have heard '${line.trim()}'`);
1123
+ 470: * console.log('Have a great day!');
1124
+ 497: * console.log(`Line from file: ${line}`);
1125
+ 516: * console.log(`Line from file: ${line}`);
1126
+ 540: * console.log('File processed.');
1127
+ 542: * console.error(err);
1128
+
1129
+ /home/runner/workspace/node_modules/once/README.md
1130
+ 71: console.log(msg)
1131
+
1132
+ /home/runner/workspace/node_modules/body-parser/lib/types/text.js
1133
+ 13: var debug = require('debug')('body-parser:text')
1134
+ 21: module.exports = text
1135
+ 24: * Create a middleware to parse text bodies.
1136
+ 30: function text (options) {
1137
+ 31: const normalizedOptions = normalizeOptions(options, 'text/plain')
1138
+ 33: return function textParser (req, res, next) {
1139
+
1140
+ /home/runner/workspace/node_modules/parse5-htmlparser2-tree-adapter/lib/index.js
1141
+ 9: text: 3,
1142
+ 125: type: 'text',
1143
+ 231: exports.insertText = function(parentNode, text) {
1144
+ 234: if (lastChild && lastChild.type === 'text') {
1145
+ 235: lastChild.data += text;
1146
+ 237: appendChild(parentNode, createTextNode(text));
1147
+ 241: exports.insertTextBefore = function(parentNode, text, referenceNode) {
1148
+ 244: if (prevNode && prevNode.type === 'text') {
1149
+ 245: prevNode.data += text;
1150
+ 247: insertBefore(parentNode, createTextNode(text), referenceNode);
1151
+ 300: exports.getTextNodeContent = function(textNode) {
1152
+ 301: return textNode.data;
1153
+ 322: return node.type === 'text';
1154
+
1155
+ /home/runner/workspace/node_modules/@types/node/process.d.ts
1156
+ 18: "console": typeof import("console");
1157
+ 19: "node:console": typeof import("node:console");
1158
+ 377: * console.log(`Benchmark took ${diff[0] * NS_PER_SEC + diff[1]} nanoseconds`);
1159
+ 400: * console.log(`Benchmark took ${end - start} nanoseconds`);
1160
+ 499: involuntaryContextSwitches: number;
1161
+ 512: voluntaryContextSwitches: number;
1162
+ 532: * Additional text to include with the error.
1163
+ 620: * console.log(`${index}: ${val}`);
1164
+ 632: * ```text
1165
+ 645: * ```console
1166
+ 710: * console.log(`Starting directory: ${cwd()}`);
1167
+ 713: * console.log(`New directory: ${cwd()}`);
1168
+ 715: * console.error(`chdir: ${err}`);
1169
+ 730: * console.log(`Current directory: ${cwd()}`);
1170
+ 805: * console.warn(warning.name); // 'Warning'
1171
+ 806: * console.warn(warning.message); // 'Something happened!'
1172
+ 807: * console.warn(warning.code); // 'MY_WARNING'
1173
+ 808: * console.warn(warning.stack); // Stack trace
1174
+ 809: * console.warn(warning.detail); // 'This is some additional information'
1175
+ 880: * console.log(env.foo);
1176
+ 891: * console.log(env.test);
1177
+ 894: * console.log(env.test);
1178
+ 905: * console.log(env.TEST);
1179
+ 915: * console.log(env.test);
1180
+ 1048: * console.log('Before:', getActiveResourcesInfo());
1181
+ 1050: * console.log('After:', getActiveResourcesInfo());
1182
+ 1072: * console.log(`Current gid: ${process.getgid()}`);
1183
+ 1091: * console.log(`Current gid: ${process.getgid()}`);
1184
+ 1094: * console.log(`New gid: ${process.getgid()}`);
1185
+ 1096: * console.log(`Failed to set gid: ${err}`);
1186
+ 1116: * console.log(`Current uid: ${process.getuid()}`);
1187
+ 1135: * console.log(`Current uid: ${process.getuid()}`);
1188
+ 1138: * console.log(`New uid: ${process.getuid()}`);
1189
+ 1140: * console.log(`Failed to set uid: ${err}`);
1190
+ 1159: * console.log(`Current uid: ${process.geteuid()}`);
1191
+ 1178: * console.log(`Current uid: ${process.geteuid()}`);
1192
+ 1181: * console.log(`New uid: ${process.geteuid()}`);
1193
+ 1183: * console.log(`Failed to set uid: ${err}`);
1194
+ 1203: * console.log(`Current gid: ${process.getegid()}`);
1195
+ 1222: * console.log(`Current gid: ${process.getegid()}`);
1196
+ 1225: * console.log(`New gid: ${process.getegid()}`);
1197
+ 1227: * console.log(`Failed to set gid: ${err}`);
1198
+ 1248: * console.log(process.getgroups()); // [ 16, 21, 297 ]
1199
+ 1270: * console.log(process.getgroups()); // new groups
1200
+ 1272: * console.log(`Failed to set groups: ${err}`);
1201
+ 1331: * console.log(`Version: ${version}`);
1202
+ 1348: * console.log(versions);
1203
+ 1353: * ```console
1204
+ 1437: * console.log('Got SIGHUP signal.');
1205
+ 1441: * console.log('Exiting.');
1206
+ 1476: * console.log(`This process is pid ${pid}`);
1207
+ 1488: * console.log(`The parent process is pid ${ppid}`);
1208
+ 1518: * console.log(`This processor architecture is ${arch}`);
1209
+ 1540: * console.log(`This platform is ${platform}`);
1210
+ 1599: * console.log(cpuUsage(startUsage));
1211
+ 1616: * console.log('start');
1212
+ 1618: * console.log('nextTick callback');
1213
+ 1620: * console.log('scheduled');
1214
+ 1856: * console.log(resourceUsage());
1215
+ 1874: * voluntaryContextSwitches: 79,
1216
+ 1875: * involuntaryContextSwitches: 1
1217
+
1218
+ /home/runner/workspace/node_modules/body-parser/index.js
1219
+ 13: * @property {Function} text Text parser
1220
+ 47: Object.defineProperty(exports, 'text', {
1221
+ 50: get: () => require('./lib/types/text')
1222
+
1223
+ /home/runner/workspace/node_modules/on-finished/HISTORY.md
1224
+ 9: * Prevent loss of async hooks context
1225
+
1226
+ /home/runner/workspace/node_modules/on-finished/package.json
1227
+ 36: "test-ci": "nyc --reporter=lcovonly --reporter=text npm test",
1228
+ 37: "test-cov": "nyc --reporter=html --reporter=text npm test"
1229
+
1230
+ /home/runner/workspace/node_modules/@types/node/perf_hooks.d.ts
1231
+ 16: * console.log(items.getEntries()[0].duration);
1232
+ 388: * console.log('hello world');
1233
+ 394: * console.log(list.getEntries()[0].duration);
1234
+ 430: * console.log(perfObserverList.getEntries());
1235
+ 473: * console.log(perfObserverList.getEntriesByName('meow'));
1236
+ 485: * console.log(perfObserverList.getEntriesByName('nope')); // []
1237
+ 487: * console.log(perfObserverList.getEntriesByName('test', 'mark'));
1238
+ 499: * console.log(perfObserverList.getEntriesByName('test', 'measure')); // []
1239
+ 524: * console.log(perfObserverList.getEntriesByType('mark'));
1240
+ 853: * console.log(h.min);
1241
+ 854: * console.log(h.max);
1242
+ 855: * console.log(h.mean);
1243
+ 856: * console.log(h.stddev);
1244
+ 857: * console.log(h.percentiles);
1245
+ 858: * console.log(h.percentile(50));
1246
+ 859: * console.log(h.percentile(99));
1247
+
1248
+ /home/runner/workspace/node_modules/accepts/README.md
1249
+ 14: - Allows types as an array or arguments list, ie `(['text/html', 'application/json'])`
1250
+ 15: as well as `('text/html', 'application/json')`.
1251
+ 72: Return the first accepted type (and it is returned as the same text as what
1252
+ 107: res.setHeader('Content-Type', 'text/html')
1253
+ 111: // the fallback is text/plain, so no need to specify it above
1254
+ 112: res.setHeader('Content-Type', 'text/plain')
1255
+ 125: curl -I -H'Accept: text/html' http://localhost:3000/
1256
+
1257
+ /home/runner/workspace/node_modules/@types/node/net.d.ts
1258
+ 172: * console.log('socket timeout');
1259
+ 596: * console.error('Address in use, retrying...');
1260
+ 643: * console.log('opened server on', server.address());
1261
+ 780: * console.log(blockList.check('123.123.123.123')); // Prints: true
1262
+ 781: * console.log(blockList.check('10.0.0.3')); // Prints: true
1263
+ 782: * console.log(blockList.check('222.111.111.222')); // Prints: false
1264
+ 785: * console.log(blockList.check('::ffff:7b7b:7b7b', 'ipv6')); // Prints: true
1265
+ 786: * console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true
1266
+ 819: * context of TCP, when a FIN packed is received, a FIN packed is sent
1267
+ 837: * console.log('client connected');
1268
+ 839: * console.log('client disconnected');
1269
+ 848: * console.log('server bound');
1270
+ 862: * console.log('server bound');
1271
+
1272
+ /home/runner/workspace/node_modules/accepts/package.json
1273
+ 38: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
1274
+ 39: "test-cov": "nyc --reporter=html --reporter=text npm test"
1275
+
1276
+ /home/runner/workspace/node_modules/@types/node/module.d.ts
1277
+ 200: * with `vm.runInContext()` or `vm.compileFunction()`.
1278
+ 216: * console.log(strippedCode);
1279
+ 226: * console.log(strippedCode);
1280
+ 239: * console.log(strippedCode);
1281
+ 312: interface ResolveHookContext {
1282
+ 356: context: ResolveHookContext,
1283
+ 359: context?: Partial<ResolveHookContext>,
1284
+ 362: interface LoadHookContext {
1285
+ 395: context: LoadHookContext,
1286
+ 398: context?: Partial<LoadHookContext>,
1287
+
1288
+ /home/runner/workspace/node_modules/accepts/index.js
1289
+ 48: * such as "json" or an array `["json", "html", "text/plain"]`. When a list
1290
+ 53: * // Accept: text/html
1291
+ 57: * // Accept: text/*, application/json
1292
+ 60: * this.types('text/html');
1293
+ 61: * // => "text/html"
1294
+ 62: * this.types('json', 'text');
1295
+ 67: * // Accept: text/*, application/json
1296
+ 72: * // Accept: text/*;q=.5, application/json
1297
+
1298
+ /home/runner/workspace/node_modules/express/Readme.md
1299
+ 44: console.log('Server is running on http://localhost:3000')
1300
+
1301
+ /home/runner/workspace/node_modules/express/package.json
1302
+ 95: "test-ci": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=lcovonly --reporter=text npm test",
1303
+ 96: "test-cov": "nyc --exclude examples --exclude test --exclude benchmarks --reporter=html --reporter=text npm test",
1304
+
1305
+ /home/runner/workspace/node_modules/mime-types/README.md
1306
+ 64: mime.lookup('.md') // 'text/markdown'
1307
+ 65: mime.lookup('file.html') // 'text/html'
1308
+ 81: mime.contentType('markdown') // 'text/x-markdown; charset=utf-8'
1309
+ 83: mime.contentType('text/html') // 'text/html; charset=utf-8'
1310
+ 84: mime.contentType('text/html; charset=iso-8859-1') // 'text/html; charset=iso-8859-1'
1311
+ 103: mime.charset('text/markdown') // 'UTF-8'
1312
+
1313
+ /home/runner/workspace/node_modules/@types/node/inspector.d.ts
1314
+ 249: * Id of an execution context.
1315
+ 251: type ExecutionContextId = number;
1316
+ 255: interface ExecutionContextDescription {
1317
+ 257: * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed.
1318
+ 259: id: ExecutionContextId;
1319
+ 261: * Execution context origin.
1320
+ 265: * Human readable name describing given context.
1321
+ 282: * Exception text, which should be used together with exception object when available.
1322
+ 284: text: string;
1323
+ 310: * Identifier of the context where exception happened.
1324
+ 312: executionContextId?: ExecutionContextId | undefined;
1325
+ 396: * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
1326
+ 398: contextId?: ExecutionContextId | undefined;
1327
+ 437: * Identifier of the object to call function on. Either objectId or executionContextId should be specified.
1328
+ 466: * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified.
1329
+ 468: executionContextId?: ExecutionContextId | undefined;
1330
+ 523: * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
1331
+ 525: executionContextId?: ExecutionContextId | undefined;
1332
+ 533: * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
1333
+ 535: executionContextId?: ExecutionContextId | undefined;
1334
+ 569: * Specifies in which execution context to lookup global scope variables.
1335
+ 571: executionContextId?: ExecutionContextId | undefined;
1336
+ 646: interface ExecutionContextCreatedEventDataType {
1337
+ 648: * A newly created execution context.
1338
+ 650: context: ExecutionContextDescription;
1339
+ 652: interface ExecutionContextDestroyedEventDataType {
1340
+ 654: * Id of the destroyed context
1341
+ 656: executionContextId: ExecutionContextId;
1342
+ 685: * Identifier of the context where the call was made.
1343
+ 687: executionContextId: ExecutionContextId;
1344
+ 697: * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context.
1345
+ 700: context?: string | undefined;
1346
+ 1031: interface SetBlackboxPatternsParameterType {
1347
+ 1033: * Array of regexps that will be used to check script url for blackbox state.
1348
+ 1037: interface SetBlackboxedRangesParameterType {
1349
+ 1166: * Specifies script creation context.
1350
+ 1168: executionContextId: Runtime.ExecutionContextId;
1351
+ 1176: executionContextAuxData?: {} | undefined;
1352
+ 1230: * Specifies script creation context.
1353
+ 1232: executionContextId: Runtime.ExecutionContextId;
1354
+ 1240: executionContextAuxData?: {} | undefined;
1355
+ 1320: * Message text.
1356
+ 1322: text: string;
1357
+ 1499: * Location of console.profile().
1358
+ 1503: * Profile title passed as an argument to console.profile().
1359
+ 1510: * Location of console.profileEnd().
1360
+ 1515: * Profile title passed as an argument to console.profile().
1361
+ 1708: * Resource type as it was perceived by the rendering engine.
1362
+ 1853: * (error, { result }) => console.log(result));
1363
+ 1906: * Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context.
1364
+ 1910: * Disables reporting of execution contexts creation.
1365
+ 1914: * Discards collected exceptions and console API calls.
1366
+ 1928: * Runs script with given id in a given context.
1367
+ 2074: * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
1368
+ 2077: post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void;
1369
+ 2078: post(method: 'Debugger.setBlackboxPatterns', callback?: (err: Error | null) => void): void;
1370
+ 2080: * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted.
1371
+ 2083: post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void;
1372
+ 2084: post(method: 'Debugger.setBlackboxedRanges', callback?: (err: Error | null) => void): void;
1373
+ 2086: * Enables console domain, sends the messages collected so far to the client by means of the <code>messageAdded</code> notification.
1374
+ 2090: * Disables console domain, prevents further console messages from being reported to the client.
1375
+ 2139: * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
1376
+ 2211: * Issued when new execution context is created.
1377
+ 2213: addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1378
+ 2215: * Issued when execution context is destroyed.
1379
+ 2217: addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1380
+ 2219: * Issued when all executionContexts were cleared in browser
1381
+ 2221: addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1382
+ 2231: * Issued when console API was called.
1383
+ 2233: addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1384
+ 2259: * Issued when new console message is added.
1385
+ 2263: * Sent when new profile recording is started using console.profile() call.
1386
+ 2265: addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1387
+ 2266: addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1388
+ 2311: * This event is fired instead of `Runtime.executionContextDestroyed` when
1389
+ 2324: emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
1390
+ 2325: emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>): boolean;
1391
+ 2326: emit(event: 'Runtime.executionContextsCleared'): boolean;
1392
+ 2329: emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>): boolean;
1393
+ 2337: emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>): boolean;
1394
+ 2338: emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>): boolean;
1395
+ 2361: * Issued when new execution context is created.
1396
+ 2363: on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1397
+ 2365: * Issued when execution context is destroyed.
1398
+ 2367: on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1399
+ 2369: * Issued when all executionContexts were cleared in browser
1400
+ 2371: on(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1401
+ 2381: * Issued when console API was called.
1402
+ 2383: on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1403
+ 2409: * Issued when new console message is added.
1404
+ 2413: * Sent when new profile recording is started using console.profile() call.
1405
+ 2415: on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1406
+ 2416: on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1407
+ 2461: * This event is fired instead of `Runtime.executionContextDestroyed` when
1408
+ 2478: * Issued when new execution context is created.
1409
+ 2480: once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1410
+ 2482: * Issued when execution context is destroyed.
1411
+ 2484: once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1412
+ 2486: * Issued when all executionContexts were cleared in browser
1413
+ 2488: once(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1414
+ 2498: * Issued when console API was called.
1415
+ 2500: once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1416
+ 2526: * Issued when new console message is added.
1417
+ 2530: * Sent when new profile recording is started using console.profile() call.
1418
+ 2532: once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1419
+ 2533: once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1420
+ 2578: * This event is fired instead of `Runtime.executionContextDestroyed` when
1421
+ 2595: * Issued when new execution context is created.
1422
+ 2597: prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1423
+ 2599: * Issued when execution context is destroyed.
1424
+ 2601: prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1425
+ 2603: * Issued when all executionContexts were cleared in browser
1426
+ 2605: prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1427
+ 2615: * Issued when console API was called.
1428
+ 2617: prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1429
+ 2643: * Issued when new console message is added.
1430
+ 2647: * Sent when new profile recording is started using console.profile() call.
1431
+ 2649: prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1432
+ 2650: prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1433
+ 2695: * This event is fired instead of `Runtime.executionContextDestroyed` when
1434
+ 2712: * Issued when new execution context is created.
1435
+ 2714: prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1436
+ 2716: * Issued when execution context is destroyed.
1437
+ 2718: prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1438
+ 2720: * Issued when all executionContexts were cleared in browser
1439
+ 2722: prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1440
+ 2732: * Issued when console API was called.
1441
+ 2734: prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1442
+ 2760: * Issued when new console message is added.
1443
+ 2764: * Sent when new profile recording is started using console.profile() call.
1444
+ 2766: prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1445
+ 2767: prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1446
+ 2812: * This event is fired instead of `Runtime.executionContextDestroyed` when
1447
+ 2849: * ```console
1448
+ 2874: // These methods are exposed by the V8 inspector console API (inspector/v8-console.h).
1449
+ 2875: // The method signatures differ from those of the Node.js console, and are deliberately
1450
+ 2902: * An object to send messages to the remote inspector console.
1451
+ 2905: const console: InspectorConsole;
1452
+ 2969: console,
1453
+ 3022: * console.log(result);
1454
+ 3024: * console.error(error);
1455
+ 3071: * Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context.
1456
+ 3075: * Disables reporting of execution contexts creation.
1457
+ 3079: * Discards collected exceptions and console API calls.
1458
+ 3091: * Runs script with given id in a given context.
1459
+ 3207: * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
1460
+ 3210: post(method: 'Debugger.setBlackboxPatterns', params?: Debugger.SetBlackboxPatternsParameterType): Promise<void>;
1461
+ 3212: * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted.
1462
+ 3215: post(method: 'Debugger.setBlackboxedRanges', params?: Debugger.SetBlackboxedRangesParameterType): Promise<void>;
1463
+ 3217: * Enables console domain, sends the messages collected so far to the client by means of the <code>messageAdded</code> notification.
1464
+ 3221: * Disables console domain, prevents further console messages from being reported to the client.
1465
+ 3260: * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
1466
+ 3324: * Issued when new execution context is created.
1467
+ 3326: addListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1468
+ 3328: * Issued when execution context is destroyed.
1469
+ 3330: addListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1470
+ 3332: * Issued when all executionContexts were cleared in browser
1471
+ 3334: addListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1472
+ 3344: * Issued when console API was called.
1473
+ 3346: addListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1474
+ 3372: * Issued when new console message is added.
1475
+ 3376: * Sent when new profile recording is started using console.profile() call.
1476
+ 3378: addListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1477
+ 3379: addListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1478
+ 3424: * This event is fired instead of `Runtime.executionContextDestroyed` when
1479
+ 3437: emit(event: 'Runtime.executionContextCreated', message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>): boolean;
1480
+ 3438: emit(event: 'Runtime.executionContextDestroyed', message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>): boolean;
1481
+ 3439: emit(event: 'Runtime.executionContextsCleared'): boolean;
1482
+ 3442: emit(event: 'Runtime.consoleAPICalled', message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>): boolean;
1483
+ 3450: emit(event: 'Profiler.consoleProfileStarted', message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>): boolean;
1484
+ 3451: emit(event: 'Profiler.consoleProfileFinished', message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>): boolean;
1485
+ 3474: * Issued when new execution context is created.
1486
+ 3476: on(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1487
+ 3478: * Issued when execution context is destroyed.
1488
+ 3480: on(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1489
+ 3482: * Issued when all executionContexts were cleared in browser
1490
+ 3484: on(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1491
+ 3494: * Issued when console API was called.
1492
+ 3496: on(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1493
+ 3522: * Issued when new console message is added.
1494
+ 3526: * Sent when new profile recording is started using console.profile() call.
1495
+ 3528: on(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1496
+ 3529: on(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1497
+ 3574: * This event is fired instead of `Runtime.executionContextDestroyed` when
1498
+ 3591: * Issued when new execution context is created.
1499
+ 3593: once(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1500
+ 3595: * Issued when execution context is destroyed.
1501
+ 3597: once(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1502
+ 3599: * Issued when all executionContexts were cleared in browser
1503
+ 3601: once(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1504
+ 3611: * Issued when console API was called.
1505
+ 3613: once(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1506
+ 3639: * Issued when new console message is added.
1507
+ 3643: * Sent when new profile recording is started using console.profile() call.
1508
+ 3645: once(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1509
+ 3646: once(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1510
+ 3691: * This event is fired instead of `Runtime.executionContextDestroyed` when
1511
+ 3708: * Issued when new execution context is created.
1512
+ 3710: prependListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1513
+ 3712: * Issued when execution context is destroyed.
1514
+ 3714: prependListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1515
+ 3716: * Issued when all executionContexts were cleared in browser
1516
+ 3718: prependListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1517
+ 3728: * Issued when console API was called.
1518
+ 3730: prependListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1519
+ 3756: * Issued when new console message is added.
1520
+ 3760: * Sent when new profile recording is started using console.profile() call.
1521
+ 3762: prependListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1522
+ 3763: prependListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1523
+ 3808: * This event is fired instead of `Runtime.executionContextDestroyed` when
1524
+ 3825: * Issued when new execution context is created.
1525
+ 3827: prependOnceListener(event: 'Runtime.executionContextCreated', listener: (message: InspectorNotification<Runtime.ExecutionContextCreatedEventDataType>) => void): this;
1526
+ 3829: * Issued when execution context is destroyed.
1527
+ 3831: prependOnceListener(event: 'Runtime.executionContextDestroyed', listener: (message: InspectorNotification<Runtime.ExecutionContextDestroyedEventDataType>) => void): this;
1528
+ 3833: * Issued when all executionContexts were cleared in browser
1529
+ 3835: prependOnceListener(event: 'Runtime.executionContextsCleared', listener: () => void): this;
1530
+ 3845: * Issued when console API was called.
1531
+ 3847: prependOnceListener(event: 'Runtime.consoleAPICalled', listener: (message: InspectorNotification<Runtime.ConsoleAPICalledEventDataType>) => void): this;
1532
+ 3873: * Issued when new console message is added.
1533
+ 3877: * Sent when new profile recording is started using console.profile() call.
1534
+ 3879: prependOnceListener(event: 'Profiler.consoleProfileStarted', listener: (message: InspectorNotification<Profiler.ConsoleProfileStartedEventDataType>) => void): this;
1535
+ 3880: prependOnceListener(event: 'Profiler.consoleProfileFinished', listener: (message: InspectorNotification<Profiler.ConsoleProfileFinishedEventDataType>) => void): this;
1536
+ 3925: * This event is fired instead of `Runtime.executionContextDestroyed` when
1537
+ 3944: console,
1538
+
1539
+ /home/runner/workspace/node_modules/mime-types/HISTORY.md
1540
+ 26: * rtf -> text/rtf is now application/rtf
1541
+ 27: * xml -> text/xml is now application/xml
1542
+ 65: - Add extension `.mvt` to `application/vnd.mapbox-vector-tile`
1543
+ 128: - Add `text/mdx` with extension `.mdx`
1544
+ 168: - Add UTF-8 as default charset for `text/turtle`
1545
+ 176: - Add `text/shex` with extension `.shex`
1546
+ 181: - Update `text/hjson` to registered `application/hjson`
1547
+ 192: - Add `text/x-org`
1548
+ 205: - Update extensions `.md` and `.markdown` to be `text/markdown`
1549
+ 412: * Set charset=utf-8 for `text/javascript`
1550
+ 417: * Add `text/jsx` type
1551
+
1552
+ /home/runner/workspace/node_modules/@types/node/index.d.ts
1553
+ 45: /// <reference path="console.d.ts" />
1554
+
1555
+ /home/runner/workspace/node_modules/mime-types/package.json
1556
+ 46: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
1557
+ 47: "test-cov": "nyc --reporter=html --reporter=text npm test"
1558
+
1559
+ /home/runner/workspace/node_modules/express/lib/view.js
1560
+ 133: View.prototype.render = function render(options, callback) {
1561
+ 136: debug('render "%s"', this.path);
1562
+ 138: // render, normalizing sync callbacks
1563
+ 153: return process.nextTick(function renderTick() {
1564
+
1565
+ /home/runner/workspace/node_modules/mime-types/mimeScore.js
1566
+ 21: // prefer application/xml over text/xml
1567
+ 22: // prefer application/rtf over text/rtf
1568
+
1569
+ /home/runner/workspace/node_modules/@types/node/https.d.ts
1570
+ 14: > = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions<Request, Response>;
1571
+ 17: & tls.SecureContextOptions
1572
+ 303: * @param options Accepts `options` from `createServer`, `createSecureContext` and `createServer`.
1573
+ 321: * `pfx`, `rejectUnauthorized`, `secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`, `highWaterMark`.
1574
+ 340: * console.log('statusCode:', res.statusCode);
1575
+ 341: * console.log('headers:', res.headers);
1576
+ 349: * console.error(e);
1577
+ 447: * console.log('Subject Common Name:', cert.subject.CN);
1578
+ 448: * console.log(' Certificate SHA256 fingerprint:', cert.fingerprint256);
1579
+ 451: * console.log(' Public key ping-sha256:', sha256(cert.pubkey));
1580
+ 462: * console.log('All OK. Server matched our pinned cert or public key');
1581
+ 463: * console.log('statusCode:', res.statusCode);
1582
+ 465: * console.log('headers:', res.headers['public-key-pins']);
1583
+ 471: * console.error(e.message);
1584
+ 478: * ```text
1585
+ 516: * console.log('statusCode:', res.statusCode);
1586
+ 517: * console.log('headers:', res.headers);
1587
+ 524: * console.error(e);
1588
+
1589
+ /home/runner/workspace/node_modules/express/lib/utils.js
1590
+ 54: * Normalize the given `type`, for example "html" becomes "text/html".
1591
+ 68: * Normalize `types`, for example "html" becomes "text/html".
1592
+
1593
+ /home/runner/workspace/node_modules/mime-types/index.js
1594
+ 25: var TEXT_TYPE_REGEXP = /^text\//i
1595
+ 64: // default text/* to utf-8
1596
+
1597
+ /home/runner/workspace/node_modules/express/lib/response.js
1598
+ 290: this.set('Content-Type', 'text/javascript');
1599
+ 535: * 'text/plain': function(){
1600
+ 539: * 'text/html': function(){
1601
+ 552: * text: function(){
1602
+ 658: * res.set({ Accept: 'text/plain', 'X-API-Key': 'tobi' });
1603
+ 845: // Support text/{plain,html} by default
1604
+ 847: text: function(){
1605
+ 890: * automatically, otherwise a response of _200_ and _text/html_ is given.
1606
+ 895: * - `filename` filename of the view being rendered
1607
+ 900: res.render = function render(view, options, callback) {
1608
+ 922: // render
1609
+ 923: app.render(view, opts, done);
1610
+
1611
+ /home/runner/workspace/node_modules/@types/node/http2.d.ts
1612
+ 453: * 'content-type': 'text/plain; charset=utf-8',
1613
+ 496: * 'content-type': 'text/plain; charset=utf-8',
1614
+ 550: * console.error(err);
1615
+ 556: * { 'content-type': 'text/plain; charset=utf-8' },
1616
+ 575: * { 'content-type': 'text/plain; charset=utf-8' },
1617
+ 603: * { 'content-type': 'text/plain; charset=utf-8' },
1618
+ 781: * console.log(`Ping acknowledged in ${duration} milliseconds`);
1619
+ 782: * console.log(`With payload '${payload.toString()}'`);
1620
+ 944: * console.log(headers[HTTP2_HEADER_STATUS]);
1621
+ 1579: * console.log(request.headers);
1622
+ 1632: * console.log(request.rawHeaders);
1623
+ 1685: * Accept: text/plain
1624
+ 1696: * ```console
1625
+ 1978: * response.setHeader('Content-Type', 'text/html; charset=utf-8');
1626
+ 1995: * // Returns content-type = text/plain
1627
+ 1997: * res.setHeader('Content-Type', 'text/html; charset=utf-8');
1628
+ 1999: * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' });
1629
+ 2093: * 'Content-Type': 'text/plain; charset=utf-8',
1630
+ 2112: * // Returns content-type = text/plain
1631
+ 2114: * res.setHeader('Content-Type', 'text/html; charset=utf-8');
1632
+ 2116: * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' });
1633
+ 2421: * console.log(packed.toString('base64'));
1634
+ 2452: * 'content-type': 'text/html; charset=utf-8',
1635
+ 2492: * 'content-type': 'text/html; charset=utf-8',
1636
+
1637
+ /home/runner/workspace/node_modules/express/lib/request.js
1638
+ 48: * // => "text/plain"
1639
+ 51: * // => "text/plain"
1640
+ 94: * such as "json", a comma-delimited list such as "json, html, text/plain",
1641
+ 95: * an argument list such as `"json", "html", "text/plain"`,
1642
+ 96: * or an array `["json", "html", "text/plain"]`. When a list
1643
+ 101: * // Accept: text/html
1644
+ 105: * // Accept: text/*, application/json
1645
+ 108: * req.accepts('text/html');
1646
+ 109: * // => "text/html"
1647
+ 110: * req.accepts('json, text');
1648
+ 115: * // Accept: text/*, application/json
1649
+ 120: * // Accept: text/*;q=.5, application/json
1650
+ 236: * // With Content-Type: text/html; charset=utf-8
1651
+ 238: * req.is('text/html');
1652
+ 239: * req.is('text/*');
1653
+
1654
+ /home/runner/workspace/node_modules/merge-descriptors/readme.md
1655
+ 26: console.log(animal.name);
1656
+
1657
+ /home/runner/workspace/node_modules/express/lib/express.js
1658
+ 80: exports.text = bodyParser.text
1659
+
1660
+ /home/runner/workspace/node_modules/express/lib/application.js
1661
+ 265: * file extension. For example if you try to render
1662
+ 270: * For engines that do not provide `.__express` out of the box,
1663
+ 275: * app.engine('html', require('ejs').renderFile);
1664
+ 277: * In this case EJS provides a `.renderFile()` method with
1665
+ 508: * rendered template string.
1666
+ 512: * app.render('email', { name: 'Tobi' }, function(err, html){
1667
+ 522: app.render = function render(name, options, callback) {
1668
+ 536: var renderOptions = { ...this.locals, ...opts._locals, ...opts };
1669
+ 539: if (renderOptions.cache == null) {
1670
+ 540: renderOptions.cache = this.enabled('view cache');
1671
+ 544: if (renderOptions.cache) {
1672
+ 568: if (renderOptions.cache) {
1673
+ 573: // render
1674
+ 574: tryRender(view, renderOptions, done);
1675
+ 609: * Log error using console.error.
1676
+ 617: if (this.get('env') !== 'test') console.error(err.stack || err.toString());
1677
+ 621: * Try rendering a view.
1678
+ 627: view.render(options, callback);
1679
+
1680
+ /home/runner/workspace/node_modules/@types/node/http.d.ts
1681
+ 14: * "content-type": "text/plain",
1682
+ 35: * 'content-type', 'text/plain',
1683
+ 615: * // Returns content-type = text/plain
1684
+ 617: * const headers = new Headers({ 'Content-Type': 'text/html' });
1685
+ 619: * res.writeHead(200, { 'Content-Type': 'text/plain' });
1686
+ 710: * message.writeHead(200, { 'Content-Type': 'text/plain',
1687
+ 811: * const earlyHintsCallback = () => console.log('early hints message sent');
1688
+ 839: * 'Content-Type': 'text/plain',
1689
+ 861: * // Returns content-type = text/plain
1690
+ 863: * res.setHeader('Content-Type', 'text/html');
1691
+ 865: * res.writeHead(200, { 'Content-Type': 'text/plain' });
1692
+ 1209: * console.error(
1693
+ 1246: * console.log(request.headers);
1694
+ 1273: * console.log(request.headersDistinct);
1695
+ 1298: * console.log(request.rawHeaders);
1696
+ 1341: * Accept: text/plain
1697
+ 1352: * ```console
1698
+ 1643: * console.log(`STATUS: ${res.statusCode}`);
1699
+ 1644: * console.log(`HEADERS: ${JSON.stringify(res.headers)}`);
1700
+ 1647: * console.log(`BODY: ${chunk}`);
1701
+ 1650: * console.log('No more data in response.');
1702
+ 1655: * console.error(`problem with request: ${e.message}`);
1703
+ 1826: * console.error(error.message);
1704
+ 1838: * console.log(parsedData);
1705
+ 1840: * console.error(e.message);
1706
+ 1844: * console.error(`Got error: ${e.message}`);
1707
+ 1879: * console.error(err instanceof TypeError); // --> true
1708
+ 1880: * console.error(err.code); // --> 'ERR_INVALID_HTTP_TOKEN'
1709
+ 1881: * console.error(err.message); // --> 'Header name must be a valid HTTP token [""]'
1710
+ 1907: * console.error(err instanceof TypeError); // --> true
1711
+ 1908: * console.error(err.code === 'ERR_HTTP_INVALID_HEADER_VALUE'); // --> true
1712
+ 1909: * console.error(err.message); // --> 'Invalid value "undefined" for header "x-my-header"'
1713
+ 1915: * console.error(err instanceof TypeError); // --> true
1714
+ 1916: * console.error(err.code === 'ERR_INVALID_CHAR'); // --> true
1715
+ 1917: * console.error(err.message); // --> 'Invalid character in header content ["x-my-header"]'
1716
+
1717
+ /home/runner/workspace/node_modules/@types/node/globals.d.ts
1718
+ 157: var console: Console;
1719
+ 243: * `localStorage` data is not stored per user or per request when used in the context
1720
+ 314: * to infer a name from the function's context.
1721
+
1722
+ /home/runner/workspace/node_modules/http-errors/README.md
1723
+ 17: ```console
1724
+ 61: - `message` - the message of the error, defaulting to node's text for that status code.
1725
+
1726
+ /home/runner/workspace/node_modules/http-errors/package.json
1727
+ 40: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
1728
+ 41: "test-cov": "nyc --reporter=html --reporter=text npm test",
1729
+
1730
+ /home/runner/workspace/node_modules/@types/node/fs.d.ts
1731
+ 82: * ```console
1732
+ 106: * ```console
1733
+ 160: * ```console
1734
+ 174: * ```console
1735
+ 268: * console.log(dirent.name);
1736
+ 270: * console.error(err);
1737
+ 540: * console.log('Rename complete!');
1738
+ 573: * console.log('path/file.txt was truncated');
1739
+ 782: * console.log('The permissions for file "my_file.txt" have been changed!');
1740
+ 871: * ```text
1741
+ 886: * console.log(stats.isDirectory());
1742
+ 887: * console.log(stats);
1743
+ 894: * ```console
1744
+ 1536: * console.log('path/file.txt was deleted');
1745
+ 1845: * console.log(directory);
1746
+ 1865: * console.log(directory);
1747
+ 1875: * console.log(directory);
1748
+ 2609: * console.log(data);
1749
+ 2865: * console.log('The file has been saved!');
1750
+ 2970: * console.log('The "data to append" was appended to file!');
1751
+ 3055: * console.log('The "data to append" was appended to file!');
1752
+ 3111: * watchFile('message.text', (curr, prev) => {
1753
+ 3112: * console.log(`the current mtime is: ${curr.mtime}`);
1754
+ 3113: * console.log(`the previous mtime was: ${prev.mtime}`);
1755
+ 3162: * watchFile('message.text', (curr, prev) => {
1756
+ 3163: * console.log(`the current mtime is: ${curr.mtime}`);
1757
+ 3164: * console.log(`the previous mtime was: ${prev.mtime}`);
1758
+ 3307: * console.log(e ? 'it exists' : 'no passwd!');
1759
+ 3328: * console.error('myfile already exists');
1760
+ 3352: * console.error('myfile already exists');
1761
+ 3388: * console.error('myfile does not exist');
1762
+ 3401: * console.error('myfile does not exist');
1763
+ 3450: * console.log('The path exists.');
1764
+ 3490: * Constant for fs.open(). Flag indicating that if path identifies a terminal device,
1765
+ 3491: * opening the path shall not cause that terminal to become the controlling terminal for the process
1766
+ 3587: * console.log(`${file} ${err ? 'does not exist' : 'exists'}`);
1767
+ 3592: * console.log(`${file} ${err ? 'is not readable' : 'is readable'}`);
1768
+ 3597: * console.log(`${file} ${err ? 'is not writable' : 'is writable'}`);
1769
+ 3602: * console.log(`${file} ${err ? 'is not' : 'is'} readable and writable`);
1770
+ 3618: * console.error('myfile already exists');
1771
+ 3644: * console.error('myfile already exists');
1772
+ 3668: * console.error('myfile does not exist');
1773
+ 3697: * console.error('myfile does not exist');
1774
+ 3758: * console.log('can read/write');
1775
+ 3760: * console.error('no access!');
1776
+ 3933: * console.log('source.txt was copied to destination.txt');
1777
+ 3976: * console.log('source.txt was copied to destination.txt');
1778
+
1779
+ /home/runner/workspace/node_modules/fresh/package.json
1780
+ 43: "test-ci": "nyc --reporter=lcov --reporter=text npm test",
1781
+ 44: "test-cov": "nyc --reporter=html --reporter=text npm test"
1782
+
1783
+ /home/runner/workspace/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/location-info/parser-mixin.js
1784
+ 65: _bootstrap(document, fragmentContext) {
1785
+ 66: orig._bootstrap.call(this, document, fragmentContext);
1786
+ 183: //NOTE: store last foster parenting location, so we will be able to find inserted text
1787
+ 202: const textNodeIdx =
1788
+ 207: const textNode = siblings[textNodeIdx];
1789
+ 210: const tnLoc = this.treeAdapter.getNodeSourceCodeLocation(textNode);
1790
+ 214: this.treeAdapter.updateNodeSourceCodeLocation(textNode, { endLine, endCol, endOffset });
1791
+ 216: this.treeAdapter.setNodeSourceCodeLocation(textNode, token.location);
1792
+
1793
+ /home/runner/workspace/node_modules/@types/node/events.d.ts
1794
+ 31: * console.log('an event occurred!');
1795
+ 158: * console.log(value);
1796
+ 168: * console.error('error happened', err);
1797
+ 182: * .then(([err]) => console.log('ok', err.message))
1798
+ 183: * .catch((err) => console.error('error', err.message));
1799
+ 201: * console.log('event emitted!');
1800
+ 204: * console.error('Waiting for the event was canceled!');
1801
+ 206: * console.error('There was an error', error.message);
1802
+ 240: * console.log(event); // prints ['bar'] [42]
1803
+ 271: * console.log(event); // prints ['bar'] [42]
1804
+ 295: * console.log(event); // prints ['bar'] [42]
1805
+ 298: * console.log('done'); // prints 'done'
1806
+ 322: * console.log(listenerCount(myEmitter, 'event'));
1807
+ 345: * const listener = () => console.log('Events are fun');
1808
+ 347: * console.log(getEventListeners(ee, 'foo')); // [ [Function: listener] ]
1809
+ 351: * const listener = () => console.log('Events are fun');
1810
+ 353: * console.log(getEventListeners(et, 'foo')); // [ [Function: listener] ]
1811
+ 374: * console.log(getMaxListeners(ee)); // 10
1812
+ 376: * console.log(getMaxListeners(ee)); // 11
1813
+ 380: * console.log(getMaxListeners(et)); // 10
1814
+ 382: * console.log(getMaxListeners(et)); // 11
1815
+ 527: * of `events.EventEmitterAsyncResource` will run within its `async context`.
1816
+ 537: * // 'foo' listeners will run in the EventEmitters async context.
1817
+ 546: * // context, however, run in the same async context as the emit().
1818
+ 606: * console.log('someone connected!');
1819
+ 618: * myEE.on('foo', () => console.log('a'));
1820
+ 619: * myEE.prependListener('foo', () => console.log('b'));
1821
+ 636: * console.log('Ah, we have our first user!');
1822
+ 648: * myEE.once('foo', () => console.log('a'));
1823
+ 649: * myEE.prependOnceListener('foo', () => console.log('b'));
1824
+ 665: * console.log('someone connected!');
1825
+ 687: * console.log('A');
1826
+ 692: * console.log('B');
1827
+ 728: * console.log('pong');
1828
+ 780: * console.log('someone connected!');
1829
+ 782: * console.log(util.inspect(server.listeners('connection')));
1830
+ 795: * emitter.once('log', () => console.log('log once'));
1831
+ 802: * // Logs "log once" to the console and does not unbind the `once` event
1832
+ 805: * // Logs "log once" to the console and removes the listener
1833
+ 808: * emitter.on('log', () => console.log('log persistently'));
1834
+ 831: * console.log('Helloooo! first listener');
1835
+ 835: * console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
1836
+ 840: * console.log(`event with parameters ${parameters} in third listener`);
1837
+ 843: * console.log(myEmitter.listeners('event'));
1838
+ 877: * console.log('someone connected!');
1839
+ 893: * console.log('Ah, we have our first user!');
1840
+ 917: * console.log(myEE.eventNames());
1841
+
1842
+ /home/runner/workspace/node_modules/@types/node/domain.d.ts
1843
+ 12: * will be notified, rather than losing the context of the error in the `process.on('uncaughtException')` handler, or causing the program to
1844
+ 45: * Any time execution is going to switch to the context of a different chain of
1845
+ 50: * If there are multiple, nested domains bound to the current execution context, `exit()` will exit any domains nested within this domain.
1846
+ 58: * Run the supplied function in the context of the domain, implicitly
1847
+ 60: * created in that context. Optionally, arguments can be passed to
1848
+ 70: * console.error('Caught error!', er);
1849
+
1850
+ /home/runner/workspace/node_modules/@napi-rs/keyring/README.md
1851
+ 17: console.log('My password is ', password)
1852
+
1853
+ /home/runner/workspace/node_modules/@types/node/dns.d.ts
1854
+ 15: * console.log('address: %j family: IPv%s', address, family);
1855
+ 31: * console.log(`addresses: ${JSON.stringify(addresses)}`);
1856
+ 38: * console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`);
1857
+ 148: * console.log('address: %j family: IPv%s', address, family));
1858
+ 154: * console.log('addresses: %j', addresses));
1859
+ 204: * console.log(hostname, service);
1860
+ 613: * Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. The `records` argument passed to the `callback` function is a
1861
+ 614: * two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
1862
+
1863
+ /home/runner/workspace/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/extensions/error-reporting/parser-mixin.js
1864
+ 31: _bootstrap(document, fragmentContext) {
1865
+ 32: orig._bootstrap.call(this, document, fragmentContext);
1866
+
1867
+ /home/runner/workspace/node_modules/@types/node/diagnostics_channel.d.ts
1868
+ 125: ContextType extends object = StoreType extends object ? StoreType : object,
1869
+ 127: nameOrChannels: string | TracingChannelCollection<StoreType, ContextType>,
1870
+ 128: ): TracingChannel<StoreType, ContextType>;
1871
+ 138: class Channel<StoreType = unknown, ContextType = StoreType> {
1872
+ 162: * message handlers synchronously so they will execute within the same context.
1873
+ 219: * When `channel.runStores(context, ...)` is called, the given context data
1874
+ 222: * The `transform` function may be omitted to set the given context data as the
1875
+ 223: * context directly.
1876
+ 239: * @param store The store to which to bind the context data
1877
+ 240: * @param transform Transform context data before setting the store context
1878
+ 242: bindStore(store: AsyncLocalStorage<StoreType>, transform?: (context: ContextType) => StoreType): void;
1879
+ 269: * applied to transform the message data before it becomes the context value for
1880
+ 270: * the store. The prior storage context is accessible from within the transform
1881
+ 271: * function in cases where context linking is required.
1882
+ 273: * The context applied to the store should be accessible in any async code which
1883
+ 275: * there are some situations in which `context loss` may occur.
1884
+ 295: * @param context Message to send to subscribers and bind to stores
1885
+ 296: * @param fn Handler to run within the entered storage context
1886
+ 302: interface TracingChannelSubscribers<ContextType extends object> {
1887
+ 303: start: (message: ContextType) => void;
1888
+ 305: message: ContextType & {
1889
+ 311: message: ContextType & {
1890
+ 317: message: ContextType & {
1891
+ 323: message: ContextType & {
1892
+ 328: interface TracingChannelCollection<StoreType = unknown, ContextType = StoreType> {
1893
+ 329: start: Channel<StoreType, ContextType>;
1894
+ 330: end: Channel<StoreType, ContextType>;
1895
+ 331: asyncStart: Channel<StoreType, ContextType>;
1896
+ 332: asyncEnd: Channel<StoreType, ContextType>;
1897
+ 333: error: Channel<StoreType, ContextType>;
1898
+ 344: class TracingChannel<StoreType = unknown, ContextType extends object = {}> implements TracingChannelCollection {
1899
+ 345: start: Channel<StoreType, ContextType>;
1900
+ 346: end: Channel<StoreType, ContextType>;
1901
+ 347: asyncStart: Channel<StoreType, ContextType>;
1902
+ 348: asyncEnd: Channel<StoreType, ContextType>;
1903
+ 349: error: Channel<StoreType, ContextType>;
1904
+ 382: subscribe(subscribers: TracingChannelSubscribers<ContextType>): void;
1905
+ 416: unsubscribe(subscribers: TracingChannelSubscribers<ContextType>): void;
1906
+ 419: * This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all
1907
+ 420: * events should have any bound stores set to match this trace context.
1908
+ 439: * @param context Shared object to correlate events through
1909
+ 446: context?: ContextType,
1910
+ 454: * returned promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all
1911
+ 455: * events should have any bound stores set to match this trace context.
1912
+ 474: * @param context Shared object to correlate trace events through
1913
+ 481: context?: ContextType,
1914
+ 489: * promise rejects. This will run the given function using `channel.runStores(context, ...)` on the `start` channel which ensures all
1915
+ 490: * events should have any bound stores set to match this trace context.
1916
+ 508: * The callback will also be run with `channel.runStores(context, ...)` which
1917
+ 509: * enables context loss recovery in some cases.
1918
+ 522: * // and stores that store data value on the trace context object
1919
+ 538: * @param context Shared object to correlate trace events through
1920
+ 546: context?: ContextType,
1921
+
1922
+ /home/runner/workspace/node_modules/@types/node/dgram.d.ts
1923
+ 10: * console.error(`server error:\n${err.stack}`);
1924
+ 15: * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
1925
+ 20: * console.log(`server listening ${address.address}:${address.port}`);
1926
+ 79: * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
1927
+ 159: * console.error(`server error:\n${err.stack}`);
1928
+ 164: * console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
1929
+ 169: * console.log(`server listening ${address.address}:${address.port}`);
1930
+ 469: * "Time to Live", in this context it specifies the number of IP hops that a
1931
+ 498: * in this context it specifies the number of IP hops that a packet is allowed to
1932
+
1933
+ /home/runner/workspace/node_modules/@sourcegraph/amp/README.md
1934
+ 3: [Amp](https://ampcode.com) is the frontier coding agent for your terminal and editor.
1935
+
1936
+ /home/runner/workspace/node_modules/@types/node/crypto.d.ts
1937
+ 13: * console.log(hash);
1938
+ 40: * console.log(challenge.toString('utf8'));
1939
+ 53: * console.log(publicKey);
1940
+ 67: * console.log(Certificate.verifySpkac(Buffer.from(spkac)));
1941
+ 224: * console.log(`${hash.digest('hex')} ${filename}`);
1942
+ 269: * console.log(`${hmac.digest('hex')} ${filename}`);
1943
+ 308: * console.log(data.toString('hex'));
1944
+ 341: * console.log(hash.digest('hex'));
1945
+ 369: * console.log(hash.copy().digest('hex'));
1946
+ 372: * console.log(hash.copy().digest('hex'));
1947
+ 375: * console.log(hash.copy().digest('hex'));
1948
+ 433: * console.log(data.toString('hex'));
1949
+ 468: * console.log(hmac.digest('hex'));
1950
+ 587: * console.log(keyObject.symmetricKeySize);
1951
+ 727: * added to ciphertext messages unencrypted. It may sound contradictory that
1952
+ 804: * cipher.on('end', () => console.log(encrypted));
1953
+ 806: * cipher.write('some clear text data');
1954
+ 875: * let encrypted = cipher.update('some clear text data', 'utf8', 'hex');
1955
+ 877: * console.log(encrypted);
1956
+ 934: plaintextLength: number;
1957
+ 943: plaintextLength: number;
1958
+ 952: plaintextLength: number;
1959
+ 961: plaintextLength: number;
1960
+ 988: * added to ciphertext messages unencrypted. It may sound contradictory that
1961
+ 1053: * // The IV is usually passed along with the ciphertext.
1962
+ 1066: * console.log(decrypted);
1963
+ 1067: * // Prints: some clear text data
1964
+ 1094: * // The IV is usually passed along with the ciphertext.
1965
+ 1118: * // The IV is usually passed along with the ciphertext.
1966
+ 1128: * console.log(decrypted);
1967
+ 1129: * // Prints: some clear text data
1968
+ 1182: plaintextLength: number;
1969
+ 1191: plaintextLength: number;
1970
+ 1200: plaintextLength: number;
1971
+ 1209: plaintextLength: number;
1972
+ 1236: * console.log(key.export().toString('hex')); // 46e..........620
1973
+ 1261: * console.log(key.export().toString('hex')); // e89..........41e
1974
+ 1377: * console.log(verify.verify(publicKey, signature, 'hex'));
1975
+ 1402: * console.log(verify.verify(publicKey, signature));
1976
+ 1746: * console.log(aliceSecret === bobSecret);
1977
+ 1781: * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae'
1978
+ 1822: * console.log(key.toString('hex')); // '3745e48...08d59ae'
1979
+ 1851: * console.log(`${buf.length} bytes of random data: ${buf.toString('hex')}`);
1980
+ 1866: * console.log(
1981
+ 1909: * console.log(`Random number chosen from (0, 1, 2): ${n}`);
1982
+ 1920: * console.log(`Random number chosen from (0, 1, 2): ${n}`);
1983
+ 1930: * console.log(`The dice rolled: ${n}`);
1984
+ 1949: * console.log(randomFillSync(buf).toString('hex'));
1985
+ 1952: * console.log(buf.toString('hex'));
1986
+ 1956: * console.log(buf.toString('hex'));
1987
+ 1966: * console.log(Buffer.from(randomFillSync(a).buffer,
1988
+ 1970: * console.log(Buffer.from(randomFillSync(b).buffer,
1989
+ 1974: * console.log(Buffer.from(randomFillSync(c)).toString('hex'));
1990
+ 1997: * console.log(buf.toString('hex'));
1991
+ 2002: * console.log(buf.toString('hex'));
1992
+ 2008: * console.log(buf.toString('hex'));
1993
+ 2017: * contains finite numbers only, they are not drawn from a uniform random
1994
+ 2027: * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength)
1995
+ 2034: * console.log(Buffer.from(buf.buffer, buf.byteOffset, buf.byteLength)
1996
+ 2041: * console.log(Buffer.from(buf).toString('hex'));
1997
+ 2106: * console.log(derivedKey.toString('hex')); // '3745e48...08d59ae'
1998
+ 2111: * console.log(derivedKey.toString('hex')); // '3745e48...aa39b34'
1999
+ 2152: * console.log(key1.toString('hex')); // '3745e48...08d59ae'
2000
+ 2155: * console.log(key2.toString('hex')); // '3745e48...aa39b34'
2001
+ 2228: * console.log(getCiphers()); // ['aes-128-cbc', 'aes-128-ccm', ...]
2002
+ 2240: * console.log(getCurves()); // ['Oakley-EC2N-3', 'Oakley-EC2N-4', ...]
2003
+ 2264: * console.log(getHashes()); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
2004
+ 2337: * console.log(uncompressedKey === ecdh.getPublicKey('hex'));
2005
+ 3374: * console.log(crypto.hash('sha1', string));
2006
+ 3380: * console.log(crypto.hash('sha1', Buffer.from(base64, 'base64'), 'buffer'));
2007
+ 3461: * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
2008
+ 3496: * console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
2009
+ 3584: * console.log(x509.subject);
2010
+ 3645: * A textual representation of the certificate's authority information access
2011
+ 4020: context?: BufferSource;
2012
+ 4192: * the returned promise will be resolved with an `<ArrayBuffer>` containing the plaintext result.
2013
+
2014
+ /home/runner/workspace/node_modules/math-intrinsics/package.json
2015
+ 37: "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
2016
+
2017
+ /home/runner/workspace/node_modules/@types/node/console.d.ts
2018
+ 2: * The `node:console` module provides a simple debugging console that is similar to
2019
+ 3: * the JavaScript console mechanism provided by web browsers.
2020
+ 7: * * A `Console` class with methods such as `console.log()`, `console.error()`, and `console.warn()` that can be used to write to any Node.js stream.
2021
+ 8: * * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstdout) and
2022
+ 9: * [`process.stderr`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstderr). The global `console` can be used without importing the `node:console` module.
2023
+ 11: * _**Warning**_: The global console object's methods are neither consistently
2024
+ 16: * Example using the global `console`:
2025
+ 19: * console.log('hello world');
2026
+ 21: * console.log('hello %s', 'world');
2027
+ 23: * console.error(new Error('Whoops, something bad happened'));
2028
+ 27: * // at Script.runInThisContext (node:vm:132:18)
2029
+ 28: * // at Object.runInThisContext (node:vm:309:38)
2030
+ 35: * console.warn(`Danger ${name}! Danger!`);
2031
+ 44: * const myConsole = new console.Console(out, err);
2032
+ 57: * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/console.js)
2033
+ 59: declare module "console" {
2034
+ 60: import console = require("node:console");
2035
+ 61: export = console;
2036
+ 63: declare module "node:console" {
2037
+ 68: Console: console.ConsoleConstructor;
2038
+ 70: * `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only
2039
+ 78: * console.assert(true, 'does nothing');
2040
+ 80: * console.assert(false, 'Whoops %s work', 'didn\'t');
2041
+ 83: * console.assert();
2042
+ 92: * When `stdout` is a TTY, calling `console.clear()` will attempt to clear the
2043
+ 95: * The specific operation of `console.clear()` can vary across operating systems
2044
+ 96: * and terminal types. For most Linux operating systems, `console.clear()` operates similarly to the `clear` shell command. On Windows, `console.clear()` will clear only the output in the
2045
+ 97: * current terminal viewport for the Node.js
2046
+ 104: * number of times `console.count()` has been called with the given `label`.
2047
+ 107: * > console.count()
2048
+ 110: * > console.count('default')
2049
+ 113: * > console.count('abc')
2050
+ 116: * > console.count('xyz')
2051
+ 119: * > console.count('abc')
2052
+ 122: * > console.count()
2053
+ 135: * > console.count('abc');
2054
+ 138: * > console.countReset('abc');
2055
+ 140: * > console.count('abc');
2056
+ 150: * The `console.debug()` function is an alias for {@link log}.
2057
+ 161: * This method calls `console.log()` passing it the arguments received.
2058
+ 174: * console.error('error #%d', code);
2059
+ 176: * console.error('error', code);
2060
+ 206: * The `console.info()` function is an alias for {@link log}.
2061
+ 218: * console.log('count: %d', count);
2062
+ 220: * console.log('count:', count);
2063
+ 234: * console.table(Symbol());
2064
+ 237: * console.table(undefined);
2065
+ 240: * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]);
2066
+ 248: * console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']);
2067
+ 264: * time is 3869ms, `console.timeEnd()` displays "3.869s".
2068
+ 274: * console.time('bunch-of-stuff');
2069
+ 276: * console.timeEnd('bunch-of-stuff');
2070
+ 288: * console.time('process');
2071
+ 290: * console.timeLog('process', value);
2072
+ 293: * console.timeEnd('process');
2073
+ 304: * console.trace('Show me');
2074
+ 322: * The `console.warn()` function is an alias for {@link error}.
2075
+ 328: * This method does not display anything unless used in the inspector. The `console.profile()`
2076
+ 333: * console.profile('MyLabel');
2077
+ 335: * console.profileEnd('MyLabel');
2078
+ 351: * This method does not display anything unless used in the inspector. The `console.timeStamp()`
2079
+ 358: * The `console` module provides a simple debugging console that is similar to the
2080
+ 359: * JavaScript console mechanism provided by web browsers.
2081
+ 363: * * A `Console` class with methods such as `console.log()`, `console.error()` and `console.warn()` that can be used to write to any Node.js stream.
2082
+ 364: * * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstdout) and
2083
+ 365: * [`process.stderr`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstderr). The global `console` can be used without importing the `node:console` module.
2084
+ 367: * _**Warning**_: The global console object's methods are neither consistently
2085
+ 372: * Example using the global `console`:
2086
+ 375: * console.log('hello world');
2087
+ 377: * console.log('hello %s', 'world');
2088
+ 379: * console.error(new Error('Whoops, something bad happened'));
2089
+ 383: * // at Script.runInThisContext (node:vm:132:18)
2090
+ 384: * // at Object.runInThisContext (node:vm:309:38)
2091
+ 391: * console.warn(`Danger ${name}! Danger!`);
2092
+ 400: * const myConsole = new console.Console(out, err);
2093
+ 413: * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/console.js)
2094
+ 415: namespace console {
2095
+ 449: var console: Console;
2096
+ 451: export = globalThis.console;
2097
+
2098
+ /home/runner/workspace/node_modules/@types/node/cluster.d.ts
2099
+ 19: * console.log(`Primary ${process.pid} is running`);
2100
+ 27: * console.log(`worker ${worker.process.pid} died`);
2101
+ 37: * console.log(`Worker ${process.pid} started`);
2102
+ 43: * ```console
2103
+ 112: * Hide the forked processes console window that would normally be created on Windows systems.
2104
+ 290: * console.log(`Primary ${process.pid} is running`);
2105
+ 298: * console.log('worker is dead:', worker.isDead());
2106
+ 302: * console.log('worker is dead:', worker.isDead());
2107
+ 328: * console.log('Oh, it was just voluntary – no need to worry');
2108
+ 475: * console.log('I am primary');
2109
+ 479: * console.log(`I am worker #${cluster.worker.id}`);
2110
+
2111
+ /home/runner/workspace/node_modules/@types/node/child_process.d.ts
2112
+ 11: * console.log(`stdout: ${data}`);
2113
+ 15: * console.error(`stderr: ${data}`);
2114
+ 19: * console.log(`child process exited with code ${code}`);
2115
+ 117: * console.log(`Received chunk ${data}`);
2116
+ 208: * console.log(`Spawned child pid: ${grep.pid}`);
2117
+ 256: * console.log(
2118
+ 292: * console.log(process.pid, 'is alive')
2119
+ 327: * console.log('PARENT got message:', m);
2120
+ 338: * console.log('CHILD got message:', m);
2121
+ 721: * console.log(`stdout: ${data}`);
2122
+ 725: * console.error(`stderr: ${data}`);
2123
+ 729: * console.log(`child process exited with code ${code}`);
2124
+ 745: * console.error(`ps stderr: ${data}`);
2125
+ 750: * console.log(`ps process exited with code ${code}`);
2126
+ 756: * console.log(data.toString());
2127
+ 760: * console.error(`grep stderr: ${data}`);
2128
+ 765: * console.log(`grep process exited with code ${code}`);
2129
+ 777: * console.error('Failed to start subprocess.');
2130
+ 941: * console.error(`exec error: ${error}`);
2131
+ 944: * console.log(`stdout: ${stdout}`);
2132
+ 945: * console.error(`stderr: ${stderr}`);
2133
+ 969: * console.log('stdout:', stdout);
2134
+ 970: * console.error('stderr:', stderr);
2135
+ 983: * console.error(error); // an AbortError
2136
+ 1108: * console.log(stdout);
2137
+ 1131: * console.log(stdout);
2138
+ 1148: * console.error(error); // an AbortError
2139
+ 1382: * console.log(`Hello from ${process.argv[2]}!`);
2140
+
2141
+ /home/runner/workspace/node_modules/@types/node/buffer.d.ts
2142
+ 105: * console.log(newBuf.toString('ascii'));
2143
+ 179: * console.log(bytes); // Outputs: Uint8Array(5) [ 104, 101, 108, 108, 111 ]
2144
+ 198: text(): Promise<string>;
2145
+ 288: * console.log(Buffer.isEncoding('utf8'));
2146
+ 291: * console.log(Buffer.isEncoding('hex'));
2147
+ 294: * console.log(Buffer.isEncoding('utf/8'));
2148
+ 297: * console.log(Buffer.isEncoding(''));
2149
+ 319: * console.log(`${str}: ${str.length} characters, ` +
2150
+ 347: * console.log(arr.sort(Buffer.compare));
2151
+ 378: * console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`);
2152
+ 385: * console.log(`${length} bytes: ${buffer.toString('utf8', 8, 10)}`);
2153
+ 417: * console.log(buf1.toString('utf8'));
2154
+ 419: * console.log(buf1.toString('utf8', 0, 5));
2155
+ 424: * console.log(buf2.toString('hex'));
2156
+ 426: * console.log(buf2.toString('utf8', 0, 3));
2157
+ 428: * console.log(buf2.toString(undefined, 0, 3));
2158
+ 450: * console.log(json);
2159
+ 459: * console.log(copy);
2160
+ 478: * console.log(buf1.equals(buf2));
2161
+ 480: * console.log(buf1.equals(buf3));
2162
+ 502: * console.log(buf1.compare(buf1));
2163
+ 504: * console.log(buf1.compare(buf2));
2164
+ 506: * console.log(buf1.compare(buf3));
2165
+ 508: * console.log(buf2.compare(buf1));
2166
+ 510: * console.log(buf2.compare(buf3));
2167
+ 512: * console.log([buf1, buf2, buf3].sort(Buffer.compare));
2168
+ 525: * console.log(buf1.compare(buf2, 5, 9, 0, 4));
2169
+ 527: * console.log(buf1.compare(buf2, 0, 6, 4));
2170
+ 529: * console.log(buf1.compare(buf2, 5, 6, 5));
2171
+ 572: * console.log(buf2.toString('ascii', 0, 25));
2172
+ 591: * console.log(buf.toString());
2173
+ 614: * console.log(buf);
2174
+ 635: * console.log(buf);
2175
+ 656: * console.log(buf);
2176
+ 680: * console.log(buf);
2177
+ 709: * console.log(buf);
2178
+ 737: * console.log(buf);
2179
+ 763: * console.log(buf);
2180
+ 784: * console.log(buf);
2181
+ 804: * console.log(buf.readBigUInt64BE(0));
2182
+ 826: * console.log(buf.readBigUInt64LE(0));
2183
+ 867: * console.log(buf.readUIntLE(0, 6).toString(16));
2184
+ 891: * console.log(buf.readUIntBE(0, 6).toString(16));
2185
+ 893: * console.log(buf.readUIntBE(1, 6).toString(16));
2186
+ 915: * console.log(buf.readIntLE(0, 6).toString(16));
2187
+ 932: * console.log(buf.readIntBE(0, 6).toString(16));
2188
+ 934: * console.log(buf.readIntBE(1, 6).toString(16));
2189
+ 936: * console.log(buf.readIntBE(1, 0).toString(16));
2190
+ 954: * console.log(buf.readUInt8(0));
2191
+ 956: * console.log(buf.readUInt8(1));
2192
+ 958: * console.log(buf.readUInt8(2));
2193
+ 980: * console.log(buf.readUInt16LE(0).toString(16));
2194
+ 982: * console.log(buf.readUInt16LE(1).toString(16));
2195
+ 984: * console.log(buf.readUInt16LE(2).toString(16));
2196
+ 1006: * console.log(buf.readUInt16BE(0).toString(16));
2197
+ 1008: * console.log(buf.readUInt16BE(1).toString(16));
2198
+ 1030: * console.log(buf.readUInt32LE(0).toString(16));
2199
+ 1032: * console.log(buf.readUInt32LE(1).toString(16));
2200
+ 1054: * console.log(buf.readUInt32BE(0).toString(16));
2201
+ 1076: * console.log(buf.readInt8(0));
2202
+ 1078: * console.log(buf.readInt8(1));
2203
+ 1080: * console.log(buf.readInt8(2));
2204
+ 1097: * console.log(buf.readInt16LE(0));
2205
+ 1099: * console.log(buf.readInt16LE(1));
2206
+ 1116: * console.log(buf.readInt16BE(0));
2207
+ 1133: * console.log(buf.readInt32LE(0));
2208
+ 1135: * console.log(buf.readInt32LE(1));
2209
+ 1152: * console.log(buf.readInt32BE(0));
2210
+ 1167: * console.log(buf.readFloatLE(0));
2211
+ 1169: * console.log(buf.readFloatLE(1));
2212
+ 1184: * console.log(buf.readFloatBE(0));
2213
+ 1199: * console.log(buf.readDoubleLE(0));
2214
+ 1201: * console.log(buf.readDoubleLE(1));
2215
+ 1216: * console.log(buf.readDoubleBE(0));
2216
+ 1233: * console.log(buf1);
2217
+ 1238: * console.log(buf1);
2218
+ 1254: * buf.swap16(); // Convert to big-endian UTF-16 text.
2219
+ 1269: * console.log(buf1);
2220
+ 1274: * console.log(buf1);
2221
+ 1295: * console.log(buf1);
2222
+ 1300: * console.log(buf1);
2223
+ 1329: * console.log(buf);
2224
+ 1357: * console.log(buf);
2225
+ 1385: * console.log(buf);
2226
+ 1412: * console.log(buf);
2227
+ 1439: * console.log(buf);
2228
+ 1468: * console.log(buf);
2229
+ 1490: * console.log(buf);
2230
+ 1512: * console.log(buf);
2231
+ 1534: * console.log(buf);
2232
+ 1556: * console.log(buf);
2233
+ 1576: * console.log(buf);
2234
+ 1596: * console.log(buf);
2235
+ 1616: * console.log(buf);
2236
+ 1636: * console.log(buf);
2237
+ 1656: * console.log(b.toString());
2238
+ 1662: * console.log(c.fill(''));
2239
+ 1678: * console.log(Buffer.allocUnsafe(5).fill('\u0222'));
2240
+ 1690: * console.log(buf.fill('a'));
2241
+ 1692: * console.log(buf.fill('aazz', 'hex'));
2242
+ 1694: * console.log(buf.fill('zz', 'hex'));
2243
+ 1719: * console.log(buf.indexOf('this'));
2244
+ 1721: * console.log(buf.indexOf('is'));
2245
+ 1723: * console.log(buf.indexOf(Buffer.from('a buffer')));
2246
+ 1725: * console.log(buf.indexOf(97));
2247
+ 1727: * console.log(buf.indexOf(Buffer.from('a buffer example')));
2248
+ 1729: * console.log(buf.indexOf(Buffer.from('a buffer example').slice(0, 8)));
2249
+ 1734: * console.log(utf16Buffer.indexOf('\u03a3', 0, 'utf16le'));
2250
+ 1736: * console.log(utf16Buffer.indexOf('\u03a3', -4, 'utf16le'));
2251
+ 1754: * console.log(b.indexOf(99.9));
2252
+ 1755: * console.log(b.indexOf(256 + 99));
2253
+ 1759: * console.log(b.indexOf('b', undefined));
2254
+ 1760: * console.log(b.indexOf('b', {}));
2255
+ 1761: * console.log(b.indexOf('b', null));
2256
+ 1762: * console.log(b.indexOf('b', []));
2257
+ 1783: * console.log(buf.lastIndexOf('this'));
2258
+ 1785: * console.log(buf.lastIndexOf('buffer'));
2259
+ 1787: * console.log(buf.lastIndexOf(Buffer.from('buffer')));
2260
+ 1789: * console.log(buf.lastIndexOf(97));
2261
+ 1791: * console.log(buf.lastIndexOf(Buffer.from('yolo')));
2262
+ 1793: * console.log(buf.lastIndexOf('buffer', 5));
2263
+ 1795: * console.log(buf.lastIndexOf('buffer', 4));
2264
+ 1800: * console.log(utf16Buffer.lastIndexOf('\u03a3', undefined, 'utf16le'));
2265
+ 1802: * console.log(utf16Buffer.lastIndexOf('\u03a3', -5, 'utf16le'));
2266
+ 1820: * console.log(b.lastIndexOf(99.9));
2267
+ 1821: * console.log(b.lastIndexOf(256 + 99));
2268
+ 1825: * console.log(b.lastIndexOf('b', undefined));
2269
+ 1826: * console.log(b.lastIndexOf('b', {}));
2270
+ 1830: * console.log(b.lastIndexOf('b', null));
2271
+ 1831: * console.log(b.lastIndexOf('b', []));
2272
+ 1850: * console.log(buf.includes('this'));
2273
+ 1852: * console.log(buf.includes('is'));
2274
+ 1854: * console.log(buf.includes(Buffer.from('a buffer')));
2275
+ 1856: * console.log(buf.includes(97));
2276
+ 1858: * console.log(buf.includes(Buffer.from('a buffer example')));
2277
+ 1860: * console.log(buf.includes(Buffer.from('a buffer example').slice(0, 8)));
2278
+ 1862: * console.log(buf.includes('this', 4));
2279
+
2280
+ /home/runner/workspace/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/lib/tokenizer/index.js
2281
+ 134: //this functions if they will be situated in another module due to context switch.
2282
+
2283
+ /home/runner/workspace/node_modules/@types/node/buffer.buffer.d.ts
2284
+ 80: * console.log(buf);
2285
+ 86: * console.log(buf);
2286
+ 99: * console.log(buf.length);
2287
+ 117: * console.log(arrA.buffer === arrB.buffer); // true
2288
+ 120: * console.log(buf);
2289
+ 145: * console.log(buf1.toString());
2290
+ 147: * console.log(buf2.toString());
2291
+ 149: * console.log(buf1.toString('latin1'));
2292
+ 191: * console.log(totalLength);
2293
+ 196: * console.log(bufA);
2294
+ 198: * console.log(bufA.length);
2295
+ 215: * console.log(buf.length); // 2
2296
+ 216: * console.log(buf[0]); // 255
2297
+ 217: * console.log(buf[1]); // 255
2298
+ 233: * console.log(buf);
2299
+ 246: * console.log(buf);
2300
+ 258: * console.log(buf);
2301
+ 284: * console.log(buf);
2302
+ 289: * console.log(buf);
2303
+ 372: * console.log(copiedBuf.toString());
2304
+ 375: * console.log(buf.toString());
2305
+ 381: * console.log(notReallyCopiedBuf.toString());
2306
+ 383: * console.log(buf.toString());
2307
+ 418: * console.log(buf2.toString('ascii', 0, buf2.length));
2308
+ 423: * console.log(buf2.toString('ascii', 0, buf2.length));
2309
+ 435: * console.log(buf.subarray(-6, -1).toString());
2310
+ 439: * console.log(buf.subarray(-6, -2).toString());
2311
+ 443: * console.log(buf.subarray(-5, -2).toString());
2312
+
2313
+ /home/runner/workspace/node_modules/@types/node/async_hooks.d.ts
2314
+ 5: * * [`AsyncLocalStorage`](https://nodejs.org/docs/latest-v22.x/api/async_context.html#class-asynclocalstorage) tracks async context
2315
+ 23: * console.log(executionAsyncId()); // 1 - bootstrap
2316
+ 26: * console.log(executionAsyncId()); // 6 - open()
2317
+ 46: * Promise contexts may not get precise `executionAsyncIds` by default.
2318
+ 49: * @return The `asyncId` of the current execution context. Useful to track when something calls.
2319
+ 57: * Using `executionAsyncResource()` in the top-level execution context will
2320
+ 65: * console.log(executionAsyncId(), executionAsyncResource()); // 1 {}
2321
+ 67: * console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap
2322
+ 119: * Promise contexts may not get valid `triggerAsyncId`s by default. See
2323
+ 129: * @param triggerAsyncId The unique ID of the async resource in whose execution context this async resource was created
2324
+ 213: * The ID of the execution context that created this async event.
2325
+ 245: * // Run a function in the execution context of the resource. This will
2326
+ 246: * // * establish the context of the resource
2327
+ 250: * // * restore the original execution context
2328
+ 269: * @param triggerAsyncId The ID of the execution context that created
2329
+ 275: * Binds the given function to the current execution context.
2330
+ 277: * @param fn The function to bind to the