From 49ab4937e2f71d84fcadac6ba191253dab60507c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 8 Oct 2023 10:40:55 +0200 Subject: [PATCH] chore(deps-dev): bump rollup-plugin-dts from 5.3.1 to 6.0.2 (#4885) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jason Dent --- package.json | 2 +- packages/cspell-lib/api/api.d.ts | 53 ++------------------------- packages/cspell-trie-lib/api/api.d.ts | 2 +- pnpm-lock.yaml | 14 +++---- 4 files changed, 13 insertions(+), 58 deletions(-) diff --git a/package.json b/package.json index ef57e79ee41..59d24a0c1b1 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "nyc": "^15.1.0", "prettier": "^3.0.3", "rollup": "^3.29.4", - "rollup-plugin-dts": "^5.3.1", + "rollup-plugin-dts": "^6.0.2", "shx": "^0.3.4", "ts-jest": "^29.1.1", "ts2mjs": "^2.1.1", diff --git a/packages/cspell-lib/api/api.d.ts b/packages/cspell-lib/api/api.d.ts index b9272be8323..3df636a845c 100644 --- a/packages/cspell-lib/api/api.d.ts +++ b/packages/cspell-lib/api/api.d.ts @@ -36,14 +36,7 @@ declare const exclusionHelper_d_extractGlobsFromExcludeFilesGlobMap: typeof extr declare const exclusionHelper_d_generateExclusionFunctionForFiles: typeof generateExclusionFunctionForFiles; declare const exclusionHelper_d_generateExclusionFunctionForUri: typeof generateExclusionFunctionForUri; declare namespace exclusionHelper_d { - export { - exclusionHelper_d_ExcludeFilesGlobMap as ExcludeFilesGlobMap, - exclusionHelper_d_ExclusionFunction as ExclusionFunction, - exclusionHelper_d_FileExclusionFunction as FileExclusionFunction, - exclusionHelper_d_extractGlobsFromExcludeFilesGlobMap as extractGlobsFromExcludeFilesGlobMap, - exclusionHelper_d_generateExclusionFunctionForFiles as generateExclusionFunctionForFiles, - exclusionHelper_d_generateExclusionFunctionForUri as generateExclusionFunctionForUri, - }; + export { type exclusionHelper_d_ExcludeFilesGlobMap as ExcludeFilesGlobMap, type exclusionHelper_d_ExclusionFunction as ExclusionFunction, type exclusionHelper_d_FileExclusionFunction as FileExclusionFunction, exclusionHelper_d_extractGlobsFromExcludeFilesGlobMap as extractGlobsFromExcludeFilesGlobMap, exclusionHelper_d_generateExclusionFunctionForFiles as generateExclusionFunctionForFiles, exclusionHelper_d_generateExclusionFunctionForUri as generateExclusionFunctionForUri }; } interface ListGlobalImportsResult { @@ -101,16 +94,7 @@ declare const index_link_d_addPathsToGlobalImports: typeof addPathsToGlobalImpor declare const index_link_d_listGlobalImports: typeof listGlobalImports; declare const index_link_d_removePathsFromGlobalImports: typeof removePathsFromGlobalImports; declare namespace index_link_d { - export { - index_link_d_AddPathsToGlobalImportsResults as AddPathsToGlobalImportsResults, - index_link_d_ListGlobalImportsResult as ListGlobalImportsResult, - index_link_d_ListGlobalImportsResults as ListGlobalImportsResults, - index_link_d_RemovePathsFromGlobalImportsResult as RemovePathsFromGlobalImportsResult, - index_link_d_ResolveSettingsResult as ResolveSettingsResult, - index_link_d_addPathsToGlobalImports as addPathsToGlobalImports, - index_link_d_listGlobalImports as listGlobalImports, - index_link_d_removePathsFromGlobalImports as removePathsFromGlobalImports, - }; + export { type index_link_d_AddPathsToGlobalImportsResults as AddPathsToGlobalImportsResults, type index_link_d_ListGlobalImportsResult as ListGlobalImportsResult, type index_link_d_ListGlobalImportsResults as ListGlobalImportsResults, type index_link_d_RemovePathsFromGlobalImportsResult as RemovePathsFromGlobalImportsResult, type index_link_d_ResolveSettingsResult as ResolveSettingsResult, index_link_d_addPathsToGlobalImports as addPathsToGlobalImports, index_link_d_listGlobalImports as listGlobalImports, index_link_d_removePathsFromGlobalImports as removePathsFromGlobalImports }; } interface Uri { @@ -198,36 +182,7 @@ declare const text_d_stringToRegExp: typeof stringToRegExp; declare const text_d_textOffset: typeof textOffset; declare const text_d_ucFirst: typeof ucFirst; declare namespace text_d { - export { - text_d___testing__ as __testing__, - text_d_calculateTextDocumentOffsets as calculateTextDocumentOffsets, - text_d_camelToSnake as camelToSnake, - text_d_cleanText as cleanText, - text_d_cleanTextOffset as cleanTextOffset, - text_d_extractLinesOfText as extractLinesOfText, - text_d_extractPossibleWordsFromTextOffset as extractPossibleWordsFromTextOffset, - text_d_extractText as extractText, - text_d_extractWordsFromCode as extractWordsFromCode, - text_d_extractWordsFromCodeTextOffset as extractWordsFromCodeTextOffset, - text_d_extractWordsFromText as extractWordsFromText, - text_d_extractWordsFromTextOffset as extractWordsFromTextOffset, - text_d_isFirstCharacterLower as isFirstCharacterLower, - text_d_isFirstCharacterUpper as isFirstCharacterUpper, - text_d_isLowerCase as isLowerCase, - text_d_isUpperCase as isUpperCase, - text_d_lcFirst as lcFirst, - text_d_match as match, - text_d_matchCase as matchCase, - text_d_matchStringToTextOffset as matchStringToTextOffset, - text_d_matchToTextOffset as matchToTextOffset, - text_d_removeAccents as removeAccents, - text_d_snakeToCamel as snakeToCamel, - text_d_splitCamelCaseWord as splitCamelCaseWord, - text_d_splitCamelCaseWordWithOffset as splitCamelCaseWordWithOffset, - text_d_stringToRegExp as stringToRegExp, - text_d_textOffset as textOffset, - text_d_ucFirst as ucFirst, - }; + export { text_d___testing__ as __testing__, text_d_calculateTextDocumentOffsets as calculateTextDocumentOffsets, text_d_camelToSnake as camelToSnake, text_d_cleanText as cleanText, text_d_cleanTextOffset as cleanTextOffset, text_d_extractLinesOfText as extractLinesOfText, text_d_extractPossibleWordsFromTextOffset as extractPossibleWordsFromTextOffset, text_d_extractText as extractText, text_d_extractWordsFromCode as extractWordsFromCode, text_d_extractWordsFromCodeTextOffset as extractWordsFromCodeTextOffset, text_d_extractWordsFromText as extractWordsFromText, text_d_extractWordsFromTextOffset as extractWordsFromTextOffset, text_d_isFirstCharacterLower as isFirstCharacterLower, text_d_isFirstCharacterUpper as isFirstCharacterUpper, text_d_isLowerCase as isLowerCase, text_d_isUpperCase as isUpperCase, text_d_lcFirst as lcFirst, text_d_match as match, text_d_matchCase as matchCase, text_d_matchStringToTextOffset as matchStringToTextOffset, text_d_matchToTextOffset as matchToTextOffset, text_d_removeAccents as removeAccents, text_d_snakeToCamel as snakeToCamel, text_d_splitCamelCaseWord as splitCamelCaseWord, text_d_splitCamelCaseWordWithOffset as splitCamelCaseWordWithOffset, text_d_stringToRegExp as stringToRegExp, text_d_textOffset as textOffset, text_d_ucFirst as ucFirst }; } interface Document { @@ -953,4 +908,4 @@ declare function clearCachedFiles(): Promise; */ declare function getDictionary(settings: CSpellUserSettings): Promise; -export { CheckTextInfo, ConfigurationDependencies, CreateTextDocumentParams, DetermineFinalDocumentSettingsResult, Document, DocumentValidator, DocumentValidatorOptions, ENV_CSPELL_GLOB_ROOT, ExcludeFilesGlobMap, ExclusionFunction, exclusionHelper_d as ExclusionHelper, FeatureFlag, FeatureFlags, ImportError, ImportFileRefWithError, IncludeExcludeFlag, IncludeExcludeOptions, index_link_d as Link, Logger, SpellCheckFileOptions, SpellCheckFileResult, SpellingDictionaryLoadError, SuggestedWord, SuggestionError, SuggestionOptions, SuggestionsForWordResult, text_d as Text, TextDocument, TextDocumentLine, TextDocumentRef, TextInfoItem, TraceOptions, TraceResult, UnknownFeatureFlagError, ValidationIssue, calcOverrideSettings, checkFilenameMatchesGlob, checkText, checkTextDocument, clearCachedFiles, clearCachedSettingsFiles, combineTextAndLanguageSettings, combineTextAndLanguageSettings as constructSettingsForText, createTextDocument, currentSettingsFileVersion, defaultConfigFilenames, defaultFileName, defaultFileName as defaultSettingsFilename, determineFinalDocumentSettings, extractDependencies, extractImportErrors, fileToDocument, fileToTextDocument, finalizeSettings, getCachedFileSize, getDefaultBundledSettings, getDefaultSettings, getDictionary, getGlobalSettings, getLanguagesForBasename as getLanguageIdsForBaseFilename, getLanguagesForExt, getLogger, getSources, getSystemFeatureFlags, isBinaryFile, isSpellingDictionaryLoadError, loadConfig, loadPnP, loadPnPSync, mergeInDocSettings, mergeSettings, readRawSettings, readSettings, readSettingsFiles, refreshDictionaryCache, resolveFile, searchForConfig, sectionCSpell, setLogger, shouldCheckDocument, spellCheckDocument, spellCheckFile, suggestionsForWord, suggestionsForWords, traceWords, traceWordsAsync, updateTextDocument, validateText }; +export { type CheckTextInfo, type ConfigurationDependencies, type CreateTextDocumentParams, type DetermineFinalDocumentSettingsResult, type Document, DocumentValidator, type DocumentValidatorOptions, ENV_CSPELL_GLOB_ROOT, type ExcludeFilesGlobMap, type ExclusionFunction, exclusionHelper_d as ExclusionHelper, type FeatureFlag, FeatureFlags, ImportError, type ImportFileRefWithError, IncludeExcludeFlag, type IncludeExcludeOptions, index_link_d as Link, type Logger, type SpellCheckFileOptions, type SpellCheckFileResult, SpellingDictionaryLoadError, type SuggestedWord, SuggestionError, type SuggestionOptions, type SuggestionsForWordResult, text_d as Text, type TextDocument, type TextDocumentLine, type TextDocumentRef, type TextInfoItem, type TraceOptions, type TraceResult, UnknownFeatureFlagError, type ValidationIssue, calcOverrideSettings, checkFilenameMatchesGlob, checkText, checkTextDocument, clearCachedFiles, clearCachedSettingsFiles, combineTextAndLanguageSettings, combineTextAndLanguageSettings as constructSettingsForText, createTextDocument, currentSettingsFileVersion, defaultConfigFilenames, defaultFileName, defaultFileName as defaultSettingsFilename, determineFinalDocumentSettings, extractDependencies, extractImportErrors, fileToDocument, fileToTextDocument, finalizeSettings, getCachedFileSize, getDefaultBundledSettings, getDefaultSettings, getDictionary, getGlobalSettings, getLanguagesForBasename as getLanguageIdsForBaseFilename, getLanguagesForExt, getLogger, getSources, getSystemFeatureFlags, isBinaryFile, isSpellingDictionaryLoadError, loadConfig, loadPnP, loadPnPSync, mergeInDocSettings, mergeSettings, readRawSettings, readSettings, readSettingsFiles, refreshDictionaryCache, resolveFile, searchForConfig, sectionCSpell, setLogger, shouldCheckDocument, spellCheckDocument, spellCheckFile, suggestionsForWord, suggestionsForWords, traceWords, traceWordsAsync, updateTextDocument, validateText }; diff --git a/packages/cspell-trie-lib/api/api.d.ts b/packages/cspell-trie-lib/api/api.d.ts index 89aea10ca05..cddafaeae9a 100644 --- a/packages/cspell-trie-lib/api/api.d.ts +++ b/packages/cspell-trie-lib/api/api.d.ts @@ -767,4 +767,4 @@ declare const normalizeWordForCaseInsensitive: (text: string) => string[]; */ declare function expandCharacterSet(line: string, rangeChar?: string): Set; -export { CASE_INSENSITIVE_PREFIX, COMPOUND_FIX, ChildMap, CompoundWordsMethod, ExportOptions, FLAG_WORD, FORBID_PREFIX, FindFullResult, FindWordOptions, HintedWalkerIterator, Hinting, ITrie, JOIN_SEPARATOR, MaxCost, OPTIONAL_COMPOUND_FIX, PartialTrieInfo as PartialTrieOptions, SuggestionCollector, SuggestionResult, Trie, TrieBuilder, TrieNode, TrieInfo as TrieOptions, TrieRoot, WORD_SEPARATOR, WalkerIterator$1 as WalkerIterator, WeightMap, YieldResult$1 as YieldResult, buildITrieFromWords, buildTrie, buildTrieFast, consolidate, countNodes, countWords, createDictionaryLineParserMapper as createDictionaryLineParser, createTrieRoot, createTrieRootFromList, createWeightedMap, decodeTrie, defaultTrieInfo, defaultTrieInfo as defaultTrieOptions, editDistance, editDistanceWeighted, expandCharacterSet, findNode, has, hintedWalker, impersonateCollector, importTrie, insert, isCircular, isDefined, isWordTerminationNode, iterateTrie, iteratorTrieWords, mapDictionaryInformationToWeightMap, mergeDefaults, mergeOptionalWithDefaults, normalizeWord, normalizeWordForCaseInsensitive, normalizeWordToLowercase, orderTrie, parseDictionary, parseDictionaryLegacy, parseDictionaryLines, serializeTrie, suggestionCollector, trieNodeToRoot, walk, walker }; +export { CASE_INSENSITIVE_PREFIX, COMPOUND_FIX, type ChildMap, CompoundWordsMethod, type ExportOptions, FLAG_WORD, FORBID_PREFIX, type FindFullResult, type FindWordOptions, type HintedWalkerIterator, type Hinting, type ITrie, JOIN_SEPARATOR, type MaxCost, OPTIONAL_COMPOUND_FIX, type PartialTrieInfo as PartialTrieOptions, type SuggestionCollector, type SuggestionResult, Trie, TrieBuilder, type TrieNode, type TrieInfo as TrieOptions, type TrieRoot, WORD_SEPARATOR, type WalkerIterator$1 as WalkerIterator, type WeightMap, type YieldResult$1 as YieldResult, buildITrieFromWords, buildTrie, buildTrieFast, consolidate, countNodes, countWords, createDictionaryLineParserMapper as createDictionaryLineParser, createTrieRoot, createTrieRootFromList, createWeightedMap, decodeTrie, defaultTrieInfo, defaultTrieInfo as defaultTrieOptions, editDistance, editDistanceWeighted, expandCharacterSet, findNode, has, hintedWalker, impersonateCollector, importTrie, insert, isCircular, isDefined, isWordTerminationNode, iterateTrie, iteratorTrieWords, mapDictionaryInformationToWeightMap, mergeDefaults, mergeOptionalWithDefaults, normalizeWord, normalizeWordForCaseInsensitive, normalizeWordToLowercase, orderTrie, parseDictionary, parseDictionaryLegacy, parseDictionaryLines, serializeTrie, suggestionCollector, trieNodeToRoot, walk, walker }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5a898ded0fd..55e4bbcb808 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,8 +108,8 @@ importers: specifier: ^3.29.4 version: 3.29.4 rollup-plugin-dts: - specifier: ^5.3.1 - version: 5.3.1(rollup@3.29.4)(typescript@5.2.2) + specifier: ^6.0.2 + version: 6.0.2(rollup@3.29.4)(typescript@5.2.2) shx: specifier: ^0.3.4 version: 0.3.4 @@ -15281,12 +15281,12 @@ packages: dependencies: glob: 7.2.3 - /rollup-plugin-dts@5.3.1(rollup@3.29.4)(typescript@5.2.2): - resolution: {integrity: sha512-gusMi+Z4gY/JaEQeXnB0RUdU82h1kF0WYzCWgVmV4p3hWXqelaKuCvcJawfeg+EKn2T1Ie+YWF2OiN1/L8bTVg==} - engines: {node: '>=v14.21.3'} + /rollup-plugin-dts@6.0.2(rollup@3.29.4)(typescript@5.2.2): + resolution: {integrity: sha512-GYCCy9DyE5csSuUObktJBpjNpW2iLZMabNDIiAqzQWBl7l/WHzjvtAXevf8Lftk8EA920tuxeB/g8dM8MVMR6A==} + engines: {node: '>=v16'} peerDependencies: - rollup: ^3.0 - typescript: ^4.1 || ^5.0 + rollup: ^3.25 + typescript: ^4.5 || ^5.0 dependencies: magic-string: 0.30.4 rollup: 3.29.4