@rollup/wasm-node 4.24.0 → 4.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/rollup +2 -2
- package/dist/es/getLogFilter.js +2 -2
- package/dist/es/parseAst.js +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/node-entry.js +83 -67
- package/dist/es/shared/parseAst.js +2 -2
- package/dist/es/shared/watch.js +4 -3
- package/dist/getLogFilter.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/parseAst.js +2 -2
- package/dist/rollup.js +2 -2
- package/dist/shared/fsevents-importer.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/parseAst.js +2 -2
- package/dist/shared/rollup.js +82 -66
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +4 -3
- package/dist/wasm-node/bindings_wasm.js +33 -33
- package/dist/wasm-node/bindings_wasm_bg.wasm +0 -0
- package/package.json +26 -26
package/dist/bin/rollup
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
/*
|
|
3
3
|
@license
|
|
4
|
-
Rollup.js v4.24.
|
|
5
|
-
|
|
4
|
+
Rollup.js v4.24.2
|
|
5
|
+
Sun, 27 Oct 2024 15:39:37 GMT - commit 32d0e7dae85121ac0850ec28576a10a6302f84a9
|
|
6
6
|
|
|
7
7
|
https://github.com/rollup/rollup
|
|
8
8
|
|
package/dist/es/getLogFilter.js
CHANGED
package/dist/es/parseAst.js
CHANGED
package/dist/es/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.24.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.24.2
|
|
4
|
+
Sun, 27 Oct 2024 15:39:37 GMT - commit 32d0e7dae85121ac0850ec28576a10a6302f84a9
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, ExpressionStatement as ExpressionStatement$1, logMissingExport, normalize, getImportPath, logMissingNodeBuiltins, logReservedNamespace, error, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, Property as Property$1, logConstVariableReassignError, ArrowFunctionExpression as ArrowFunctionExpression$1, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logParseError, logModuleParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, Identifier as Identifier$1, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, EMPTY_OBJECT, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logSyntheticNamedExportsNeedNamespaceExport, logMissingEntryExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, logCircularReexport, logInvalidFormatForTopLevelAwait, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logCannotAssignModuleToChunk, logAnonymousPluginCache, logDuplicatePluginName, logUnknownOption, printQuotedStringList, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, relativeId, logBadLoader, logExternalModulesCannotBeTransformedToModules, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, warnDeprecation, URL_GENERATEBUNDLE, logFileNameConflict, logAssetNotFinalisedForFileName, logChunkNotGeneratedForFileName, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidFunctionPluginHook, logInvalidAddonPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, logInvalidExportOptionValue, URL_OUTPUT_INTEROP, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_GENERATEDCODE, URL_OUTPUT_MANUALCHUNKS, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
|
|
11
11
|
import { relative, dirname, basename, extname, resolve as resolve$1 } from 'node:path';
|
|
12
|
-
import
|
|
12
|
+
import { posix, win32, isAbsolute, resolve } from 'path';
|
|
13
13
|
import { parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } from '../../native.js';
|
|
14
14
|
import process$1, { env as env$1 } from 'node:process';
|
|
15
15
|
import { performance } from 'node:perf_hooks';
|
|
16
16
|
import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/promises';
|
|
17
17
|
import * as tty from 'tty';
|
|
18
18
|
|
|
19
|
-
var version = "4.24.
|
|
19
|
+
var version = "4.24.2";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -565,27 +565,6 @@ class Mappings {
|
|
|
565
565
|
let charInHiresBoundary = false;
|
|
566
566
|
|
|
567
567
|
while (originalCharIndex < chunk.end) {
|
|
568
|
-
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
569
|
-
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
570
|
-
|
|
571
|
-
if (this.hires === 'boundary') {
|
|
572
|
-
// in hires "boundary", group segments per word boundary than per char
|
|
573
|
-
if (wordRegex.test(original[originalCharIndex])) {
|
|
574
|
-
// for first char in the boundary found, start the boundary by pushing a segment
|
|
575
|
-
if (!charInHiresBoundary) {
|
|
576
|
-
this.rawSegments.push(segment);
|
|
577
|
-
charInHiresBoundary = true;
|
|
578
|
-
}
|
|
579
|
-
} else {
|
|
580
|
-
// for non-word char, end the boundary by pushing a segment
|
|
581
|
-
this.rawSegments.push(segment);
|
|
582
|
-
charInHiresBoundary = false;
|
|
583
|
-
}
|
|
584
|
-
} else {
|
|
585
|
-
this.rawSegments.push(segment);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
|
|
589
568
|
if (original[originalCharIndex] === '\n') {
|
|
590
569
|
loc.line += 1;
|
|
591
570
|
loc.column = 0;
|
|
@@ -594,6 +573,27 @@ class Mappings {
|
|
|
594
573
|
this.generatedCodeColumn = 0;
|
|
595
574
|
first = true;
|
|
596
575
|
} else {
|
|
576
|
+
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
577
|
+
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
578
|
+
|
|
579
|
+
if (this.hires === 'boundary') {
|
|
580
|
+
// in hires "boundary", group segments per word boundary than per char
|
|
581
|
+
if (wordRegex.test(original[originalCharIndex])) {
|
|
582
|
+
// for first char in the boundary found, start the boundary by pushing a segment
|
|
583
|
+
if (!charInHiresBoundary) {
|
|
584
|
+
this.rawSegments.push(segment);
|
|
585
|
+
charInHiresBoundary = true;
|
|
586
|
+
}
|
|
587
|
+
} else {
|
|
588
|
+
// for non-word char, end the boundary by pushing a segment
|
|
589
|
+
this.rawSegments.push(segment);
|
|
590
|
+
charInHiresBoundary = false;
|
|
591
|
+
}
|
|
592
|
+
} else {
|
|
593
|
+
this.rawSegments.push(segment);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
|
|
597
597
|
loc.column += 1;
|
|
598
598
|
this.generatedCodeColumn += 1;
|
|
599
599
|
first = false;
|
|
@@ -8513,7 +8513,6 @@ function requireConstants () {
|
|
|
8513
8513
|
if (hasRequiredConstants) return constants;
|
|
8514
8514
|
hasRequiredConstants = 1;
|
|
8515
8515
|
|
|
8516
|
-
const path = require$$0;
|
|
8517
8516
|
const WIN_SLASH = '\\\\/';
|
|
8518
8517
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
8519
8518
|
|
|
@@ -8536,6 +8535,7 @@ function requireConstants () {
|
|
|
8536
8535
|
const NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;
|
|
8537
8536
|
const QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;
|
|
8538
8537
|
const STAR = `${QMARK}*?`;
|
|
8538
|
+
const SEP = '/';
|
|
8539
8539
|
|
|
8540
8540
|
const POSIX_CHARS = {
|
|
8541
8541
|
DOT_LITERAL,
|
|
@@ -8552,7 +8552,8 @@ function requireConstants () {
|
|
|
8552
8552
|
NO_DOTS_SLASH,
|
|
8553
8553
|
QMARK_NO_DOT,
|
|
8554
8554
|
STAR,
|
|
8555
|
-
START_ANCHOR
|
|
8555
|
+
START_ANCHOR,
|
|
8556
|
+
SEP
|
|
8556
8557
|
};
|
|
8557
8558
|
|
|
8558
8559
|
/**
|
|
@@ -8572,7 +8573,8 @@ function requireConstants () {
|
|
|
8572
8573
|
NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
|
|
8573
8574
|
QMARK_NO_DOT: `[^.${WIN_SLASH}]`,
|
|
8574
8575
|
START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
|
|
8575
|
-
END_ANCHOR: `(?:[${WIN_SLASH}]|$)
|
|
8576
|
+
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`,
|
|
8577
|
+
SEP: '\\'
|
|
8576
8578
|
};
|
|
8577
8579
|
|
|
8578
8580
|
/**
|
|
@@ -8666,8 +8668,6 @@ function requireConstants () {
|
|
|
8666
8668
|
CHAR_VERTICAL_LINE: 124, /* | */
|
|
8667
8669
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \uFEFF */
|
|
8668
8670
|
|
|
8669
|
-
SEP: path.sep,
|
|
8670
|
-
|
|
8671
8671
|
/**
|
|
8672
8672
|
* Create EXTGLOB_CHARS
|
|
8673
8673
|
*/
|
|
@@ -8693,6 +8693,8 @@ function requireConstants () {
|
|
|
8693
8693
|
return constants;
|
|
8694
8694
|
}
|
|
8695
8695
|
|
|
8696
|
+
/*global navigator*/
|
|
8697
|
+
|
|
8696
8698
|
var hasRequiredUtils;
|
|
8697
8699
|
|
|
8698
8700
|
function requireUtils () {
|
|
@@ -8700,8 +8702,6 @@ function requireUtils () {
|
|
|
8700
8702
|
hasRequiredUtils = 1;
|
|
8701
8703
|
(function (exports) {
|
|
8702
8704
|
|
|
8703
|
-
const path = require$$0;
|
|
8704
|
-
const win32 = process.platform === 'win32';
|
|
8705
8705
|
const {
|
|
8706
8706
|
REGEX_BACKSLASH,
|
|
8707
8707
|
REGEX_REMOVE_BACKSLASH,
|
|
@@ -8715,25 +8715,23 @@ function requireUtils () {
|
|
|
8715
8715
|
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
8716
8716
|
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
8717
8717
|
|
|
8718
|
-
exports.
|
|
8719
|
-
|
|
8720
|
-
|
|
8721
|
-
|
|
8722
|
-
|
|
8718
|
+
exports.isWindows = () => {
|
|
8719
|
+
if (typeof navigator !== 'undefined' && navigator.platform) {
|
|
8720
|
+
const platform = navigator.platform.toLowerCase();
|
|
8721
|
+
return platform === 'win32' || platform === 'windows';
|
|
8722
|
+
}
|
|
8723
8723
|
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
|
|
8727
|
-
return true;
|
|
8724
|
+
if (typeof process !== 'undefined' && process.platform) {
|
|
8725
|
+
return process.platform === 'win32';
|
|
8728
8726
|
}
|
|
8727
|
+
|
|
8729
8728
|
return false;
|
|
8730
8729
|
};
|
|
8731
8730
|
|
|
8732
|
-
exports.
|
|
8733
|
-
|
|
8734
|
-
return
|
|
8735
|
-
}
|
|
8736
|
-
return win32 === true || path.sep === '\\';
|
|
8731
|
+
exports.removeBackslashes = str => {
|
|
8732
|
+
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
|
|
8733
|
+
return match === '\\' ? '' : match;
|
|
8734
|
+
});
|
|
8737
8735
|
};
|
|
8738
8736
|
|
|
8739
8737
|
exports.escapeLast = (input, char, lastIdx) => {
|
|
@@ -8761,6 +8759,17 @@ function requireUtils () {
|
|
|
8761
8759
|
output = `(?:^(?!${output}).*$)`;
|
|
8762
8760
|
}
|
|
8763
8761
|
return output;
|
|
8762
|
+
};
|
|
8763
|
+
|
|
8764
|
+
exports.basename = (path, { windows } = {}) => {
|
|
8765
|
+
const segs = path.split(windows ? /[\\/]/ : '/');
|
|
8766
|
+
const last = segs[segs.length - 1];
|
|
8767
|
+
|
|
8768
|
+
if (last === '') {
|
|
8769
|
+
return segs[segs.length - 2];
|
|
8770
|
+
}
|
|
8771
|
+
|
|
8772
|
+
return last;
|
|
8764
8773
|
};
|
|
8765
8774
|
} (utils));
|
|
8766
8775
|
return utils;
|
|
@@ -9236,10 +9245,9 @@ function requireParse () {
|
|
|
9236
9245
|
const tokens = [bos];
|
|
9237
9246
|
|
|
9238
9247
|
const capture = opts.capture ? '' : '?:';
|
|
9239
|
-
const win32 = utils.isWindows(options);
|
|
9240
9248
|
|
|
9241
9249
|
// create constants based on platform, for windows or posix
|
|
9242
|
-
const PLATFORM_CHARS = constants.globChars(
|
|
9250
|
+
const PLATFORM_CHARS = constants.globChars(opts.windows);
|
|
9243
9251
|
const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
|
|
9244
9252
|
|
|
9245
9253
|
const {
|
|
@@ -9375,8 +9383,8 @@ function requireParse () {
|
|
|
9375
9383
|
|
|
9376
9384
|
if (tok.value || tok.output) append(tok);
|
|
9377
9385
|
if (prev && prev.type === 'text' && tok.type === 'text') {
|
|
9386
|
+
prev.output = (prev.output || prev.value) + tok.value;
|
|
9378
9387
|
prev.value += tok.value;
|
|
9379
|
-
prev.output = (prev.output || '') + tok.value;
|
|
9380
9388
|
return;
|
|
9381
9389
|
}
|
|
9382
9390
|
|
|
@@ -9864,10 +9872,6 @@ function requireParse () {
|
|
|
9864
9872
|
const next = peek();
|
|
9865
9873
|
let output = value;
|
|
9866
9874
|
|
|
9867
|
-
if (next === '<' && !utils.supportsLookbehinds()) {
|
|
9868
|
-
throw new Error('Node.js v10 or higher is required for regex lookbehinds');
|
|
9869
|
-
}
|
|
9870
|
-
|
|
9871
9875
|
if ((prev.value === '(' && !/[!=<:]/.test(next)) || (next === '<' && !/<([!=]|\w+>)/.test(remaining()))) {
|
|
9872
9876
|
output = `\\${value}`;
|
|
9873
9877
|
}
|
|
@@ -10175,7 +10179,6 @@ function requireParse () {
|
|
|
10175
10179
|
}
|
|
10176
10180
|
|
|
10177
10181
|
input = REPLACEMENTS[input] || input;
|
|
10178
|
-
const win32 = utils.isWindows(options);
|
|
10179
10182
|
|
|
10180
10183
|
// create constants based on platform, for windows or posix
|
|
10181
10184
|
const {
|
|
@@ -10188,7 +10191,7 @@ function requireParse () {
|
|
|
10188
10191
|
NO_DOTS_SLASH,
|
|
10189
10192
|
STAR,
|
|
10190
10193
|
START_ANCHOR
|
|
10191
|
-
} = constants.globChars(
|
|
10194
|
+
} = constants.globChars(opts.windows);
|
|
10192
10195
|
|
|
10193
10196
|
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
10194
10197
|
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
@@ -10257,14 +10260,13 @@ function requireParse () {
|
|
|
10257
10260
|
return parse_1;
|
|
10258
10261
|
}
|
|
10259
10262
|
|
|
10260
|
-
var picomatch_1;
|
|
10263
|
+
var picomatch_1$1;
|
|
10261
10264
|
var hasRequiredPicomatch$1;
|
|
10262
10265
|
|
|
10263
10266
|
function requirePicomatch$1 () {
|
|
10264
|
-
if (hasRequiredPicomatch$1) return picomatch_1;
|
|
10267
|
+
if (hasRequiredPicomatch$1) return picomatch_1$1;
|
|
10265
10268
|
hasRequiredPicomatch$1 = 1;
|
|
10266
10269
|
|
|
10267
|
-
const path = require$$0;
|
|
10268
10270
|
const scan = /*@__PURE__*/ requireScan();
|
|
10269
10271
|
const parse = /*@__PURE__*/ requireParse();
|
|
10270
10272
|
const utils = /*@__PURE__*/ requireUtils();
|
|
@@ -10313,7 +10315,7 @@ function requirePicomatch$1 () {
|
|
|
10313
10315
|
}
|
|
10314
10316
|
|
|
10315
10317
|
const opts = options || {};
|
|
10316
|
-
const posix =
|
|
10318
|
+
const posix = opts.windows;
|
|
10317
10319
|
const regex = isState
|
|
10318
10320
|
? picomatch.compileRe(glob, options)
|
|
10319
10321
|
: picomatch.makeRe(glob, options, false, true);
|
|
@@ -10422,9 +10424,9 @@ function requirePicomatch$1 () {
|
|
|
10422
10424
|
* @api public
|
|
10423
10425
|
*/
|
|
10424
10426
|
|
|
10425
|
-
picomatch.matchBase = (input, glob, options
|
|
10427
|
+
picomatch.matchBase = (input, glob, options) => {
|
|
10426
10428
|
const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
10427
|
-
return regex.test(
|
|
10429
|
+
return regex.test(utils.basename(input));
|
|
10428
10430
|
};
|
|
10429
10431
|
|
|
10430
10432
|
/**
|
|
@@ -10603,19 +10605,33 @@ function requirePicomatch$1 () {
|
|
|
10603
10605
|
* Expose "picomatch"
|
|
10604
10606
|
*/
|
|
10605
10607
|
|
|
10606
|
-
picomatch_1 = picomatch;
|
|
10607
|
-
return picomatch_1;
|
|
10608
|
+
picomatch_1$1 = picomatch;
|
|
10609
|
+
return picomatch_1$1;
|
|
10608
10610
|
}
|
|
10609
10611
|
|
|
10610
|
-
var
|
|
10612
|
+
var picomatch_1;
|
|
10611
10613
|
var hasRequiredPicomatch;
|
|
10612
10614
|
|
|
10613
10615
|
function requirePicomatch () {
|
|
10614
|
-
if (hasRequiredPicomatch) return
|
|
10616
|
+
if (hasRequiredPicomatch) return picomatch_1;
|
|
10615
10617
|
hasRequiredPicomatch = 1;
|
|
10616
10618
|
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
+
const pico = /*@__PURE__*/ requirePicomatch$1();
|
|
10620
|
+
const utils = /*@__PURE__*/ requireUtils();
|
|
10621
|
+
|
|
10622
|
+
function picomatch(glob, options, returnState = false) {
|
|
10623
|
+
// default to os.platform()
|
|
10624
|
+
if (options && (options.windows === null || options.windows === undefined)) {
|
|
10625
|
+
// don't mutate the original options object
|
|
10626
|
+
options = { ...options, windows: utils.isWindows() };
|
|
10627
|
+
}
|
|
10628
|
+
|
|
10629
|
+
return pico(glob, options, returnState);
|
|
10630
|
+
}
|
|
10631
|
+
|
|
10632
|
+
Object.assign(picomatch, pico);
|
|
10633
|
+
picomatch_1 = picomatch;
|
|
10634
|
+
return picomatch_1;
|
|
10619
10635
|
}
|
|
10620
10636
|
|
|
10621
10637
|
var picomatchExports = /*@__PURE__*/ requirePicomatch();
|
package/dist/es/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.24.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.24.2
|
|
4
|
+
Sun, 27 Oct 2024 15:39:37 GMT - commit 32d0e7dae85121ac0850ec28576a10a6302f84a9
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -9038,10 +9038,11 @@ class FileWatcher {
|
|
|
9038
9038
|
createWatcher(transformWatcherId) {
|
|
9039
9039
|
const task = this.task;
|
|
9040
9040
|
const isLinux = platform() === 'linux';
|
|
9041
|
+
const isFreeBSD = platform() === 'freebsd';
|
|
9041
9042
|
const isTransformDependency = transformWatcherId !== null;
|
|
9042
9043
|
const handleChange = (id, event) => {
|
|
9043
9044
|
const changedId = transformWatcherId || id;
|
|
9044
|
-
if (isLinux) {
|
|
9045
|
+
if (isLinux || isFreeBSD) {
|
|
9045
9046
|
// unwatching and watching fixes an issue with chokidar where on certain systems,
|
|
9046
9047
|
// a file that was unlinked and immediately recreated would create a change event
|
|
9047
9048
|
// but then no longer any further events
|
package/dist/getLogFilter.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/parseAst.js
CHANGED
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/parseAst.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.24.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.24.2
|
|
4
|
+
Sun, 27 Oct 2024 15:39:37 GMT - commit 32d0e7dae85121ac0850ec28576a10a6302f84a9
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
|
|
|
31
31
|
|
|
32
32
|
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
|
33
33
|
|
|
34
|
-
var version = "4.24.
|
|
34
|
+
var version = "4.24.2";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -2137,27 +2137,6 @@ class Mappings {
|
|
|
2137
2137
|
let charInHiresBoundary = false;
|
|
2138
2138
|
|
|
2139
2139
|
while (originalCharIndex < chunk.end) {
|
|
2140
|
-
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
2141
|
-
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
2142
|
-
|
|
2143
|
-
if (this.hires === 'boundary') {
|
|
2144
|
-
// in hires "boundary", group segments per word boundary than per char
|
|
2145
|
-
if (wordRegex.test(original[originalCharIndex])) {
|
|
2146
|
-
// for first char in the boundary found, start the boundary by pushing a segment
|
|
2147
|
-
if (!charInHiresBoundary) {
|
|
2148
|
-
this.rawSegments.push(segment);
|
|
2149
|
-
charInHiresBoundary = true;
|
|
2150
|
-
}
|
|
2151
|
-
} else {
|
|
2152
|
-
// for non-word char, end the boundary by pushing a segment
|
|
2153
|
-
this.rawSegments.push(segment);
|
|
2154
|
-
charInHiresBoundary = false;
|
|
2155
|
-
}
|
|
2156
|
-
} else {
|
|
2157
|
-
this.rawSegments.push(segment);
|
|
2158
|
-
}
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
2140
|
if (original[originalCharIndex] === '\n') {
|
|
2162
2141
|
loc.line += 1;
|
|
2163
2142
|
loc.column = 0;
|
|
@@ -2166,6 +2145,27 @@ class Mappings {
|
|
|
2166
2145
|
this.generatedCodeColumn = 0;
|
|
2167
2146
|
first = true;
|
|
2168
2147
|
} else {
|
|
2148
|
+
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
2149
|
+
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
2150
|
+
|
|
2151
|
+
if (this.hires === 'boundary') {
|
|
2152
|
+
// in hires "boundary", group segments per word boundary than per char
|
|
2153
|
+
if (wordRegex.test(original[originalCharIndex])) {
|
|
2154
|
+
// for first char in the boundary found, start the boundary by pushing a segment
|
|
2155
|
+
if (!charInHiresBoundary) {
|
|
2156
|
+
this.rawSegments.push(segment);
|
|
2157
|
+
charInHiresBoundary = true;
|
|
2158
|
+
}
|
|
2159
|
+
} else {
|
|
2160
|
+
// for non-word char, end the boundary by pushing a segment
|
|
2161
|
+
this.rawSegments.push(segment);
|
|
2162
|
+
charInHiresBoundary = false;
|
|
2163
|
+
}
|
|
2164
|
+
} else {
|
|
2165
|
+
this.rawSegments.push(segment);
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
|
|
2169
2169
|
loc.column += 1;
|
|
2170
2170
|
this.generatedCodeColumn += 1;
|
|
2171
2171
|
first = false;
|
|
@@ -10055,7 +10055,6 @@ function requireConstants () {
|
|
|
10055
10055
|
if (hasRequiredConstants) return constants;
|
|
10056
10056
|
hasRequiredConstants = 1;
|
|
10057
10057
|
|
|
10058
|
-
const path = require$$0;
|
|
10059
10058
|
const WIN_SLASH = '\\\\/';
|
|
10060
10059
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
10061
10060
|
|
|
@@ -10078,6 +10077,7 @@ function requireConstants () {
|
|
|
10078
10077
|
const NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;
|
|
10079
10078
|
const QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;
|
|
10080
10079
|
const STAR = `${QMARK}*?`;
|
|
10080
|
+
const SEP = '/';
|
|
10081
10081
|
|
|
10082
10082
|
const POSIX_CHARS = {
|
|
10083
10083
|
DOT_LITERAL,
|
|
@@ -10094,7 +10094,8 @@ function requireConstants () {
|
|
|
10094
10094
|
NO_DOTS_SLASH,
|
|
10095
10095
|
QMARK_NO_DOT,
|
|
10096
10096
|
STAR,
|
|
10097
|
-
START_ANCHOR
|
|
10097
|
+
START_ANCHOR,
|
|
10098
|
+
SEP
|
|
10098
10099
|
};
|
|
10099
10100
|
|
|
10100
10101
|
/**
|
|
@@ -10114,7 +10115,8 @@ function requireConstants () {
|
|
|
10114
10115
|
NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`,
|
|
10115
10116
|
QMARK_NO_DOT: `[^.${WIN_SLASH}]`,
|
|
10116
10117
|
START_ANCHOR: `(?:^|[${WIN_SLASH}])`,
|
|
10117
|
-
END_ANCHOR: `(?:[${WIN_SLASH}]|$)
|
|
10118
|
+
END_ANCHOR: `(?:[${WIN_SLASH}]|$)`,
|
|
10119
|
+
SEP: '\\'
|
|
10118
10120
|
};
|
|
10119
10121
|
|
|
10120
10122
|
/**
|
|
@@ -10208,8 +10210,6 @@ function requireConstants () {
|
|
|
10208
10210
|
CHAR_VERTICAL_LINE: 124, /* | */
|
|
10209
10211
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, /* \uFEFF */
|
|
10210
10212
|
|
|
10211
|
-
SEP: path.sep,
|
|
10212
|
-
|
|
10213
10213
|
/**
|
|
10214
10214
|
* Create EXTGLOB_CHARS
|
|
10215
10215
|
*/
|
|
@@ -10235,6 +10235,8 @@ function requireConstants () {
|
|
|
10235
10235
|
return constants;
|
|
10236
10236
|
}
|
|
10237
10237
|
|
|
10238
|
+
/*global navigator*/
|
|
10239
|
+
|
|
10238
10240
|
var hasRequiredUtils;
|
|
10239
10241
|
|
|
10240
10242
|
function requireUtils () {
|
|
@@ -10242,8 +10244,6 @@ function requireUtils () {
|
|
|
10242
10244
|
hasRequiredUtils = 1;
|
|
10243
10245
|
(function (exports) {
|
|
10244
10246
|
|
|
10245
|
-
const path = require$$0;
|
|
10246
|
-
const win32 = process.platform === 'win32';
|
|
10247
10247
|
const {
|
|
10248
10248
|
REGEX_BACKSLASH,
|
|
10249
10249
|
REGEX_REMOVE_BACKSLASH,
|
|
@@ -10257,25 +10257,23 @@ function requireUtils () {
|
|
|
10257
10257
|
exports.escapeRegex = str => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, '\\$1');
|
|
10258
10258
|
exports.toPosixSlashes = str => str.replace(REGEX_BACKSLASH, '/');
|
|
10259
10259
|
|
|
10260
|
-
exports.
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10260
|
+
exports.isWindows = () => {
|
|
10261
|
+
if (typeof navigator !== 'undefined' && navigator.platform) {
|
|
10262
|
+
const platform = navigator.platform.toLowerCase();
|
|
10263
|
+
return platform === 'win32' || platform === 'windows';
|
|
10264
|
+
}
|
|
10265
10265
|
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
if (segs.length === 3 && segs[0] >= 9 || (segs[0] === 8 && segs[1] >= 10)) {
|
|
10269
|
-
return true;
|
|
10266
|
+
if (typeof process !== 'undefined' && process.platform) {
|
|
10267
|
+
return process.platform === 'win32';
|
|
10270
10268
|
}
|
|
10269
|
+
|
|
10271
10270
|
return false;
|
|
10272
10271
|
};
|
|
10273
10272
|
|
|
10274
|
-
exports.
|
|
10275
|
-
|
|
10276
|
-
return
|
|
10277
|
-
}
|
|
10278
|
-
return win32 === true || path.sep === '\\';
|
|
10273
|
+
exports.removeBackslashes = str => {
|
|
10274
|
+
return str.replace(REGEX_REMOVE_BACKSLASH, match => {
|
|
10275
|
+
return match === '\\' ? '' : match;
|
|
10276
|
+
});
|
|
10279
10277
|
};
|
|
10280
10278
|
|
|
10281
10279
|
exports.escapeLast = (input, char, lastIdx) => {
|
|
@@ -10303,6 +10301,17 @@ function requireUtils () {
|
|
|
10303
10301
|
output = `(?:^(?!${output}).*$)`;
|
|
10304
10302
|
}
|
|
10305
10303
|
return output;
|
|
10304
|
+
};
|
|
10305
|
+
|
|
10306
|
+
exports.basename = (path, { windows } = {}) => {
|
|
10307
|
+
const segs = path.split(windows ? /[\\/]/ : '/');
|
|
10308
|
+
const last = segs[segs.length - 1];
|
|
10309
|
+
|
|
10310
|
+
if (last === '') {
|
|
10311
|
+
return segs[segs.length - 2];
|
|
10312
|
+
}
|
|
10313
|
+
|
|
10314
|
+
return last;
|
|
10306
10315
|
};
|
|
10307
10316
|
} (utils));
|
|
10308
10317
|
return utils;
|
|
@@ -10778,10 +10787,9 @@ function requireParse () {
|
|
|
10778
10787
|
const tokens = [bos];
|
|
10779
10788
|
|
|
10780
10789
|
const capture = opts.capture ? '' : '?:';
|
|
10781
|
-
const win32 = utils.isWindows(options);
|
|
10782
10790
|
|
|
10783
10791
|
// create constants based on platform, for windows or posix
|
|
10784
|
-
const PLATFORM_CHARS = constants.globChars(
|
|
10792
|
+
const PLATFORM_CHARS = constants.globChars(opts.windows);
|
|
10785
10793
|
const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
|
|
10786
10794
|
|
|
10787
10795
|
const {
|
|
@@ -10917,8 +10925,8 @@ function requireParse () {
|
|
|
10917
10925
|
|
|
10918
10926
|
if (tok.value || tok.output) append(tok);
|
|
10919
10927
|
if (prev && prev.type === 'text' && tok.type === 'text') {
|
|
10928
|
+
prev.output = (prev.output || prev.value) + tok.value;
|
|
10920
10929
|
prev.value += tok.value;
|
|
10921
|
-
prev.output = (prev.output || '') + tok.value;
|
|
10922
10930
|
return;
|
|
10923
10931
|
}
|
|
10924
10932
|
|
|
@@ -11406,10 +11414,6 @@ function requireParse () {
|
|
|
11406
11414
|
const next = peek();
|
|
11407
11415
|
let output = value;
|
|
11408
11416
|
|
|
11409
|
-
if (next === '<' && !utils.supportsLookbehinds()) {
|
|
11410
|
-
throw new Error('Node.js v10 or higher is required for regex lookbehinds');
|
|
11411
|
-
}
|
|
11412
|
-
|
|
11413
11417
|
if ((prev.value === '(' && !/[!=<:]/.test(next)) || (next === '<' && !/<([!=]|\w+>)/.test(remaining()))) {
|
|
11414
11418
|
output = `\\${value}`;
|
|
11415
11419
|
}
|
|
@@ -11717,7 +11721,6 @@ function requireParse () {
|
|
|
11717
11721
|
}
|
|
11718
11722
|
|
|
11719
11723
|
input = REPLACEMENTS[input] || input;
|
|
11720
|
-
const win32 = utils.isWindows(options);
|
|
11721
11724
|
|
|
11722
11725
|
// create constants based on platform, for windows or posix
|
|
11723
11726
|
const {
|
|
@@ -11730,7 +11733,7 @@ function requireParse () {
|
|
|
11730
11733
|
NO_DOTS_SLASH,
|
|
11731
11734
|
STAR,
|
|
11732
11735
|
START_ANCHOR
|
|
11733
|
-
} = constants.globChars(
|
|
11736
|
+
} = constants.globChars(opts.windows);
|
|
11734
11737
|
|
|
11735
11738
|
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
11736
11739
|
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
@@ -11799,14 +11802,13 @@ function requireParse () {
|
|
|
11799
11802
|
return parse_1;
|
|
11800
11803
|
}
|
|
11801
11804
|
|
|
11802
|
-
var picomatch_1;
|
|
11805
|
+
var picomatch_1$1;
|
|
11803
11806
|
var hasRequiredPicomatch$1;
|
|
11804
11807
|
|
|
11805
11808
|
function requirePicomatch$1 () {
|
|
11806
|
-
if (hasRequiredPicomatch$1) return picomatch_1;
|
|
11809
|
+
if (hasRequiredPicomatch$1) return picomatch_1$1;
|
|
11807
11810
|
hasRequiredPicomatch$1 = 1;
|
|
11808
11811
|
|
|
11809
|
-
const path = require$$0;
|
|
11810
11812
|
const scan = /*@__PURE__*/ requireScan();
|
|
11811
11813
|
const parse = /*@__PURE__*/ requireParse();
|
|
11812
11814
|
const utils = /*@__PURE__*/ requireUtils();
|
|
@@ -11855,7 +11857,7 @@ function requirePicomatch$1 () {
|
|
|
11855
11857
|
}
|
|
11856
11858
|
|
|
11857
11859
|
const opts = options || {};
|
|
11858
|
-
const posix =
|
|
11860
|
+
const posix = opts.windows;
|
|
11859
11861
|
const regex = isState
|
|
11860
11862
|
? picomatch.compileRe(glob, options)
|
|
11861
11863
|
: picomatch.makeRe(glob, options, false, true);
|
|
@@ -11964,9 +11966,9 @@ function requirePicomatch$1 () {
|
|
|
11964
11966
|
* @api public
|
|
11965
11967
|
*/
|
|
11966
11968
|
|
|
11967
|
-
picomatch.matchBase = (input, glob, options
|
|
11969
|
+
picomatch.matchBase = (input, glob, options) => {
|
|
11968
11970
|
const regex = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
|
|
11969
|
-
return regex.test(
|
|
11971
|
+
return regex.test(utils.basename(input));
|
|
11970
11972
|
};
|
|
11971
11973
|
|
|
11972
11974
|
/**
|
|
@@ -12145,19 +12147,33 @@ function requirePicomatch$1 () {
|
|
|
12145
12147
|
* Expose "picomatch"
|
|
12146
12148
|
*/
|
|
12147
12149
|
|
|
12148
|
-
picomatch_1 = picomatch;
|
|
12149
|
-
return picomatch_1;
|
|
12150
|
+
picomatch_1$1 = picomatch;
|
|
12151
|
+
return picomatch_1$1;
|
|
12150
12152
|
}
|
|
12151
12153
|
|
|
12152
|
-
var
|
|
12154
|
+
var picomatch_1;
|
|
12153
12155
|
var hasRequiredPicomatch;
|
|
12154
12156
|
|
|
12155
12157
|
function requirePicomatch () {
|
|
12156
|
-
if (hasRequiredPicomatch) return
|
|
12158
|
+
if (hasRequiredPicomatch) return picomatch_1;
|
|
12157
12159
|
hasRequiredPicomatch = 1;
|
|
12158
12160
|
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
+
const pico = /*@__PURE__*/ requirePicomatch$1();
|
|
12162
|
+
const utils = /*@__PURE__*/ requireUtils();
|
|
12163
|
+
|
|
12164
|
+
function picomatch(glob, options, returnState = false) {
|
|
12165
|
+
// default to os.platform()
|
|
12166
|
+
if (options && (options.windows === null || options.windows === undefined)) {
|
|
12167
|
+
// don't mutate the original options object
|
|
12168
|
+
options = { ...options, windows: utils.isWindows() };
|
|
12169
|
+
}
|
|
12170
|
+
|
|
12171
|
+
return pico(glob, options, returnState);
|
|
12172
|
+
}
|
|
12173
|
+
|
|
12174
|
+
Object.assign(picomatch, pico);
|
|
12175
|
+
picomatch_1 = picomatch;
|
|
12176
|
+
return picomatch_1;
|
|
12161
12177
|
}
|
|
12162
12178
|
|
|
12163
12179
|
var picomatchExports = /*@__PURE__*/ requirePicomatch();
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v4.24.
|
|
4
|
-
|
|
3
|
+
Rollup.js v4.24.2
|
|
4
|
+
Sun, 27 Oct 2024 15:39:37 GMT - commit 32d0e7dae85121ac0850ec28576a10a6302f84a9
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -63,10 +63,11 @@ class FileWatcher {
|
|
|
63
63
|
createWatcher(transformWatcherId) {
|
|
64
64
|
const task = this.task;
|
|
65
65
|
const isLinux = node_os.platform() === 'linux';
|
|
66
|
+
const isFreeBSD = node_os.platform() === 'freebsd';
|
|
66
67
|
const isTransformDependency = transformWatcherId !== null;
|
|
67
68
|
const handleChange = (id, event) => {
|
|
68
69
|
const changedId = transformWatcherId || id;
|
|
69
|
-
if (isLinux) {
|
|
70
|
+
if (isLinux || isFreeBSD) {
|
|
70
71
|
// unwatching and watching fixes an issue with chokidar where on certain systems,
|
|
71
72
|
// a file that was unlinked and immediately recreated would create a change event
|
|
72
73
|
// but then no longer any further events
|
|
@@ -121,11 +121,11 @@ function getArrayU8FromWasm0(ptr, len) {
|
|
|
121
121
|
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
|
-
* @param {string} code
|
|
125
|
-
* @param {boolean} allow_return_outside_function
|
|
126
|
-
* @param {boolean} jsx
|
|
127
|
-
* @returns {Uint8Array}
|
|
128
|
-
*/
|
|
124
|
+
* @param {string} code
|
|
125
|
+
* @param {boolean} allow_return_outside_function
|
|
126
|
+
* @param {boolean} jsx
|
|
127
|
+
* @returns {Uint8Array}
|
|
128
|
+
*/
|
|
129
129
|
module.exports.parse = function(code, allow_return_outside_function, jsx) {
|
|
130
130
|
try {
|
|
131
131
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -143,9 +143,9 @@ module.exports.parse = function(code, allow_return_outside_function, jsx) {
|
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
/**
|
|
146
|
-
* @param {Uint8Array} input
|
|
147
|
-
* @returns {string}
|
|
148
|
-
*/
|
|
146
|
+
* @param {Uint8Array} input
|
|
147
|
+
* @returns {string}
|
|
148
|
+
*/
|
|
149
149
|
module.exports.xxhashBase64Url = function(input) {
|
|
150
150
|
let deferred1_0;
|
|
151
151
|
let deferred1_1;
|
|
@@ -164,9 +164,9 @@ module.exports.xxhashBase64Url = function(input) {
|
|
|
164
164
|
};
|
|
165
165
|
|
|
166
166
|
/**
|
|
167
|
-
* @param {Uint8Array} input
|
|
168
|
-
* @returns {string}
|
|
169
|
-
*/
|
|
167
|
+
* @param {Uint8Array} input
|
|
168
|
+
* @returns {string}
|
|
169
|
+
*/
|
|
170
170
|
module.exports.xxhashBase36 = function(input) {
|
|
171
171
|
let deferred1_0;
|
|
172
172
|
let deferred1_1;
|
|
@@ -185,9 +185,9 @@ module.exports.xxhashBase36 = function(input) {
|
|
|
185
185
|
};
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
|
-
* @param {Uint8Array} input
|
|
189
|
-
* @returns {string}
|
|
190
|
-
*/
|
|
188
|
+
* @param {Uint8Array} input
|
|
189
|
+
* @returns {string}
|
|
190
|
+
*/
|
|
191
191
|
module.exports.xxhashBase16 = function(input) {
|
|
192
192
|
let deferred1_0;
|
|
193
193
|
let deferred1_1;
|
|
@@ -276,37 +276,37 @@ module.exports.__wbg_getRandomValues_3aa56aa6edec874c = function() { return hand
|
|
|
276
276
|
getObject(arg0).getRandomValues(getObject(arg1));
|
|
277
277
|
}, arguments) };
|
|
278
278
|
|
|
279
|
-
module.exports.
|
|
279
|
+
module.exports.__wbindgen_object_clone_ref = function(arg0) {
|
|
280
|
+
const ret = getObject(arg0);
|
|
281
|
+
return addHeapObject(ret);
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
module.exports.__wbg_newnoargs_1ede4bf2ebbaaf43 = function(arg0, arg1) {
|
|
280
285
|
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
281
286
|
return addHeapObject(ret);
|
|
282
287
|
};
|
|
283
288
|
|
|
284
|
-
module.exports.
|
|
289
|
+
module.exports.__wbg_call_a9ef466721e824f2 = function() { return handleError(function (arg0, arg1) {
|
|
285
290
|
const ret = getObject(arg0).call(getObject(arg1));
|
|
286
291
|
return addHeapObject(ret);
|
|
287
292
|
}, arguments) };
|
|
288
293
|
|
|
289
|
-
module.exports.
|
|
290
|
-
const ret = getObject(arg0);
|
|
291
|
-
return addHeapObject(ret);
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
module.exports.__wbg_self_3093d5d1f7bcb682 = function() { return handleError(function () {
|
|
294
|
+
module.exports.__wbg_self_bf91bf94d9e04084 = function() { return handleError(function () {
|
|
295
295
|
const ret = self.self;
|
|
296
296
|
return addHeapObject(ret);
|
|
297
297
|
}, arguments) };
|
|
298
298
|
|
|
299
|
-
module.exports.
|
|
299
|
+
module.exports.__wbg_window_52dd9f07d03fd5f8 = function() { return handleError(function () {
|
|
300
300
|
const ret = window.window;
|
|
301
301
|
return addHeapObject(ret);
|
|
302
302
|
}, arguments) };
|
|
303
303
|
|
|
304
|
-
module.exports.
|
|
304
|
+
module.exports.__wbg_globalThis_05c129bf37fcf1be = function() { return handleError(function () {
|
|
305
305
|
const ret = globalThis.globalThis;
|
|
306
306
|
return addHeapObject(ret);
|
|
307
307
|
}, arguments) };
|
|
308
308
|
|
|
309
|
-
module.exports.
|
|
309
|
+
module.exports.__wbg_global_3eca19bb09e9c484 = function() { return handleError(function () {
|
|
310
310
|
const ret = global.global;
|
|
311
311
|
return addHeapObject(ret);
|
|
312
312
|
}, arguments) };
|
|
@@ -316,41 +316,41 @@ module.exports.__wbindgen_is_undefined = function(arg0) {
|
|
|
316
316
|
return ret;
|
|
317
317
|
};
|
|
318
318
|
|
|
319
|
-
module.exports.
|
|
319
|
+
module.exports.__wbg_call_3bfa248576352471 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
320
320
|
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
321
321
|
return addHeapObject(ret);
|
|
322
322
|
}, arguments) };
|
|
323
323
|
|
|
324
|
-
module.exports.
|
|
324
|
+
module.exports.__wbg_buffer_ccaed51a635d8a2d = function(arg0) {
|
|
325
325
|
const ret = getObject(arg0).buffer;
|
|
326
326
|
return addHeapObject(ret);
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
-
module.exports.
|
|
329
|
+
module.exports.__wbg_newwithbyteoffsetandlength_7e3eb787208af730 = function(arg0, arg1, arg2) {
|
|
330
330
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
331
331
|
return addHeapObject(ret);
|
|
332
332
|
};
|
|
333
333
|
|
|
334
|
-
module.exports.
|
|
334
|
+
module.exports.__wbg_new_fec2611eb9180f95 = function(arg0) {
|
|
335
335
|
const ret = new Uint8Array(getObject(arg0));
|
|
336
336
|
return addHeapObject(ret);
|
|
337
337
|
};
|
|
338
338
|
|
|
339
|
-
module.exports.
|
|
339
|
+
module.exports.__wbg_set_ec2fcf81bc573fd9 = function(arg0, arg1, arg2) {
|
|
340
340
|
getObject(arg0).set(getObject(arg1), arg2 >>> 0);
|
|
341
341
|
};
|
|
342
342
|
|
|
343
|
-
module.exports.
|
|
343
|
+
module.exports.__wbg_length_9254c4bd3b9f23c4 = function(arg0) {
|
|
344
344
|
const ret = getObject(arg0).length;
|
|
345
345
|
return ret;
|
|
346
346
|
};
|
|
347
347
|
|
|
348
|
-
module.exports.
|
|
348
|
+
module.exports.__wbg_newwithlength_76462a666eca145f = function(arg0) {
|
|
349
349
|
const ret = new Uint8Array(arg0 >>> 0);
|
|
350
350
|
return addHeapObject(ret);
|
|
351
351
|
};
|
|
352
352
|
|
|
353
|
-
module.exports.
|
|
353
|
+
module.exports.__wbg_subarray_975a06f9dbd16995 = function(arg0, arg1, arg2) {
|
|
354
354
|
const ret = getObject(arg0).subarray(arg1 >>> 0, arg2 >>> 0);
|
|
355
355
|
return addHeapObject(ret);
|
|
356
356
|
};
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rollup/wasm-node",
|
|
3
|
-
"version": "4.24.
|
|
3
|
+
"version": "4.24.2",
|
|
4
4
|
"description": "Next-generation ES module bundler with Node wasm",
|
|
5
5
|
"main": "dist/rollup.js",
|
|
6
6
|
"module": "dist/es/rollup.js",
|
|
@@ -32,33 +32,33 @@
|
|
|
32
32
|
"core-js": "We only update manually as every update requires a snapshot update"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@codemirror/commands": "^6.
|
|
35
|
+
"@codemirror/commands": "^6.7.1",
|
|
36
36
|
"@codemirror/lang-javascript": "^6.2.2",
|
|
37
37
|
"@codemirror/language": "^6.10.3",
|
|
38
38
|
"@codemirror/search": "^6.5.6",
|
|
39
39
|
"@codemirror/state": "^6.4.1",
|
|
40
|
-
"@codemirror/view": "^6.
|
|
41
|
-
"@eslint/js": "^9.
|
|
42
|
-
"@inquirer/prompts": "^
|
|
40
|
+
"@codemirror/view": "^6.34.1",
|
|
41
|
+
"@eslint/js": "^9.13.0",
|
|
42
|
+
"@inquirer/prompts": "^7.0.0",
|
|
43
43
|
"@jridgewell/sourcemap-codec": "^1.5.0",
|
|
44
|
-
"@mermaid-js/mermaid-cli": "^11.2.
|
|
44
|
+
"@mermaid-js/mermaid-cli": "^11.2.1",
|
|
45
45
|
"@napi-rs/cli": "^2.18.4",
|
|
46
46
|
"@rollup/plugin-alias": "^5.1.1",
|
|
47
47
|
"@rollup/plugin-buble": "^1.0.3",
|
|
48
|
-
"@rollup/plugin-commonjs": "^28.0.
|
|
48
|
+
"@rollup/plugin-commonjs": "^28.0.1",
|
|
49
49
|
"@rollup/plugin-json": "^6.1.0",
|
|
50
50
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
51
51
|
"@rollup/plugin-replace": "^6.0.1",
|
|
52
52
|
"@rollup/plugin-terser": "^0.4.4",
|
|
53
|
-
"@rollup/plugin-typescript": "^12.1.
|
|
53
|
+
"@rollup/plugin-typescript": "^12.1.1",
|
|
54
54
|
"@rollup/pluginutils": "^5.1.2",
|
|
55
|
-
"@shikijs/vitepress-twoslash": "^1.
|
|
56
|
-
"@types/mocha": "^10.0.
|
|
57
|
-
"@types/node": "^18.19.
|
|
55
|
+
"@shikijs/vitepress-twoslash": "^1.22.0",
|
|
56
|
+
"@types/mocha": "^10.0.9",
|
|
57
|
+
"@types/node": "^18.19.58",
|
|
58
58
|
"@types/semver": "^7.5.8",
|
|
59
59
|
"@types/yargs-parser": "^21.0.3",
|
|
60
60
|
"@vue/language-server": "^2.1.6",
|
|
61
|
-
"acorn": "^8.
|
|
61
|
+
"acorn": "^8.13.0",
|
|
62
62
|
"acorn-import-assertions": "^1.9.0",
|
|
63
63
|
"acorn-jsx": "^5.3.2",
|
|
64
64
|
"buble": "^0.20.0",
|
|
@@ -71,32 +71,32 @@
|
|
|
71
71
|
"date-time": "^4.0.0",
|
|
72
72
|
"es5-shim": "^4.6.7",
|
|
73
73
|
"es6-shim": "^0.35.8",
|
|
74
|
-
"eslint": "^9.
|
|
74
|
+
"eslint": "^9.13.0",
|
|
75
75
|
"eslint-config-prettier": "^9.1.0",
|
|
76
76
|
"eslint-plugin-prettier": "^5.2.1",
|
|
77
|
-
"eslint-plugin-unicorn": "^
|
|
78
|
-
"eslint-plugin-vue": "^9.
|
|
77
|
+
"eslint-plugin-unicorn": "^56.0.0",
|
|
78
|
+
"eslint-plugin-vue": "^9.29.1",
|
|
79
79
|
"fixturify": "^3.0.0",
|
|
80
80
|
"flru": "^1.0.2",
|
|
81
81
|
"fs-extra": "^11.2.0",
|
|
82
82
|
"github-api": "^3.4.0",
|
|
83
|
-
"globals": "^15.
|
|
83
|
+
"globals": "^15.11.0",
|
|
84
84
|
"husky": "^9.1.6",
|
|
85
85
|
"is-reference": "^3.0.2",
|
|
86
86
|
"lint-staged": "^15.2.10",
|
|
87
87
|
"locate-character": "^3.0.0",
|
|
88
|
-
"magic-string": "^0.30.
|
|
88
|
+
"magic-string": "^0.30.12",
|
|
89
89
|
"mocha": "^10.7.3",
|
|
90
90
|
"nodemon": "^3.1.7",
|
|
91
91
|
"npm-audit-resolver": "^3.0.0-RC.0",
|
|
92
92
|
"nyc": "^17.1.0",
|
|
93
|
-
"pinia": "^2.2.
|
|
93
|
+
"pinia": "^2.2.4",
|
|
94
94
|
"prettier": "^3.3.3",
|
|
95
95
|
"prettier-plugin-organize-imports": "^4.1.0",
|
|
96
96
|
"pretty-bytes": "^6.1.1",
|
|
97
97
|
"pretty-ms": "^9.1.0",
|
|
98
98
|
"requirejs": "^2.3.7",
|
|
99
|
-
"rollup": "^4.
|
|
99
|
+
"rollup": "^4.24.0",
|
|
100
100
|
"rollup-plugin-license": "^3.5.3",
|
|
101
101
|
"rollup-plugin-string": "^3.0.0",
|
|
102
102
|
"semver": "^7.6.3",
|
|
@@ -105,13 +105,13 @@
|
|
|
105
105
|
"source-map": "^0.7.4",
|
|
106
106
|
"source-map-support": "^0.5.21",
|
|
107
107
|
"systemjs": "^6.15.1",
|
|
108
|
-
"terser": "^5.
|
|
109
|
-
"tslib": "^2.
|
|
110
|
-
"typescript": "^5.6.
|
|
111
|
-
"typescript-eslint": "^8.
|
|
112
|
-
"vite": "^5.4.
|
|
113
|
-
"vitepress": "^1.
|
|
114
|
-
"vue": "^3.5.
|
|
108
|
+
"terser": "^5.36.0",
|
|
109
|
+
"tslib": "^2.8.0",
|
|
110
|
+
"typescript": "^5.6.3",
|
|
111
|
+
"typescript-eslint": "^8.11.0",
|
|
112
|
+
"vite": "^5.4.9",
|
|
113
|
+
"vitepress": "^1.4.1",
|
|
114
|
+
"vue": "^3.5.12",
|
|
115
115
|
"vue-tsc": "^2.1.6",
|
|
116
116
|
"wasm-pack": "^0.13.0",
|
|
117
117
|
"yargs-parser": "^21.1.1"
|