🔧 npm update
This commit is contained in:
65
node_modules/rollup/LICENSE.md
generated
vendored
65
node_modules/rollup/LICENSE.md
generated
vendored
@@ -13,7 +13,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
|
||||
# Licenses of bundled dependencies
|
||||
The published Rollup artifact additionally contains code with the following licenses:
|
||||
MIT, ISC
|
||||
MIT, ISC, 0BSD
|
||||
|
||||
# Bundled dependencies:
|
||||
## @jridgewell/sourcemap-codec
|
||||
@@ -104,7 +104,8 @@ Repository: sindresorhus/binary-extensions
|
||||
|
||||
> MIT License
|
||||
>
|
||||
> Copyright (c) 2019 Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)
|
||||
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
||||
> Copyright (c) Paul Miller (https://paulmillr.com)
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
>
|
||||
@@ -121,7 +122,7 @@ Repository: micromatch/braces
|
||||
|
||||
> The MIT License (MIT)
|
||||
>
|
||||
> Copyright (c) 2014-2018, Jon Schlinkert.
|
||||
> Copyright (c) 2014-present, Jon Schlinkert.
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
> of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -189,21 +190,6 @@ Repository: git+https://github.com/paulmillr/chokidar.git
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## colorette
|
||||
License: MIT
|
||||
By: Jorge Bucaran
|
||||
Repository: jorgebucaran/colorette
|
||||
|
||||
> Copyright © Jorge Bucaran <<https://jorgebucaran.com>>
|
||||
>
|
||||
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
>
|
||||
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## date-time
|
||||
License: MIT
|
||||
By: Sindre Sorhus
|
||||
@@ -469,6 +455,29 @@ Repository: sindresorhus/parse-ms
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## picocolors
|
||||
License: ISC
|
||||
By: Alexey Raspopov
|
||||
Repository: alexeyraspopov/picocolors
|
||||
|
||||
> ISC License
|
||||
>
|
||||
> Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
|
||||
>
|
||||
> Permission to use, copy, modify, and/or distribute this software for any
|
||||
> purpose with or without fee is hereby granted, provided that the above
|
||||
> copyright notice and this permission notice appear in all copies.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## picomatch
|
||||
License: MIT
|
||||
By: Jon Schlinkert
|
||||
@@ -631,6 +640,26 @@ Repository: micromatch/to-regex-range
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## tslib
|
||||
License: 0BSD
|
||||
By: Microsoft Corp.
|
||||
Repository: https://github.com/Microsoft/tslib.git
|
||||
|
||||
> Copyright (c) Microsoft Corporation.
|
||||
>
|
||||
> Permission to use, copy, modify, and/or distribute this software for any
|
||||
> purpose with or without fee is hereby granted.
|
||||
>
|
||||
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||||
> REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
> AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||
> INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||
> LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||||
> OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
> PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
## yargs-parser
|
||||
License: ISC
|
||||
By: Ben Coe
|
||||
|
||||
3
node_modules/rollup/README.md
generated
vendored
3
node_modules/rollup/README.md
generated
vendored
@@ -89,6 +89,7 @@ But with ES modules, instead of importing the whole `utils` object, we can just
|
||||
```js
|
||||
// import the ajax function with an ES import statement
|
||||
import { ajax } from 'node:utils';
|
||||
|
||||
var query = 'Rollup';
|
||||
// call the ajax function
|
||||
ajax('https://api.example.com?search=' + query).then(handleResponse);
|
||||
@@ -108,7 +109,7 @@ To make sure your ES modules are immediately usable by tools that work with Comm
|
||||
|
||||
## Contributors
|
||||
|
||||
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. <a href="https://github.com/rollup/rollup/graphs/contributors"><img src="https://opencollective.com/rollup/contributors.svg?width=890" /></a>
|
||||
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. <a href="https://github.com/rollup/rollup/graphs/contributors"><img src="https://opencollective.com/rollup/contributors.svg?width=890" /></a>. If you want to contribute yourself, head over to the [contribution guidelines](CONTRIBUTING.md).
|
||||
|
||||
## Backers
|
||||
|
||||
|
||||
407
node_modules/rollup/dist/bin/rollup
generated
vendored
Normal file → Executable file
407
node_modules/rollup/dist/bin/rollup
generated
vendored
Normal file → Executable file
File diff suppressed because one or more lines are too long
4
node_modules/rollup/dist/es/getLogFilter.js
generated
vendored
4
node_modules/rollup/dist/es/getLogFilter.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
|
||||
4
node_modules/rollup/dist/es/parseAst.js
generated
vendored
4
node_modules/rollup/dist/es/parseAst.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
|
||||
5
node_modules/rollup/dist/es/rollup.js
generated
vendored
5
node_modules/rollup/dist/es/rollup.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -15,4 +15,3 @@ import 'path';
|
||||
import 'node:process';
|
||||
import 'node:perf_hooks';
|
||||
import 'node:fs/promises';
|
||||
import 'tty';
|
||||
|
||||
20633
node_modules/rollup/dist/es/shared/node-entry.js
generated
vendored
20633
node_modules/rollup/dist/es/shared/node-entry.js
generated
vendored
File diff suppressed because it is too large
Load Diff
1566
node_modules/rollup/dist/es/shared/parseAst.js
generated
vendored
1566
node_modules/rollup/dist/es/shared/parseAst.js
generated
vendored
File diff suppressed because it is too large
Load Diff
12673
node_modules/rollup/dist/es/shared/watch.js
generated
vendored
12673
node_modules/rollup/dist/es/shared/watch.js
generated
vendored
File diff suppressed because it is too large
Load Diff
4
node_modules/rollup/dist/getLogFilter.js
generated
vendored
4
node_modules/rollup/dist/getLogFilter.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
|
||||
7
node_modules/rollup/dist/loadConfigFile.js
generated
vendored
7
node_modules/rollup/dist/loadConfigFile.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -18,10 +18,9 @@ require('node:url');
|
||||
require('./shared/rollup.js');
|
||||
require('./shared/parseAst.js');
|
||||
const loadConfigFile_js = require('./shared/loadConfigFile.js');
|
||||
require('tty');
|
||||
require('path');
|
||||
require('node:perf_hooks');
|
||||
require('./native.js');
|
||||
require('node:perf_hooks');
|
||||
require('./getLogFilter.js');
|
||||
|
||||
|
||||
|
||||
78
node_modules/rollup/dist/native.js
generated
vendored
78
node_modules/rollup/dist/native.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
const { existsSync } = require('node:fs');
|
||||
const { join } = require('node:path');
|
||||
const path = require('node:path');
|
||||
const { platform, arch, report } = require('node:process');
|
||||
|
||||
const isMusl = () => !report.getReport().header.glibcVersionRuntime;
|
||||
@@ -13,10 +13,17 @@ const bindingsByPlatformAndArch = {
|
||||
arm64: { base: 'darwin-arm64' },
|
||||
x64: { base: 'darwin-x64' }
|
||||
},
|
||||
freebsd: {
|
||||
arm64: { base: 'freebsd-arm64' },
|
||||
x64: { base: 'freebsd-x64' }
|
||||
},
|
||||
linux: {
|
||||
arm: { base: 'linux-arm-gnueabihf', musl: null },
|
||||
arm: { base: 'linux-arm-gnueabihf', musl: 'linux-arm-musleabihf' },
|
||||
arm64: { base: 'linux-arm64-gnu', musl: 'linux-arm64-musl' },
|
||||
riscv64: { base: 'linux-riscv64-gnu', musl: null },
|
||||
loong64: { base: 'linux-loongarch64-gnu', musl: null },
|
||||
ppc64: { base: 'linux-powerpc64le-gnu', musl: null },
|
||||
riscv64: { base: 'linux-riscv64-gnu', musl: 'linux-riscv64-musl' },
|
||||
s390x: { base: 'linux-s390x-gnu', musl: null },
|
||||
x64: { base: 'linux-x64-gnu', musl: 'linux-x64-musl' }
|
||||
},
|
||||
win32: {
|
||||
@@ -33,36 +40,6 @@ const msvcLinkFilenameByArch = {
|
||||
};
|
||||
|
||||
const packageBase = getPackageBase();
|
||||
|
||||
if (!packageBase) {
|
||||
throw new Error(
|
||||
`Your current platform "${platform}" and architecture "${arch}" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead.
|
||||
|
||||
The following platform-architecture combinations are supported:
|
||||
${Object.entries(bindingsByPlatformAndArch)
|
||||
.flatMap(([platformName, architectures]) =>
|
||||
Object.entries(architectures).flatMap(([architectureName, { musl }]) => {
|
||||
const name = `${platformName}-${architectureName}`;
|
||||
return musl ? [name, `${name} (musl)`] : [name];
|
||||
})
|
||||
)
|
||||
.join('\n')}
|
||||
|
||||
If this is important to you, please consider supporting Rollup to make a native build for your platform and architecture available.`
|
||||
);
|
||||
}
|
||||
|
||||
function getPackageBase() {
|
||||
const imported = bindingsByPlatformAndArch[platform]?.[arch];
|
||||
if (!imported) {
|
||||
return null;
|
||||
}
|
||||
if ('musl' in imported && isMusl()) {
|
||||
return imported.musl;
|
||||
}
|
||||
return imported.base;
|
||||
}
|
||||
|
||||
const localName = `./rollup.${packageBase}.node`;
|
||||
const requireWithFriendlyError = id => {
|
||||
try {
|
||||
@@ -93,10 +70,41 @@ const requireWithFriendlyError = id => {
|
||||
}
|
||||
};
|
||||
|
||||
const { parse, parseAsync, xxhashBase64Url } = requireWithFriendlyError(
|
||||
existsSync(join(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
|
||||
const { parse, parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } = requireWithFriendlyError(
|
||||
existsSync(path.join(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
|
||||
);
|
||||
|
||||
function getPackageBase() {
|
||||
const imported = bindingsByPlatformAndArch[platform]?.[arch];
|
||||
if (!imported) {
|
||||
throwUnsupportedError(false);
|
||||
}
|
||||
if ('musl' in imported && isMusl()) {
|
||||
return imported.musl || throwUnsupportedError(true);
|
||||
}
|
||||
return imported.base;
|
||||
}
|
||||
|
||||
function throwUnsupportedError(isMusl) {
|
||||
throw new Error(
|
||||
`Your current platform "${platform}${isMusl ? ' (musl)' : ''}" and architecture "${arch}" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead.
|
||||
|
||||
The following platform-architecture combinations are supported:
|
||||
${Object.entries(bindingsByPlatformAndArch)
|
||||
.flatMap(([platformName, architectures]) =>
|
||||
Object.entries(architectures).flatMap(([architectureName, { musl }]) => {
|
||||
const name = `${platformName}-${architectureName}`;
|
||||
return musl ? [name, `${name} (musl)`] : [name];
|
||||
})
|
||||
)
|
||||
.join('\n')}
|
||||
|
||||
If this is important to you, please consider supporting Rollup to make a native build for your platform and architecture available.`
|
||||
);
|
||||
}
|
||||
|
||||
module.exports.parse = parse;
|
||||
module.exports.parseAsync = parseAsync;
|
||||
module.exports.xxhashBase64Url = xxhashBase64Url;
|
||||
module.exports.xxhashBase36 = xxhashBase36;
|
||||
module.exports.xxhashBase16 = xxhashBase16;
|
||||
|
||||
4
node_modules/rollup/dist/parseAst.js
generated
vendored
4
node_modules/rollup/dist/parseAst.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
|
||||
192
node_modules/rollup/dist/rollup.d.ts
generated
vendored
192
node_modules/rollup/dist/rollup.d.ts
generated
vendored
@@ -1,4 +1,20 @@
|
||||
import type { Program } from 'estree';
|
||||
import type * as estree from 'estree';
|
||||
|
||||
declare module 'estree' {
|
||||
export interface Decorator extends estree.BaseNode {
|
||||
type: 'Decorator';
|
||||
expression: estree.Expression;
|
||||
}
|
||||
interface PropertyDefinition {
|
||||
decorators: estree.Decorator[];
|
||||
}
|
||||
interface MethodDefinition {
|
||||
decorators: estree.Decorator[];
|
||||
}
|
||||
interface BaseClass {
|
||||
decorators: estree.Decorator[];
|
||||
}
|
||||
}
|
||||
|
||||
export const VERSION: string;
|
||||
|
||||
@@ -86,6 +102,7 @@ export interface SourceMap {
|
||||
sources: string[];
|
||||
sourcesContent?: string[];
|
||||
version: number;
|
||||
debugId?: string;
|
||||
toString(): string;
|
||||
toUrl(): string;
|
||||
}
|
||||
@@ -145,6 +162,7 @@ export interface EmittedAsset {
|
||||
fileName?: string;
|
||||
name?: string;
|
||||
needsCodeReference?: boolean;
|
||||
originalFileName?: string | null;
|
||||
source?: string | Uint8Array;
|
||||
type: 'asset';
|
||||
}
|
||||
@@ -172,7 +190,7 @@ export type EmittedFile = EmittedAsset | EmittedChunk | EmittedPrebuiltChunk;
|
||||
|
||||
export type EmitFile = (emittedFile: EmittedFile) => string;
|
||||
|
||||
interface ModuleInfo extends ModuleOptions {
|
||||
export interface ModuleInfo extends ModuleOptions {
|
||||
ast: ProgramNode | null;
|
||||
code: string | null;
|
||||
dynamicImporters: readonly string[];
|
||||
@@ -194,6 +212,7 @@ interface ModuleInfo extends ModuleOptions {
|
||||
|
||||
export type GetModuleInfo = (moduleId: string) => ModuleInfo | null;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style -- this is an interface so that it can be extended by plugins
|
||||
export interface CustomPluginOptions {
|
||||
[plugin: string]: any;
|
||||
}
|
||||
@@ -205,17 +224,18 @@ type LoggingFunctionWithPosition = (
|
||||
|
||||
export type ParseAst = (
|
||||
input: string,
|
||||
options?: { allowReturnOutsideFunction?: boolean }
|
||||
options?: { allowReturnOutsideFunction?: boolean; jsx?: boolean }
|
||||
) => ProgramNode;
|
||||
|
||||
// declare AbortSignal here for environments without DOM lib or @types/node
|
||||
declare global {
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
interface AbortSignal {}
|
||||
}
|
||||
|
||||
export type ParseAstAsync = (
|
||||
input: string,
|
||||
options?: { allowReturnOutsideFunction?: boolean; signal?: AbortSignal }
|
||||
options?: { allowReturnOutsideFunction?: boolean; jsx?: boolean; signal?: AbortSignal }
|
||||
) => Promise<ProgramNode>;
|
||||
|
||||
export interface PluginContext extends MinimalPluginContext {
|
||||
@@ -252,17 +272,29 @@ export interface PluginContextMeta {
|
||||
watchMode: boolean;
|
||||
}
|
||||
|
||||
export type StringOrRegExp = string | RegExp;
|
||||
|
||||
export type StringFilter<Value = StringOrRegExp> =
|
||||
| MaybeArray<Value>
|
||||
| {
|
||||
include?: MaybeArray<Value>;
|
||||
exclude?: MaybeArray<Value>;
|
||||
};
|
||||
|
||||
export interface HookFilter {
|
||||
id?: StringFilter;
|
||||
code?: StringFilter;
|
||||
}
|
||||
|
||||
export interface ResolvedId extends ModuleOptions {
|
||||
external: boolean | 'absolute';
|
||||
id: string;
|
||||
resolvedBy: string;
|
||||
}
|
||||
|
||||
export interface ResolvedIdMap {
|
||||
[key: string]: ResolvedId;
|
||||
}
|
||||
export type ResolvedIdMap = Record<string, ResolvedId>;
|
||||
|
||||
interface PartialResolvedId extends Partial<PartialNull<ModuleOptions>> {
|
||||
export interface PartialResolvedId extends Partial<PartialNull<ModuleOptions>> {
|
||||
external?: boolean | 'absolute' | 'relative';
|
||||
id: string;
|
||||
resolvedBy?: string;
|
||||
@@ -378,18 +410,32 @@ export type WatchChangeHook = (
|
||||
* const myPlugin: PluginImpl<Options> = (options = {}) => { ... }
|
||||
* ```
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
export type PluginImpl<O extends object = object, A = any> = (options?: O) => Plugin<A>;
|
||||
|
||||
export interface OutputBundle {
|
||||
[fileName: string]: OutputAsset | OutputChunk;
|
||||
export type OutputBundle = Record<string, OutputAsset | OutputChunk>;
|
||||
|
||||
export type PreRenderedChunkWithFileName = PreRenderedChunk & { fileName: string };
|
||||
|
||||
export interface ImportedInternalChunk {
|
||||
type: 'internal';
|
||||
fileName: string;
|
||||
resolvedImportPath: string;
|
||||
chunk: PreRenderedChunk;
|
||||
}
|
||||
|
||||
export interface ImportedExternalChunk {
|
||||
type: 'external';
|
||||
fileName: string;
|
||||
resolvedImportPath: string;
|
||||
}
|
||||
|
||||
export type DynamicImportTargetChunk = ImportedInternalChunk | ImportedExternalChunk;
|
||||
|
||||
export interface FunctionPluginHooks {
|
||||
augmentChunkHash: (this: PluginContext, chunk: RenderedChunk) => string | void;
|
||||
buildEnd: (this: PluginContext, error?: Error) => void;
|
||||
buildStart: (this: PluginContext, options: NormalizedInputOptions) => void;
|
||||
closeBundle: (this: PluginContext) => void;
|
||||
closeBundle: (this: PluginContext, error?: Error) => void;
|
||||
closeWatcher: (this: PluginContext) => void;
|
||||
generateBundle: (
|
||||
this: PluginContext,
|
||||
@@ -410,6 +456,9 @@ export interface FunctionPluginHooks {
|
||||
format: InternalModuleFormat;
|
||||
moduleId: string;
|
||||
targetModuleId: string | null;
|
||||
chunk: PreRenderedChunkWithFileName;
|
||||
targetChunk: PreRenderedChunkWithFileName | null;
|
||||
getTargetChunkImports: () => DynamicImportTargetChunk[] | null;
|
||||
}
|
||||
) => { left: string; right: string } | NullValue;
|
||||
renderError: (this: PluginContext, error?: Error) => void;
|
||||
@@ -488,20 +537,29 @@ type MakeAsync<Function_> = Function_ extends (
|
||||
? (this: This, ...parameters: Arguments) => Return | Promise<Return>
|
||||
: never;
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
type ObjectHook<T, O = {}> = T | ({ handler: T; order?: 'pre' | 'post' | null } & O);
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
export type ObjectHook<T, O = {}> = T | ({ handler: T; order?: 'pre' | 'post' | null } & O);
|
||||
|
||||
export type HookFilterExtension<K extends keyof FunctionPluginHooks> = K extends 'transform'
|
||||
? { filter?: HookFilter }
|
||||
: K extends 'load'
|
||||
? { filter?: Pick<HookFilter, 'id'> }
|
||||
: K extends 'resolveId'
|
||||
? { filter?: { id?: StringFilter<RegExp> } }
|
||||
: // eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
{};
|
||||
|
||||
export type PluginHooks = {
|
||||
[K in keyof FunctionPluginHooks]: ObjectHook<
|
||||
K extends AsyncPluginHooks ? MakeAsync<FunctionPluginHooks[K]> : FunctionPluginHooks[K],
|
||||
// eslint-disable-next-line @typescript-eslint/ban-types
|
||||
K extends ParallelPluginHooks ? { sequential?: boolean } : {}
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
||||
HookFilterExtension<K> & (K extends ParallelPluginHooks ? { sequential?: boolean } : {})
|
||||
>;
|
||||
};
|
||||
|
||||
export interface OutputPlugin
|
||||
extends Partial<{ [K in OutputPluginHooks]: PluginHooks[K] }>,
|
||||
Partial<{ [K in AddonHooks]: ObjectHook<AddonHook> }> {
|
||||
Partial<Record<AddonHooks, ObjectHook<AddonHook>>> {
|
||||
cacheKey?: string;
|
||||
name: string;
|
||||
version?: string;
|
||||
@@ -512,6 +570,38 @@ export interface Plugin<A = any> extends OutputPlugin, Partial<PluginHooks> {
|
||||
api?: A;
|
||||
}
|
||||
|
||||
export type JsxPreset = 'react' | 'react-jsx' | 'preserve' | 'preserve-react';
|
||||
|
||||
export type NormalizedJsxOptions =
|
||||
| NormalizedJsxPreserveOptions
|
||||
| NormalizedJsxClassicOptions
|
||||
| NormalizedJsxAutomaticOptions;
|
||||
|
||||
interface NormalizedJsxPreserveOptions {
|
||||
factory: string | null;
|
||||
fragment: string | null;
|
||||
importSource: string | null;
|
||||
mode: 'preserve';
|
||||
}
|
||||
|
||||
interface NormalizedJsxClassicOptions {
|
||||
factory: string;
|
||||
fragment: string;
|
||||
importSource: string | null;
|
||||
mode: 'classic';
|
||||
}
|
||||
|
||||
interface NormalizedJsxAutomaticOptions {
|
||||
factory: string;
|
||||
importSource: string | null;
|
||||
jsxImportSource: string;
|
||||
mode: 'automatic';
|
||||
}
|
||||
|
||||
export type JsxOptions = Partial<NormalizedJsxOptions> & {
|
||||
preset?: JsxPreset;
|
||||
};
|
||||
|
||||
export type TreeshakingPreset = 'smallest' | 'safest' | 'recommended';
|
||||
|
||||
export interface NormalizedTreeshakingOptions {
|
||||
@@ -534,6 +624,7 @@ interface ManualChunkMeta {
|
||||
getModuleIds: () => IterableIterator<string>;
|
||||
getModuleInfo: GetModuleInfo;
|
||||
}
|
||||
|
||||
export type GetManualChunk = (id: string, meta: ManualChunkMeta) => string | NullValue;
|
||||
|
||||
export type ExternalOption =
|
||||
@@ -542,11 +633,11 @@ export type ExternalOption =
|
||||
| RegExp
|
||||
| ((source: string, importer: string | undefined, isResolved: boolean) => boolean | NullValue);
|
||||
|
||||
export type GlobalsOption = { [name: string]: string } | ((name: string) => string);
|
||||
export type GlobalsOption = Record<string, string> | ((name: string) => string);
|
||||
|
||||
export type InputOption = string | string[] | { [entryAlias: string]: string };
|
||||
export type InputOption = string | string[] | Record<string, string>;
|
||||
|
||||
export type ManualChunksOption = { [chunkAlias: string]: string[] } | GetManualChunk;
|
||||
export type ManualChunksOption = Record<string, string[]> | GetManualChunk;
|
||||
|
||||
export type LogHandlerWithDefault = (
|
||||
level: LogLevel,
|
||||
@@ -581,10 +672,11 @@ export interface InputOptions {
|
||||
experimentalLogSideEffects?: boolean;
|
||||
external?: ExternalOption;
|
||||
input?: InputOption;
|
||||
jsx?: false | JsxPreset | JsxOptions;
|
||||
logLevel?: LogLevelOption;
|
||||
makeAbsoluteExternalsRelative?: boolean | 'ifRelativeSource';
|
||||
maxParallelFileOps?: number;
|
||||
moduleContext?: ((id: string) => string | NullValue) | { [id: string]: string };
|
||||
moduleContext?: ((id: string) => string | NullValue) | Record<string, string>;
|
||||
onLog?: LogHandlerWithDefault;
|
||||
onwarn?: WarningHandlerWithDefault;
|
||||
perf?: boolean;
|
||||
@@ -607,7 +699,8 @@ export interface NormalizedInputOptions {
|
||||
experimentalCacheExpiry: number;
|
||||
experimentalLogSideEffects: boolean;
|
||||
external: IsExternal;
|
||||
input: string[] | { [entryAlias: string]: string };
|
||||
input: string[] | Record<string, string>;
|
||||
jsx: false | NormalizedJsxOptions;
|
||||
logLevel: LogLevelOption;
|
||||
makeAbsoluteExternalsRelative: boolean | 'ifRelativeSource';
|
||||
maxParallelFileOps: number;
|
||||
@@ -623,6 +716,7 @@ export interface NormalizedInputOptions {
|
||||
}
|
||||
|
||||
export type InternalModuleFormat = 'amd' | 'cjs' | 'es' | 'iife' | 'system' | 'umd';
|
||||
export type ImportAttributesKey = 'with' | 'assert';
|
||||
|
||||
export type ModuleFormat = InternalModuleFormat | 'commonjs' | 'esm' | 'module' | 'systemjs';
|
||||
|
||||
@@ -683,6 +777,8 @@ type AddonFunction = (chunk: RenderedChunk) => string | Promise<string>;
|
||||
|
||||
type OutputPluginOption = MaybePromise<OutputPlugin | NullValue | false | OutputPluginOption[]>;
|
||||
|
||||
type HashCharacters = 'base64' | 'base36' | 'hex';
|
||||
|
||||
export interface OutputOptions {
|
||||
amd?: AmdOptions;
|
||||
assetFileNames?: string | ((chunkInfo: PreRenderedAsset) => string);
|
||||
@@ -708,7 +804,9 @@ export interface OutputOptions {
|
||||
freeze?: boolean;
|
||||
generatedCode?: GeneratedCodePreset | GeneratedCodeOptions;
|
||||
globals?: GlobalsOption;
|
||||
hashCharacters?: HashCharacters;
|
||||
hoistTransitiveImports?: boolean;
|
||||
importAttributesKey?: ImportAttributesKey;
|
||||
indent?: string | boolean;
|
||||
inlineDynamicImports?: boolean;
|
||||
interop?: InteropType | GetInterop;
|
||||
@@ -722,6 +820,7 @@ export interface OutputOptions {
|
||||
plugins?: OutputPluginOption;
|
||||
preserveModules?: boolean;
|
||||
preserveModulesRoot?: string;
|
||||
reexportProtoFromExternal?: boolean;
|
||||
sanitizeFileName?: boolean | ((fileName: string) => string);
|
||||
sourcemap?: boolean | 'inline' | 'hidden';
|
||||
sourcemapBaseUrl?: string;
|
||||
@@ -730,9 +829,11 @@ export interface OutputOptions {
|
||||
sourcemapFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
|
||||
sourcemapIgnoreList?: boolean | SourcemapIgnoreListOption;
|
||||
sourcemapPathTransform?: SourcemapPathTransformOption;
|
||||
sourcemapDebugIds?: boolean;
|
||||
strict?: boolean;
|
||||
systemNullSetters?: boolean;
|
||||
validate?: boolean;
|
||||
virtualDirname?: string;
|
||||
}
|
||||
|
||||
export interface NormalizedOutputOptions {
|
||||
@@ -758,7 +859,9 @@ export interface NormalizedOutputOptions {
|
||||
freeze: boolean;
|
||||
generatedCode: NormalizedGeneratedCodeOptions;
|
||||
globals: GlobalsOption;
|
||||
hashCharacters: HashCharacters;
|
||||
hoistTransitiveImports: boolean;
|
||||
importAttributesKey: ImportAttributesKey;
|
||||
indent: true | string;
|
||||
inlineDynamicImports: boolean;
|
||||
interop: GetInterop;
|
||||
@@ -772,6 +875,7 @@ export interface NormalizedOutputOptions {
|
||||
plugins: OutputPlugin[];
|
||||
preserveModules: boolean;
|
||||
preserveModulesRoot: string | undefined;
|
||||
reexportProtoFromExternal: boolean;
|
||||
sanitizeFileName: (fileName: string) => string;
|
||||
sourcemap: boolean | 'inline' | 'hidden';
|
||||
sourcemapBaseUrl: string | undefined;
|
||||
@@ -780,9 +884,11 @@ export interface NormalizedOutputOptions {
|
||||
sourcemapFileNames: string | ((chunkInfo: PreRenderedChunk) => string) | undefined;
|
||||
sourcemapIgnoreList: SourcemapIgnoreListOption;
|
||||
sourcemapPathTransform: SourcemapPathTransformOption | undefined;
|
||||
sourcemapDebugIds: boolean;
|
||||
strict: boolean;
|
||||
systemNullSetters: boolean;
|
||||
validate: boolean;
|
||||
virtualDirname: string;
|
||||
}
|
||||
|
||||
export type WarningHandlerWithDefault = (
|
||||
@@ -790,12 +896,15 @@ export type WarningHandlerWithDefault = (
|
||||
defaultHandler: LoggingFunction
|
||||
) => void;
|
||||
|
||||
export interface SerializedTimings {
|
||||
[label: string]: [number, number, number];
|
||||
}
|
||||
export type SerializedTimings = Record<string, [number, number, number]>;
|
||||
|
||||
export interface PreRenderedAsset {
|
||||
/** @deprecated Use "names" instead. */
|
||||
name: string | undefined;
|
||||
names: string[];
|
||||
/** @deprecated Use "originalFileNames" instead. */
|
||||
originalFileName: string | null;
|
||||
originalFileNames: string[];
|
||||
source: string | Uint8Array;
|
||||
type: 'asset';
|
||||
}
|
||||
@@ -828,13 +937,9 @@ export interface RenderedChunk extends PreRenderedChunk {
|
||||
dynamicImports: string[];
|
||||
fileName: string;
|
||||
implicitlyLoadedBefore: string[];
|
||||
importedBindings: {
|
||||
[imported: string]: string[];
|
||||
};
|
||||
importedBindings: Record<string, string[]>;
|
||||
imports: string[];
|
||||
modules: {
|
||||
[id: string]: RenderedModule;
|
||||
};
|
||||
modules: Record<string, RenderedModule>;
|
||||
referencedFiles: string[];
|
||||
}
|
||||
|
||||
@@ -845,9 +950,7 @@ export interface OutputChunk extends RenderedChunk {
|
||||
preliminaryFileName: string;
|
||||
}
|
||||
|
||||
export interface SerializablePluginCache {
|
||||
[key: string]: [number, any];
|
||||
}
|
||||
export type SerializablePluginCache = Record<string, [number, any]>;
|
||||
|
||||
export interface RollupCache {
|
||||
modules: ModuleJSON[];
|
||||
@@ -862,6 +965,7 @@ export interface RollupBuild {
|
||||
cache: RollupCache | undefined;
|
||||
close: () => Promise<void>;
|
||||
closed: boolean;
|
||||
[Symbol.asyncDispose](): Promise<void>;
|
||||
generate: (outputOptions: OutputOptions) => Promise<RollupOutput>;
|
||||
getTimings?: () => SerializedTimings;
|
||||
watchFiles: string[];
|
||||
@@ -911,6 +1015,7 @@ export interface WatcherOptions {
|
||||
exclude?: string | RegExp | (string | RegExp)[];
|
||||
include?: string | RegExp | (string | RegExp)[];
|
||||
skipWrite?: boolean;
|
||||
onInvalidate?: (id: string) => void;
|
||||
}
|
||||
|
||||
export interface RollupWatchOptions extends InputOptions {
|
||||
@@ -919,11 +1024,11 @@ export interface RollupWatchOptions extends InputOptions {
|
||||
}
|
||||
|
||||
export type AwaitedEventListener<
|
||||
T extends { [event: string]: (...parameters: any) => any },
|
||||
T extends Record<string, (...parameters: any) => any>,
|
||||
K extends keyof T
|
||||
> = (...parameters: Parameters<T[K]>) => void | Promise<void>;
|
||||
|
||||
export interface AwaitingEventEmitter<T extends { [event: string]: (...parameters: any) => any }> {
|
||||
export interface AwaitingEventEmitter<T extends Record<string, (...parameters: any) => any>> {
|
||||
close(): Promise<void>;
|
||||
emit<K extends keyof T>(event: K, ...parameters: Parameters<T[K]>): Promise<unknown>;
|
||||
/**
|
||||
@@ -973,13 +1078,22 @@ export type RollupWatcher = AwaitingEventEmitter<{
|
||||
|
||||
export function watch(config: RollupWatchOptions | RollupWatchOptions[]): RollupWatcher;
|
||||
|
||||
interface AstNode {
|
||||
interface AstNodeLocation {
|
||||
end: number;
|
||||
start: number;
|
||||
type: string;
|
||||
}
|
||||
|
||||
type ProgramNode = Program & AstNode;
|
||||
type OmittedEstreeKeys =
|
||||
| 'loc'
|
||||
| 'range'
|
||||
| 'leadingComments'
|
||||
| 'trailingComments'
|
||||
| 'innerComments'
|
||||
| 'comments';
|
||||
type RollupAstNode<T> = Omit<T, OmittedEstreeKeys> & AstNodeLocation;
|
||||
|
||||
type ProgramNode = RollupAstNode<estree.Program>;
|
||||
export type AstNode = RollupAstNode<estree.Node>;
|
||||
|
||||
export function defineConfig(options: RollupOptions): RollupOptions;
|
||||
export function defineConfig(options: RollupOptions[]): RollupOptions[];
|
||||
|
||||
7
node_modules/rollup/dist/rollup.js
generated
vendored
7
node_modules/rollup/dist/rollup.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -15,11 +15,10 @@ const rollup = require('./shared/rollup.js');
|
||||
const parseAst_js = require('./shared/parseAst.js');
|
||||
const fseventsImporter = require('./shared/fsevents-importer.js');
|
||||
require('node:process');
|
||||
require('tty');
|
||||
require('node:path');
|
||||
require('path');
|
||||
require('node:perf_hooks');
|
||||
require('./native.js');
|
||||
require('node:perf_hooks');
|
||||
require('node:fs/promises');
|
||||
|
||||
class WatchEmitter {
|
||||
|
||||
4
node_modules/rollup/dist/shared/fsevents-importer.js
generated
vendored
4
node_modules/rollup/dist/shared/fsevents-importer.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
|
||||
12654
node_modules/rollup/dist/shared/index.js
generated
vendored
12654
node_modules/rollup/dist/shared/index.js
generated
vendored
File diff suppressed because it is too large
Load Diff
63
node_modules/rollup/dist/shared/loadConfigFile.js
generated
vendored
63
node_modules/rollup/dist/shared/loadConfigFile.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
'use strict';
|
||||
|
||||
const promises = require('node:fs/promises');
|
||||
const node_path = require('node:path');
|
||||
const path = require('node:path');
|
||||
const process$1 = require('node:process');
|
||||
const node_url = require('node:url');
|
||||
const rollup = require('./rollup.js');
|
||||
@@ -63,14 +63,14 @@ function batchWarnings(command) {
|
||||
}
|
||||
case parseAst_js.LOGLEVEL_DEBUG: {
|
||||
if (!silent) {
|
||||
rollup.stderr(rollup.bold(rollup.blue(log.message)));
|
||||
rollup.stderr(rollup.bold(rollup.pc.blue(log.message)));
|
||||
defaultBody(log);
|
||||
}
|
||||
return;
|
||||
}
|
||||
default: {
|
||||
if (!silent) {
|
||||
rollup.stderr(rollup.bold(rollup.cyan(log.message)));
|
||||
rollup.stderr(rollup.bold(rollup.pc.cyan(log.message)));
|
||||
defaultBody(log);
|
||||
}
|
||||
}
|
||||
@@ -150,20 +150,16 @@ const deferredHandlers = {
|
||||
},
|
||||
PLUGIN_WARNING(warnings) {
|
||||
const nestedByPlugin = nest(warnings, 'plugin');
|
||||
for (const { key: plugin, items } of nestedByPlugin) {
|
||||
for (const { items } of nestedByPlugin) {
|
||||
const nestedByMessage = nest(items, 'message');
|
||||
let lastUrl = '';
|
||||
for (const { key: message, items } of nestedByMessage) {
|
||||
title(`Plugin ${plugin}: ${message}`);
|
||||
title(message);
|
||||
for (const warning of items) {
|
||||
if (warning.url && warning.url !== lastUrl)
|
||||
info((lastUrl = warning.url));
|
||||
const id = warning.id || warning.loc?.file;
|
||||
if (id) {
|
||||
let loc = parseAst_js.relativeId(id);
|
||||
if (warning.loc) {
|
||||
loc += `: (${warning.loc.line}:${warning.loc.column})`;
|
||||
}
|
||||
const loc = formatLocation(warning);
|
||||
if (loc) {
|
||||
rollup.stderr(rollup.bold(loc));
|
||||
}
|
||||
if (warning.frame)
|
||||
@@ -208,12 +204,11 @@ const deferredHandlers = {
|
||||
};
|
||||
function defaultBody(log) {
|
||||
if (log.url) {
|
||||
info(parseAst_js.getRollupUrl(log.url));
|
||||
info(log.url);
|
||||
}
|
||||
const id = log.loc?.file || log.id;
|
||||
if (id) {
|
||||
const loc = log.loc ? `${parseAst_js.relativeId(id)} (${log.loc.line}:${log.loc.column})` : parseAst_js.relativeId(id);
|
||||
rollup.stderr(rollup.bold(parseAst_js.relativeId(loc)));
|
||||
const loc = formatLocation(log);
|
||||
if (loc) {
|
||||
rollup.stderr(rollup.bold(loc));
|
||||
}
|
||||
if (log.frame)
|
||||
info(log.frame);
|
||||
@@ -261,6 +256,12 @@ function generateLogFilter(command) {
|
||||
}
|
||||
return getLogFilter_js.getLogFilter(filters);
|
||||
}
|
||||
function formatLocation(log) {
|
||||
const id = log.loc?.file || log.id;
|
||||
if (!id)
|
||||
return null;
|
||||
return log.loc ? `${id}:${log.loc.line}:${log.loc.column}` : id;
|
||||
}
|
||||
|
||||
const stdinName = '-';
|
||||
let stdinResult = null;
|
||||
@@ -383,11 +384,11 @@ async function loadAndRegisterPlugin(inputOptions, pluginText) {
|
||||
if (!plugin) {
|
||||
try {
|
||||
if (pluginText[0] == '.')
|
||||
pluginText = node_path.resolve(pluginText);
|
||||
pluginText = path.resolve(pluginText);
|
||||
// Windows absolute paths must be specified as file:// protocol URL
|
||||
// Note that we do not have coverage for Windows-only code paths
|
||||
else if (/^[A-Za-z]:\\/.test(pluginText)) {
|
||||
pluginText = node_url.pathToFileURL(node_path.resolve(pluginText)).href;
|
||||
pluginText = node_url.pathToFileURL(path.resolve(pluginText)).href;
|
||||
}
|
||||
plugin = await requireOrImport(pluginText);
|
||||
}
|
||||
@@ -417,7 +418,7 @@ function getCamelizedPluginBaseName(pluginText) {
|
||||
}
|
||||
async function requireOrImport(pluginPath) {
|
||||
try {
|
||||
// eslint-disable-next-line unicorn/prefer-module
|
||||
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
||||
return require(pluginPath);
|
||||
}
|
||||
catch {
|
||||
@@ -485,11 +486,16 @@ async function getConfigFileExport(fileName, commandOptions, watchMode) {
|
||||
function getDefaultFromCjs(namespace) {
|
||||
return namespace.default || namespace;
|
||||
}
|
||||
function getConfigImportAttributesKey(input) {
|
||||
if (input === 'assert' || input === 'with')
|
||||
return input;
|
||||
return;
|
||||
}
|
||||
async function loadTranspiledConfigFile(fileName, commandOptions) {
|
||||
const { bundleConfigAsCjs, configPlugin, silent } = commandOptions;
|
||||
const { bundleConfigAsCjs, configPlugin, configImportAttributesKey, silent } = commandOptions;
|
||||
const warnings = batchWarnings(commandOptions);
|
||||
const inputOptions = {
|
||||
external: (id) => (id[0] !== '.' && !node_path.isAbsolute(id)) || id.slice(-5, id.length) === '.json',
|
||||
external: (id) => (id[0] !== '.' && !path.isAbsolute(id)) || id.slice(-5) === '.json',
|
||||
input: fileName,
|
||||
onwarn: warnings.add,
|
||||
plugins: [],
|
||||
@@ -500,6 +506,7 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
|
||||
const { output: [{ code }] } = await bundle.generate({
|
||||
exports: 'named',
|
||||
format: bundleConfigAsCjs ? 'cjs' : 'es',
|
||||
importAttributesKey: getConfigImportAttributesKey(configImportAttributesKey),
|
||||
plugins: [
|
||||
{
|
||||
name: 'transpile-import-meta',
|
||||
@@ -507,8 +514,14 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
|
||||
if (property === 'url') {
|
||||
return `'${node_url.pathToFileURL(moduleId).href}'`;
|
||||
}
|
||||
if (property == 'filename') {
|
||||
return `'${moduleId}'`;
|
||||
}
|
||||
if (property == 'dirname') {
|
||||
return `'${path.dirname(moduleId)}'`;
|
||||
}
|
||||
if (property == null) {
|
||||
return `{url:'${node_url.pathToFileURL(moduleId).href}'}`;
|
||||
return `{url:'${node_url.pathToFileURL(moduleId).href}', filename: '${moduleId}', dirname: '${path.dirname(moduleId)}'}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -518,7 +531,7 @@ async function loadTranspiledConfigFile(fileName, commandOptions) {
|
||||
rollup.stderr(rollup.bold(`loaded ${parseAst_js.relativeId(fileName)} with warnings`));
|
||||
warnings.flush();
|
||||
}
|
||||
return loadConfigFromWrittenFile(node_path.join(node_path.dirname(fileName), `rollup.config-${Date.now()}.${bundleConfigAsCjs ? 'cjs' : 'mjs'}`), code);
|
||||
return loadConfigFromWrittenFile(path.join(path.dirname(fileName), `rollup.config-${Date.now()}.${bundleConfigAsCjs ? 'cjs' : 'mjs'}`), code);
|
||||
}
|
||||
async function loadConfigFromWrittenFile(bundledFileName, bundledCode) {
|
||||
await promises.writeFile(bundledFileName, bundledCode);
|
||||
|
||||
2308
node_modules/rollup/dist/shared/parseAst.js
generated
vendored
2308
node_modules/rollup/dist/shared/parseAst.js
generated
vendored
File diff suppressed because it is too large
Load Diff
21805
node_modules/rollup/dist/shared/rollup.js
generated
vendored
21805
node_modules/rollup/dist/shared/rollup.js
generated
vendored
File diff suppressed because it is too large
Load Diff
54
node_modules/rollup/dist/shared/watch-cli.js
generated
vendored
54
node_modules/rollup/dist/shared/watch-cli.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -11,26 +11,25 @@
|
||||
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
|
||||
const index = require('./index.js');
|
||||
const promises = require('node:fs/promises');
|
||||
const process$2 = require('node:process');
|
||||
const index = require('./index.js');
|
||||
const cli = require('../bin/rollup');
|
||||
const rollup = require('./rollup.js');
|
||||
const parseAst_js = require('./parseAst.js');
|
||||
const loadConfigFile_js = require('./loadConfigFile.js');
|
||||
const node_child_process = require('node:child_process');
|
||||
const rollup_js = require('../rollup.js');
|
||||
require('fs');
|
||||
require('util');
|
||||
require('stream');
|
||||
require('path');
|
||||
require('util');
|
||||
require('fs');
|
||||
require('stream');
|
||||
require('os');
|
||||
require('./fsevents-importer.js');
|
||||
require('events');
|
||||
require('node:path');
|
||||
require('tty');
|
||||
require('node:perf_hooks');
|
||||
require('../native.js');
|
||||
require('node:perf_hooks');
|
||||
require('node:url');
|
||||
require('../getLogFilter.js');
|
||||
|
||||
@@ -366,23 +365,7 @@ const {
|
||||
*
|
||||
* Returns a function that may be used to unload signal-exit.
|
||||
*/
|
||||
onExit,
|
||||
/**
|
||||
* Load the listeners. Likely you never need to call this, unless
|
||||
* doing a rather deep integration with signal-exit functionality.
|
||||
* Mostly exposed for the benefit of testing.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
load,
|
||||
/**
|
||||
* Unload the listeners. Likely you never need to call this, unless
|
||||
* doing a rather deep integration with signal-exit functionality.
|
||||
* Mostly exposed for the benefit of testing.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
unload, } = signalExitWrap(processOk(process$1) ? new SignalExit(process$1) : new SignalExitFallback());
|
||||
onExit} = signalExitWrap(processOk(process$1) ? new SignalExit(process$1) : new SignalExitFallback());
|
||||
|
||||
const CLEAR_SCREEN = '\u001Bc';
|
||||
function getResetScreen(configs, allowClearScreen) {
|
||||
@@ -417,7 +400,7 @@ function createWatchHooks(command) {
|
||||
if (watchHooks[hook]) {
|
||||
const cmd = watchHooks[hook];
|
||||
if (!command.silent) {
|
||||
rollup.stderr(rollup.cyan$1(`watch.${hook} ${rollup.bold(`$ ${cmd}`)}`));
|
||||
rollup.stderr(rollup.cyan(`watch.${hook} ${rollup.bold(`$ ${cmd}`)}`));
|
||||
}
|
||||
try {
|
||||
// !! important - use stderr for all writes from execSync
|
||||
@@ -442,10 +425,6 @@ async function watch(command) {
|
||||
const runWatchHook = createWatchHooks(command);
|
||||
onExit(close);
|
||||
process$2.on('uncaughtException', closeWithError);
|
||||
if (!process$2.stdin.isTTY) {
|
||||
process$2.stdin.on('end', close);
|
||||
process$2.stdin.resume();
|
||||
}
|
||||
async function loadConfigFromFileAndTrack(configFile) {
|
||||
let configFileData = null;
|
||||
let configFileRevision = 0;
|
||||
@@ -512,7 +491,7 @@ async function watch(command) {
|
||||
? input.join(', ')
|
||||
: Object.values(input).join(', ');
|
||||
}
|
||||
rollup.stderr(rollup.cyan$1(`bundles ${rollup.bold(input)} → ${rollup.bold(event.output.map(parseAst_js.relativeId).join(', '))}...`));
|
||||
rollup.stderr(rollup.cyan(`bundles ${rollup.bold(input)} → ${rollup.bold(event.output.map(parseAst_js.relativeId).join(', '))}...`));
|
||||
}
|
||||
runWatchHook('onBundleStart');
|
||||
break;
|
||||
@@ -529,7 +508,7 @@ async function watch(command) {
|
||||
}
|
||||
case 'END': {
|
||||
runWatchHook('onEnd');
|
||||
if (!silent && isTTY) {
|
||||
if (!silent) {
|
||||
rollup.stderr(`\n[${dateTime()}] waiting for changes...`);
|
||||
}
|
||||
}
|
||||
@@ -539,16 +518,17 @@ async function watch(command) {
|
||||
}
|
||||
});
|
||||
}
|
||||
async function close(code) {
|
||||
function close(code) {
|
||||
process$2.removeListener('uncaughtException', closeWithError);
|
||||
// removing a non-existent listener is a no-op
|
||||
process$2.stdin.removeListener('end', close);
|
||||
if (watcher)
|
||||
await watcher.close();
|
||||
if (configWatcher)
|
||||
configWatcher.close();
|
||||
if (code)
|
||||
process$2.exit(code);
|
||||
Promise.resolve(watcher?.close()).finally(() => {
|
||||
process$2.exit(typeof code === 'number' ? code : 0);
|
||||
});
|
||||
// Tell signal-exit that we are handling this gracefully
|
||||
return true;
|
||||
}
|
||||
// return a promise that never resolves to keep the process running
|
||||
return new Promise(() => { });
|
||||
|
||||
25
node_modules/rollup/dist/shared/watch.js
generated
vendored
25
node_modules/rollup/dist/shared/watch.js
generated
vendored
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
@license
|
||||
Rollup.js v4.9.6
|
||||
Sun, 21 Jan 2024 05:51:51 GMT - commit ecb6b0a430098052781aa6ee04ec92ee70960321
|
||||
Rollup.js v4.40.0
|
||||
Sat, 12 Apr 2025 08:39:04 GMT - commit 1f2d579ccd4b39f223fed14ac7d031a6c848cd80
|
||||
|
||||
https://github.com/rollup/rollup
|
||||
|
||||
@@ -11,19 +11,18 @@
|
||||
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
|
||||
const node_path = require('node:path');
|
||||
const process = require('node:process');
|
||||
const rollup = require('./rollup.js');
|
||||
const node_os = require('node:os');
|
||||
const path = require('node:path');
|
||||
const process = require('node:process');
|
||||
const index = require('./index.js');
|
||||
const node_os = require('node:os');
|
||||
require('./parseAst.js');
|
||||
require('../native.js');
|
||||
require('tty');
|
||||
require('path');
|
||||
require('node:perf_hooks');
|
||||
require('node:fs/promises');
|
||||
require('fs');
|
||||
require('util');
|
||||
require('fs');
|
||||
require('stream');
|
||||
require('os');
|
||||
require('./fsevents-importer.js');
|
||||
@@ -63,10 +62,11 @@ class FileWatcher {
|
||||
createWatcher(transformWatcherId) {
|
||||
const task = this.task;
|
||||
const isLinux = node_os.platform() === 'linux';
|
||||
const isFreeBSD = node_os.platform() === 'freebsd';
|
||||
const isTransformDependency = transformWatcherId !== null;
|
||||
const handleChange = (id, event) => {
|
||||
const changedId = transformWatcherId || id;
|
||||
if (isLinux) {
|
||||
if (isLinux || isFreeBSD) {
|
||||
// unwatching and watching fixes an issue with chokidar where on certain systems,
|
||||
// a file that was unlinked and immediately recreated would create a change event
|
||||
// but then no longer any further events
|
||||
@@ -205,13 +205,13 @@ class Task {
|
||||
this.outputs = this.options.output;
|
||||
this.outputFiles = this.outputs.map(output => {
|
||||
if (output.file || output.dir)
|
||||
return node_path.resolve(output.file || output.dir);
|
||||
return path.resolve(output.file || output.dir);
|
||||
return undefined;
|
||||
});
|
||||
const watchOptions = this.options.watch || {};
|
||||
this.filter = rollup.createFilter(watchOptions.include, watchOptions.exclude);
|
||||
this.watchOptions = this.options.watch || {};
|
||||
this.filter = rollup.createFilter(this.watchOptions.include, this.watchOptions.exclude);
|
||||
this.fileWatcher = new FileWatcher(this, {
|
||||
...watchOptions.chokidar,
|
||||
...this.watchOptions.chokidar,
|
||||
disableGlobbing: true,
|
||||
ignoreInitial: true
|
||||
});
|
||||
@@ -231,6 +231,7 @@ class Task {
|
||||
}
|
||||
}
|
||||
this.watcher.invalidate({ event: details.event, id });
|
||||
this.watchOptions.onInvalidate?.(id);
|
||||
}
|
||||
async run() {
|
||||
if (!this.invalidated)
|
||||
|
||||
196
node_modules/rollup/package.json
generated
vendored
196
node_modules/rollup/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rollup",
|
||||
"version": "4.9.6",
|
||||
"version": "4.40.0",
|
||||
"description": "Next-generation ES module bundler",
|
||||
"main": "dist/rollup.js",
|
||||
"module": "dist/es/rollup.js",
|
||||
@@ -19,14 +19,21 @@
|
||||
"aarch64-apple-darwin",
|
||||
"aarch64-linux-android",
|
||||
"aarch64-pc-windows-msvc",
|
||||
"aarch64-unknown-freebsd",
|
||||
"aarch64-unknown-linux-gnu",
|
||||
"aarch64-unknown-linux-musl",
|
||||
"armv7-linux-androideabi",
|
||||
"armv7-unknown-linux-gnueabihf",
|
||||
"armv7-unknown-linux-musleabihf",
|
||||
"i686-pc-windows-msvc",
|
||||
"loongarch64-unknown-linux-gnu",
|
||||
"riscv64gc-unknown-linux-gnu",
|
||||
"riscv64gc-unknown-linux-musl",
|
||||
"powerpc64le-unknown-linux-gnu",
|
||||
"s390x-unknown-linux-gnu",
|
||||
"x86_64-apple-darwin",
|
||||
"x86_64-pc-windows-msvc",
|
||||
"x86_64-unknown-freebsd",
|
||||
"x86_64-unknown-linux-gnu",
|
||||
"x86_64-unknown-linux-musl"
|
||||
]
|
||||
@@ -36,7 +43,7 @@
|
||||
"build": "concurrently -c green,blue \"npm run build:wasm\" \"npm:build:ast-converters\" && concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js\" && npm run build:copy-native",
|
||||
"build:quick": "concurrently -c green,blue 'npm:build:napi' 'npm:build:cjs' && npm run build:copy-native",
|
||||
"build:napi": "napi build --platform --dts native.d.ts --js false --cargo-cwd rust -p bindings_napi --cargo-name bindings_napi",
|
||||
"build:wasm": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm --target web --no-pack && shx rm wasm/.gitignore",
|
||||
"build:wasm": "cross-env RUSTFLAGS=\"-C opt-level=z\" wasm-pack build rust/bindings_wasm --out-dir ../../wasm --target web --no-pack && shx rm wasm/.gitignore",
|
||||
"build:wasm:node": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm-node --target nodejs --no-pack && shx rm wasm-node/.gitignore",
|
||||
"update:napi": "npm run build:napi && npm run build:copy-native",
|
||||
"build:js": "rollup --config rollup.config.ts --configPlugin typescript --forceExit",
|
||||
@@ -44,9 +51,10 @@
|
||||
"build:prepare": "concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js:node\" && npm run build:copy-native",
|
||||
"update:js": "npm run build:js && npm run build:copy-native",
|
||||
"build:copy-native": "shx mkdir -p dist && shx cp rollup.*.node dist/",
|
||||
"dev": "vitepress dev docs",
|
||||
"dev": "concurrently -kc green,blue 'nodemon --watch rust -e rs --exec \"npm run build:wasm\"' 'vitepress dev docs'",
|
||||
"build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit",
|
||||
"build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --forceExit && shx rm -rf dist-build",
|
||||
"build:bootstrap:cjs": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit && shx rm -rf dist-build",
|
||||
"build:docs": "vitepress build docs",
|
||||
"build:ast-converters": "node scripts/generate-ast-converters.js",
|
||||
"preview:docs": "vitepress preview docs",
|
||||
@@ -54,7 +62,7 @@
|
||||
"ci:lint": "concurrently -c red,yellow,green,blue 'npm:lint:js:nofix' 'npm:lint:native-js' 'npm:lint:markdown:nofix' 'npm:lint:rust:nofix'",
|
||||
"ci:test:only": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && npm run test:only",
|
||||
"ci:test:all": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && concurrently --kill-others-on-fail -c green,blue,magenta,cyan 'npm:test:only' 'npm:test:typescript' 'npm:test:leak' 'npm:test:browser'",
|
||||
"ci:coverage": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && nyc --reporter lcovonly mocha",
|
||||
"ci:coverage": "npm run build:cjs && npm run build:copy-native && npm run build:bootstrap && npm run build:copy-native && NODE_OPTIONS=--no-experimental-detect-module nyc --reporter lcovonly mocha",
|
||||
"lint": "concurrently -c red,yellow,green,blue 'npm:lint:js' 'npm:lint:native-js' 'npm:lint:markdown' 'npm:lint:rust'",
|
||||
"lint:js": "eslint . --fix --cache",
|
||||
"lint:js:nofix": "eslint . --cache",
|
||||
@@ -63,9 +71,8 @@
|
||||
"lint:markdown:nofix": "prettier --check \"**/*.md\"",
|
||||
"lint:rust": "cd rust && cargo fmt && cargo clippy --fix --allow-dirty",
|
||||
"lint:rust:nofix": "cd rust && cargo fmt --check && cargo clippy",
|
||||
"perf": "npm run build:cjs && node --expose-gc scripts/perf.js",
|
||||
"perf:init": "node scripts/perf-init.js",
|
||||
"prepare": "husky install && node scripts/check-release.js || npm run build:prepare",
|
||||
"perf": "npm run build:bootstrap:cjs && node --expose-gc scripts/perf-report/index.js",
|
||||
"prepare": "husky && node scripts/check-release.js || npm run build:prepare",
|
||||
"prepublishOnly": "node scripts/check-release.js && node scripts/prepublish.js",
|
||||
"postpublish": "node scripts/postpublish.js",
|
||||
"prepublish:napi": "napi prepublish --skip-gh-release",
|
||||
@@ -75,10 +82,10 @@
|
||||
"test:update-snapshots": "node scripts/update-snapshots.js",
|
||||
"test:cjs": "npm run build:cjs && npm run test:only",
|
||||
"test:quick": "mocha -b test/test.js",
|
||||
"test:all": "concurrently --kill-others-on-fail -c green,blue,magenta,cyan,red 'npm:test:only' 'npm:test:browser' 'npm:test:typescript' 'npm:test:leak' 'npm:test:package' 'npm:test:options'",
|
||||
"test:all": "concurrently --kill-others-on-fail -c green,blue,magenta,cyan,red 'npm:test:only' 'npm:test:browser' 'npm:test:typescript' 'npm:test:package' 'npm:test:options'",
|
||||
"test:coverage": "npm run build:cjs && shx rm -rf coverage/* && nyc --reporter html mocha test/test.js",
|
||||
"test:coverage:browser": "npm run build && shx rm -rf coverage/* && nyc mocha test/browser/index.js",
|
||||
"test:leak": "node --expose-gc test/leak/index.js",
|
||||
"test:leak": "npm install --no-save weak-napi && node --expose-gc test/leak/index.js",
|
||||
"test:package": "node scripts/test-package.js",
|
||||
"test:options": "node scripts/test-options.js",
|
||||
"test:only": "mocha test/test.js",
|
||||
@@ -102,110 +109,127 @@
|
||||
"homepage": "https://rollupjs.org/",
|
||||
"optionalDependencies": {
|
||||
"fsevents": "~2.3.2",
|
||||
"@rollup/rollup-darwin-arm64": "4.9.6",
|
||||
"@rollup/rollup-android-arm64": "4.9.6",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.9.6",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.9.6",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.9.6",
|
||||
"@rollup/rollup-android-arm-eabi": "4.9.6",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.9.6",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.9.6",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.9.6",
|
||||
"@rollup/rollup-darwin-x64": "4.9.6",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.9.6",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.9.6",
|
||||
"@rollup/rollup-linux-x64-musl": "4.9.6"
|
||||
"@rollup/rollup-darwin-arm64": "4.40.0",
|
||||
"@rollup/rollup-android-arm64": "4.40.0",
|
||||
"@rollup/rollup-win32-arm64-msvc": "4.40.0",
|
||||
"@rollup/rollup-freebsd-arm64": "4.40.0",
|
||||
"@rollup/rollup-linux-arm64-gnu": "4.40.0",
|
||||
"@rollup/rollup-linux-arm64-musl": "4.40.0",
|
||||
"@rollup/rollup-android-arm-eabi": "4.40.0",
|
||||
"@rollup/rollup-linux-arm-gnueabihf": "4.40.0",
|
||||
"@rollup/rollup-linux-arm-musleabihf": "4.40.0",
|
||||
"@rollup/rollup-win32-ia32-msvc": "4.40.0",
|
||||
"@rollup/rollup-linux-loongarch64-gnu": "4.40.0",
|
||||
"@rollup/rollup-linux-riscv64-gnu": "4.40.0",
|
||||
"@rollup/rollup-linux-riscv64-musl": "4.40.0",
|
||||
"@rollup/rollup-linux-powerpc64le-gnu": "4.40.0",
|
||||
"@rollup/rollup-linux-s390x-gnu": "4.40.0",
|
||||
"@rollup/rollup-darwin-x64": "4.40.0",
|
||||
"@rollup/rollup-win32-x64-msvc": "4.40.0",
|
||||
"@rollup/rollup-freebsd-x64": "4.40.0",
|
||||
"@rollup/rollup-linux-x64-gnu": "4.40.0",
|
||||
"@rollup/rollup-linux-x64-musl": "4.40.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/estree": "1.0.5"
|
||||
"@types/estree": "1.0.7"
|
||||
},
|
||||
"devDependenciesComments": {
|
||||
"@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps"
|
||||
"core-js": "We only update manually as every update requires a snapshot update"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@codemirror/commands": "^6.3.3",
|
||||
"@codemirror/lang-javascript": "^6.2.1",
|
||||
"@codemirror/language": "^6.10.0",
|
||||
"@codemirror/search": "^6.5.5",
|
||||
"@codemirror/state": "^6.4.0",
|
||||
"@codemirror/view": "^6.23.0",
|
||||
"@jridgewell/sourcemap-codec": "^1.4.15",
|
||||
"@mermaid-js/mermaid-cli": "^10.6.1",
|
||||
"@napi-rs/cli": "^2.17.0",
|
||||
"@rollup/plugin-alias": "^5.1.0",
|
||||
"@codemirror/commands": "^6.8.1",
|
||||
"@codemirror/lang-javascript": "^6.2.3",
|
||||
"@codemirror/language": "^6.11.0",
|
||||
"@codemirror/search": "^6.5.10",
|
||||
"@codemirror/state": "^6.5.2",
|
||||
"@codemirror/view": "^6.36.5",
|
||||
"@eslint/js": "^9.24.0",
|
||||
"@inquirer/prompts": "^7.4.1",
|
||||
"@jridgewell/sourcemap-codec": "^1.5.0",
|
||||
"@mermaid-js/mermaid-cli": "^11.4.2",
|
||||
"@napi-rs/cli": "^2.18.4",
|
||||
"@rollup/plugin-alias": "^5.1.1",
|
||||
"@rollup/plugin-buble": "^1.0.3",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
"@rollup/plugin-commonjs": "^28.0.3",
|
||||
"@rollup/plugin-json": "^6.1.0",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@rollup/plugin-replace": "^5.0.5",
|
||||
"@rollup/plugin-node-resolve": "^16.0.1",
|
||||
"@rollup/plugin-replace": "^6.0.2",
|
||||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"@rollup/plugin-typescript": "11.1.5",
|
||||
"@rollup/pluginutils": "^5.1.0",
|
||||
"@types/eslint": "^8.56.2",
|
||||
"@types/inquirer": "^9.0.7",
|
||||
"@types/mocha": "^10.0.6",
|
||||
"@types/node": "^18.11.19",
|
||||
"@rollup/plugin-typescript": "^12.1.2",
|
||||
"@rollup/pluginutils": "^5.1.4",
|
||||
"@shikijs/vitepress-twoslash": "^3.2.1",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "^18.19.86",
|
||||
"@types/picomatch": "^4.0.0",
|
||||
"@types/semver": "^7.7.0",
|
||||
"@types/yargs-parser": "^21.0.3",
|
||||
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
||||
"@typescript-eslint/parser": "^6.19.0",
|
||||
"@vue/eslint-config-prettier": "^9.0.0",
|
||||
"@vue/eslint-config-typescript": "^12.0.0",
|
||||
"acorn": "^8.11.3",
|
||||
"@vue/language-server": "^2.2.8",
|
||||
"acorn": "^8.14.1",
|
||||
"acorn-import-assertions": "^1.9.0",
|
||||
"acorn-jsx": "^5.3.2",
|
||||
"buble": "^0.20.0",
|
||||
"builtin-modules": "^3.3.0",
|
||||
"chokidar": "^3.5.3",
|
||||
"colorette": "^2.0.20",
|
||||
"concurrently": "^8.2.2",
|
||||
"core-js": "^3.35.0",
|
||||
"builtin-modules": "^5.0.0",
|
||||
"chokidar": "^3.6.0",
|
||||
"concurrently": "^9.1.2",
|
||||
"core-js": "3.38.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"date-time": "^4.0.0",
|
||||
"es5-shim": "^4.6.7",
|
||||
"es6-shim": "^0.35.8",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"eslint-plugin-unicorn": "^50.0.1",
|
||||
"eslint-plugin-vue": "^9.20.1",
|
||||
"eslint": "^9.24.0",
|
||||
"eslint-config-prettier": "^10.1.1",
|
||||
"eslint-plugin-prettier": "^5.2.6",
|
||||
"eslint-plugin-unicorn": "^58.0.0",
|
||||
"eslint-plugin-vue": "^10.0.0",
|
||||
"fixturify": "^3.0.0",
|
||||
"flru": "^1.0.2",
|
||||
"fs-extra": "^11.2.0",
|
||||
"fs-extra": "^11.3.0",
|
||||
"github-api": "^3.4.0",
|
||||
"husky": "^8.0.3",
|
||||
"inquirer": "^9.2.12",
|
||||
"is-reference": "^3.0.2",
|
||||
"lint-staged": "^15.2.0",
|
||||
"globals": "^16.0.0",
|
||||
"husky": "^9.1.7",
|
||||
"is-reference": "^3.0.3",
|
||||
"lint-staged": "^15.5.0",
|
||||
"locate-character": "^3.0.0",
|
||||
"magic-string": "^0.30.5",
|
||||
"mocha": "^10.2.0",
|
||||
"nyc": "^15.1.0",
|
||||
"pinia": "^2.1.7",
|
||||
"prettier": "^3.2.2",
|
||||
"magic-string": "^0.30.17",
|
||||
"mocha": "^11.1.0",
|
||||
"nodemon": "^3.1.9",
|
||||
"nyc": "^17.1.0",
|
||||
"picocolors": "^1.1.1",
|
||||
"picomatch": "^4.0.2",
|
||||
"pinia": "^3.0.1",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-organize-imports": "^4.1.0",
|
||||
"pretty-bytes": "^6.1.1",
|
||||
"pretty-ms": "^8.0.0",
|
||||
"requirejs": "^2.3.6",
|
||||
"rollup": "^4.9.5",
|
||||
"rollup-plugin-license": "^3.2.0",
|
||||
"pretty-ms": "^9.2.0",
|
||||
"requirejs": "^2.3.7",
|
||||
"rollup": "^4.39.0",
|
||||
"rollup-plugin-license": "^3.6.0",
|
||||
"rollup-plugin-string": "^3.0.0",
|
||||
"semver": "^7.5.4",
|
||||
"shx": "^0.3.4",
|
||||
"semver": "^7.7.1",
|
||||
"shx": "^0.4.0",
|
||||
"signal-exit": "^4.1.0",
|
||||
"source-map": "^0.7.4",
|
||||
"source-map-support": "^0.5.21",
|
||||
"systemjs": "^6.14.3",
|
||||
"terser": "^5.26.0",
|
||||
"tslib": "^2.6.2",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.0.11",
|
||||
"vitepress": "^1.0.0-rc.39",
|
||||
"vue": "^3.4.14",
|
||||
"wasm-pack": "^0.12.1",
|
||||
"weak-napi": "^2.0.2",
|
||||
"systemjs": "^6.15.1",
|
||||
"terser": "^5.39.0",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.29.1",
|
||||
"vite": "^6.2.6",
|
||||
"vitepress": "^1.6.3",
|
||||
"vue": "^3.5.13",
|
||||
"vue-tsc": "^2.2.8",
|
||||
"wasm-pack": "^0.13.1",
|
||||
"yargs-parser": "^21.1.1"
|
||||
},
|
||||
"overrides": {
|
||||
"axios": "^1.6.5",
|
||||
"semver": "^7.5.4"
|
||||
"axios": "^1.8.4",
|
||||
"semver": "^7.7.1",
|
||||
"readable-stream": "npm:@built-in/readable-stream@1",
|
||||
"esbuild": ">0.24.2"
|
||||
},
|
||||
"comments": {
|
||||
"vue-tsc": "This is necessary so that prettier-plugin-organize-imports works correctly in Vue templatges"
|
||||
},
|
||||
"files": [
|
||||
"dist/*.node",
|
||||
|
||||
Reference in New Issue
Block a user