@rsbuild/core 0.6.7 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiled/commander/{typings/index.d.ts → index.d.ts} +26 -24
- package/compiled/commander/index.js +3528 -1
- package/compiled/commander/package.json +1 -1
- package/compiled/connect-history-api-fallback/index.js +186 -1
- package/compiled/dotenv/{lib/main.d.ts → index.d.ts} +16 -12
- package/compiled/dotenv/index.js +458 -1
- package/compiled/dotenv/package.json +1 -1
- package/compiled/dotenv-expand/{lib/main.d.ts → index.d.ts} +9 -7
- package/compiled/dotenv-expand/index.js +146 -1
- package/compiled/dotenv-expand/package.json +1 -1
- package/compiled/http-compression/index.js +185 -1
- package/compiled/launch-editor-middleware/index.js +843 -1
- package/compiled/on-finished/index.d.ts +2 -2
- package/compiled/on-finished/index.js +390 -3
- package/compiled/on-finished/package.json +1 -1
- package/compiled/open/index.d.ts +1 -153
- package/compiled/open/index.js +526 -1
- package/compiled/open/package.json +1 -1
- package/compiled/sirv/index.d.ts +1 -0
- package/compiled/sirv/index.js +798 -1
- package/compiled/sirv/package.json +1 -1
- package/compiled/webpack-dev-middleware/index.d.ts +1 -0
- package/compiled/webpack-dev-middleware/index.js +6696 -0
- package/compiled/webpack-dev-middleware/license +20 -0
- package/compiled/webpack-dev-middleware/package.json +1 -0
- package/compiled/webpack-dev-middleware/schema-utils.js +1 -0
- package/compiled/ws/index.d.ts +7 -15
- package/compiled/ws/index.js +4885 -1
- package/compiled/ws/package.json +1 -1
- package/dist/cli/commands.js +1 -1
- package/dist/cli/prepare.js +1 -1
- package/dist/client/format.d.ts +5 -0
- package/dist/client/{formatStats.js → format.js} +22 -46
- package/dist/client/hmr.d.ts +5 -0
- package/dist/client/hmr.mjs +201 -474
- package/dist/client/overlay.mjs +208 -237
- package/dist/createContext.js +1 -1
- package/dist/index.js +1 -1
- package/dist/plugins/target.js +19 -16
- package/dist/provider/plugins/swc.js +1 -0
- package/dist/provider/shared.js +2 -2
- package/dist/server/devMiddleware.js +1 -1
- package/dist/server/devServer.js +6 -1
- package/dist/server/getDevMiddlewares.d.ts +3 -0
- package/dist/server/getDevMiddlewares.js +6 -8
- package/dist/server/helper.d.ts +4 -4
- package/dist/server/middlewares.d.ts +5 -2
- package/dist/server/middlewares.js +1 -7
- package/package.json +6 -5
- package/compiled/open/license +0 -9
- package/compiled/sirv/sirv.d.ts +0 -27
- package/dist/client/formatStats.d.ts +0 -12
- package/dist/client/hmr/createSocketUrl.d.ts +0 -12
- package/dist/client/hmr/index.d.ts +0 -4
package/compiled/open/index.js
CHANGED
|
@@ -1 +1,526 @@
|
|
|
1
|
-
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ var __webpack_modules__ = ({
|
|
3
|
+
|
|
4
|
+
/***/ 104:
|
|
5
|
+
/***/ ((module) => {
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
module.exports = (object, propertyName, fn) => {
|
|
10
|
+
const define = value => Object.defineProperty(object, propertyName, {value, enumerable: true, writable: true});
|
|
11
|
+
|
|
12
|
+
Object.defineProperty(object, propertyName, {
|
|
13
|
+
configurable: true,
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get() {
|
|
16
|
+
const result = fn();
|
|
17
|
+
define(result);
|
|
18
|
+
return result;
|
|
19
|
+
},
|
|
20
|
+
set(value) {
|
|
21
|
+
define(value);
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
return object;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/***/ }),
|
|
30
|
+
|
|
31
|
+
/***/ 669:
|
|
32
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
33
|
+
|
|
34
|
+
"use strict";
|
|
35
|
+
|
|
36
|
+
const fs = __nccwpck_require__(147);
|
|
37
|
+
|
|
38
|
+
let isDocker;
|
|
39
|
+
|
|
40
|
+
function hasDockerEnv() {
|
|
41
|
+
try {
|
|
42
|
+
fs.statSync('/.dockerenv');
|
|
43
|
+
return true;
|
|
44
|
+
} catch (_) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function hasDockerCGroup() {
|
|
50
|
+
try {
|
|
51
|
+
return fs.readFileSync('/proc/self/cgroup', 'utf8').includes('docker');
|
|
52
|
+
} catch (_) {
|
|
53
|
+
return false;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
module.exports = () => {
|
|
58
|
+
if (isDocker === undefined) {
|
|
59
|
+
isDocker = hasDockerEnv() || hasDockerCGroup();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return isDocker;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
/***/ }),
|
|
67
|
+
|
|
68
|
+
/***/ 729:
|
|
69
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
70
|
+
|
|
71
|
+
"use strict";
|
|
72
|
+
|
|
73
|
+
const os = __nccwpck_require__(37);
|
|
74
|
+
const fs = __nccwpck_require__(147);
|
|
75
|
+
const isDocker = __nccwpck_require__(669);
|
|
76
|
+
|
|
77
|
+
const isWsl = () => {
|
|
78
|
+
if (process.platform !== 'linux') {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (os.release().toLowerCase().includes('microsoft')) {
|
|
83
|
+
if (isDocker()) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return true;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
try {
|
|
91
|
+
return fs.readFileSync('/proc/version', 'utf8').toLowerCase().includes('microsoft') ?
|
|
92
|
+
!isDocker() : false;
|
|
93
|
+
} catch (_) {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
if (process.env.__IS_WSL_TEST__) {
|
|
99
|
+
module.exports = isWsl;
|
|
100
|
+
} else {
|
|
101
|
+
module.exports = isWsl();
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
/***/ }),
|
|
106
|
+
|
|
107
|
+
/***/ 913:
|
|
108
|
+
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
109
|
+
|
|
110
|
+
const path = __nccwpck_require__(17);
|
|
111
|
+
const childProcess = __nccwpck_require__(81);
|
|
112
|
+
const {promises: fs, constants: fsConstants} = __nccwpck_require__(147);
|
|
113
|
+
const isWsl = __nccwpck_require__(729);
|
|
114
|
+
const isDocker = __nccwpck_require__(669);
|
|
115
|
+
const defineLazyProperty = __nccwpck_require__(104);
|
|
116
|
+
|
|
117
|
+
// Path to included `xdg-open`.
|
|
118
|
+
const localXdgOpenPath = __nccwpck_require__.ab + "xdg-open";
|
|
119
|
+
|
|
120
|
+
const {platform, arch} = process;
|
|
121
|
+
|
|
122
|
+
// Podman detection
|
|
123
|
+
const hasContainerEnv = () => {
|
|
124
|
+
try {
|
|
125
|
+
fs.statSync('/run/.containerenv');
|
|
126
|
+
return true;
|
|
127
|
+
} catch {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
let cachedResult;
|
|
133
|
+
function isInsideContainer() {
|
|
134
|
+
if (cachedResult === undefined) {
|
|
135
|
+
cachedResult = hasContainerEnv() || isDocker();
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
return cachedResult;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
Get the mount point for fixed drives in WSL.
|
|
143
|
+
|
|
144
|
+
@inner
|
|
145
|
+
@returns {string} The mount point.
|
|
146
|
+
*/
|
|
147
|
+
const getWslDrivesMountPoint = (() => {
|
|
148
|
+
// Default value for "root" param
|
|
149
|
+
// according to https://docs.microsoft.com/en-us/windows/wsl/wsl-config
|
|
150
|
+
const defaultMountPoint = '/mnt/';
|
|
151
|
+
|
|
152
|
+
let mountPoint;
|
|
153
|
+
|
|
154
|
+
return async function () {
|
|
155
|
+
if (mountPoint) {
|
|
156
|
+
// Return memoized mount point value
|
|
157
|
+
return mountPoint;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
const configFilePath = '/etc/wsl.conf';
|
|
161
|
+
|
|
162
|
+
let isConfigFileExists = false;
|
|
163
|
+
try {
|
|
164
|
+
await fs.access(configFilePath, fsConstants.F_OK);
|
|
165
|
+
isConfigFileExists = true;
|
|
166
|
+
} catch {}
|
|
167
|
+
|
|
168
|
+
if (!isConfigFileExists) {
|
|
169
|
+
return defaultMountPoint;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
const configContent = await fs.readFile(configFilePath, {encoding: 'utf8'});
|
|
173
|
+
const configMountPoint = /(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(configContent);
|
|
174
|
+
|
|
175
|
+
if (!configMountPoint) {
|
|
176
|
+
return defaultMountPoint;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
mountPoint = configMountPoint.groups.mountPoint.trim();
|
|
180
|
+
mountPoint = mountPoint.endsWith('/') ? mountPoint : `${mountPoint}/`;
|
|
181
|
+
|
|
182
|
+
return mountPoint;
|
|
183
|
+
};
|
|
184
|
+
})();
|
|
185
|
+
|
|
186
|
+
const pTryEach = async (array, mapper) => {
|
|
187
|
+
let latestError;
|
|
188
|
+
|
|
189
|
+
for (const item of array) {
|
|
190
|
+
try {
|
|
191
|
+
return await mapper(item); // eslint-disable-line no-await-in-loop
|
|
192
|
+
} catch (error) {
|
|
193
|
+
latestError = error;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
throw latestError;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
const baseOpen = async options => {
|
|
201
|
+
options = {
|
|
202
|
+
wait: false,
|
|
203
|
+
background: false,
|
|
204
|
+
newInstance: false,
|
|
205
|
+
allowNonzeroExitCode: false,
|
|
206
|
+
...options
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
if (Array.isArray(options.app)) {
|
|
210
|
+
return pTryEach(options.app, singleApp => baseOpen({
|
|
211
|
+
...options,
|
|
212
|
+
app: singleApp
|
|
213
|
+
}));
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
let {name: app, arguments: appArguments = []} = options.app || {};
|
|
217
|
+
appArguments = [...appArguments];
|
|
218
|
+
|
|
219
|
+
if (Array.isArray(app)) {
|
|
220
|
+
return pTryEach(app, appName => baseOpen({
|
|
221
|
+
...options,
|
|
222
|
+
app: {
|
|
223
|
+
name: appName,
|
|
224
|
+
arguments: appArguments
|
|
225
|
+
}
|
|
226
|
+
}));
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
let command;
|
|
230
|
+
const cliArguments = [];
|
|
231
|
+
const childProcessOptions = {};
|
|
232
|
+
|
|
233
|
+
if (platform === 'darwin') {
|
|
234
|
+
command = 'open';
|
|
235
|
+
|
|
236
|
+
if (options.wait) {
|
|
237
|
+
cliArguments.push('--wait-apps');
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
if (options.background) {
|
|
241
|
+
cliArguments.push('--background');
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
if (options.newInstance) {
|
|
245
|
+
cliArguments.push('--new');
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
if (app) {
|
|
249
|
+
cliArguments.push('-a', app);
|
|
250
|
+
}
|
|
251
|
+
} else if (platform === 'win32' || (isWsl && !isInsideContainer() && !app)) {
|
|
252
|
+
const mountPoint = await getWslDrivesMountPoint();
|
|
253
|
+
|
|
254
|
+
command = isWsl ?
|
|
255
|
+
`${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` :
|
|
256
|
+
`${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
|
|
257
|
+
|
|
258
|
+
cliArguments.push(
|
|
259
|
+
'-NoProfile',
|
|
260
|
+
'-NonInteractive',
|
|
261
|
+
'–ExecutionPolicy',
|
|
262
|
+
'Bypass',
|
|
263
|
+
'-EncodedCommand'
|
|
264
|
+
);
|
|
265
|
+
|
|
266
|
+
if (!isWsl) {
|
|
267
|
+
childProcessOptions.windowsVerbatimArguments = true;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
const encodedArguments = ['Start'];
|
|
271
|
+
|
|
272
|
+
if (options.wait) {
|
|
273
|
+
encodedArguments.push('-Wait');
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
if (app) {
|
|
277
|
+
// Double quote with double quotes to ensure the inner quotes are passed through.
|
|
278
|
+
// Inner quotes are delimited for PowerShell interpretation with backticks.
|
|
279
|
+
encodedArguments.push(`"\`"${app}\`""`, '-ArgumentList');
|
|
280
|
+
if (options.target) {
|
|
281
|
+
appArguments.unshift(options.target);
|
|
282
|
+
}
|
|
283
|
+
} else if (options.target) {
|
|
284
|
+
encodedArguments.push(`"${options.target}"`);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
if (appArguments.length > 0) {
|
|
288
|
+
appArguments = appArguments.map(arg => `"\`"${arg}\`""`);
|
|
289
|
+
encodedArguments.push(appArguments.join(','));
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
// Using Base64-encoded command, accepted by PowerShell, to allow special characters.
|
|
293
|
+
options.target = Buffer.from(encodedArguments.join(' '), 'utf16le').toString('base64');
|
|
294
|
+
} else {
|
|
295
|
+
if (app) {
|
|
296
|
+
command = app;
|
|
297
|
+
} else {
|
|
298
|
+
// When bundled by Webpack, there's no actual package file path and no local `xdg-open`.
|
|
299
|
+
const isBundled = !__dirname || __dirname === '/';
|
|
300
|
+
|
|
301
|
+
// Check if local `xdg-open` exists and is executable.
|
|
302
|
+
let exeLocalXdgOpen = false;
|
|
303
|
+
try {
|
|
304
|
+
await fs.access(__nccwpck_require__.ab + "xdg-open", fsConstants.X_OK);
|
|
305
|
+
exeLocalXdgOpen = true;
|
|
306
|
+
} catch {}
|
|
307
|
+
|
|
308
|
+
const useSystemXdgOpen = process.versions.electron ||
|
|
309
|
+
platform === 'android' || isBundled || !exeLocalXdgOpen;
|
|
310
|
+
command = useSystemXdgOpen ? 'xdg-open' : localXdgOpenPath;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
if (appArguments.length > 0) {
|
|
314
|
+
cliArguments.push(...appArguments);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
if (!options.wait) {
|
|
318
|
+
// `xdg-open` will block the process unless stdio is ignored
|
|
319
|
+
// and it's detached from the parent even if it's unref'd.
|
|
320
|
+
childProcessOptions.stdio = 'ignore';
|
|
321
|
+
childProcessOptions.detached = true;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
if (options.target) {
|
|
326
|
+
cliArguments.push(options.target);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
if (platform === 'darwin' && appArguments.length > 0) {
|
|
330
|
+
cliArguments.push('--args', ...appArguments);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions);
|
|
334
|
+
|
|
335
|
+
if (options.wait) {
|
|
336
|
+
return new Promise((resolve, reject) => {
|
|
337
|
+
subprocess.once('error', reject);
|
|
338
|
+
|
|
339
|
+
subprocess.once('close', exitCode => {
|
|
340
|
+
if (!options.allowNonzeroExitCode && exitCode > 0) {
|
|
341
|
+
reject(new Error(`Exited with code ${exitCode}`));
|
|
342
|
+
return;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
resolve(subprocess);
|
|
346
|
+
});
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
subprocess.unref();
|
|
351
|
+
|
|
352
|
+
return subprocess;
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
const open = (target, options) => {
|
|
356
|
+
if (typeof target !== 'string') {
|
|
357
|
+
throw new TypeError('Expected a `target`');
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
return baseOpen({
|
|
361
|
+
...options,
|
|
362
|
+
target
|
|
363
|
+
});
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
const openApp = (name, options) => {
|
|
367
|
+
if (typeof name !== 'string') {
|
|
368
|
+
throw new TypeError('Expected a `name`');
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
const {arguments: appArguments = []} = options || {};
|
|
372
|
+
if (appArguments !== undefined && appArguments !== null && !Array.isArray(appArguments)) {
|
|
373
|
+
throw new TypeError('Expected `appArguments` as Array type');
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
return baseOpen({
|
|
377
|
+
...options,
|
|
378
|
+
app: {
|
|
379
|
+
name,
|
|
380
|
+
arguments: appArguments
|
|
381
|
+
}
|
|
382
|
+
});
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
function detectArchBinary(binary) {
|
|
386
|
+
if (typeof binary === 'string' || Array.isArray(binary)) {
|
|
387
|
+
return binary;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
const {[arch]: archBinary} = binary;
|
|
391
|
+
|
|
392
|
+
if (!archBinary) {
|
|
393
|
+
throw new Error(`${arch} is not supported`);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
return archBinary;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
function detectPlatformBinary({[platform]: platformBinary}, {wsl}) {
|
|
400
|
+
if (wsl && isWsl) {
|
|
401
|
+
return detectArchBinary(wsl);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
if (!platformBinary) {
|
|
405
|
+
throw new Error(`${platform} is not supported`);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
return detectArchBinary(platformBinary);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
const apps = {};
|
|
412
|
+
|
|
413
|
+
defineLazyProperty(apps, 'chrome', () => detectPlatformBinary({
|
|
414
|
+
darwin: 'google chrome',
|
|
415
|
+
win32: 'chrome',
|
|
416
|
+
linux: ['google-chrome', 'google-chrome-stable', 'chromium']
|
|
417
|
+
}, {
|
|
418
|
+
wsl: {
|
|
419
|
+
ia32: '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe',
|
|
420
|
+
x64: ['/mnt/c/Program Files/Google/Chrome/Application/chrome.exe', '/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe']
|
|
421
|
+
}
|
|
422
|
+
}));
|
|
423
|
+
|
|
424
|
+
defineLazyProperty(apps, 'firefox', () => detectPlatformBinary({
|
|
425
|
+
darwin: 'firefox',
|
|
426
|
+
win32: 'C:\\Program Files\\Mozilla Firefox\\firefox.exe',
|
|
427
|
+
linux: 'firefox'
|
|
428
|
+
}, {
|
|
429
|
+
wsl: '/mnt/c/Program Files/Mozilla Firefox/firefox.exe'
|
|
430
|
+
}));
|
|
431
|
+
|
|
432
|
+
defineLazyProperty(apps, 'edge', () => detectPlatformBinary({
|
|
433
|
+
darwin: 'microsoft edge',
|
|
434
|
+
win32: 'msedge',
|
|
435
|
+
linux: ['microsoft-edge', 'microsoft-edge-dev']
|
|
436
|
+
}, {
|
|
437
|
+
wsl: '/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe'
|
|
438
|
+
}));
|
|
439
|
+
|
|
440
|
+
open.apps = apps;
|
|
441
|
+
open.openApp = openApp;
|
|
442
|
+
|
|
443
|
+
module.exports = open;
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
/***/ }),
|
|
447
|
+
|
|
448
|
+
/***/ 81:
|
|
449
|
+
/***/ ((module) => {
|
|
450
|
+
|
|
451
|
+
"use strict";
|
|
452
|
+
module.exports = require("child_process");
|
|
453
|
+
|
|
454
|
+
/***/ }),
|
|
455
|
+
|
|
456
|
+
/***/ 147:
|
|
457
|
+
/***/ ((module) => {
|
|
458
|
+
|
|
459
|
+
"use strict";
|
|
460
|
+
module.exports = require("fs");
|
|
461
|
+
|
|
462
|
+
/***/ }),
|
|
463
|
+
|
|
464
|
+
/***/ 37:
|
|
465
|
+
/***/ ((module) => {
|
|
466
|
+
|
|
467
|
+
"use strict";
|
|
468
|
+
module.exports = require("os");
|
|
469
|
+
|
|
470
|
+
/***/ }),
|
|
471
|
+
|
|
472
|
+
/***/ 17:
|
|
473
|
+
/***/ ((module) => {
|
|
474
|
+
|
|
475
|
+
"use strict";
|
|
476
|
+
module.exports = require("path");
|
|
477
|
+
|
|
478
|
+
/***/ })
|
|
479
|
+
|
|
480
|
+
/******/ });
|
|
481
|
+
/************************************************************************/
|
|
482
|
+
/******/ // The module cache
|
|
483
|
+
/******/ var __webpack_module_cache__ = {};
|
|
484
|
+
/******/
|
|
485
|
+
/******/ // The require function
|
|
486
|
+
/******/ function __nccwpck_require__(moduleId) {
|
|
487
|
+
/******/ // Check if module is in cache
|
|
488
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
489
|
+
/******/ if (cachedModule !== undefined) {
|
|
490
|
+
/******/ return cachedModule.exports;
|
|
491
|
+
/******/ }
|
|
492
|
+
/******/ // Create a new module (and put it into the cache)
|
|
493
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
494
|
+
/******/ // no module.id needed
|
|
495
|
+
/******/ // no module.loaded needed
|
|
496
|
+
/******/ exports: {}
|
|
497
|
+
/******/ };
|
|
498
|
+
/******/
|
|
499
|
+
/******/ // Execute the module function
|
|
500
|
+
/******/ var threw = true;
|
|
501
|
+
/******/ try {
|
|
502
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __nccwpck_require__);
|
|
503
|
+
/******/ threw = false;
|
|
504
|
+
/******/ } finally {
|
|
505
|
+
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
|
506
|
+
/******/ }
|
|
507
|
+
/******/
|
|
508
|
+
/******/ // Return the exports of the module
|
|
509
|
+
/******/ return module.exports;
|
|
510
|
+
/******/ }
|
|
511
|
+
/******/
|
|
512
|
+
/************************************************************************/
|
|
513
|
+
/******/ /* webpack/runtime/compat */
|
|
514
|
+
/******/
|
|
515
|
+
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
|
|
516
|
+
/******/
|
|
517
|
+
/************************************************************************/
|
|
518
|
+
/******/
|
|
519
|
+
/******/ // startup
|
|
520
|
+
/******/ // Load entry module and return exports
|
|
521
|
+
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
522
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(913);
|
|
523
|
+
/******/ module.exports = __webpack_exports__;
|
|
524
|
+
/******/
|
|
525
|
+
/******/ })()
|
|
526
|
+
;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"open","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"version":"8.4.2","funding":"https://github.com/sponsors/sindresorhus","license":"MIT","type":"commonjs"}
|
|
1
|
+
{"name":"open","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"version":"8.4.2","funding":"https://github.com/sponsors/sindresorhus","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export = any;
|