diff --git a/crates/node_binding/binding.d.ts b/crates/node_binding/binding.d.ts index c6967e19589f..6463a0b25683 100644 --- a/crates/node_binding/binding.d.ts +++ b/crates/node_binding/binding.d.ts @@ -13,19 +13,19 @@ export type RawLazyCompilationTest = RegExp | ((m: JsModule) => boolean); /* -- napi-rs generated below -- */ -export declare class ExternalObject { +export class ExternalObject { readonly '': { readonly '': unique symbol [K: symbol]: T } } -export declare class DependenciesBlockDto { +export class DependenciesBlockDto { get dependencies(): Array get blocks(): Array } export type DependenciesBlockDTO = DependenciesBlockDto -export declare class DependenciesDto { +export class DependenciesDto { get fileDependencies(): Array get addedFileDependencies(): Array get removedFileDependencies(): Array @@ -41,14 +41,14 @@ export declare class DependenciesDto { } export type DependenciesDTO = DependenciesDto -export declare class EntryDataDto { +export class EntryDataDto { get dependencies(): Array get includeDependencies(): Array get options(): EntryOptionsDto } export type EntryDataDTO = EntryDataDto -export declare class EntryOptionsDto { +export class EntryOptionsDto { get name(): string | undefined set name(name: string | undefined) get runtime(): false | string | undefined @@ -68,7 +68,7 @@ export declare class EntryOptionsDto { } export type EntryOptionsDTO = EntryOptionsDto -export declare class JsCompilation { +export class JsCompilation { updateAsset(filename: string, newSourceOrFunction: JsCompatSource | ((source: JsCompatSource) => JsCompatSource), assetInfoUpdateOrFunction?: JsAssetInfo | ((assetInfo: JsAssetInfo) => JsAssetInfo)): void getAssets(): Readonly[] getAsset(name: string): JsAsset | null @@ -114,7 +114,7 @@ export declare class JsCompilation { addRuntimeModule(chunkUkey: number, runtimeModule: JsAddingRuntimeModule): void } -export declare class JsContextModuleFactoryAfterResolveData { +export class JsContextModuleFactoryAfterResolveData { get resource(): string set resource(resource: string) get context(): string @@ -128,7 +128,7 @@ export declare class JsContextModuleFactoryAfterResolveData { get dependencies(): Array } -export declare class JsContextModuleFactoryBeforeResolveData { +export class JsContextModuleFactoryBeforeResolveData { get context(): string set context(context: string) get request(): string @@ -139,14 +139,14 @@ export declare class JsContextModuleFactoryBeforeResolveData { set recursive(recursive: boolean) } -export declare class JsDependency { +export class JsDependency { get type(): string get category(): string get request(): string | undefined get critical(): boolean } -export declare class JsDependencyMut { +export class JsDependencyMut { get type(): string get category(): string get request(): string | undefined @@ -154,7 +154,7 @@ export declare class JsDependencyMut { set critical(val: boolean) } -export declare class JsEntries { +export class JsEntries { clear(): void get size(): number has(key: string): boolean @@ -165,24 +165,24 @@ export declare class JsEntries { values(): Array } -export declare class JsResolver { +export class JsResolver { resolveSync(path: string, request: string): string | false withOptions(raw?: RawResolveOptionsWithDependencyType | undefined | null): this } -export declare class JsResolverFactory { +export class JsResolverFactory { constructor() get(type: string, options?: RawResolveOptionsWithDependencyType): JsResolver } -export declare class JsStats { +export class JsStats { toJson(jsOptions: JsStatsOptions): JsStatsCompilation hasWarnings(): boolean hasErrors(): boolean getLogging(acceptedTypes: number): Array } -export declare class ModuleDto { +export class ModuleDto { get context(): string | undefined get originalSource(): JsCompatSource | undefined get resource(): string | undefined @@ -200,7 +200,7 @@ export declare class ModuleDto { } export type ModuleDTO = ModuleDto -export declare class Rspack { +export class Rspack { constructor(options: RawOptions, builtinPlugins: Array, registerJsTaps: RegisterJsTaps, outputFilesystem: ThreadsafeNodeFS, resolverFactoryReference: JsResolverFactory) setNonSkippableRegisters(kinds: Array): void /** Build with the given option passed to the constructor */ @@ -209,118 +209,33 @@ export declare class Rspack { rebuild(changed_files: string[], removed_files: string[], callback: (err: null | Error) => void): void } -export declare export function __chunk_graph_inner_get_chunk_entry_dependent_chunks_iterable(jsChunkUkey: number, compilation: JsCompilation): Array - -export declare export function __chunk_graph_inner_get_chunk_entry_modules(jsChunkUkey: number, compilation: JsCompilation): Array - -export declare export function __chunk_graph_inner_get_chunk_modules(jsChunkUkey: number, compilation: JsCompilation): ModuleDTO[] - -export declare export function __chunk_graph_inner_get_chunk_modules_iterable_by_source_type(jsChunkUkey: number, sourceType: string, compilation: JsCompilation): Array - -export declare export function __chunk_group_inner_get_chunk_group(ukey: number, compilation: JsCompilation): JsChunkGroup - -export declare export function __chunk_inner_can_be_initial(jsChunkUkey: number, compilation: JsCompilation): boolean - -export declare export function __chunk_inner_get_all_async_chunks(jsChunkUkey: number, compilation: JsCompilation): Array - -export declare export function __chunk_inner_get_all_initial_chunks(jsChunkUkey: number, compilation: JsCompilation): Array - -export declare export function __chunk_inner_get_all_referenced_chunks(jsChunkUkey: number, compilation: JsCompilation): Array - -export declare export function __chunk_inner_has_runtime(jsChunkUkey: number, compilation: JsCompilation): boolean - -export declare export function __chunk_inner_is_only_initial(jsChunkUkey: number, compilation: JsCompilation): boolean - -export declare export function __entrypoint_inner_get_runtime_chunk(ukey: number, compilation: JsCompilation): JsChunk - -export interface BuiltinPlugin { - name: BuiltinPluginName - options: unknown - canInherentFromParent?: boolean -} - -export declare enum BuiltinPluginName { - DefinePlugin = 'DefinePlugin', - ProvidePlugin = 'ProvidePlugin', - BannerPlugin = 'BannerPlugin', - IgnorePlugin = 'IgnorePlugin', - ProgressPlugin = 'ProgressPlugin', - EntryPlugin = 'EntryPlugin', - DynamicEntryPlugin = 'DynamicEntryPlugin', - ExternalsPlugin = 'ExternalsPlugin', - NodeTargetPlugin = 'NodeTargetPlugin', - ElectronTargetPlugin = 'ElectronTargetPlugin', - EnableChunkLoadingPlugin = 'EnableChunkLoadingPlugin', - EnableLibraryPlugin = 'EnableLibraryPlugin', - EnableWasmLoadingPlugin = 'EnableWasmLoadingPlugin', - FetchCompileAsyncWasmPlugin = 'FetchCompileAsyncWasmPlugin', - ChunkPrefetchPreloadPlugin = 'ChunkPrefetchPreloadPlugin', - CommonJsChunkFormatPlugin = 'CommonJsChunkFormatPlugin', - ArrayPushCallbackChunkFormatPlugin = 'ArrayPushCallbackChunkFormatPlugin', - ModuleChunkFormatPlugin = 'ModuleChunkFormatPlugin', - HotModuleReplacementPlugin = 'HotModuleReplacementPlugin', - LimitChunkCountPlugin = 'LimitChunkCountPlugin', - WorkerPlugin = 'WorkerPlugin', - WebWorkerTemplatePlugin = 'WebWorkerTemplatePlugin', - MergeDuplicateChunksPlugin = 'MergeDuplicateChunksPlugin', - SplitChunksPlugin = 'SplitChunksPlugin', - RemoveDuplicateModulesPlugin = 'RemoveDuplicateModulesPlugin', - ShareRuntimePlugin = 'ShareRuntimePlugin', - ContainerPlugin = 'ContainerPlugin', - ContainerReferencePlugin = 'ContainerReferencePlugin', - ProvideSharedPlugin = 'ProvideSharedPlugin', - ConsumeSharedPlugin = 'ConsumeSharedPlugin', - ModuleFederationRuntimePlugin = 'ModuleFederationRuntimePlugin', - NamedModuleIdsPlugin = 'NamedModuleIdsPlugin', - NaturalModuleIdsPlugin = 'NaturalModuleIdsPlugin', - DeterministicModuleIdsPlugin = 'DeterministicModuleIdsPlugin', - NaturalChunkIdsPlugin = 'NaturalChunkIdsPlugin', - NamedChunkIdsPlugin = 'NamedChunkIdsPlugin', - DeterministicChunkIdsPlugin = 'DeterministicChunkIdsPlugin', - RealContentHashPlugin = 'RealContentHashPlugin', - RemoveEmptyChunksPlugin = 'RemoveEmptyChunksPlugin', - EnsureChunkConditionsPlugin = 'EnsureChunkConditionsPlugin', - WarnCaseSensitiveModulesPlugin = 'WarnCaseSensitiveModulesPlugin', - DataUriPlugin = 'DataUriPlugin', - FileUriPlugin = 'FileUriPlugin', - RuntimePlugin = 'RuntimePlugin', - JsonModulesPlugin = 'JsonModulesPlugin', - InferAsyncModulesPlugin = 'InferAsyncModulesPlugin', - JavascriptModulesPlugin = 'JavascriptModulesPlugin', - AsyncWebAssemblyModulesPlugin = 'AsyncWebAssemblyModulesPlugin', - AssetModulesPlugin = 'AssetModulesPlugin', - SourceMapDevToolPlugin = 'SourceMapDevToolPlugin', - EvalSourceMapDevToolPlugin = 'EvalSourceMapDevToolPlugin', - EvalDevToolModulePlugin = 'EvalDevToolModulePlugin', - SideEffectsFlagPlugin = 'SideEffectsFlagPlugin', - FlagDependencyExportsPlugin = 'FlagDependencyExportsPlugin', - FlagDependencyUsagePlugin = 'FlagDependencyUsagePlugin', - MangleExportsPlugin = 'MangleExportsPlugin', - ModuleConcatenationPlugin = 'ModuleConcatenationPlugin', - CssModulesPlugin = 'CssModulesPlugin', - APIPlugin = 'APIPlugin', - RuntimeChunkPlugin = 'RuntimeChunkPlugin', - SizeLimitsPlugin = 'SizeLimitsPlugin', - NoEmitOnErrorsPlugin = 'NoEmitOnErrorsPlugin', - ContextReplacementPlugin = 'ContextReplacementPlugin', - HttpExternalsRspackPlugin = 'HttpExternalsRspackPlugin', - CopyRspackPlugin = 'CopyRspackPlugin', - HtmlRspackPlugin = 'HtmlRspackPlugin', - SwcJsMinimizerRspackPlugin = 'SwcJsMinimizerRspackPlugin', - LightningCssMinimizerRspackPlugin = 'LightningCssMinimizerRspackPlugin', - BundlerInfoRspackPlugin = 'BundlerInfoRspackPlugin', - CssExtractRspackPlugin = 'CssExtractRspackPlugin', - JsLoaderRspackPlugin = 'JsLoaderRspackPlugin', - LazyCompilationPlugin = 'LazyCompilationPlugin' -} - -export declare export function cleanupGlobalTrace(): void - -export interface ContextInfo { - issuer: string -} +export function __chunk_graph_inner_get_chunk_entry_dependent_chunks_iterable(jsChunkUkey: number, compilation: JsCompilation): Array + +export function __chunk_graph_inner_get_chunk_entry_modules(jsChunkUkey: number, compilation: JsCompilation): Array + +export function __chunk_graph_inner_get_chunk_modules(jsChunkUkey: number, compilation: JsCompilation): ModuleDTO[] + +export function __chunk_graph_inner_get_chunk_modules_iterable_by_source_type(jsChunkUkey: number, sourceType: string, compilation: JsCompilation): Array + +export function __chunk_group_inner_get_chunk_group(ukey: number, compilation: JsCompilation): JsChunkGroup + +export function __chunk_inner_can_be_initial(jsChunkUkey: number, compilation: JsCompilation): boolean + +export function __chunk_inner_get_all_async_chunks(jsChunkUkey: number, compilation: JsCompilation): Array + +export function __chunk_inner_get_all_initial_chunks(jsChunkUkey: number, compilation: JsCompilation): Array -export declare export function formatDiagnostic(diagnostic: JsDiagnostic): ExternalObject<'Diagnostic'> +export function __chunk_inner_get_all_referenced_chunks(jsChunkUkey: number, compilation: JsCompilation): Array + +export function __chunk_inner_has_runtime(jsChunkUkey: number, compilation: JsCompilation): boolean + +export function __chunk_inner_is_only_initial(jsChunkUkey: number, compilation: JsCompilation): boolean + +export function __entrypoint_inner_get_runtime_chunk(ukey: number, compilation: JsCompilation): JsChunk + +export function cleanupGlobalTrace(): void + +export function formatDiagnostic(diagnostic: JsDiagnostic): ExternalObject<'Diagnostic'> export interface JsAddingRuntimeModule { name: string @@ -450,10 +365,6 @@ export interface JsBuildTimeExecutionOption { baseUri?: string } -export interface JsCacheGroupTestCtx { - module: ModuleDTO -} - export interface JsChunk { __inner_ukey: number __inner_groups: Array @@ -640,40 +551,6 @@ export interface JsLibraryOptions { amdContainer?: string } -export interface JsLoaderContext { - resourceData: Readonly - /** Will be deprecated. Use module.module_identifier instead */ - _moduleIdentifier: Readonly - _module: JsModule - hot: Readonly - /** Content maybe empty in pitching stage */ - content: null | Buffer - additionalData?: any - __internal__parseMeta: Record - sourceMap?: Buffer - cacheable: boolean - fileDependencies: Array - contextDependencies: Array - missingDependencies: Array - buildDependencies: Array - loaderItems: Array - loaderIndex: number - loaderState: Readonly -} - -export interface JsLoaderItem { - request: string - type: string - data: any - normalExecuted: boolean - pitchExecuted: boolean -} - -export declare enum JsLoaderState { - Pitching = 'Pitching', - Normal = 'Normal' -} - export interface JsModule { context?: string originalSource?: JsCompatSource @@ -757,7 +634,7 @@ export interface JsRspackError { hideStack?: boolean } -export declare enum JsRspackSeverity { +export enum JsRspackSeverity { Error = 'Error', Warn = 'Warn' } @@ -1063,696 +940,11 @@ export interface RawAliasOptionItem { redirect: Array } -export interface RawAssetGeneratorDataUrlFnArgs { - filename: string - content: string -} - -export interface RawAssetGeneratorDataUrlOptions { - encoding?: "base64" | "false" | undefined - mimetype?: string -} - -export interface RawAssetGeneratorOptions { - emit?: boolean - filename?: JsFilename - publicPath?: "auto" | JsFilename - dataUrl?: RawAssetGeneratorDataUrlOptions | ((arg: RawAssetGeneratorDataUrlFnArgs) => string) -} - -export interface RawAssetInlineGeneratorOptions { - dataUrl?: RawAssetGeneratorDataUrlOptions | ((arg: RawAssetGeneratorDataUrlFnArgs) => string) -} - -export interface RawAssetParserDataUrl { - type: "options" - options?: RawAssetParserDataUrlOptions -} - -export interface RawAssetParserDataUrlOptions { - maxSize?: number -} - -export interface RawAssetParserOptions { - dataUrlCondition?: RawAssetParserDataUrl -} - -export interface RawAssetResourceGeneratorOptions { - emit?: boolean - filename?: JsFilename - publicPath?: "auto" | JsFilename -} - -export interface RawBannerContentFnCtx { - hash: string - chunk: JsChunk - filename: string -} - -export interface RawBannerPluginOptions { - banner: string | ((...args: any[]) => any) - entryOnly?: boolean - footer?: boolean - raw?: boolean - stage?: number - test?: string | RegExp | (string | RegExp)[] - include?: string | RegExp | (string | RegExp)[] - exclude?: string | RegExp | (string | RegExp)[] -} - -export interface RawBundlerInfoPluginOptions { - version: string - bundler: string - force: boolean | string[] -} - -export interface RawCacheGroupOptions { - key: string - priority?: number - test?: RegExp | string | Function - filename?: string - idHint?: string - /** What kind of chunks should be selected. */ - chunks?: RegExp | 'async' | 'initial' | 'all' - type?: RegExp | string - layer?: RegExp | string - automaticNameDelimiter?: string - minChunks?: number - minSize?: number | RawSplitChunkSizes - maxSize?: number | RawSplitChunkSizes - maxAsyncSize?: number | RawSplitChunkSizes - maxInitialSize?: number | RawSplitChunkSizes - maxAsyncRequests?: number - maxInitialRequests?: number - name?: string | false | Function - reuseExistingChunk?: boolean - enforce?: boolean - usedExports?: boolean -} - -export interface RawCacheOptions { - type: string - maxGenerations: number - maxAge: number - profile: boolean - buildDependencies: Array - cacheDirectory: string - cacheLocation: string - name: string - version: string -} - -export interface RawChunkOptionNameCtx { - module: JsModule - chunks: Array - cacheGroupKey: string -} - -export interface RawConsumeOptions { - key: string - import?: string - importResolved?: string - shareKey: string - shareScope: string - requiredVersion?: string | false | undefined - packageName?: string - strictVersion: boolean - singleton: boolean - eager: boolean -} - -export interface RawConsumeSharedPluginOptions { - consumes: Array - enhanced: boolean -} - -export interface RawContainerPluginOptions { - name: string - shareScope: string - library: JsLibraryOptions - runtime?: false | string - filename?: string - exposes: Array - enhanced: boolean -} - -export interface RawContainerReferencePluginOptions { - remoteType: string - remotes: Array - shareScope?: string - enhanced: boolean -} - -export interface RawContextReplacementPluginOptions { - resourceRegExp: RawRegex - newContentResource?: string - newContentRecursive?: boolean - newContentRegExp?: RawRegex - newContentCreateContextMap?: Record -} - -export interface RawCopyGlobOptions { - caseSensitiveMatch?: boolean - dot?: boolean - ignore?: Array -} - -export interface RawCopyPattern { - from: string - to?: string | ((pathData: { context: string; absoluteFilename?: string }) => string | Promise) - context?: string - toType?: string - noErrorOnMissing: boolean - force: boolean - priority: number - globOptions: RawCopyGlobOptions - info?: RawInfo - transform?: (input: Buffer, absoluteFilename: string) => string | Buffer | Promise | Promise -} - -export interface RawCopyRspackPluginOptions { - patterns: Array -} - -export interface RawCrossOriginLoading { - type: "bool" | "string" - stringPayload?: string - boolPayload?: boolean -} - -export interface RawCssAutoGeneratorOptions { - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" - exportsOnly?: boolean - localIdentName?: string - esModule?: boolean -} - -export interface RawCssAutoParserOptions { - namedExports?: boolean -} - -export interface RawCssExtractPluginOption { - filename: JsFilename - chunkFilename: JsFilename - ignoreOrder: boolean - insert?: string - attributes: Record - linkType?: string - runtime: boolean - pathinfo: boolean -} - -export interface RawCssGeneratorOptions { - exportsOnly?: boolean - esModule?: boolean -} - -export interface RawCssModuleGeneratorOptions { - exportsConvention?: "as-is" | "camel-case" | "camel-case-only" | "dashes" | "dashes-only" - exportsOnly?: boolean - localIdentName?: string - esModule?: boolean -} - -export interface RawCssModuleParserOptions { - namedExports?: boolean -} - -export interface RawCssParserOptions { - namedExports?: boolean -} - -export interface RawDraft { - customMedia: boolean -} - -export interface RawDynamicEntryPluginOptions { - context: string - entry: () => Promise -} - -export interface RawEntryDynamicResult { - import: Array - options: JsEntryOptions -} - -export interface RawEnvironment { - const?: boolean - arrowFunction?: boolean -} - -export interface RawEvalDevToolModulePluginOptions { - namespace?: string - moduleFilenameTemplate?: string | ((info: RawModuleFilenameTemplateFnCtx) => string) - sourceUrlComment?: string -} - -export interface RawExperiments { - layers: boolean - topLevelAwait: boolean - incremental?: RawIncremental - rspackFuture: RawRspackFuture -} - -export interface RawExposeOptions { - key: string - name?: string - import: Array -} - -export interface RawExternalItemFnCtx { - request: string - context: string - dependencyType: string - contextInfo: ContextInfo -} - -export interface RawExternalItemFnResult { - externalType?: string - result?: string | boolean | string[] | Record -} - -export interface RawExternalsPluginOptions { - type: string - externals: (string | RegExp | Record> | ((...args: any[]) => any))[] -} - -export interface RawExternalsPresets { - node: boolean - web: boolean - electron: boolean - electronMain: boolean - electronPreload: boolean - electronRenderer: boolean -} - -export interface RawExtractComments { - banner?: string | boolean - condition?: string -} - -export interface RawFallbackCacheGroupOptions { - chunks?: RegExp | 'async' | 'initial' | 'all' - minSize?: number | RawSplitChunkSizes - maxSize?: number | RawSplitChunkSizes - maxAsyncSize?: number | RawSplitChunkSizes - maxInitialSize?: number | RawSplitChunkSizes - automaticNameDelimiter?: string -} - -export interface RawFuncUseCtx { - resource?: string - realResource?: string - resourceQuery?: string - issuer?: string -} - -export interface RawGeneratorOptions { - type: "asset" | "asset/inline" | "asset/resource" | "css" | "css/auto" | "css/module" - asset?: RawAssetGeneratorOptions - assetInline?: RawAssetInlineGeneratorOptions - assetResource?: RawAssetResourceGeneratorOptions - css?: RawCssGeneratorOptions - cssAuto?: RawCssAutoGeneratorOptions - cssModule?: RawCssModuleGeneratorOptions -} - -export interface RawHtmlRspackPluginBaseOptions { - href?: string - target?: "_self" | "_blank" | "_parent" | "_top" -} - -export interface RawHtmlRspackPluginOptions { - /** emitted file name in output path */ - filename?: string[] - /** template html file */ - template?: string - templateFn?: (data: string) => Promise - templateContent?: string - templateParameters?: boolean | Record | ((params: string) => Promise) - /** "head", "body" or "false" */ - inject: "head" | "body" | "false" - /** path or `auto` */ - publicPath?: string - /** `blocking`, `defer`, `module` or `systemjs-module` */ - scriptLoading: "blocking" | "defer" | "module" | "systemjs-module" - /** entry_chunk_name (only entry chunks are supported) */ - chunks?: Array - excludeChunks?: Array - sri?: "sha256" | "sha384" | "sha512" - minify?: boolean - title?: string - favicon?: string - meta?: Record> - hash?: boolean - base?: RawHtmlRspackPluginBaseOptions -} - -export interface RawHttpExternalsRspackPluginOptions { - css: boolean - webAsync: boolean -} - -export interface RawIgnorePluginOptions { - resourceRegExp?: RegExp - contextRegExp?: RegExp - checkResource?: (resource: string, context: string) => boolean -} - -export interface RawIncremental { - make: boolean - emitAssets: boolean - inferAsyncModules: boolean - providedExports: boolean - dependenciesDiagnostics: boolean - modulesHashes: boolean - modulesCodegen: boolean - modulesRuntimeRequirements: boolean - buildChunkGraph: boolean -} - -export interface RawInfo { - immutable?: boolean - minimized?: boolean - chunkHash?: Array - contentHash?: Array - development?: boolean - hotModuleReplacement?: boolean - related?: RawRelated - version?: string -} - -export interface RawJavascriptParserOptions { - dynamicImportMode?: string - dynamicImportPreload?: string - dynamicImportPrefetch?: string - dynamicImportFetchPriority?: string - url?: string - exprContextCritical?: boolean - wrappedContextCritical?: boolean - wrappedContextRegExp?: RegExp - exportsPresence?: string - importExportsPresence?: string - reexportExportsPresence?: string - strictExportPresence?: boolean - worker?: Array - overrideStrict?: string - importMeta?: boolean - /** - * This option is experimental in Rspack only and subject to change or be removed anytime. - * @experimental - */ - requireAsExpression?: boolean - /** - * This option is experimental in Rspack only and subject to change or be removed anytime. - * @experimental - */ - requireDynamic?: boolean - /** - * This option is experimental in Rspack only and subject to change or be removed anytime. - * @experimental - */ - requireResolve?: boolean - /** - * This option is experimental in Rspack only and subject to change or be removed anytime. - * @experimental - */ - importDynamic?: boolean -} - -export interface RawLazyCompilationOption { - module: (err: Error | null, arg: RawModuleArg) => any - test?: RawLazyCompilationTest - entries: boolean - imports: boolean - cacheable: boolean -} - -export interface RawLightningCssBrowsers { - android?: number - chrome?: number - edge?: number - firefox?: number - ie?: number - ios_saf?: number - opera?: number - safari?: number - samsung?: number -} - -export interface RawLightningCssMinimizerOptions { - errorRecovery: boolean - targets?: Array - include?: number - exclude?: number - draft?: RawDraft - nonStandard?: RawNonStandard - pseudoClasses?: RawLightningCssPseudoClasses - unusedSymbols: Array -} - -export interface RawLightningCssMinimizerRspackPluginOptions { - test?: string | RegExp | (string | RegExp)[] - include?: string | RegExp | (string | RegExp)[] - exclude?: string | RegExp | (string | RegExp)[] - removeUnusedLocalIdents: boolean - minimizerOptions: RawLightningCssMinimizerOptions -} - -export interface RawLightningCssPseudoClasses { - hover?: string - active?: string - focus?: string - focusVisible?: string - focusWithin?: string -} - -export interface RawLimitChunkCountPluginOptions { - chunkOverhead?: number - entryChunkMultiplicator?: number - maxChunks: number -} - -export interface RawModuleArg { - module: string - path: string -} - -export interface RawModuleFilenameTemplateFnCtx { - identifier: string - shortIdentifier: string - resource: string - resourcePath: string - absoluteResourcePath: string - loaders: string - allLoaders: string - query: string - moduleId: string - hash: string - namespace: string -} - -export interface RawModuleInfo { - active: boolean - client: string - data: string -} - -export interface RawModuleOptions { - rules: Array - parser?: Record - generator?: Record - noParse?: string | RegExp | ((request: string) => boolean) | (string | RegExp | ((request: string) => boolean))[] -} - -export interface RawModuleRule { - /** - * A conditional match matching an absolute path + query + fragment. - * Note: - * This is a custom matching rule not initially designed by webpack. - * Only for single-threaded environment interoperation purpose. - */ - rspackResource?: RawRuleSetCondition - /** A condition matcher matching an absolute path. */ - test?: RawRuleSetCondition - include?: RawRuleSetCondition - exclude?: RawRuleSetCondition - /** A condition matcher matching an absolute path. */ - resource?: RawRuleSetCondition - /** A condition matcher against the resource query. */ - resourceQuery?: RawRuleSetCondition - resourceFragment?: RawRuleSetCondition - descriptionData?: Record - with?: Record - sideEffects?: boolean - use?: RawModuleRuleUse[] | ((arg: RawFuncUseCtx) => RawModuleRuleUse[]) - type?: string - layer?: string - parser?: RawParserOptions - generator?: RawGeneratorOptions - resolve?: RawResolveOptions - issuer?: RawRuleSetCondition - issuerLayer?: RawRuleSetCondition - dependency?: RawRuleSetCondition - scheme?: RawRuleSetCondition - mimetype?: RawRuleSetCondition - oneOf?: Array - rules?: Array - /** Specifies the category of the loader. No value means normal loader. */ - enforce?: 'pre' | 'post' -} - -/** - * `loader` is for both JS and Rust loaders. - * `options` is - * - a `None` on rust side and handled by js side `getOptions` when - * using with `loader`. - * - a `Some(string)` on rust side, deserialized by `serde_json::from_str` - * and passed to rust side loader in [get_builtin_loader] when using with - * `builtin_loader`. - */ -export interface RawModuleRuleUse { - loader: string - options?: string -} - -export interface RawNodeOption { - dirname: string - filename: string - global: string -} - -export interface RawNonStandard { - deepSelectorCombinator: boolean -} - -export interface RawOptimizationOptions { - removeAvailableModules: boolean - sideEffects: string - usedExports: string - providedExports: boolean - innerGraph: boolean - mangleExports: string - concatenateModules: boolean -} - -export interface RawOptions { - mode?: undefined | 'production' | 'development' | 'none' - target: Array - context: string - output: RawOutputOptions - resolve: RawResolveOptions - resolveLoader: RawResolveOptions - module: RawModuleOptions - devtool: string - optimization: RawOptimizationOptions - stats: RawStatsOptions - snapshot: RawSnapshotOptions - cache: RawCacheOptions - experiments: RawExperiments - node?: RawNodeOption - profile: boolean - bail: boolean - __references: Record -} - -export interface RawOutputOptions { - path: string - pathinfo: boolean | "verbose" - clean: boolean - publicPath: "auto" | JsFilename - assetModuleFilename: JsFilename - wasmLoading: string - enabledWasmLoadingTypes: Array - webassemblyModuleFilename: string - filename: JsFilename - chunkFilename: JsFilename - crossOriginLoading: RawCrossOriginLoading - cssFilename: JsFilename - cssChunkFilename: JsFilename - cssHeadDataCompression: boolean - hotUpdateMainFilename: string - hotUpdateChunkFilename: string - hotUpdateGlobal: string - uniqueName: string - chunkLoadingGlobal: string - library?: JsLibraryOptions - strictModuleErrorHandling: boolean - enabledLibraryTypes?: Array - globalObject: string - importFunctionName: string - importMetaName: string - iife: boolean - module: boolean - chunkLoading: string - chunkLoadTimeout: number - charset: boolean - enabledChunkLoadingTypes?: Array - trustedTypes?: RawTrustedTypes - sourceMapFilename: string - hashFunction: string - hashDigest: string - hashDigestLength: number - hashSalt?: string - asyncChunks: boolean - workerChunkLoading: string - workerWasmLoading: string - workerPublicPath: string - scriptType: "module" | "text/javascript" | "false" - environment: RawEnvironment - compareBeforeEmit: boolean -} - -export interface RawParserOptions { - type: "asset" | "css" | "css/auto" | "css/module" | "javascript" | "javascript/auto" | "javascript/dynamic" | "javascript/esm" - asset?: RawAssetParserOptions - css?: RawCssParserOptions - cssAuto?: RawCssAutoParserOptions - cssModule?: RawCssModuleParserOptions - javascript?: RawJavascriptParserOptions -} - -export interface RawPathData { - filename?: string - contentHash?: string - url?: string -} - -export interface RawProgressPluginOptions { - prefix?: string - profile?: boolean - template?: string - tick?: string | Array - progressChars?: string - handler?: (percent: number, msg: string, items: string[]) => void -} - -export interface RawProvideOptions { - key: string - shareKey: string - shareScope: string - version?: string | false | undefined - eager: boolean - singleton?: boolean - requiredVersion?: string | false | undefined - strictVersion?: boolean -} - export interface RawRegex { source: string flags: string } -export interface RawRelated { - sourceMap?: string -} - -export interface RawRemoteOptions { - key: string - external: Array - shareScope: string -} - export interface RawResolveOptions { preferRelative?: boolean preferAbsolute?: boolean @@ -1809,121 +1001,6 @@ export interface RawResolveTsconfigOptions { references?: Array } -export interface RawRspackFuture { - -} - -export interface RawRuleSetCondition { - type: RawRuleSetConditionType - string?: string - regexp?: RawRegex - logical?: Array - array?: Array - func?: (value: string) => boolean -} - -export declare enum RawRuleSetConditionType { - string = 'string', - regexp = 'regexp', - logical = 'logical', - array = 'array', - func = 'func' -} - -export interface RawRuleSetLogicalConditions { - and?: Array - or?: Array - not?: RawRuleSetCondition -} - -export interface RawRuntimeChunkNameFnCtx { - name: string -} - -export interface RawRuntimeChunkOptions { - name: string | ((entrypoint: { name: string }) => string) -} - -export interface RawSizeLimitsPluginOptions { - assetFilter?: (assetFilename: string) => boolean - hints?: "error" | "warning" - maxAssetSize?: number - maxEntrypointSize?: number -} - -export interface RawSnapshotOptions { - -} - -export interface RawSourceMapDevToolPluginOptions { - append?: (false | null) | string | Function - columns?: boolean - fallbackModuleFilenameTemplate?: string | ((info: RawModuleFilenameTemplateFnCtx) => string) - fileContext?: string - filename?: (false | null) | string - module?: boolean - moduleFilenameTemplate?: string | ((info: RawModuleFilenameTemplateFnCtx) => string) - namespace?: string - noSources?: boolean - publicPath?: string - sourceRoot?: string - test?: (text: string) => boolean -} - -export interface RawSplitChunkSizes { - sizes: Record -} - -export interface RawSplitChunksOptions { - fallbackCacheGroup?: RawFallbackCacheGroupOptions - name?: string | false | Function - cacheGroups?: Array - /** What kind of chunks should be selected. */ - chunks?: RegExp | 'async' | 'initial' | 'all' | Function - usedExports?: boolean - automaticNameDelimiter?: string - maxAsyncRequests?: number - maxInitialRequests?: number - defaultSizeTypes: Array - minChunks?: number - hidePathInfo?: boolean - minSize?: number | RawSplitChunkSizes - enforceSizeThreshold?: number - minRemainingSize?: number | RawSplitChunkSizes - maxSize?: number | RawSplitChunkSizes - maxAsyncSize?: number | RawSplitChunkSizes - maxInitialSize?: number | RawSplitChunkSizes -} - -export interface RawStatsOptions { - colors: boolean -} - -export interface RawSwcJsMinimizerOptions { - compress: any - mangle: any - format: any - module?: boolean - minify?: boolean -} - -export interface RawSwcJsMinimizerRspackPluginOptions { - test?: string | RegExp | (string | RegExp)[] - include?: string | RegExp | (string | RegExp)[] - exclude?: string | RegExp | (string | RegExp)[] - extractComments?: RawExtractComments - minimizerOptions: RawSwcJsMinimizerOptions -} - -export interface RawToOptions { - context: string - absoluteFilename: string -} - -export interface RawTrustedTypes { - policyName?: string -} - /** * Some code is modified based on * https://github.com/swc-project/swc/blob/d1d0607158ab40463d1b123fed52cc526eba8385/bindings/binding_core_node/src/util.rs#L29-L58 @@ -1931,9 +1008,9 @@ export interface RawTrustedTypes { * Author Donny/강동윤 * Copyright (c) */ -export declare export function registerGlobalTrace(filter: string, layer: "chrome" | "logger"| "console", output: string): void +export function registerGlobalTrace(filter: string, layer: "chrome" | "logger"| "console", output: string): void -export declare enum RegisterJsTapKind { +export enum RegisterJsTapKind { CompilerThisCompilation = 0, CompilerCompilation = 1, CompilerMake = 2, @@ -2032,3 +1109,4 @@ export interface ThreadsafeNodeFS { stat: (name: string) => Promise | NodeFsStats | void lstat: (name: string) => Promise | NodeFsStats | void } + diff --git a/crates/node_binding/package.json b/crates/node_binding/package.json index 8069b7773ab3..02b69524c8c9 100644 --- a/crates/node_binding/package.json +++ b/crates/node_binding/package.json @@ -39,7 +39,7 @@ "bugs": "https://github.com/web-infra-dev/rspack/issues", "repository": "web-infra-dev/rspack", "devDependencies": { - "@napi-rs/cli": "3.0.0-alpha.64", + "@napi-rs/cli": "3.0.0-alpha.45", "typescript": "^5.6.3" }, "napi": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 34786a1670da..a24c990cd8d5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -111,8 +111,8 @@ importers: version: link:../../npm/win32-x64-msvc devDependencies: '@napi-rs/cli': - specifier: 3.0.0-alpha.64 - version: 3.0.0-alpha.64(@emnapi/runtime@1.3.1)(@types/node@20.12.7) + specifier: 3.0.0-alpha.45 + version: 3.0.0-alpha.45(@emnapi/runtime@1.3.1) typescript: specifier: ^5.6.3 version: 5.6.3 @@ -1835,86 +1835,10 @@ packages: resolution: {integrity: sha512-7bQW+gkKa2kKZPeJf6+c6gFK9ARxQfn+FKy9ScTBppyKRWH2KzsmweXUoklqeEiHiNVWaeP5csIdsNq6w7QhzA==} engines: {node: '>=12.20'} - '@inquirer/checkbox@4.0.1': - resolution: {integrity: sha512-ehJjmNPdguajc1hStvjN7DJNVjwG5LC1mgGMGFjCmdkn2fxB2GtULftMnlaqNmvMdPpqdaSoOFpl86VkLtG4pQ==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/confirm@5.0.1': - resolution: {integrity: sha512-6ycMm7k7NUApiMGfVc32yIPp28iPKxhGRMqoNDiUjq2RyTAkbs5Fx0TdzBqhabcKvniDdAAvHCmsRjnNfTsogw==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/core@10.0.1': - resolution: {integrity: sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==} - engines: {node: '>=18'} - - '@inquirer/editor@4.0.1': - resolution: {integrity: sha512-qAHHJ6hs343eNtCKgV2wV5CImFxYG8J1pl/YCeI5w9VoW7QpulRUU26+4NsMhjR6zDRjKBsH/rRjCIcaAOHsrg==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/expand@4.0.1': - resolution: {integrity: sha512-9anjpdc802YInXekwePsa5LWySzVMHbhVS6v6n5IJxrl8w09mODOeP69wZ1d0WrOvot2buQSmYp4lW/pq8y+zQ==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/figures@1.0.7': resolution: {integrity: sha512-m+Trk77mp54Zma6xLkLuY+mvanPxlE4A7yNKs2HBiyZ4UkVs28Mv5c/pgWrHeInx+USHeX/WEPzjrWrcJiQgjw==} engines: {node: '>=18'} - '@inquirer/input@4.0.1': - resolution: {integrity: sha512-m+SliZ2m43cDRIpAdQxfv5QOeAQCuhS8TGLvtzEP1An4IH1kBES4RLMRgE/fC+z29aN8qYG8Tq/eXQQKTYwqAg==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/number@3.0.1': - resolution: {integrity: sha512-gF3erqfm0snpwBjbyKXUUe17QJ7ebm49btXApajrM0rgCCoYX0o9W5NCuYNae87iPxaIJVjtuoQ42DX32IdbMA==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/password@4.0.1': - resolution: {integrity: sha512-D7zUuX4l4ZpL3D7/SWu9ibijP09jigwHi/gfUHLx5GMS5oXzuMfPV2xPMG1tskco4enTx70HA0VtMXecerpvbg==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/prompts@7.0.1': - resolution: {integrity: sha512-cu2CpGC2hz7WTt2VBvdkzahDvYice6vYA/8Dm7Fy3tRNzKuQTF2EY3CV4H2GamveWE6tA2XzyXtbWX8+t4WMQg==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/rawlist@4.0.1': - resolution: {integrity: sha512-0LuMOgaWs7W8JNcbiKkoFwyWFDEeCmLqDCygF0hidQUVa6J5grFVRZxrpompiWDFM49Km2rf7WoZwRo1uf1yWQ==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/search@3.0.1': - resolution: {integrity: sha512-ehMqjiO0pAf+KtdONKeCLVy4i3fy3feyRRhDrvzWhiwB8JccgKn7eHFr39l+Nx/FaZAhr0YxIJvkK5NuNvG+Ww==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/select@4.0.1': - resolution: {integrity: sha512-tVRatFRGU49bxFCKi/3P+C0E13KZduNFbWuHWRx0L2+jbiyKRpXgHp9qiRHWRk/KarhYBXzH/di6w3VQ5aJd5w==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - - '@inquirer/type@3.0.0': - resolution: {integrity: sha512-YYykfbw/lefC7yKj7nanzQXILM7r3suIvyFlCcMskc99axmsSewXWkAfXKwMbgxL76iAFVmRwmYdwNZNc8gjog==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -2106,8 +2030,8 @@ packages: engines: {node: '>= 10'} hasBin: true - '@napi-rs/cli@3.0.0-alpha.64': - resolution: {integrity: sha512-IYkNvh+SjFd4StEIJVsXa4paAeKakYG80GWTfX3PwpFlrX4fQZ7BkPR1IGWI17x5psz9MQvuEyicwjGWiHxI4A==} + '@napi-rs/cli@3.0.0-alpha.45': + resolution: {integrity: sha512-69m9ssfRMZMLI5A8+nAUrEVTdRe3w8q8oOiH2idI79yt+Uvwj2F+Lde7GN4AV5Z9+Oc17kkf9UQZawNia0ZfkA==} engines: {node: '>= 16'} hasBin: true peerDependencies: @@ -2119,15 +2043,15 @@ packages: emnapi: optional: true - '@napi-rs/cross-toolchain@0.0.16': - resolution: {integrity: sha512-jwdjHT5L0m9MH0CmzDwPp0ckn/UO7afHCsPeo7NugHUvYgvlgS7SWhdMVgIgJW2HHqhcW/2nhaLLGpAU1c7QRQ==} + '@napi-rs/cross-toolchain@0.0.14': + resolution: {integrity: sha512-Xgoe1gCEo5s5VUxmSnK4tYFJXW2JAVM02jptSbqA2+gp8pt4Vuk9oK2LvswwO9iRfHapKacYYhegD8Dq/+PBOQ==} peerDependencies: - '@napi-rs/cross-toolchain-arm64-target-aarch64': ^0.0.16 - '@napi-rs/cross-toolchain-arm64-target-armv7': ^0.0.16 - '@napi-rs/cross-toolchain-arm64-target-x86_64': ^0.0.16 - '@napi-rs/cross-toolchain-x64-target-aarch64': ^0.0.16 - '@napi-rs/cross-toolchain-x64-target-armv7': ^0.0.16 - '@napi-rs/cross-toolchain-x64-target-x86_64': ^0.0.16 + '@napi-rs/cross-toolchain-arm64-target-aarch64': ^0.0.14 + '@napi-rs/cross-toolchain-arm64-target-armv7': ^0.0.14 + '@napi-rs/cross-toolchain-arm64-target-x86_64': ^0.0.14 + '@napi-rs/cross-toolchain-x64-target-aarch64': ^0.0.14 + '@napi-rs/cross-toolchain-x64-target-armv7': ^0.0.14 + '@napi-rs/cross-toolchain-x64-target-x86_64': ^0.0.14 peerDependenciesMeta: '@napi-rs/cross-toolchain-arm64-target-aarch64': optional: true @@ -2349,87 +2273,6 @@ packages: '@napi-rs/wasm-runtime@0.2.5': resolution: {integrity: sha512-kwUxR7J9WLutBbulqg1dfOrMTwhMdXLdcGUhcbCcGwnPLt3gz19uHVdwH1syKVDbE022ZS2vZxOWflFLS0YTjw==} - '@napi-rs/wasm-tools-android-arm-eabi@0.0.2': - resolution: {integrity: sha512-/b+UU3suXjW4P0DzHRNdrnebQtFKcQf/YMeZJH+xUlKgvwli5kbmWjx8Wqqz0VETVkUTuPqJMBDIVLyc+14FGw==} - engines: {node: '>= 10'} - cpu: [arm] - os: [android] - - '@napi-rs/wasm-tools-android-arm64@0.0.2': - resolution: {integrity: sha512-j57GbDflwJdZtT8pZj5fOV4JAP+LdKN+wzsUYs+QRUoBqpWbbUANudolqfw63bkS9sD4z7fbCuz8iwtJqzxTVA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [android] - - '@napi-rs/wasm-tools-darwin-arm64@0.0.2': - resolution: {integrity: sha512-P2ChgWgVuv9GwmbxN89R84KzIImoTqXINteEixUvmkdnhyFiR+I8deNs89Yed+5w8QLC6MEfrtRqLP9YI+NoQA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - - '@napi-rs/wasm-tools-darwin-x64@0.0.2': - resolution: {integrity: sha512-T/kQQ0gt8+wau1Z821PKVAD76QhmwVoLs2CT7Z9tTBs2pJvwSCP0C/kQiQAHcJIMi7A2E9Ab/Mez0BERy50EFA==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - - '@napi-rs/wasm-tools-freebsd-x64@0.0.2': - resolution: {integrity: sha512-GnnHu+r5sfzuxC/1J5UMF/h3BOZnHb3NQZ5hmbCfZYCKzpzRxrAJhzRunlbRN+v0x8M/49dztVTYR3s7K4ooAw==} - engines: {node: '>= 10'} - cpu: [x64] - os: [freebsd] - - '@napi-rs/wasm-tools-linux-arm64-gnu@0.0.2': - resolution: {integrity: sha512-KnZdLT0OnKb1CG2kdt3/WvM43vr9i+FEwXCvSOVC/6Tsifz7ynhMg7LAVESILd03HubzQJfg9nbRsk0bQ+IOwg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - - '@napi-rs/wasm-tools-linux-arm64-musl@0.0.2': - resolution: {integrity: sha512-HkpZOID2U8P6pWqK3mqZ8bxU5xcuT3iA2fO+jrxn78h006iYgfNmdc5JaVhHnHazMmk32xKhSV4iV0VUh8UWDg==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - - '@napi-rs/wasm-tools-linux-x64-gnu@0.0.2': - resolution: {integrity: sha512-YksJWBCyOalB9ogtP9+/dZKP+vR6+h7BmzMXaXMT71WW/GvIsifMVgv+DY/FRSNJQupp5Y+ugjqVAOUOc/G65g==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - - '@napi-rs/wasm-tools-linux-x64-musl@0.0.2': - resolution: {integrity: sha512-sPtRxPMdw05KdTcxgSPMmSXG2+PiK3vJ/l2+g9hvjnnKtvslJN2Hr7j8zgzuoKRAUFPaJVe6+D2xVh5cpdqhww==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - - '@napi-rs/wasm-tools-wasm32-wasi@0.0.2': - resolution: {integrity: sha512-muRvZK7AIuo88G2AxYx3gA59rHMQgoN004saQkBvXnz3K/DVHKfTZ6TtUebss8zI3dURU6xExL8drxFWYxjEbQ==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] - - '@napi-rs/wasm-tools-win32-arm64-msvc@0.0.2': - resolution: {integrity: sha512-Cn13WQ+tpFqdVwx0DIWKbsI9auFyzVZV4F5UNOUeDt6GgOL+NndgJul0Pc9bSU6fi03AylMPfF/nTCaDWO2Wgw==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - - '@napi-rs/wasm-tools-win32-ia32-msvc@0.0.2': - resolution: {integrity: sha512-xsg5DkIQi82a8rcx6246Y3XC8TIqHamY+/C6sIlPLaZEuHctDkMECAw0AANwRf5vN//D2oo2oljOuoYtB1GOKw==} - engines: {node: '>= 10'} - cpu: [ia32] - os: [win32] - - '@napi-rs/wasm-tools-win32-x64-msvc@0.0.2': - resolution: {integrity: sha512-yHigltEt33eq8bappvKsIliz4MxfMPn1M+NWbIFRWN+IS1Z57mhmc1osuk+IRXrSlq0Tom0R6MYN1jpkZKz81Q==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - - '@napi-rs/wasm-tools@0.0.2': - resolution: {integrity: sha512-kBvDQCP5BLw2TxTENXLp3Of7vVEx0uyIye824JHE4dduzzOHVgSoOFVhVqAT3Fx/hLV445RVWfEqQbXMg4w/Mw==} - engines: {node: '>= 10'} - '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -2442,61 +2285,55 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@octokit/auth-token@5.1.1': - resolution: {integrity: sha512-rh3G3wDO8J9wSjfI436JUKzHIxq8NaiL0tVeB2aXmG6p/9859aUOAjA9pmSPNGGZxfwmaJ9ozOJImuNVJdpvbA==} + '@octokit/auth-token@4.0.0': + resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==} engines: {node: '>= 18'} - '@octokit/core@6.1.2': - resolution: {integrity: sha512-hEb7Ma4cGJGEUNOAVmyfdB/3WirWMg5hDuNFVejGEDFqupeOysLc2sG6HJxY2etBp5YQu5Wtxwi020jS9xlUwg==} + '@octokit/core@5.2.0': + resolution: {integrity: sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==} engines: {node: '>= 18'} - '@octokit/endpoint@10.1.1': - resolution: {integrity: sha512-JYjh5rMOwXMJyUpj028cu0Gbp7qe/ihxfJMLc8VZBMMqSwLgOxDI1911gV4Enl1QSavAQNJcwmwBF9M0VvLh6Q==} + '@octokit/endpoint@9.0.5': + resolution: {integrity: sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==} engines: {node: '>= 18'} - '@octokit/graphql@8.1.1': - resolution: {integrity: sha512-ukiRmuHTi6ebQx/HFRCXKbDlOh/7xEV6QUXaE7MJEKGNAncGI/STSbOkl12qVXZrfZdpXctx5O9X1AIaebiDBg==} + '@octokit/graphql@7.1.0': + resolution: {integrity: sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==} engines: {node: '>= 18'} - '@octokit/openapi-types@22.0.0': - resolution: {integrity: sha512-kWzSxSIBjCtwrT8/O/A/nrSjmHvR5I9GGTHPyBU19VuEae+QZfaPnnfLwXgV56n51xHN3U2dYy8zh/kO9/39ig==} - '@octokit/openapi-types@22.2.0': resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==} - '@octokit/plugin-paginate-rest@11.3.5': - resolution: {integrity: sha512-cgwIRtKrpwhLoBi0CUNuY83DPGRMaWVjqVI/bGKsLJ4PzyWZNaEmhHroI2xlrVXkk6nFv0IsZpOp+ZWSWUS2AQ==} + '@octokit/plugin-paginate-rest@11.3.1': + resolution: {integrity: sha512-ryqobs26cLtM1kQxqeZui4v8FeznirUsksiA+RYemMPJ7Micju0WSkv50dBksTuZks9O5cg4wp+t8fZ/cLY56g==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=6' + '@octokit/core': '5' - '@octokit/plugin-request-log@5.3.1': - resolution: {integrity: sha512-n/lNeCtq+9ofhC15xzmJCNKP2BWTv8Ih2TTy+jatNCCq/gQP/V7rK3fjIfuz0pDWDALO/o/4QY4hyOF6TQQFUw==} + '@octokit/plugin-request-log@4.0.1': + resolution: {integrity: sha512-GihNqNpGHorUrO7Qa9JbAl0dbLnqJVrV8OXe2Zm5/Y4wFkZQDfTreBzVmiRfJVfE4mClXdihHnbpyyO9FSX4HA==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=6' + '@octokit/core': '5' - '@octokit/plugin-rest-endpoint-methods@13.2.6': - resolution: {integrity: sha512-wMsdyHMjSfKjGINkdGKki06VEkgdEldIGstIEyGX0wbYHGByOwN/KiM+hAAlUwAtPkP3gvXtVQA9L3ITdV2tVw==} + '@octokit/plugin-rest-endpoint-methods@13.2.2': + resolution: {integrity: sha512-EI7kXWidkt3Xlok5uN43suK99VWqc8OaIMktY9d9+RNKl69juoTyxmLoWPIZgJYzi41qj/9zU7G/ljnNOJ5AFA==} engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=6' + '@octokit/core': ^5 - '@octokit/request-error@6.1.5': - resolution: {integrity: sha512-IlBTfGX8Yn/oFPMwSfvugfncK2EwRLjzbrpifNaMY8o/HTEAFqCA1FZxjD9cWvSKBHgrIhc4CSBIzMxiLsbzFQ==} + '@octokit/request-error@5.1.0': + resolution: {integrity: sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==} engines: {node: '>= 18'} - '@octokit/request@9.1.3': - resolution: {integrity: sha512-V+TFhu5fdF3K58rs1pGUJIDH5RZLbZm5BI+MNF+6o/ssFNT4vWlCh/tVpF3NxGtP15HUxTTMUbsG5llAuU2CZA==} + '@octokit/request@8.4.0': + resolution: {integrity: sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==} engines: {node: '>= 18'} - '@octokit/rest@21.0.2': - resolution: {integrity: sha512-+CiLisCoyWmYicH25y1cDfCrv41kRSvTq6pPWtRroRJzhsCZWZyCqGyI8foJT5LmScADSwRAnr/xo+eewL04wQ==} + '@octokit/rest@20.1.1': + resolution: {integrity: sha512-MB4AYDsM5jhIHro/dq4ix1iWTLGToIGk6cWF5L6vanFaMble5jTX/UBQyiv05HsWnwUtY8JrfHy2LWfKwihqMw==} engines: {node: '>= 18'} - '@octokit/types@13.2.0': - resolution: {integrity: sha512-K4rpfbIQLe4UimS/PWZAcImhZUC80lhe2f1NpAaaTulPJXv54QIAFFCQEEbdQdqTV/745QDmdvp8NI49LaI00A==} - '@octokit/types@13.6.1': resolution: {integrity: sha512-PHZE9Z+kWXb23Ndik8MKPirBPziOc0D2/3KH1P+6jK5nGWe96kadZuE4jev2/Jq7FvIfTlT2Ltg8Fv2x1v0a5g==} @@ -3888,8 +3725,8 @@ packages: batch@0.6.1: resolution: {integrity: sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw==} - before-after-hook@3.0.2: - resolution: {integrity: sha512-Nik3Sc0ncrMK4UUdXQmAnRtzmNQTAAXmXIopizwZ1W1t8QmfJj+zL4OA2I7XPTPW5z5TDqv4hRo/JzouDJnX3A==} + before-after-hook@2.2.3: + resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==} better-path-resolve@1.0.0: resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} @@ -3902,6 +3739,9 @@ packages: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} + bl@4.1.0: + resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} @@ -3984,6 +3824,9 @@ packages: buffer-xor@1.0.3: resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} + buffer@5.7.1: + resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + buffer@6.0.3: resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} @@ -4168,10 +4011,18 @@ packages: resolution: {integrity: sha512-XW2Vg+w+L9on9wtwKpyzluIPCWXjaBahI7mTcYjx+BVIYD9c3yqcv/yKC7CmdCZat4rq2yiE1UMSJC5ivKfMtQ==} engines: {node: '>= 10'} + cli-cursor@3.1.0: + resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} + engines: {node: '>=8'} + cli-cursor@4.0.0: resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + cli-truncate@4.0.0: resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==} engines: {node: '>=18'} @@ -4196,6 +4047,10 @@ packages: resolution: {integrity: sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==} engines: {node: '>=6'} + clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + co@4.6.0: resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} @@ -4805,6 +4660,9 @@ packages: resolution: {integrity: sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg==} engines: {node: '>= 10'} + defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} @@ -4836,6 +4694,9 @@ packages: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} + deprecation@2.3.1: + resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==} + dequal@2.0.3: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} @@ -5877,6 +5738,10 @@ packages: inline-style-parser@0.1.1: resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} + inquirer@9.3.7: + resolution: {integrity: sha512-LJKFHCSeIRq9hanN14IlOtPSTe3lNES7TYDTE2xxdAy1LS5rYphajK1qtwvj3YmQXvvk0U2Vbmcni8P9EIQW9w==} + engines: {node: '>=18'} + internal-ip@6.2.0: resolution: {integrity: sha512-D8WGsR6yDt8uq7vDMu7mjcR+yRMm3dW8yufyChmszWRjcSHuxLBkR3GdS2HZAjodsaGuCvXeEJpueisXJULghg==} engines: {node: '>=10'} @@ -6021,6 +5886,10 @@ packages: engines: {node: '>=14.16'} hasBin: true + is-interactive@1.0.0: + resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} + engines: {node: '>=8'} + is-ip@3.1.0: resolution: {integrity: sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==} engines: {node: '>=8'} @@ -6094,6 +5963,10 @@ packages: resolution: {integrity: sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==} engines: {node: '>= 0.4'} + is-unicode-supported@0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + is-what@3.14.1: resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==} @@ -6547,6 +6420,10 @@ packages: lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + log-symbols@4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + log-update@6.0.0: resolution: {integrity: sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw==} engines: {node: '>=18'} @@ -6924,9 +6801,9 @@ packages: resolution: {integrity: sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg==} hasBin: true - mute-stream@2.0.0: - resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} - engines: {node: ^18.17.0 || >=20.5.0} + mute-stream@1.0.0: + resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} mylas@2.1.13: resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==} @@ -7092,6 +6969,10 @@ packages: resolution: {integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==} hasBin: true + ora@5.4.1: + resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} + engines: {node: '>=10'} + os-browserify@0.3.0: resolution: {integrity: sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==} @@ -8103,6 +7984,10 @@ packages: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true + restore-cursor@3.1.0: + resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} + engines: {node: '>=8'} + restore-cursor@4.0.0: resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -8213,6 +8098,10 @@ packages: resolution: {integrity: sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==} engines: {node: '>=18'} + run-async@3.0.0: + resolution: {integrity: sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==} + engines: {node: '>=0.12.0'} + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -9263,8 +9152,8 @@ packages: unist-util-visit@4.1.2: resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} - universal-user-agent@7.0.2: - resolution: {integrity: sha512-0JCqzSKnStlRRQfCdowvqy3cy0Dvtlb8xecj/H8JFZuCze4rwjPZQOgvFvn0Ws/usCHQFGpyr+pB9adaGwXn4Q==} + universal-user-agent@6.0.1: + resolution: {integrity: sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==} universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} @@ -9443,6 +9332,9 @@ packages: wbuf@1.7.3: resolution: {integrity: sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==} + wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + web-namespaces@2.0.1: resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} @@ -10486,112 +10378,8 @@ snapshots: '@gwhitney/detect-indent@7.0.1': {} - '@inquirer/checkbox@4.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/figures': 1.0.7 - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - ansi-escapes: 4.3.2 - yoctocolors-cjs: 2.1.2 - - '@inquirer/confirm@5.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - - '@inquirer/core@10.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/figures': 1.0.7 - '@inquirer/type': 3.0.0(@types/node@20.12.7) - ansi-escapes: 4.3.2 - cli-width: 4.1.0 - mute-stream: 2.0.0 - signal-exit: 4.1.0 - strip-ansi: 6.0.1 - wrap-ansi: 6.2.0 - yoctocolors-cjs: 2.1.2 - transitivePeerDependencies: - - '@types/node' - - '@inquirer/editor@4.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - external-editor: 3.1.0 - - '@inquirer/expand@4.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - yoctocolors-cjs: 2.1.2 - '@inquirer/figures@1.0.7': {} - '@inquirer/input@4.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - - '@inquirer/number@3.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - - '@inquirer/password@4.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - ansi-escapes: 4.3.2 - - '@inquirer/prompts@7.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/checkbox': 4.0.1(@types/node@20.12.7) - '@inquirer/confirm': 5.0.1(@types/node@20.12.7) - '@inquirer/editor': 4.0.1(@types/node@20.12.7) - '@inquirer/expand': 4.0.1(@types/node@20.12.7) - '@inquirer/input': 4.0.1(@types/node@20.12.7) - '@inquirer/number': 3.0.1(@types/node@20.12.7) - '@inquirer/password': 4.0.1(@types/node@20.12.7) - '@inquirer/rawlist': 4.0.1(@types/node@20.12.7) - '@inquirer/search': 3.0.1(@types/node@20.12.7) - '@inquirer/select': 4.0.1(@types/node@20.12.7) - '@types/node': 20.12.7 - - '@inquirer/rawlist@4.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - yoctocolors-cjs: 2.1.2 - - '@inquirer/search@3.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/figures': 1.0.7 - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - yoctocolors-cjs: 2.1.2 - - '@inquirer/select@4.0.1(@types/node@20.12.7)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@20.12.7) - '@inquirer/figures': 1.0.7 - '@inquirer/type': 3.0.0(@types/node@20.12.7) - '@types/node': 20.12.7 - ansi-escapes: 4.3.2 - yoctocolors-cjs: 2.1.2 - - '@inquirer/type@3.0.0(@types/node@20.12.7)': - dependencies: - '@types/node': 20.12.7 - '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -10937,15 +10725,14 @@ snapshots: '@napi-rs/cli@2.18.4': {} - '@napi-rs/cli@3.0.0-alpha.64(@emnapi/runtime@1.3.1)(@types/node@20.12.7)': + '@napi-rs/cli@3.0.0-alpha.45(@emnapi/runtime@1.3.1)': dependencies: - '@inquirer/prompts': 7.0.1(@types/node@20.12.7) - '@napi-rs/cross-toolchain': 0.0.16 - '@napi-rs/wasm-tools': 0.0.2 - '@octokit/rest': 21.0.2 + '@napi-rs/cross-toolchain': 0.0.14 + '@octokit/rest': 20.1.1 clipanion: 3.2.1(typanion@3.14.0) colorette: 2.0.20 debug: 4.3.7 + inquirer: 9.3.7 js-yaml: 4.1.0 lodash-es: 4.17.21 semver: 7.6.3 @@ -10961,10 +10748,9 @@ snapshots: - '@napi-rs/cross-toolchain-x64-target-aarch64' - '@napi-rs/cross-toolchain-x64-target-armv7' - '@napi-rs/cross-toolchain-x64-target-x86_64' - - '@types/node' - supports-color - '@napi-rs/cross-toolchain@0.0.16': + '@napi-rs/cross-toolchain@0.0.14': dependencies: '@napi-rs/lzma': 1.4.1 '@napi-rs/tar': 0.1.4 @@ -11121,63 +10907,6 @@ snapshots: '@tybys/wasm-util': 0.9.0 optional: true - '@napi-rs/wasm-tools-android-arm-eabi@0.0.2': - optional: true - - '@napi-rs/wasm-tools-android-arm64@0.0.2': - optional: true - - '@napi-rs/wasm-tools-darwin-arm64@0.0.2': - optional: true - - '@napi-rs/wasm-tools-darwin-x64@0.0.2': - optional: true - - '@napi-rs/wasm-tools-freebsd-x64@0.0.2': - optional: true - - '@napi-rs/wasm-tools-linux-arm64-gnu@0.0.2': - optional: true - - '@napi-rs/wasm-tools-linux-arm64-musl@0.0.2': - optional: true - - '@napi-rs/wasm-tools-linux-x64-gnu@0.0.2': - optional: true - - '@napi-rs/wasm-tools-linux-x64-musl@0.0.2': - optional: true - - '@napi-rs/wasm-tools-wasm32-wasi@0.0.2': - dependencies: - '@napi-rs/wasm-runtime': 0.2.5 - optional: true - - '@napi-rs/wasm-tools-win32-arm64-msvc@0.0.2': - optional: true - - '@napi-rs/wasm-tools-win32-ia32-msvc@0.0.2': - optional: true - - '@napi-rs/wasm-tools-win32-x64-msvc@0.0.2': - optional: true - - '@napi-rs/wasm-tools@0.0.2': - optionalDependencies: - '@napi-rs/wasm-tools-android-arm-eabi': 0.0.2 - '@napi-rs/wasm-tools-android-arm64': 0.0.2 - '@napi-rs/wasm-tools-darwin-arm64': 0.0.2 - '@napi-rs/wasm-tools-darwin-x64': 0.0.2 - '@napi-rs/wasm-tools-freebsd-x64': 0.0.2 - '@napi-rs/wasm-tools-linux-arm64-gnu': 0.0.2 - '@napi-rs/wasm-tools-linux-arm64-musl': 0.0.2 - '@napi-rs/wasm-tools-linux-x64-gnu': 0.0.2 - '@napi-rs/wasm-tools-linux-x64-musl': 0.0.2 - '@napi-rs/wasm-tools-wasm32-wasi': 0.0.2 - '@napi-rs/wasm-tools-win32-arm64-msvc': 0.0.2 - '@napi-rs/wasm-tools-win32-ia32-msvc': 0.0.2 - '@napi-rs/wasm-tools-win32-x64-msvc': 0.0.2 - '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -11190,68 +10919,64 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@octokit/auth-token@5.1.1': {} + '@octokit/auth-token@4.0.0': {} - '@octokit/core@6.1.2': + '@octokit/core@5.2.0': dependencies: - '@octokit/auth-token': 5.1.1 - '@octokit/graphql': 8.1.1 - '@octokit/request': 9.1.3 - '@octokit/request-error': 6.1.5 - '@octokit/types': 13.2.0 - before-after-hook: 3.0.2 - universal-user-agent: 7.0.2 + '@octokit/auth-token': 4.0.0 + '@octokit/graphql': 7.1.0 + '@octokit/request': 8.4.0 + '@octokit/request-error': 5.1.0 + '@octokit/types': 13.6.1 + before-after-hook: 2.2.3 + universal-user-agent: 6.0.1 - '@octokit/endpoint@10.1.1': + '@octokit/endpoint@9.0.5': dependencies: - '@octokit/types': 13.2.0 - universal-user-agent: 7.0.2 + '@octokit/types': 13.6.1 + universal-user-agent: 6.0.1 - '@octokit/graphql@8.1.1': + '@octokit/graphql@7.1.0': dependencies: - '@octokit/request': 9.1.3 - '@octokit/types': 13.2.0 - universal-user-agent: 7.0.2 - - '@octokit/openapi-types@22.0.0': {} + '@octokit/request': 8.4.0 + '@octokit/types': 13.6.1 + universal-user-agent: 6.0.1 '@octokit/openapi-types@22.2.0': {} - '@octokit/plugin-paginate-rest@11.3.5(@octokit/core@6.1.2)': + '@octokit/plugin-paginate-rest@11.3.1(@octokit/core@5.2.0)': dependencies: - '@octokit/core': 6.1.2 + '@octokit/core': 5.2.0 '@octokit/types': 13.6.1 - '@octokit/plugin-request-log@5.3.1(@octokit/core@6.1.2)': + '@octokit/plugin-request-log@4.0.1(@octokit/core@5.2.0)': dependencies: - '@octokit/core': 6.1.2 + '@octokit/core': 5.2.0 - '@octokit/plugin-rest-endpoint-methods@13.2.6(@octokit/core@6.1.2)': + '@octokit/plugin-rest-endpoint-methods@13.2.2(@octokit/core@5.2.0)': dependencies: - '@octokit/core': 6.1.2 + '@octokit/core': 5.2.0 '@octokit/types': 13.6.1 - '@octokit/request-error@6.1.5': - dependencies: - '@octokit/types': 13.2.0 - - '@octokit/request@9.1.3': + '@octokit/request-error@5.1.0': dependencies: - '@octokit/endpoint': 10.1.1 - '@octokit/request-error': 6.1.5 - '@octokit/types': 13.2.0 - universal-user-agent: 7.0.2 + '@octokit/types': 13.6.1 + deprecation: 2.3.1 + once: 1.4.0 - '@octokit/rest@21.0.2': + '@octokit/request@8.4.0': dependencies: - '@octokit/core': 6.1.2 - '@octokit/plugin-paginate-rest': 11.3.5(@octokit/core@6.1.2) - '@octokit/plugin-request-log': 5.3.1(@octokit/core@6.1.2) - '@octokit/plugin-rest-endpoint-methods': 13.2.6(@octokit/core@6.1.2) + '@octokit/endpoint': 9.0.5 + '@octokit/request-error': 5.1.0 + '@octokit/types': 13.6.1 + universal-user-agent: 6.0.1 - '@octokit/types@13.2.0': + '@octokit/rest@20.1.1': dependencies: - '@octokit/openapi-types': 22.0.0 + '@octokit/core': 5.2.0 + '@octokit/plugin-paginate-rest': 11.3.1(@octokit/core@5.2.0) + '@octokit/plugin-request-log': 4.0.1(@octokit/core@5.2.0) + '@octokit/plugin-rest-endpoint-methods': 13.2.2(@octokit/core@5.2.0) '@octokit/types@13.6.1': dependencies: @@ -12926,7 +12651,7 @@ snapshots: batch@0.6.1: {} - before-after-hook@3.0.2: {} + before-after-hook@2.2.3: {} better-path-resolve@1.0.0: dependencies: @@ -12936,6 +12661,12 @@ snapshots: binary-extensions@2.3.0: {} + bl@4.1.0: + dependencies: + buffer: 5.7.1 + inherits: 2.0.4 + readable-stream: 3.6.2 + bluebird@3.7.2: {} bn.js@4.12.0: {} @@ -13064,6 +12795,11 @@ snapshots: buffer-xor@1.0.3: {} + buffer@5.7.1: + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + buffer@6.0.3: dependencies: base64-js: 1.5.1 @@ -13250,10 +12986,16 @@ snapshots: string-width: 4.2.3 strip-ansi: 6.0.1 + cli-cursor@3.1.0: + dependencies: + restore-cursor: 3.1.0 + cli-cursor@4.0.0: dependencies: restore-cursor: 4.0.0 + cli-spinners@2.9.2: {} + cli-truncate@4.0.0: dependencies: slice-ansi: 5.0.0 @@ -13283,6 +13025,8 @@ snapshots: kind-of: 6.0.3 shallow-clone: 3.0.1 + clone@1.0.4: {} + co@4.6.0: {} coffee-loader@1.0.1(coffeescript@2.7.0)(webpack@5.94.0(@swc/core@1.7.40(@swc/helpers@0.5.13))(webpack-cli@5.1.4(webpack@5.94.0))): @@ -14003,6 +13747,10 @@ snapshots: dependencies: execa: 5.1.1 + defaults@1.0.4: + dependencies: + clone: 1.0.4 + define-data-property@1.1.4: dependencies: es-define-property: 1.0.0 @@ -14038,6 +13786,8 @@ snapshots: depd@2.0.0: {} + deprecation@2.3.1: {} + dequal@2.0.3: {} des.js@1.1.0: @@ -15260,6 +15010,21 @@ snapshots: inline-style-parser@0.1.1: {} + inquirer@9.3.7: + dependencies: + '@inquirer/figures': 1.0.7 + ansi-escapes: 4.3.2 + cli-width: 4.1.0 + external-editor: 3.1.0 + mute-stream: 1.0.0 + ora: 5.4.1 + run-async: 3.0.0 + rxjs: 7.8.1 + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.2 + internal-ip@6.2.0: dependencies: default-gateway: 6.0.3 @@ -15375,6 +15140,8 @@ snapshots: dependencies: is-docker: 3.0.0 + is-interactive@1.0.0: {} + is-ip@3.1.0: dependencies: ip-regex: 4.3.0 @@ -15429,6 +15196,8 @@ snapshots: dependencies: which-typed-array: 1.1.15 + is-unicode-supported@0.1.0: {} + is-what@3.14.1: {} is-windows@1.0.2: {} @@ -16124,6 +15893,11 @@ snapshots: lodash@4.17.21: {} + log-symbols@4.1.0: + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + log-update@6.0.0: dependencies: ansi-escapes: 6.2.1 @@ -16773,7 +16547,7 @@ snapshots: dns-packet: 5.6.1 thunky: 1.1.0 - mute-stream@2.0.0: {} + mute-stream@1.0.0: {} mylas@2.1.13: {} @@ -16941,6 +16715,18 @@ snapshots: opener@1.5.2: {} + ora@5.4.1: + dependencies: + bl: 4.1.0 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.9.2 + is-interactive: 1.0.0 + is-unicode-supported: 0.1.0 + log-symbols: 4.1.0 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + os-browserify@0.3.0: {} os-tmpdir@1.0.2: {} @@ -18106,6 +17892,11 @@ snapshots: path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + restore-cursor@3.1.0: + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + restore-cursor@4.0.0: dependencies: onetime: 5.1.2 @@ -18216,6 +18007,8 @@ snapshots: run-applescript@7.0.0: {} + run-async@3.0.0: {} + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 @@ -19317,7 +19110,7 @@ snapshots: unist-util-is: 5.2.1 unist-util-visit-parents: 5.1.3 - universal-user-agent@7.0.2: {} + universal-user-agent@6.0.1: {} universalify@0.1.2: {} @@ -19491,6 +19284,10 @@ snapshots: dependencies: minimalistic-assert: 1.0.1 + wcwidth@1.0.1: + dependencies: + defaults: 1.0.4 + web-namespaces@2.0.1: {} web-streams-polyfill@3.3.3: {}