@ohos-ports/rspack-core 2.3.2-beta.0 → 2.3.4-beta.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.
- package/README.md +5 -4
- package/compiled/http-proxy-middleware/index.d.ts +2 -0
- package/compiled/http-proxy-middleware/package.json +1 -1
- package/compiled/tinypool/dist/index.js +5 -3
- package/compiled/watchpack/index.js +198 -26
- package/compiled/watchpack/package.json +1 -1
- package/compiled/webpack-sources/index.d.ts +2 -0
- package/compiled/webpack-sources/index.js +207 -94
- package/compiled/webpack-sources/package.json +1 -1
- package/compiled/webpack-sources/types/RawSource.d.ts +0 -10
- package/compiled/webpack-sources/types/helpers/sourceMap.d.ts +47 -0
- package/compiled/webpack-sources/types/index.d.ts +1 -0
- package/dist/RuntimeGlobals.d.ts +2 -1
- package/dist/RuntimeTemplate.d.ts +1 -0
- package/dist/builtin-loader/lightningcss/index.d.ts +5 -1
- package/dist/builtin-plugin/CompactHashedChunkIdsPlugin.d.ts +1 -0
- package/dist/builtin-plugin/CompactHashedModuleIdsPlugin.d.ts +1 -0
- package/dist/builtin-plugin/DeterministicChunkIdsPlugin.d.ts +5 -0
- package/dist/config/adapterRuleUse.d.ts +1 -0
- package/dist/config/target.d.ts +4 -0
- package/dist/config/types.d.ts +12 -1
- package/dist/cssExtractLoader.js +1 -1
- package/dist/exports.d.ts +2 -1
- package/dist/index.js +480 -352
- package/dist/sharing/IndependentSharedPlugin.d.ts +1 -2
- package/dist/sharing/utils.d.ts +1 -1
- package/dist/worker.js +4 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -16,9 +16,10 @@ Rspack is [MIT licensed](https://github.com/web-infra-dev/rspack/blob/main/LICEN
|
|
|
16
16
|
|
|
17
17
|
## OpenHarmony port
|
|
18
18
|
|
|
19
|
-
`@ohos-ports` distribution of `@rspack/core@2.3.
|
|
19
|
+
`@ohos-ports` distribution of `@rspack/core@2.3.4`. The bundled dist code's
|
|
20
20
|
`@rspack/binding` references are rewritten to `@ohos-ports/rspack-binding`
|
|
21
|
-
(dependency `"@ohos-ports/rspack-binding": "2.3.
|
|
21
|
+
(dependency `"@ohos-ports/rspack-binding": "2.3.4-beta.0"`), whose loader
|
|
22
22
|
probes the OpenHarmony arm64 native binary slot
|
|
23
|
-
`@ohos-ports/rspack-binding-openharmony-arm64` (
|
|
24
|
-
|
|
23
|
+
`@ohos-ports/rspack-binding-openharmony-arm64` (binary taken from the official
|
|
24
|
+
upstream `@rspack/binding-linux-arm64-musl@2.3.4` prebuilt, exact version
|
|
25
|
+
match, signed with `binary-sign-tool`; live-verified on openharmony/arm64).
|
|
@@ -75,6 +75,8 @@ interface ProxyServerOptions {
|
|
|
75
75
|
};
|
|
76
76
|
/** Timeout (in milliseconds) when proxy receives no response from target. Default: 120000 (2 minutes) */
|
|
77
77
|
proxyTimeout?: number;
|
|
78
|
+
/** Total time in milliseconds to receive upstream WebSocket response headers or an upgrade. Omitted, non-positive, and non-finite values disable the deadline. */
|
|
79
|
+
upgradeTimeout?: number;
|
|
78
80
|
/** Timeout (in milliseconds) for incoming requests */
|
|
79
81
|
timeout?: number;
|
|
80
82
|
/** If set to true, none of the webOutgoing passes are called and it's your responsibility to appropriately return the response by listening and acting on the proxyRes event */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"http-proxy-middleware","author":"Steven Chim","version":"4.2.
|
|
1
|
+
{"name":"http-proxy-middleware","author":"Steven Chim","version":"4.2.2","license":"MIT","types":"index.d.ts","type":"module"}
|
|
@@ -428,7 +428,7 @@ var WorkerInfo = class extends AsynchronouslyCreatedResource {
|
|
|
428
428
|
this.port.postMessage(message, taskInfo.transferList);
|
|
429
429
|
} catch (err) {
|
|
430
430
|
taskInfo.done(err);
|
|
431
|
-
return;
|
|
431
|
+
return false;
|
|
432
432
|
}
|
|
433
433
|
taskInfo.workerInfo = this;
|
|
434
434
|
this.taskInfos.set(taskInfo.taskId, taskInfo);
|
|
@@ -436,6 +436,7 @@ var WorkerInfo = class extends AsynchronouslyCreatedResource {
|
|
|
436
436
|
this.clearIdleTimeout();
|
|
437
437
|
Atomics.add(this.sharedBuffer, kRequestCountField, 1);
|
|
438
438
|
Atomics.notify(this.sharedBuffer, kRequestCountField, 1);
|
|
439
|
+
return true;
|
|
439
440
|
}
|
|
440
441
|
processPendingMessages() {
|
|
441
442
|
const actualResponseCount = Atomics.load(this.sharedBuffer, kResponseCountField);
|
|
@@ -584,9 +585,10 @@ var ThreadPool = class {
|
|
|
584
585
|
}
|
|
585
586
|
const now = performance.now();
|
|
586
587
|
taskInfo.started = now;
|
|
587
|
-
workerInfo.postTask(taskInfo);
|
|
588
|
+
const submitted = workerInfo.postTask(taskInfo);
|
|
588
589
|
this._maybeDrain();
|
|
589
|
-
return;
|
|
590
|
+
if (submitted) return;
|
|
591
|
+
// Failed submissions leave the worker available for the next queued task.
|
|
590
592
|
}
|
|
591
593
|
if (workerInfo.taskInfos.size === 0 && this.workers.size > this.options.minThreads) workerInfo.idleTimeout = setTimeout(() => {
|
|
592
594
|
assert.strictEqual(workerInfo.taskInfos.size, 0);
|
|
@@ -974,7 +974,7 @@ function patch (fs) {
|
|
|
974
974
|
|
|
975
975
|
/***/ }),
|
|
976
976
|
|
|
977
|
-
/***/
|
|
977
|
+
/***/ 674:
|
|
978
978
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
979
979
|
|
|
980
980
|
"use strict";
|
|
@@ -988,7 +988,7 @@ const { EventEmitter } = __nccwpck_require__(434);
|
|
|
988
988
|
const path = __nccwpck_require__(928);
|
|
989
989
|
const fs = __nccwpck_require__(692);
|
|
990
990
|
|
|
991
|
-
const watchEventSource = __nccwpck_require__(
|
|
991
|
+
const watchEventSource = __nccwpck_require__(487);
|
|
992
992
|
|
|
993
993
|
/** @typedef {import("./index").IgnoredFunction} IgnoredFunction */
|
|
994
994
|
/** @typedef {import("./index").EventType} EventType */
|
|
@@ -2285,7 +2285,7 @@ module.exports.Watcher = Watcher;
|
|
|
2285
2285
|
|
|
2286
2286
|
/***/ }),
|
|
2287
2287
|
|
|
2288
|
-
/***/
|
|
2288
|
+
/***/ 377:
|
|
2289
2289
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2290
2290
|
|
|
2291
2291
|
"use strict";
|
|
@@ -2407,7 +2407,7 @@ module.exports = LinkResolver;
|
|
|
2407
2407
|
|
|
2408
2408
|
/***/ }),
|
|
2409
2409
|
|
|
2410
|
-
/***/
|
|
2410
|
+
/***/ 548:
|
|
2411
2411
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2412
2412
|
|
|
2413
2413
|
"use strict";
|
|
@@ -2418,7 +2418,7 @@ module.exports = LinkResolver;
|
|
|
2418
2418
|
|
|
2419
2419
|
|
|
2420
2420
|
const path = __nccwpck_require__(928);
|
|
2421
|
-
const DirectoryWatcher = __nccwpck_require__(
|
|
2421
|
+
const DirectoryWatcher = __nccwpck_require__(674);
|
|
2422
2422
|
|
|
2423
2423
|
/** @typedef {import("./index").EventMap} EventMap */
|
|
2424
2424
|
/** @typedef {import("./DirectoryWatcher").DirectoryWatcherOptions} DirectoryWatcherOptions */
|
|
@@ -2495,7 +2495,7 @@ module.exports.WatcherManager = WatcherManager;
|
|
|
2495
2495
|
|
|
2496
2496
|
/***/ }),
|
|
2497
2497
|
|
|
2498
|
-
/***/
|
|
2498
|
+
/***/ 375:
|
|
2499
2499
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
2500
2500
|
|
|
2501
2501
|
"use strict";
|
|
@@ -2506,10 +2506,10 @@ module.exports.WatcherManager = WatcherManager;
|
|
|
2506
2506
|
|
|
2507
2507
|
|
|
2508
2508
|
const { EventEmitter } = __nccwpck_require__(434);
|
|
2509
|
-
const LinkResolver = __nccwpck_require__(
|
|
2510
|
-
const getWatcherManager = __nccwpck_require__(
|
|
2511
|
-
const globToRegExp = __nccwpck_require__(
|
|
2512
|
-
const watchEventSource = __nccwpck_require__(
|
|
2509
|
+
const LinkResolver = __nccwpck_require__(377);
|
|
2510
|
+
const getWatcherManager = __nccwpck_require__(548);
|
|
2511
|
+
const globToRegExp = __nccwpck_require__(256);
|
|
2512
|
+
const watchEventSource = __nccwpck_require__(487);
|
|
2513
2513
|
|
|
2514
2514
|
/** @typedef {import("./getWatcherManager").WatcherManager} WatcherManager */
|
|
2515
2515
|
/** @typedef {import("./DirectoryWatcher")} DirectoryWatcher */
|
|
@@ -3108,7 +3108,7 @@ module.exports = /** @type {WatchpackExports} */ (
|
|
|
3108
3108
|
|
|
3109
3109
|
/***/ }),
|
|
3110
3110
|
|
|
3111
|
-
/***/
|
|
3111
|
+
/***/ 890:
|
|
3112
3112
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3113
3113
|
|
|
3114
3114
|
"use strict";
|
|
@@ -3275,7 +3275,7 @@ module.exports = (plan, limit) => {
|
|
|
3275
3275
|
|
|
3276
3276
|
/***/ }),
|
|
3277
3277
|
|
|
3278
|
-
/***/
|
|
3278
|
+
/***/ 256:
|
|
3279
3279
|
/***/ ((module) => {
|
|
3280
3280
|
|
|
3281
3281
|
"use strict";
|
|
@@ -3308,15 +3308,20 @@ const CC_LEFT_BRACE = 123; // "{"
|
|
|
3308
3308
|
const CC_PIPE = 124; // "|"
|
|
3309
3309
|
const CC_RIGHT_BRACE = 125; // "}"
|
|
3310
3310
|
|
|
3311
|
+
const CC_BACKSLASH = 92; // "\\"
|
|
3312
|
+
|
|
3313
|
+
// A globstar segment followed by more of the pattern: whole segments, each
|
|
3314
|
+
// ending in "/", so no two ways split the same path and nothing backtracks.
|
|
3315
|
+
const GLOBSTAR_SEGMENTS = "((?:[^/]*\\/)*)";
|
|
3316
|
+
// A globstar that ends the pattern matches whatever is left.
|
|
3317
|
+
const GLOBSTAR_REST = "(.*)";
|
|
3318
|
+
|
|
3311
3319
|
/**
|
|
3312
3320
|
* @param {string} glob glob pattern
|
|
3321
|
+
* @param {boolean} literal whether brackets, braces and backslashes are literal characters
|
|
3313
3322
|
* @returns {string} regexp source without anchors
|
|
3314
3323
|
*/
|
|
3315
|
-
|
|
3316
|
-
if (typeof glob !== "string") {
|
|
3317
|
-
throw new TypeError("Expected a string");
|
|
3318
|
-
}
|
|
3319
|
-
|
|
3324
|
+
const translate = (glob, literal) => {
|
|
3320
3325
|
const len = glob.length;
|
|
3321
3326
|
let reStr = "";
|
|
3322
3327
|
let inGroup = false;
|
|
@@ -3363,18 +3368,22 @@ module.exports = (glob) => {
|
|
|
3363
3368
|
mapped = ".";
|
|
3364
3369
|
break;
|
|
3365
3370
|
case CC_LEFT_BRACKET:
|
|
3366
|
-
mapped = "[";
|
|
3371
|
+
mapped = literal ? "\\[" : "[";
|
|
3367
3372
|
break;
|
|
3368
3373
|
case CC_RIGHT_BRACKET:
|
|
3369
|
-
mapped = "]";
|
|
3374
|
+
mapped = literal ? "\\]" : "]";
|
|
3370
3375
|
break;
|
|
3371
3376
|
case CC_LEFT_BRACE:
|
|
3372
|
-
inGroup =
|
|
3373
|
-
mapped = "(";
|
|
3377
|
+
inGroup = !literal;
|
|
3378
|
+
mapped = literal ? "\\{" : "(";
|
|
3374
3379
|
break;
|
|
3375
3380
|
case CC_RIGHT_BRACE:
|
|
3376
3381
|
inGroup = false;
|
|
3377
|
-
mapped = ")";
|
|
3382
|
+
mapped = literal ? "\\}" : ")";
|
|
3383
|
+
break;
|
|
3384
|
+
case CC_BACKSLASH:
|
|
3385
|
+
if (!literal) continue;
|
|
3386
|
+
mapped = "\\\\";
|
|
3378
3387
|
break;
|
|
3379
3388
|
case CC_COMMA:
|
|
3380
3389
|
mapped = inGroup ? "|" : "\\,";
|
|
@@ -3395,8 +3404,18 @@ module.exports = (glob) => {
|
|
|
3395
3404
|
(atEnd || beforeSlash)
|
|
3396
3405
|
) {
|
|
3397
3406
|
// Globstar segment, matches zero or more path segments
|
|
3398
|
-
mapped = "((?:[^/]*(?:\\/|$))*)";
|
|
3399
3407
|
i++; // Move over the "/"
|
|
3408
|
+
if (i + 1 >= len) {
|
|
3409
|
+
mapped = GLOBSTAR_REST;
|
|
3410
|
+
} else if (
|
|
3411
|
+
reStr.endsWith(GLOBSTAR_SEGMENTS) &&
|
|
3412
|
+
literalStart === tokenStart
|
|
3413
|
+
) {
|
|
3414
|
+
// `**/**/` matches what one `**/` does
|
|
3415
|
+
mapped = "";
|
|
3416
|
+
} else {
|
|
3417
|
+
mapped = GLOBSTAR_SEGMENTS;
|
|
3418
|
+
}
|
|
3400
3419
|
} else {
|
|
3401
3420
|
// Not a globstar, matches one path segment
|
|
3402
3421
|
mapped = "([^/]*)";
|
|
@@ -3422,10 +3441,163 @@ module.exports = (glob) => {
|
|
|
3422
3441
|
return reStr;
|
|
3423
3442
|
};
|
|
3424
3443
|
|
|
3444
|
+
const CC_HYPHEN = 45; // "-"
|
|
3445
|
+
|
|
3446
|
+
/**
|
|
3447
|
+
* @param {number} cc char code
|
|
3448
|
+
* @returns {boolean} true for an ASCII hex digit
|
|
3449
|
+
*/
|
|
3450
|
+
const isHexDigit = (cc) =>
|
|
3451
|
+
(cc >= 48 && cc <= 57) || (cc >= 65 && cc <= 70) || (cc >= 97 && cc <= 102);
|
|
3452
|
+
|
|
3453
|
+
/**
|
|
3454
|
+
* @param {string} source regexp source
|
|
3455
|
+
* @param {number} start index after the opening "["
|
|
3456
|
+
* @returns {number} index of the closing "]", or -1 when the class is unclosed or holds a reversed range
|
|
3457
|
+
*/
|
|
3458
|
+
const readClass = (source, start) => {
|
|
3459
|
+
const len = source.length;
|
|
3460
|
+
let i = start;
|
|
3461
|
+
if (source.charCodeAt(i) === CC_CARET) i++;
|
|
3462
|
+
// Value of the atom at `i`, -1 for a set (`\d` and the like); moves `i` past it
|
|
3463
|
+
const readAtom = () => {
|
|
3464
|
+
const cc = source.charCodeAt(i++);
|
|
3465
|
+
if (cc !== CC_BACKSLASH) return cc;
|
|
3466
|
+
const next = source.charCodeAt(i++);
|
|
3467
|
+
switch (next) {
|
|
3468
|
+
case 100: // d
|
|
3469
|
+
case 68: // D
|
|
3470
|
+
case 115: // s
|
|
3471
|
+
case 83: // S
|
|
3472
|
+
case 119: // w
|
|
3473
|
+
case 87: // W
|
|
3474
|
+
return -1;
|
|
3475
|
+
case 98: // b
|
|
3476
|
+
return 8;
|
|
3477
|
+
case 102: // f
|
|
3478
|
+
return 12;
|
|
3479
|
+
case 110: // n
|
|
3480
|
+
return 10;
|
|
3481
|
+
case 114: // r
|
|
3482
|
+
return 13;
|
|
3483
|
+
case 116: // t
|
|
3484
|
+
return 9;
|
|
3485
|
+
case 118: // v
|
|
3486
|
+
return 11;
|
|
3487
|
+
case 120: // x
|
|
3488
|
+
if (
|
|
3489
|
+
isHexDigit(source.charCodeAt(i)) &&
|
|
3490
|
+
isHexDigit(source.charCodeAt(i + 1))
|
|
3491
|
+
) {
|
|
3492
|
+
i += 2;
|
|
3493
|
+
return Number.parseInt(source.slice(i - 2, i), 16);
|
|
3494
|
+
}
|
|
3495
|
+
return next;
|
|
3496
|
+
case 117: {
|
|
3497
|
+
// u
|
|
3498
|
+
let digits = 0;
|
|
3499
|
+
while (digits < 4 && isHexDigit(source.charCodeAt(i + digits))) {
|
|
3500
|
+
digits++;
|
|
3501
|
+
}
|
|
3502
|
+
if (digits < 4) return next;
|
|
3503
|
+
i += 4;
|
|
3504
|
+
return Number.parseInt(source.slice(i - 4, i), 16);
|
|
3505
|
+
}
|
|
3506
|
+
case 99: {
|
|
3507
|
+
// c
|
|
3508
|
+
const letter = source.charCodeAt(i);
|
|
3509
|
+
if (
|
|
3510
|
+
(letter >= 65 && letter <= 90) ||
|
|
3511
|
+
(letter >= 97 && letter <= 122) ||
|
|
3512
|
+
(letter >= 48 && letter <= 57) ||
|
|
3513
|
+
letter === 95
|
|
3514
|
+
) {
|
|
3515
|
+
i++;
|
|
3516
|
+
return letter % 32;
|
|
3517
|
+
}
|
|
3518
|
+
// A lone `\c` is a backslash; the `c` is the next atom
|
|
3519
|
+
i--;
|
|
3520
|
+
return CC_BACKSLASH;
|
|
3521
|
+
}
|
|
3522
|
+
default:
|
|
3523
|
+
if (next >= 48 && next <= 55) {
|
|
3524
|
+
// Legacy octal escape, up to `\377`
|
|
3525
|
+
let value = next - 48;
|
|
3526
|
+
const max = next <= 51 ? 2 : 1;
|
|
3527
|
+
for (let digits = 0; digits < max; digits++) {
|
|
3528
|
+
const digit = source.charCodeAt(i);
|
|
3529
|
+
if (digit < 48 || digit > 55) break;
|
|
3530
|
+
value = value * 8 + digit - 48;
|
|
3531
|
+
i++;
|
|
3532
|
+
}
|
|
3533
|
+
return value;
|
|
3534
|
+
}
|
|
3535
|
+
return next;
|
|
3536
|
+
}
|
|
3537
|
+
};
|
|
3538
|
+
while (i < len) {
|
|
3539
|
+
const cc = source.charCodeAt(i);
|
|
3540
|
+
if (cc === CC_RIGHT_BRACKET) return i;
|
|
3541
|
+
if (cc === CC_BACKSLASH && i + 1 >= len) return -1;
|
|
3542
|
+
const from = readAtom();
|
|
3543
|
+
if (
|
|
3544
|
+
source.charCodeAt(i) === CC_HYPHEN &&
|
|
3545
|
+
i + 1 < len &&
|
|
3546
|
+
source.charCodeAt(i + 1) !== CC_RIGHT_BRACKET
|
|
3547
|
+
) {
|
|
3548
|
+
i++;
|
|
3549
|
+
if (source.charCodeAt(i) === CC_BACKSLASH && i + 1 >= len) return -1;
|
|
3550
|
+
const to = readAtom();
|
|
3551
|
+
if (from !== -1 && to !== -1 && from > to) return -1;
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
return -1;
|
|
3555
|
+
};
|
|
3556
|
+
|
|
3557
|
+
/**
|
|
3558
|
+
* Whether `new RegExp(source)` would accept a source `translate` gave,
|
|
3559
|
+
* without building one.
|
|
3560
|
+
* @param {string} source regexp source
|
|
3561
|
+
* @returns {boolean} true when the source compiles
|
|
3562
|
+
*/
|
|
3563
|
+
const compiles = (source) => {
|
|
3564
|
+
const len = source.length;
|
|
3565
|
+
let depth = 0;
|
|
3566
|
+
for (let i = 0; i < len; i++) {
|
|
3567
|
+
const cc = source.charCodeAt(i);
|
|
3568
|
+
if (cc === CC_BACKSLASH) {
|
|
3569
|
+
if (++i >= len) return false;
|
|
3570
|
+
} else if (cc === CC_LEFT_PARENTHESIS) {
|
|
3571
|
+
depth++;
|
|
3572
|
+
} else if (cc === CC_RIGHT_PARENTHESIS) {
|
|
3573
|
+
if (--depth < 0) return false;
|
|
3574
|
+
} else if (cc === CC_LEFT_BRACKET) {
|
|
3575
|
+
i = readClass(source, i + 1);
|
|
3576
|
+
if (i === -1) return false;
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
return depth === 0;
|
|
3580
|
+
};
|
|
3581
|
+
|
|
3582
|
+
/**
|
|
3583
|
+
* @param {string} glob glob pattern
|
|
3584
|
+
* @returns {string} regexp source without anchors
|
|
3585
|
+
*/
|
|
3586
|
+
module.exports = (glob) => {
|
|
3587
|
+
if (typeof glob !== "string") {
|
|
3588
|
+
throw new TypeError("Expected a string");
|
|
3589
|
+
}
|
|
3590
|
+
|
|
3591
|
+
const source = translate(glob, false);
|
|
3592
|
+
// An unbalanced or invalid bracket or brace: read those as the
|
|
3593
|
+
// characters they are rather than give a regexp that cannot compile.
|
|
3594
|
+
return compiles(source) ? source : translate(glob, true);
|
|
3595
|
+
};
|
|
3596
|
+
|
|
3425
3597
|
|
|
3426
3598
|
/***/ }),
|
|
3427
3599
|
|
|
3428
|
-
/***/
|
|
3600
|
+
/***/ 487:
|
|
3429
3601
|
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
3430
3602
|
|
|
3431
3603
|
"use strict";
|
|
@@ -3438,7 +3610,7 @@ module.exports = (glob) => {
|
|
|
3438
3610
|
const { EventEmitter } = __nccwpck_require__(434);
|
|
3439
3611
|
const fs = __nccwpck_require__(896);
|
|
3440
3612
|
const path = __nccwpck_require__(928);
|
|
3441
|
-
const reducePlan = __nccwpck_require__(
|
|
3613
|
+
const reducePlan = __nccwpck_require__(890);
|
|
3442
3614
|
|
|
3443
3615
|
/** @typedef {import("fs").FSWatcher} FSWatcher */
|
|
3444
3616
|
/** @typedef {import("./index").EventType} EventType */
|
|
@@ -4031,7 +4203,7 @@ module.exports = require("util");
|
|
|
4031
4203
|
/******/ // startup
|
|
4032
4204
|
/******/ // Load entry module and return exports
|
|
4033
4205
|
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
4034
|
-
/******/ var __webpack_exports__ = __nccwpck_require__(
|
|
4206
|
+
/******/ var __webpack_exports__ = __nccwpck_require__(375);
|
|
4035
4207
|
/******/ module.exports = __webpack_exports__;
|
|
4036
4208
|
/******/
|
|
4037
4209
|
/******/ })()
|
|
@@ -25,11 +25,13 @@ import Source = require("./types/Source");
|
|
|
25
25
|
import SourceMapSource = require("./types/SourceMapSource");
|
|
26
26
|
import GetGeneratedSourceInfo = require("./types/helpers/getGeneratedSourceInfo");
|
|
27
27
|
import Scopes = require("./types/helpers/scopes");
|
|
28
|
+
import SourceMap = require("./types/helpers/sourceMap");
|
|
28
29
|
import StreamChunks = require("./types/helpers/streamChunks");
|
|
29
30
|
import StringBufferUtils = require("./types/helpers/stringBufferUtils");
|
|
30
31
|
|
|
31
32
|
export namespace util {
|
|
32
33
|
export import scopes = Scopes;
|
|
34
|
+
export import sourceMap = SourceMap;
|
|
33
35
|
export import stringBufferUtils = StringBufferUtils;
|
|
34
36
|
}
|
|
35
37
|
export type OnChunk = StreamChunks.OnChunk;
|