pi-fileops 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +167 -0
- package/node_modules/@cfcluan/pi-code-mode/LICENSE +21 -0
- package/node_modules/@cfcluan/pi-code-mode/README.md +221 -0
- package/node_modules/@cfcluan/pi-code-mode/package.json +50 -0
- package/node_modules/@cfcluan/pi-code-mode/src/contributions/xsettings.ts +97 -0
- package/node_modules/@cfcluan/pi-code-mode/src/extension.ts +54 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/binary.ts +9 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/cell-operations.ts +77 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/client.ts +116 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/connection.ts +153 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/delegation.ts +34 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/operation.ts +32 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/process.ts +100 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/protocol.ts +223 -0
- package/node_modules/@cfcluan/pi-code-mode/src/host/session.ts +97 -0
- package/node_modules/@cfcluan/pi-code-mode/src/index.ts +14 -0
- package/node_modules/@cfcluan/pi-code-mode/src/protocol/hierarchy.ts +49 -0
- package/node_modules/@cfcluan/pi-code-mode/src/protocol/nested-tools.ts +217 -0
- package/node_modules/@cfcluan/pi-code-mode/src/protocol/preflights.ts +87 -0
- package/node_modules/@cfcluan/pi-code-mode/src/protocol/tool-definition-adapter.ts +173 -0
- package/node_modules/@cfcluan/pi-code-mode/src/protocol/types.ts +99 -0
- package/node_modules/@cfcluan/pi-code-mode/src/runtime/code-mode.ts +86 -0
- package/node_modules/@cfcluan/pi-code-mode/src/runtime/delegation.ts +301 -0
- package/node_modules/@cfcluan/pi-code-mode/src/runtime/lifecycle.ts +87 -0
- package/node_modules/@cfcluan/pi-code-mode/src/runtime/trace-values.ts +175 -0
- package/node_modules/@cfcluan/pi-code-mode/src/sdk.ts +23 -0
- package/node_modules/@cfcluan/pi-code-mode/src/tools/exec/definition.ts +51 -0
- package/node_modules/@cfcluan/pi-code-mode/src/tools/exec/description.ts +192 -0
- package/node_modules/@cfcluan/pi-code-mode/src/tools/exec/grammar.ts +14 -0
- package/node_modules/@cfcluan/pi-code-mode/src/tools/result.ts +147 -0
- package/node_modules/@cfcluan/pi-code-mode/src/tools/wait/definition.ts +87 -0
- package/node_modules/@cfcluan/pi-code-mode/src/ui/presentation.ts +944 -0
- package/node_modules/@cfcluan/pi-code-mode/test/extension.test.ts +477 -0
- package/node_modules/@cfcluan/pi-code-mode/test/host/integration.test.ts +185 -0
- package/node_modules/@cfcluan/pi-code-mode/test/host/protocol.test.ts +60 -0
- package/node_modules/@cfcluan/pi-code-mode/test/protocol/nested-tools.test.ts +55 -0
- package/node_modules/@cfcluan/pi-code-mode/test/protocol/preflights.test.ts +72 -0
- package/node_modules/@cfcluan/pi-code-mode/test/runtime/delegation.test.ts +186 -0
- package/node_modules/@cfcluan/pi-code-mode/test/runtime/trace-values.test.ts +39 -0
- package/node_modules/@cfcluan/pi-code-mode/test/tool-definition-adapter.test.ts +135 -0
- package/node_modules/@cfcluan/pi-code-mode/test/tools/result.test.ts +88 -0
- package/node_modules/@cfcluan/pi-code-mode/test/ui/presentation.test.ts +864 -0
- package/node_modules/@cfcluan/pi-code-mode/tsconfig.json +17 -0
- package/node_modules/@pierre/diffs/LICENSE.md +189 -0
- package/node_modules/@pierre/diffs/README.md +95 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.d.ts +476 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.js +2006 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/File.d.ts +171 -0
- package/node_modules/@pierre/diffs/dist/components/File.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/File.js +956 -0
- package/node_modules/@pierre/diffs/dist/components/File.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.d.ts +257 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.js +1652 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.d.ts +48 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.js +251 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.d.ts +71 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.js +407 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.d.ts +68 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.js +543 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.d.ts +100 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.js +1052 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.d.ts +82 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.js +433 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtulizerDevelopment.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/components/VirtulizerDevelopment.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.js +28 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/constants.d.ts +43 -0
- package/node_modules/@pierre/diffs/dist/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/constants.js +80 -0
- package/node_modules/@pierre/diffs/dist/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/edit/index.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/edit/index.js +3 -0
- package/node_modules/@pierre/diffs/dist/editor/command.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/editor/command.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/command.js +128 -0
- package/node_modules/@pierre/diffs/dist/editor/command.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.d.ts +76 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.js +259 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.d.ts +118 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.js +2880 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor2.js +6 -0
- package/node_modules/@pierre/diffs/dist/editor/editor2.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.d.ts +26 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.js +363 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.js +212 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.d.ts +38 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.js +245 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.js +138 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.d.ts +40 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.js +706 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.js +31 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.d.ts +65 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.js +191 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.d.ts +41 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.js +318 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.d.ts +211 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.js +1626 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.d.ts +47 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.js +66 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.js +45 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.js +65 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.d.ts +67 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.js +278 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.d.ts +61 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.js +209 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.d.ts +41 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.js +596 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.d.ts +22 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.js +78 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.js +13 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.js +19 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.d.ts +12 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.js +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.js +15 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.d.ts +18 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.js +20 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.js +30 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.js +24 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.d.ts +23 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.js +66 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.js +11 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.js +24 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.js +11 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.js +6 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.js +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.js +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.js +17 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.js +23 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.js +13 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.js +13 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.js +21 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.js +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/index.d.ts +111 -0
- package/node_modules/@pierre/diffs/dist/index.js +109 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.d.ts +193 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.js +1202 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.d.ts +27 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.js +283 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.js +62 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.js +33 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_hast@3.0.4/node_modules/@types/hast/index.d.ts +228 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_hast@3.0.4/node_modules/@types/hast/index.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_unist@3.0.3/node_modules/@types/unist/index.d.ts +84 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_unist@3.0.3/node_modules/@types/unist/index.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.d.ts +75 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.js +387 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.js +27 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/File.d.ts +26 -0
- package/node_modules/@pierre/diffs/dist/react/File.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/File.js +42 -0
- package/node_modules/@pierre/diffs/dist/react/File.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.d.ts +30 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.js +42 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.d.ts +31 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.js +51 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.d.ts +29 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.js +48 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.d.ts +45 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.js +43 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.d.ts +25 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.js +35 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.d.ts +19 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.js +40 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/constants.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/react/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/constants.js +17 -0
- package/node_modules/@pierre/diffs/dist/react/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/index.d.ts +21 -0
- package/node_modules/@pierre/diffs/dist/react/index.js +17 -0
- package/node_modules/@pierre/diffs/dist/react/jsx.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/react/jsx.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/types.d.ts +51 -0
- package/node_modules/@pierre/diffs/dist/react/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/types.js +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.d.ts +38 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.js +62 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.d.ts +31 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.js +43 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.js +13 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.d.ts +38 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.js +95 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.d.ts +39 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.js +94 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.js +13 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.d.ts +40 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.js +107 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.d.ts +174 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.js +1199 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.d.ts +86 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.js +542 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.d.ts +40 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.js +199 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/index.d.ts +4 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/index.js +3 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.js +31 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.d.ts +24 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.js +71 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/types.d.ts +44 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/types.js +0 -0
- package/node_modules/@pierre/diffs/dist/sprite.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/sprite.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/sprite.js +58 -0
- package/node_modules/@pierre/diffs/dist/sprite.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.d.ts +21 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.js +50 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/index.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/ssr/index.js +5 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.d.ts +82 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.js +105 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.d.ts +23 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.js +32 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.js +16 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.js +10 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/string-import.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/string-import.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/style.js +6 -0
- package/node_modules/@pierre/diffs/dist/style.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/types.d.ts +1020 -0
- package/node_modules/@pierre/diffs/dist/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/types.js +0 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.js +29 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js +13 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.d.ts +30 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.js +106 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.d.ts +21 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.js +80 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.js +31 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.d.ts +17 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.js +98 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.d.ts +18 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.d.ts +25 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.js +87 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.d.ts +13 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.js +89 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.d.ts +22 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.js +27 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.js +40 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.js +21 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.js +31 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.d.ts +66 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.js +437 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.js +24 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.js +33 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.d.ts +12 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.js +390 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.d.ts +19 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.js +13 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.js +43 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.js +75 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.d.ts +18 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.js +34 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.d.ts +35 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.js +76 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.js +21 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.js +141 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.d.ts +17 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.js +10 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.d.ts +55 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.js +493 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.d.ts +31 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.js +33 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.js +47 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.js +17 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.d.ts +30 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.js +503 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.d.ts +24 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js +503 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.js +32 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.js +10 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.d.ts +33 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js +148 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.d.ts +13 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.js +264 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.js +68 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.js +22 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.js +238 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.js +27 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.js +36 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.d.ts +13 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.d.ts +12 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.js +97 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.d.ts +24 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.js +236 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.d.ts +127 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.js +235 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.js +81 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.d.ts +128 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.js +885 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.js +16 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/index.d.ts +4 -0
- package/node_modules/@pierre/diffs/dist/worker/index.js +3 -0
- package/node_modules/@pierre/diffs/dist/worker/types.d.ts +173 -0
- package/node_modules/@pierre/diffs/dist/worker/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/types.js +0 -0
- package/node_modules/@pierre/diffs/dist/worker/wasm-B9ZqxnKj.js +8 -0
- package/node_modules/@pierre/diffs/dist/worker/wasm-B9ZqxnKj.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.d.ts +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.js +13633 -0
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker.d.ts +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker.js +1804 -0
- package/node_modules/@pierre/diffs/dist/worker/worker.js.map +1 -0
- package/node_modules/@pierre/diffs/package.json +100 -0
- package/node_modules/@pierre/theme/LICENSE +189 -0
- package/node_modules/@pierre/theme/NOTICE.md +32 -0
- package/node_modules/@pierre/theme/README.md +51 -0
- package/node_modules/@pierre/theme/dist/index.d.mts +1 -0
- package/node_modules/@pierre/theme/dist/index.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-protanopia-deuteranopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-protanopia-deuteranopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-soft.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-soft.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-tritanopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-tritanopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-vibrant.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-vibrant.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-protanopia-deuteranopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-protanopia-deuteranopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-soft.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-soft.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-tritanopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-tritanopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-vibrant.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-vibrant.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light.mjs +1 -0
- package/node_modules/@pierre/theme/icon.png +0 -0
- package/node_modules/@pierre/theme/package.json +158 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-protanopia-deuteranopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-soft.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-tritanopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-vibrant.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-protanopia-deuteranopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-soft.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-tritanopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-vibrant.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light.json +1961 -0
- package/node_modules/@pierre/theming/LICENSE.md +189 -0
- package/node_modules/@pierre/theming/README.md +590 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.js +62 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.js.map +1 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.js +158 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.js.map +1 -0
- package/node_modules/@pierre/theming/dist/color.d.ts +19 -0
- package/node_modules/@pierre/theming/dist/color.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/color.js +26 -0
- package/node_modules/@pierre/theming/dist/color.js.map +1 -0
- package/node_modules/@pierre/theming/dist/index.d.ts +6 -0
- package/node_modules/@pierre/theming/dist/index.js +5 -0
- package/node_modules/@pierre/theming/dist/modules/color.d.ts +19 -0
- package/node_modules/@pierre/theming/dist/modules/color.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/color.js +145 -0
- package/node_modules/@pierre/theming/dist/modules/color.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.d.ts +22 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.js +21 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.d.ts +16 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.js +16 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.d.ts +35 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.js +94 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.d.ts +60 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.js +268 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.d.ts +35 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.js +115 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.js +88 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/types.d.ts +13 -0
- package/node_modules/@pierre/theming/dist/modules/types.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/types.js +0 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.d.ts +8 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.js +8 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.js.map +1 -0
- package/node_modules/@pierre/theming/dist/react.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/react.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/react.js +16 -0
- package/node_modules/@pierre/theming/dist/react.js.map +1 -0
- package/node_modules/@pierre/theming/dist/themes.d.ts +10 -0
- package/node_modules/@pierre/theming/dist/themes.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/themes.js +15 -0
- package/node_modules/@pierre/theming/dist/themes.js.map +1 -0
- package/node_modules/@pierre/theming/package.json +86 -0
- package/node_modules/@shikijs/core/LICENSE +22 -0
- package/node_modules/@shikijs/core/README.md +5 -0
- package/node_modules/@shikijs/core/dist/index.d.mts +227 -0
- package/node_modules/@shikijs/core/dist/index.mjs +1425 -0
- package/node_modules/@shikijs/core/dist/textmate.d.mts +1 -0
- package/node_modules/@shikijs/core/dist/textmate.mjs +2 -0
- package/node_modules/@shikijs/core/dist/types.d.mts +1 -0
- package/node_modules/@shikijs/core/dist/types.mjs +2 -0
- package/node_modules/@shikijs/core/package.json +60 -0
- package/node_modules/@shikijs/engine-javascript/LICENSE +22 -0
- package/node_modules/@shikijs/engine-javascript/README.md +9 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile-Bdn9ihA2.d.mts +63 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.d.mts +2 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +47 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.d.mts +12 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +27 -0
- package/node_modules/@shikijs/engine-javascript/dist/index.d.mts +3 -0
- package/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
- package/node_modules/@shikijs/engine-javascript/dist/scanner-DX8LRFGE.mjs +77 -0
- package/node_modules/@shikijs/engine-javascript/package.json +42 -0
- package/node_modules/@shikijs/engine-oniguruma/LICENSE +22 -0
- package/node_modules/@shikijs/engine-oniguruma/README.md +9 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/chunk-index.d.d.mts +70 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/index.d.mts +16 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +449 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/onig.d.mts +1 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.d.mts +6 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
- package/node_modules/@shikijs/engine-oniguruma/package.json +45 -0
- package/node_modules/@shikijs/langs/LICENSE +22 -0
- package/node_modules/@shikijs/langs/README.md +7 -0
- package/node_modules/@shikijs/langs/dist/1c-query.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/1c-query.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/1c.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/1c.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/abap.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/abap.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/actionscript-3.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/actionscript-3.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/actionscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/actionscript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ada.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ada.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/adoc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/adoc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ahk1.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk1.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk2.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk2.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/angular-expression.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-expression.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/angular-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-html.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-style.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-style.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-template.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-template.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/angular-let-declaration.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-let-declaration.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-template-blocks.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-template-blocks.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/angular-template.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-template.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-ts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-ts.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/apache.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/apache.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/apex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/apex.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/apl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/apl.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/applescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/applescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ara.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ara.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/as3.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/as3.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/asciidoc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/asciidoc.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/asm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/asm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/astro.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/astro.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/awk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/awk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ballerina.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ballerina.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bash.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bash.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/bat.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bat.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/batch.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/batch.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/be.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/be.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/beancount.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/beancount.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/berry.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/berry.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bibtex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bibtex.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bicep.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bicep.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bird.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bird.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/bird2.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bird2.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/blade.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/blade.mjs +20 -0
- package/node_modules/@shikijs/langs/dist/bsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/c.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/c.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/c3.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/c3.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cadence.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cadence.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cairo.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cairo.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/cdc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cdc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/chapel.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/chapel.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/chpl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/chpl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cjs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/clarity.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/clarity.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/clj.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/clj.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/clojure.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/clojure.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/closure-templates.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/closure-templates.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cmake.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cmake.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cmd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cmd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cobol.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cobol.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/codeowners.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/codeowners.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/codeql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/codeql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/coffee.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/coffee.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/coffeescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/coffeescript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/common-lisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/common-lisp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/console.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/console.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/coq.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/coq.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cpp-macro.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cpp-macro.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/cpp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cpp.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/cql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/crystal.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/crystal.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/cs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/csharp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/csharp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/css.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/css.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/csv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/csv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cue.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cue.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cypher.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cypher.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/d.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/d.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dart.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dart.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dax.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dax.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/desktop.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/desktop.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/diff.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/diff.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/docker.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/docker.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dockerfile.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dockerfile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/dotenv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dotenv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dream-maker.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dream-maker.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/edge.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/edge.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/elisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/elisp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/elixir.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/elixir.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/elm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/elm.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/emacs-lisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/erb.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/erb.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/erl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/erl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/erlang.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/erlang.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/es-tag-css.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-css.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-glsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-glsl.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-html.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-sql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-sql.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/es-tag-xml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-xml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/f.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f03.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f03.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f08.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f08.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f18.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f18.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f77.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f77.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f90.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f90.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f95.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f95.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fennel.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fennel.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fish.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fish.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fluent.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fluent.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/for.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/for.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fortran-fixed-form.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fortran-fixed-form.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/fortran-free-form.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fortran-free-form.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fsharp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fsharp.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/fsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fsl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ftl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ftl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gdresource.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gdresource.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/gdscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gdscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gdshader.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gdshader.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/genie.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/genie.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gherkin.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gherkin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/git-commit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/git-commit.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/git-rebase.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/git-rebase.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/gjs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gleam.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gleam.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/glimmer-js.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/glimmer-js.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/glimmer-ts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/glimmer-ts.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/glsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/glsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/gn.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gn.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gnuplot.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gnuplot.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/go.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/go.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/graphql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/graphql.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/groovy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/groovy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/hack.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hack.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/haml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/haml.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/handlebars.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/handlebars.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/haskell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/haskell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/haxe.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/haxe.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hbs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hbs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/hcl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hcl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hjson.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hjson.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hlsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hlsl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/html-derivative.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/html.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/http.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/http.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/hurl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hurl.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/hxml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hxml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/hy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/imba.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/imba.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/index.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/index.mjs +367 -0
- package/node_modules/@shikijs/langs/dist/ini.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ini.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jade.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jade.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/java.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/java.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/javascript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jinja-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jinja-html.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jinja.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jinja.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jison.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jison.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/js.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/js.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/json.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/json.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/json5.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/json5.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsonc.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsonl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonnet.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsonnet.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jssm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jssm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/julia.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/julia.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/just.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/just.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/justfile.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/justfile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kdl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kdl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/kotlin.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kotlin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/kql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kt.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kt.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kusto.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kusto.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/latex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/latex.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/lean.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lean.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/lean4.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lean4.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/less.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/less.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/liquid.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/liquid.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/lisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lisp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/lit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lit.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/llvm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/llvm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/log.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/log.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/logo.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/logo.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/lua.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lua.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/luau.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/luau.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/make.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/make.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/makefile.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/makefile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/markdown-nix.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/markdown-nix.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/markdown-vue.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/markdown.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/marko.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/marko.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/matlab.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/matlab.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mbt.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mbt.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mbti.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mbti.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/md.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/md.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mdc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/mdx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mdx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mediawiki.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mediawiki.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mermaid.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mermaid.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mips.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mips.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mipsasm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mipsasm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mjs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mmd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mmd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mojo.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mojo.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/moonbit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/moonbit.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/move.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/move.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nar.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nar.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/narrat.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/narrat.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nextflow-groovy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nextflow-groovy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nextflow.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nextflow.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nf.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nginx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nginx.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nim.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nim.mjs +20 -0
- package/node_modules/@shikijs/langs/dist/nix.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nix.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nsis.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nsis.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nu.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nu.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nushell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nushell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/objc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/objc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/objective-c.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/objective-c.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/objective-cpp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/objective-cpp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ocaml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ocaml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/odin.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/odin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/openscad.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/openscad.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/org.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/org.mjs +100 -0
- package/node_modules/@shikijs/langs/dist/pascal.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pascal.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/perl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/perl.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/perl6.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/perl6.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/php.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/php.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/pkl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pkl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/plsql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/plsql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/po.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/po.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/polar.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/polar.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/postcss.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/postcss.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/pot.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pot.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/potx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/potx.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/powerquery.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/powerquery.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/powershell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/powershell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/prisma.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/prisma.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/prolog.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/prolog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/properties.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/properties.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/proto.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/proto.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/protobuf.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/protobuf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ps.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ps.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ps1.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ps1.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/pug.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pug.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/puppet.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/puppet.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/purescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/purescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/pwsh.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pwsh.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/py.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/py.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/python.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/python.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/qml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/qml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/qmldir.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/qmldir.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/qss.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/qss.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/r.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/r.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/racket.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/racket.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/raku.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/raku.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/razor.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/razor.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/rb.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rb.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/rbs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rbs.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/reg.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/reg.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/regex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/regex.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/regexp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/regexp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rel.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rel.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/riscv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/riscv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ron.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ron.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rosmsg.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rosmsg.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/rst.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rst.mjs +22 -0
- package/node_modules/@shikijs/langs/dist/ruby-signature.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ruby-signature.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ruby.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ruby.mjs +30 -0
- package/node_modules/@shikijs/langs/dist/rust.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rust.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sas.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sas.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sass.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sass.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scad.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scad.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/scala.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scala.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scheme.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scheme.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scss.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scss.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sdbl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sdbl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sh.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sh.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shader.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shader.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shaderlab.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shaderlab.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/shell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shell.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shellscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/shellsession.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shellsession.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/smalltalk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/smalltalk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/smithy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/smithy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/solidity.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/solidity.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/soy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/soy.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sparql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sparql.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/spl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/spl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/splunk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/splunk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ssh-config.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ssh-config.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/stata.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/stata.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/styl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/styl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/stylus.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/stylus.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/surql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/surql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/surrealql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/surrealql.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/svelte.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/svelte.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/swift.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/swift.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/system-verilog.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/system-verilog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/systemd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/systemd.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/talon.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/talon.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/talonscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/talonscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tasl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tasl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tcl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tcl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/templ.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/templ.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/terraform.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/terraform.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tex.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/tf.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tfvars.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tfvars.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/toml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/toml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tres.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tres.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ts-tags.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ts-tags.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/ts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tscn.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tscn.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tsp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tsp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tsv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tsv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tsx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/turtle.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/turtle.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/twig.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/twig.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/typ.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typ.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/typescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/typespec.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typespec.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/typst.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typst.mjs +120 -0
- package/node_modules/@shikijs/langs/dist/v.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/v.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vala.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vala.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vb.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vb.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/verilog.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/verilog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vhdl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vhdl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vim.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vim.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/viml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/viml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vimscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vimscript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/vue-directives.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vue-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-html.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/vue-interpolations.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/vue-vine.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-vine.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/vue.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
- package/node_modules/@shikijs/langs/dist/vy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vy.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/vyper.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vyper.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wasm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wasm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wenyan.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wenyan.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wgsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wgsl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wiki.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wiki.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/wikitext.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wikitext.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wit.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/wolfram.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wolfram.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/xml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/xml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/xsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/xsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/yaml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/yml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/yml.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/zenscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/zenscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/zig.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/zig.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/zsh.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/zsh.mjs +2 -0
- package/node_modules/@shikijs/langs/package.json +401 -0
- package/node_modules/@shikijs/primitive/LICENSE +22 -0
- package/node_modules/@shikijs/primitive/dist/index.d.mts +189 -0
- package/node_modules/@shikijs/primitive/dist/index.mjs +834 -0
- package/node_modules/@shikijs/primitive/dist/textmate.d.mts +1 -0
- package/node_modules/@shikijs/primitive/dist/textmate.mjs +2 -0
- package/node_modules/@shikijs/primitive/dist/types.d.mts +1 -0
- package/node_modules/@shikijs/primitive/dist/types.mjs +2 -0
- package/node_modules/@shikijs/primitive/package.json +56 -0
- package/node_modules/@shikijs/themes/LICENSE +22 -0
- package/node_modules/@shikijs/themes/README.md +7 -0
- package/node_modules/@shikijs/themes/dist/andromeeda.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/andromeeda.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/aurora-x.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/aurora-x.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/ayu-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/ayu-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-mirage.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/ayu-mirage.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-frappe.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-latte.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-macchiato.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-mocha.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dark-plus.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/dark-plus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dracula-soft.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/dracula-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dracula.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/dracula.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/everforest-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/everforest-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/everforest-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/everforest-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-default.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark-default.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-dimmed.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark-dimmed.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-high-contrast.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark-high-contrast.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light-default.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-light-default.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light-high-contrast.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-light-high-contrast.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-hard.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-hard.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-medium.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-medium.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-soft.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/horizon-bright.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/horizon-bright.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/horizon.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/horizon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/houston.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/houston.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/index.d.mts +1 -0
- package/node_modules/@shikijs/themes/dist/index.mjs +67 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-dragon.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-lotus.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-wave.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/laserwave.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/laserwave.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/light-plus.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/light-plus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-darker.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-darker.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-lighter.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-ocean.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-ocean.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-palenight.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/min-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/min-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/min-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/min-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/monokai.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/monokai.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/night-owl-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/night-owl-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/night-owl.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/night-owl.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/nord.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/nord.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/one-dark-pro.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/one-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/one-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/plastic.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/plastic.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/poimandres.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/poimandres.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/red.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/red.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-dawn.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-moon.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/rose-pine.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/slack-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/slack-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/slack-ochin.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/slack-ochin.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/snazzy-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/snazzy-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/solarized-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/solarized-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/solarized-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/solarized-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/synthwave-84.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/synthwave-84.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/tokyo-night.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/tokyo-night.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vesper.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vesper.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-black.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vitesse-black.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vitesse-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vitesse-light.mjs +2 -0
- package/node_modules/@shikijs/themes/package.json +106 -0
- package/node_modules/@shikijs/transformers/LICENSE +22 -0
- package/node_modules/@shikijs/transformers/README.md +9 -0
- package/node_modules/@shikijs/transformers/dist/index.d.mts +268 -0
- package/node_modules/@shikijs/transformers/dist/index.mjs +744 -0
- package/node_modules/@shikijs/transformers/package.json +40 -0
- package/node_modules/@shikijs/types/LICENSE +22 -0
- package/node_modules/@shikijs/types/README.md +7 -0
- package/node_modules/@shikijs/types/dist/index.d.mts +894 -0
- package/node_modules/@shikijs/types/dist/index.mjs +9 -0
- package/node_modules/@shikijs/types/package.json +39 -0
- package/node_modules/@shikijs/vscode-textmate/LICENSE.md +21 -0
- package/node_modules/@shikijs/vscode-textmate/README.md +9 -0
- package/node_modules/@shikijs/vscode-textmate/dist/index.d.ts +711 -0
- package/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
- package/node_modules/@shikijs/vscode-textmate/package.json +46 -0
- package/node_modules/@types/hast/LICENSE +21 -0
- package/node_modules/@types/hast/README.md +15 -0
- package/node_modules/@types/hast/index.d.ts +924 -0
- package/node_modules/@types/hast/package.json +48 -0
- package/node_modules/@types/mdast/LICENSE +21 -0
- package/node_modules/@types/mdast/README.md +15 -0
- package/node_modules/@types/mdast/index.d.ts +1123 -0
- package/node_modules/@types/mdast/package.json +47 -0
- package/node_modules/@types/unist/LICENSE +21 -0
- package/node_modules/@types/unist/README.md +15 -0
- package/node_modules/@types/unist/index.d.ts +119 -0
- package/node_modules/@types/unist/package.json +60 -0
- package/node_modules/@ungap/structured-clone/.github/workflows/node.js.yml +31 -0
- package/node_modules/@ungap/structured-clone/LICENSE +15 -0
- package/node_modules/@ungap/structured-clone/README.md +95 -0
- package/node_modules/@ungap/structured-clone/cjs/deserialize.js +112 -0
- package/node_modules/@ungap/structured-clone/cjs/index.js +27 -0
- package/node_modules/@ungap/structured-clone/cjs/json.js +24 -0
- package/node_modules/@ungap/structured-clone/cjs/package.json +1 -0
- package/node_modules/@ungap/structured-clone/cjs/serialize.js +174 -0
- package/node_modules/@ungap/structured-clone/cjs/types.js +22 -0
- package/node_modules/@ungap/structured-clone/esm/deserialize.js +113 -0
- package/node_modules/@ungap/structured-clone/esm/index.js +25 -0
- package/node_modules/@ungap/structured-clone/esm/json.js +21 -0
- package/node_modules/@ungap/structured-clone/esm/serialize.js +175 -0
- package/node_modules/@ungap/structured-clone/esm/types.js +11 -0
- package/node_modules/@ungap/structured-clone/package.json +59 -0
- package/node_modules/@ungap/structured-clone/structured-json.js +1 -0
- package/node_modules/@xterm/headless/README.md +31 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.js +2 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.js.map +1 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.mjs +46 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.mjs.map +7 -0
- package/node_modules/@xterm/headless/package.json +29 -0
- package/node_modules/@xterm/headless/typings/xterm-headless.d.ts +1385 -0
- package/node_modules/ccount/index.d.ts +11 -0
- package/node_modules/ccount/index.js +27 -0
- package/node_modules/ccount/license +22 -0
- package/node_modules/ccount/package.json +71 -0
- package/node_modules/ccount/readme.md +149 -0
- package/node_modules/character-entities-html4/index.d.ts +6 -0
- package/node_modules/character-entities-html4/index.js +259 -0
- package/node_modules/character-entities-html4/license +22 -0
- package/node_modules/character-entities-html4/package.json +79 -0
- package/node_modules/character-entities-html4/readme.md +153 -0
- package/node_modules/character-entities-legacy/index.d.ts +6 -0
- package/node_modules/character-entities-legacy/index.js +113 -0
- package/node_modules/character-entities-legacy/license +22 -0
- package/node_modules/character-entities-legacy/package.json +77 -0
- package/node_modules/character-entities-legacy/readme.md +157 -0
- package/node_modules/comma-separated-tokens/index.d.ts +52 -0
- package/node_modules/comma-separated-tokens/index.js +74 -0
- package/node_modules/comma-separated-tokens/license +22 -0
- package/node_modules/comma-separated-tokens/package.json +72 -0
- package/node_modules/comma-separated-tokens/readme.md +167 -0
- package/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/dequal/index.d.ts +1 -0
- package/node_modules/dequal/license +21 -0
- package/node_modules/dequal/lite/index.d.ts +1 -0
- package/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/dequal/package.json +57 -0
- package/node_modules/dequal/readme.md +112 -0
- package/node_modules/devlop/lib/default.js +9 -0
- package/node_modules/devlop/lib/development.d.ts +84 -0
- package/node_modules/devlop/lib/development.js +238 -0
- package/node_modules/devlop/license +22 -0
- package/node_modules/devlop/package.json +80 -0
- package/node_modules/devlop/readme.md +360 -0
- package/node_modules/diff/CONTRIBUTING.md +28 -0
- package/node_modules/diff/LICENSE +29 -0
- package/node_modules/diff/README.md +468 -0
- package/node_modules/diff/dist/diff.js +2313 -0
- package/node_modules/diff/dist/diff.min.js +1 -0
- package/node_modules/diff/eslint.config.mjs +182 -0
- package/node_modules/diff/libcjs/convert/dmp.d.ts +8 -0
- package/node_modules/diff/libcjs/convert/dmp.d.ts.map +1 -0
- package/node_modules/diff/libcjs/convert/dmp.js +24 -0
- package/node_modules/diff/libcjs/convert/xml.d.ts +6 -0
- package/node_modules/diff/libcjs/convert/xml.d.ts.map +1 -0
- package/node_modules/diff/libcjs/convert/xml.js +34 -0
- package/node_modules/diff/libcjs/diff/array.d.ts +19 -0
- package/node_modules/diff/libcjs/diff/array.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/array.js +23 -0
- package/node_modules/diff/libcjs/diff/base.d.ts +20 -0
- package/node_modules/diff/libcjs/diff/base.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/base.js +256 -0
- package/node_modules/diff/libcjs/diff/character.d.ts +19 -0
- package/node_modules/diff/libcjs/diff/character.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/character.js +14 -0
- package/node_modules/diff/libcjs/diff/css.d.ts +18 -0
- package/node_modules/diff/libcjs/diff/css.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/css.js +17 -0
- package/node_modules/diff/libcjs/diff/json.d.ts +24 -0
- package/node_modules/diff/libcjs/diff/json.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/json.js +86 -0
- package/node_modules/diff/libcjs/diff/line.d.ts +24 -0
- package/node_modules/diff/libcjs/diff/line.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/line.js +74 -0
- package/node_modules/diff/libcjs/diff/sentence.d.ts +21 -0
- package/node_modules/diff/libcjs/diff/sentence.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/sentence.js +50 -0
- package/node_modules/diff/libcjs/diff/word.d.ts +35 -0
- package/node_modules/diff/libcjs/diff/word.d.ts.map +1 -0
- package/node_modules/diff/libcjs/diff/word.js +289 -0
- package/node_modules/diff/libcjs/index.d.ts +20 -0
- package/node_modules/diff/libcjs/index.d.ts.map +1 -0
- package/node_modules/diff/libcjs/index.js +67 -0
- package/node_modules/diff/libcjs/package.json +1 -0
- package/node_modules/diff/libcjs/patch/apply.d.ts +62 -0
- package/node_modules/diff/libcjs/patch/apply.d.ts.map +1 -0
- package/node_modules/diff/libcjs/patch/apply.js +264 -0
- package/node_modules/diff/libcjs/patch/create.d.ts +131 -0
- package/node_modules/diff/libcjs/patch/create.d.ts.map +1 -0
- package/node_modules/diff/libcjs/patch/create.js +364 -0
- package/node_modules/diff/libcjs/patch/line-endings.d.ts +17 -0
- package/node_modules/diff/libcjs/patch/line-endings.d.ts.map +1 -0
- package/node_modules/diff/libcjs/patch/line-endings.js +50 -0
- package/node_modules/diff/libcjs/patch/parse.d.ts +16 -0
- package/node_modules/diff/libcjs/patch/parse.d.ts.map +1 -0
- package/node_modules/diff/libcjs/patch/parse.js +515 -0
- package/node_modules/diff/libcjs/patch/reverse.d.ts +22 -0
- package/node_modules/diff/libcjs/patch/reverse.d.ts.map +1 -0
- package/node_modules/diff/libcjs/patch/reverse.js +63 -0
- package/node_modules/diff/libcjs/types.d.ts +260 -0
- package/node_modules/diff/libcjs/types.d.ts.map +1 -0
- package/node_modules/diff/libcjs/types.js +2 -0
- package/node_modules/diff/libcjs/util/array.d.ts +3 -0
- package/node_modules/diff/libcjs/util/array.d.ts.map +1 -0
- package/node_modules/diff/libcjs/util/array.js +21 -0
- package/node_modules/diff/libcjs/util/distance-iterator.d.ts +2 -0
- package/node_modules/diff/libcjs/util/distance-iterator.d.ts.map +1 -0
- package/node_modules/diff/libcjs/util/distance-iterator.js +40 -0
- package/node_modules/diff/libcjs/util/params.d.ts +4 -0
- package/node_modules/diff/libcjs/util/params.d.ts.map +1 -0
- package/node_modules/diff/libcjs/util/params.js +17 -0
- package/node_modules/diff/libcjs/util/string.d.ts +30 -0
- package/node_modules/diff/libcjs/util/string.d.ts.map +1 -0
- package/node_modules/diff/libcjs/util/string.js +199 -0
- package/node_modules/diff/libesm/convert/dmp.d.ts +8 -0
- package/node_modules/diff/libesm/convert/dmp.d.ts.map +1 -0
- package/node_modules/diff/libesm/convert/dmp.js +21 -0
- package/node_modules/diff/libesm/convert/xml.d.ts +6 -0
- package/node_modules/diff/libesm/convert/xml.d.ts.map +1 -0
- package/node_modules/diff/libesm/convert/xml.js +31 -0
- package/node_modules/diff/libesm/diff/array.d.ts +19 -0
- package/node_modules/diff/libesm/diff/array.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/array.js +16 -0
- package/node_modules/diff/libesm/diff/base.d.ts +20 -0
- package/node_modules/diff/libesm/diff/base.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/base.js +253 -0
- package/node_modules/diff/libesm/diff/character.d.ts +19 -0
- package/node_modules/diff/libesm/diff/character.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/character.js +7 -0
- package/node_modules/diff/libesm/diff/css.d.ts +18 -0
- package/node_modules/diff/libesm/diff/css.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/css.js +10 -0
- package/node_modules/diff/libesm/diff/json.d.ts +24 -0
- package/node_modules/diff/libesm/diff/json.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/json.js +78 -0
- package/node_modules/diff/libesm/diff/line.d.ts +24 -0
- package/node_modules/diff/libesm/diff/line.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/line.js +65 -0
- package/node_modules/diff/libesm/diff/sentence.d.ts +21 -0
- package/node_modules/diff/libesm/diff/sentence.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/sentence.js +43 -0
- package/node_modules/diff/libesm/diff/word.d.ts +35 -0
- package/node_modules/diff/libesm/diff/word.d.ts.map +1 -0
- package/node_modules/diff/libesm/diff/word.js +281 -0
- package/node_modules/diff/libesm/index.d.ts +20 -0
- package/node_modules/diff/libesm/index.d.ts.map +1 -0
- package/node_modules/diff/libesm/index.js +30 -0
- package/node_modules/diff/libesm/package.json +1 -0
- package/node_modules/diff/libesm/patch/apply.d.ts +62 -0
- package/node_modules/diff/libesm/patch/apply.d.ts.map +1 -0
- package/node_modules/diff/libesm/patch/apply.js +257 -0
- package/node_modules/diff/libesm/patch/create.d.ts +131 -0
- package/node_modules/diff/libesm/patch/create.d.ts.map +1 -0
- package/node_modules/diff/libesm/patch/create.js +357 -0
- package/node_modules/diff/libesm/patch/line-endings.d.ts +17 -0
- package/node_modules/diff/libesm/patch/line-endings.d.ts.map +1 -0
- package/node_modules/diff/libesm/patch/line-endings.js +44 -0
- package/node_modules/diff/libesm/patch/parse.d.ts +16 -0
- package/node_modules/diff/libesm/patch/parse.d.ts.map +1 -0
- package/node_modules/diff/libesm/patch/parse.js +512 -0
- package/node_modules/diff/libesm/patch/reverse.d.ts +22 -0
- package/node_modules/diff/libesm/patch/reverse.d.ts.map +1 -0
- package/node_modules/diff/libesm/patch/reverse.js +60 -0
- package/node_modules/diff/libesm/types.d.ts +260 -0
- package/node_modules/diff/libesm/types.d.ts.map +1 -0
- package/node_modules/diff/libesm/types.js +1 -0
- package/node_modules/diff/libesm/util/array.d.ts +3 -0
- package/node_modules/diff/libesm/util/array.d.ts.map +1 -0
- package/node_modules/diff/libesm/util/array.js +17 -0
- package/node_modules/diff/libesm/util/distance-iterator.d.ts +2 -0
- package/node_modules/diff/libesm/util/distance-iterator.d.ts.map +1 -0
- package/node_modules/diff/libesm/util/distance-iterator.js +37 -0
- package/node_modules/diff/libesm/util/params.d.ts +4 -0
- package/node_modules/diff/libesm/util/params.d.ts.map +1 -0
- package/node_modules/diff/libesm/util/params.js +14 -0
- package/node_modules/diff/libesm/util/string.d.ts +30 -0
- package/node_modules/diff/libesm/util/string.d.ts.map +1 -0
- package/node_modules/diff/libesm/util/string.js +184 -0
- package/node_modules/diff/package.json +130 -0
- package/node_modules/diff/release-notes.md +474 -0
- package/node_modules/hast-util-to-html/index.d.ts +6 -0
- package/node_modules/hast-util-to-html/index.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/index.js +8 -0
- package/node_modules/hast-util-to-html/lib/handle/comment.d.ts +19 -0
- package/node_modules/hast-util-to-html/lib/handle/comment.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
- package/node_modules/hast-util-to-html/lib/handle/doctype.d.ts +23 -0
- package/node_modules/hast-util-to-html/lib/handle/doctype.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
- package/node_modules/hast-util-to-html/lib/handle/element.d.ts +19 -0
- package/node_modules/hast-util-to-html/lib/handle/element.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
- package/node_modules/hast-util-to-html/lib/handle/index.d.ts +8 -0
- package/node_modules/hast-util-to-html/lib/handle/index.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
- package/node_modules/hast-util-to-html/lib/handle/raw.d.ts +19 -0
- package/node_modules/hast-util-to-html/lib/handle/raw.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
- package/node_modules/hast-util-to-html/lib/handle/root.d.ts +23 -0
- package/node_modules/hast-util-to-html/lib/handle/root.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
- package/node_modules/hast-util-to-html/lib/handle/text.d.ts +20 -0
- package/node_modules/hast-util-to-html/lib/handle/text.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
- package/node_modules/hast-util-to-html/lib/index.d.ts +223 -0
- package/node_modules/hast-util-to-html/lib/index.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/index.js +257 -0
- package/node_modules/hast-util-to-html/lib/omission/closing.d.ts +2 -0
- package/node_modules/hast-util-to-html/lib/omission/closing.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
- package/node_modules/hast-util-to-html/lib/omission/omission.d.ts +17 -0
- package/node_modules/hast-util-to-html/lib/omission/omission.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
- package/node_modules/hast-util-to-html/lib/omission/opening.d.ts +2 -0
- package/node_modules/hast-util-to-html/lib/omission/opening.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.d.ts +36 -0
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
- package/node_modules/hast-util-to-html/license +22 -0
- package/node_modules/hast-util-to-html/package.json +106 -0
- package/node_modules/hast-util-to-html/readme.md +486 -0
- package/node_modules/hast-util-whitespace/index.d.ts +1 -0
- package/node_modules/hast-util-whitespace/index.js +1 -0
- package/node_modules/hast-util-whitespace/lib/index.d.ts +13 -0
- package/node_modules/hast-util-whitespace/lib/index.js +34 -0
- package/node_modules/hast-util-whitespace/license +22 -0
- package/node_modules/hast-util-whitespace/package.json +83 -0
- package/node_modules/hast-util-whitespace/readme.md +231 -0
- package/node_modules/html-void-elements/index.d.ts +6 -0
- package/node_modules/html-void-elements/index.js +27 -0
- package/node_modules/html-void-elements/license +22 -0
- package/node_modules/html-void-elements/package.json +79 -0
- package/node_modules/html-void-elements/readme.md +164 -0
- package/node_modules/lru_map/.npmignore +5 -0
- package/node_modules/lru_map/README.md +214 -0
- package/node_modules/lru_map/dist/lru.js +2 -0
- package/node_modules/lru_map/dist/lru.js.map +7 -0
- package/node_modules/lru_map/lru.d.ts +83 -0
- package/node_modules/lru_map/package.json +41 -0
- package/node_modules/mdast-util-to-hast/index.d.ts +94 -0
- package/node_modules/mdast-util-to-hast/index.js +7 -0
- package/node_modules/mdast-util-to-hast/lib/footer.d.ts +81 -0
- package/node_modules/mdast-util-to-hast/lib/footer.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/footer.js +250 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/blockquote.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/blockquote.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/break.d.ts +21 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/break.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/break.js +22 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/code.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/code.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/code.js +49 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/delete.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/delete.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/delete.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/emphasis.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/emphasis.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +70 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/heading.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/html.d.ts +23 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/html.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/html.js +28 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image-reference.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image-reference.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +39 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image.js +35 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/index.d.ts +55 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/index.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/index.js +68 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/inline-code.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/inline-code.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +31 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link-reference.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link-reference.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +44 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link.js +36 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list-item.d.ts +23 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list-item.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +119 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list.js +52 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/paragraph.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/paragraph.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/root.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/root.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/root.js +22 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/strong.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/strong.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/strong.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-cell.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-cell.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +29 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-row.d.ts +23 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-row.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +63 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table.js +61 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/text.d.ts +16 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/text.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/text.js +24 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/index.d.ts +82 -0
- package/node_modules/mdast-util-to-hast/lib/index.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/index.js +106 -0
- package/node_modules/mdast-util-to-hast/lib/revert.d.ts +21 -0
- package/node_modules/mdast-util-to-hast/lib/revert.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/revert.js +49 -0
- package/node_modules/mdast-util-to-hast/lib/state.d.ts +233 -0
- package/node_modules/mdast-util-to-hast/lib/state.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/state.js +476 -0
- package/node_modules/mdast-util-to-hast/license +22 -0
- package/node_modules/mdast-util-to-hast/package.json +119 -0
- package/node_modules/mdast-util-to-hast/readme.md +1725 -0
- package/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/dev/index.js +252 -0
- package/node_modules/micromark-util-character/index.d.ts +195 -0
- package/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/index.js +246 -0
- package/node_modules/micromark-util-character/license +22 -0
- package/node_modules/micromark-util-character/package.json +57 -0
- package/node_modules/micromark-util-character/readme.md +446 -0
- package/node_modules/micromark-util-encode/index.d.ts +14 -0
- package/node_modules/micromark-util-encode/index.d.ts.map +1 -0
- package/node_modules/micromark-util-encode/index.js +33 -0
- package/node_modules/micromark-util-encode/license +22 -0
- package/node_modules/micromark-util-encode/package.json +47 -0
- package/node_modules/micromark-util-encode/readme.md +176 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +124 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/node_modules/micromark-util-sanitize-uri/license +22 -0
- package/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/node_modules/micromark-util-sanitize-uri/readme.md +214 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/node_modules/micromark-util-symbol/license +22 -0
- package/node_modules/micromark-util-symbol/package.json +43 -0
- package/node_modules/micromark-util-symbol/readme.md +168 -0
- package/node_modules/micromark-util-types/index.d.ts +1312 -0
- package/node_modules/micromark-util-types/index.js +2 -0
- package/node_modules/micromark-util-types/license +22 -0
- package/node_modules/micromark-util-types/package.json +71 -0
- package/node_modules/micromark-util-types/readme.md +151 -0
- package/node_modules/oniguruma-parser/LICENSE +21 -0
- package/node_modules/oniguruma-parser/README.md +310 -0
- package/node_modules/oniguruma-parser/dist/bundle.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/bundle.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/bundle.js +2 -0
- package/node_modules/oniguruma-parser/dist/bundle.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.d.ts +11 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.js +2 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/index.d.ts +14 -0
- package/node_modules/oniguruma-parser/dist/index.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/index.js +2 -0
- package/node_modules/oniguruma-parser/dist/index.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +904 -0
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.d.ts +5 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.d.ts +23 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.d.ts +24 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.d.ts +8 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.d.ts +8 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.d.ts +15 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.d.ts +10 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.d.ts +14 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.d.ts +208 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.d.ts +122 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.d.ts +49 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/unicode.d.ts +8 -0
- package/node_modules/oniguruma-parser/dist/unicode.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/unicode.js +872 -0
- package/node_modules/oniguruma-parser/dist/unicode.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/utils.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/utils.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/utils.js +2 -0
- package/node_modules/oniguruma-parser/dist/utils.js.map +7 -0
- package/node_modules/oniguruma-parser/package.json +64 -0
- package/node_modules/oniguruma-to-es/LICENSE +21 -0
- package/node_modules/oniguruma-to-es/README.md +1110 -0
- package/node_modules/oniguruma-to-es/dist/cjs/generate.d.ts +27 -0
- package/node_modules/oniguruma-to-es/dist/cjs/index.d.ts +64 -0
- package/node_modules/oniguruma-to-es/dist/cjs/index.js +3145 -0
- package/node_modules/oniguruma-to-es/dist/cjs/index.js.map +7 -0
- package/node_modules/oniguruma-to-es/dist/cjs/options.d.ts +26 -0
- package/node_modules/oniguruma-to-es/dist/cjs/package.json +1 -0
- package/node_modules/oniguruma-to-es/dist/cjs/subclass.d.ts +39 -0
- package/node_modules/oniguruma-to-es/dist/cjs/transform.d.ts +54 -0
- package/node_modules/oniguruma-to-es/dist/cjs/unicode.d.ts +6 -0
- package/node_modules/oniguruma-to-es/dist/cjs/utils.d.ts +25 -0
- package/node_modules/oniguruma-to-es/dist/esm/generate.d.ts +27 -0
- package/node_modules/oniguruma-to-es/dist/esm/index.d.ts +64 -0
- package/node_modules/oniguruma-to-es/dist/esm/index.js +1878 -0
- package/node_modules/oniguruma-to-es/dist/esm/index.js.map +7 -0
- package/node_modules/oniguruma-to-es/dist/esm/options.d.ts +26 -0
- package/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
- package/node_modules/oniguruma-to-es/dist/esm/subclass.d.ts +39 -0
- package/node_modules/oniguruma-to-es/dist/esm/transform.d.ts +54 -0
- package/node_modules/oniguruma-to-es/dist/esm/unicode.d.ts +6 -0
- package/node_modules/oniguruma-to-es/dist/esm/utils.d.ts +25 -0
- package/node_modules/oniguruma-to-es/dist/index.min.js +142 -0
- package/node_modules/oniguruma-to-es/dist/index.min.js.map +7 -0
- package/node_modules/oniguruma-to-es/package.json +61 -0
- package/node_modules/pi-libtui/LICENSE +21 -0
- package/node_modules/pi-libtui/README.md +207 -0
- package/node_modules/pi-libtui/package.json +55 -0
- package/node_modules/pi-libtui/src/activity-presentation.ts +75 -0
- package/node_modules/pi-libtui/src/appearance.ts +632 -0
- package/node_modules/pi-libtui/src/background-surface.ts +125 -0
- package/node_modules/pi-libtui/src/color/palette.ts +186 -0
- package/node_modules/pi-libtui/src/color/preview.ts +157 -0
- package/node_modules/pi-libtui/src/color/resolver.ts +75 -0
- package/node_modules/pi-libtui/src/color/theme.ts +531 -0
- package/node_modules/pi-libtui/src/component-stack.ts +247 -0
- package/node_modules/pi-libtui/src/content/markdown-code.ts +60 -0
- package/node_modules/pi-libtui/src/content/terminal-text.ts +135 -0
- package/node_modules/pi-libtui/src/content/text.ts +105 -0
- package/node_modules/pi-libtui/src/controls/action-panel.ts +420 -0
- package/node_modules/pi-libtui/src/controls/dialog-button-bar.ts +287 -0
- package/node_modules/pi-libtui/src/controls/multi-select.ts +467 -0
- package/node_modules/pi-libtui/src/controls/picker-panel.ts +447 -0
- package/node_modules/pi-libtui/src/controls/screen-icon-actions.ts +134 -0
- package/node_modules/pi-libtui/src/controls/searchable-select.ts +394 -0
- package/node_modules/pi-libtui/src/controls/select-box.ts +224 -0
- package/node_modules/pi-libtui/src/controls/selectable-list.ts +433 -0
- package/node_modules/pi-libtui/src/controls/selection-action-bar.ts +382 -0
- package/node_modules/pi-libtui/src/controls/semantic-input.ts +23 -0
- package/node_modules/pi-libtui/src/controls/tab.ts +189 -0
- package/node_modules/pi-libtui/src/cursor.ts +288 -0
- package/node_modules/pi-libtui/src/decoration/editor-pills.ts +156 -0
- package/node_modules/pi-libtui/src/decoration/glyphs.ts +326 -0
- package/node_modules/pi-libtui/src/decoration/pointer-interaction.ts +123 -0
- package/node_modules/pi-libtui/src/decoration/powerline-pill.ts +104 -0
- package/node_modules/pi-libtui/src/decoration/status.ts +185 -0
- package/node_modules/pi-libtui/src/decoration/transient-pill.ts +176 -0
- package/node_modules/pi-libtui/src/diff/index.ts +21 -0
- package/node_modules/pi-libtui/src/diff/model.ts +76 -0
- package/node_modules/pi-libtui/src/diff/parse.ts +310 -0
- package/node_modules/pi-libtui/src/diff/pierre-syntax.ts +86 -0
- package/node_modules/pi-libtui/src/diff/render.ts +504 -0
- package/node_modules/pi-libtui/src/diff/structured.ts +264 -0
- package/node_modules/pi-libtui/src/diff/view.ts +75 -0
- package/node_modules/pi-libtui/src/editor/chrome.ts +341 -0
- package/node_modules/pi-libtui/src/editor/composition.ts +53 -0
- package/node_modules/pi-libtui/src/editor/layout.ts +81 -0
- package/node_modules/pi-libtui/src/editor/presentation.ts +35 -0
- package/node_modules/pi-libtui/src/editor/protocol.ts +188 -0
- package/node_modules/pi-libtui/src/editor.ts +41 -0
- package/node_modules/pi-libtui/src/extension.ts +30 -0
- package/node_modules/pi-libtui/src/folding.ts +192 -0
- package/node_modules/pi-libtui/src/host/cursor-bridge.ts +210 -0
- package/node_modules/pi-libtui/src/host/editor-bridge.ts +148 -0
- package/node_modules/pi-libtui/src/host/extension-host.ts +231 -0
- package/node_modules/pi-libtui/src/host/mouse-bridge.ts +212 -0
- package/node_modules/pi-libtui/src/host/mouse-dispatch.ts +400 -0
- package/node_modules/pi-libtui/src/host/mouse-input.ts +85 -0
- package/node_modules/pi-libtui/src/host/mouse-targets.ts +238 -0
- package/node_modules/pi-libtui/src/host/pi-layout-adapter.ts +298 -0
- package/node_modules/pi-libtui/src/host/pi-native-selection.ts +227 -0
- package/node_modules/pi-libtui/src/host/split-pane-bridge.ts +720 -0
- package/node_modules/pi-libtui/src/host/transcript-bridge.ts +236 -0
- package/node_modules/pi-libtui/src/index.ts +334 -0
- package/node_modules/pi-libtui/src/line-layout.ts +6 -0
- package/node_modules/pi-libtui/src/motion.ts +1409 -0
- package/node_modules/pi-libtui/src/mouse/events.ts +55 -0
- package/node_modules/pi-libtui/src/mouse/fullscreen-layout.ts +260 -0
- package/node_modules/pi-libtui/src/mouse/registry.ts +348 -0
- package/node_modules/pi-libtui/src/mouse.ts +37 -0
- package/node_modules/pi-libtui/src/native-binary.ts +189 -0
- package/node_modules/pi-libtui/src/overlay/anchored.ts +91 -0
- package/node_modules/pi-libtui/src/overlay/detail-card.ts +158 -0
- package/node_modules/pi-libtui/src/overlay/dialog.ts +266 -0
- package/node_modules/pi-libtui/src/overlay/floating.ts +106 -0
- package/node_modules/pi-libtui/src/overlay/framed-editor.ts +236 -0
- package/node_modules/pi-libtui/src/overlay/fullscreen.ts +170 -0
- package/node_modules/pi-libtui/src/overlay/hover-tooltip.ts +109 -0
- package/node_modules/pi-libtui/src/overlay/modal-mount.ts +118 -0
- package/node_modules/pi-libtui/src/panels.ts +207 -0
- package/node_modules/pi-libtui/src/render-cache.ts +80 -0
- package/node_modules/pi-libtui/src/render-epoch.ts +48 -0
- package/node_modules/pi-libtui/src/request-animation.ts +160 -0
- package/node_modules/pi-libtui/src/scrollbar.ts +27 -0
- package/node_modules/pi-libtui/src/selection.ts +148 -0
- package/node_modules/pi-libtui/src/split-pane.ts +232 -0
- package/node_modules/pi-libtui/src/status-presentation.ts +411 -0
- package/node_modules/pi-libtui/src/stream.ts +543 -0
- package/node_modules/pi-libtui/src/syntax.ts +316 -0
- package/node_modules/pi-libtui/src/terminal/bridge-client.ts +243 -0
- package/node_modules/pi-libtui/src/terminal/embedding.ts +6 -0
- package/node_modules/pi-libtui/src/terminal/output.ts +151 -0
- package/node_modules/pi-libtui/src/terminal/projection.ts +362 -0
- package/node_modules/pi-libtui/src/terminal/pty-host.ts +263 -0
- package/node_modules/pi-libtui/src/terminal/pty-pane.ts +308 -0
- package/node_modules/pi-libtui/src/terminal-colors.ts +334 -0
- package/node_modules/pi-libtui/src/tool/action.ts +170 -0
- package/node_modules/pi-libtui/src/tool/activity.ts +500 -0
- package/node_modules/pi-libtui/src/tool/call-preview.ts +44 -0
- package/node_modules/pi-libtui/src/tool/disclosure-action.ts +89 -0
- package/node_modules/pi-libtui/src/tool/expanded-region-viewport.ts +103 -0
- package/node_modules/pi-libtui/src/tool/index.ts +26 -0
- package/node_modules/pi-libtui/src/tool/output.ts +271 -0
- package/node_modules/pi-libtui/src/tool/transcript.ts +150 -0
- package/node_modules/pi-libtui/src/tool/view-region.ts +581 -0
- package/node_modules/pi-libtui/test/appearance.test.ts +183 -0
- package/node_modules/pi-libtui/test/bounded-stream.test.ts +150 -0
- package/node_modules/pi-libtui/test/bridge-client.test.ts +42 -0
- package/node_modules/pi-libtui/test/color-preview.test.ts +23 -0
- package/node_modules/pi-libtui/test/component-stack.test.ts +206 -0
- package/node_modules/pi-libtui/test/components.test.ts +1165 -0
- package/node_modules/pi-libtui/test/content-text.test.ts +21 -0
- package/node_modules/pi-libtui/test/cursor-bridge.test.ts +151 -0
- package/node_modules/pi-libtui/test/cursor.test.ts +147 -0
- package/node_modules/pi-libtui/test/editor-chrome.test.ts +119 -0
- package/node_modules/pi-libtui/test/editor-layout.test.ts +30 -0
- package/node_modules/pi-libtui/test/editor-registry.test.ts +203 -0
- package/node_modules/pi-libtui/test/editor-theme.test.ts +33 -0
- package/node_modules/pi-libtui/test/editor-token-pill.test.ts +72 -0
- package/node_modules/pi-libtui/test/floating-overlay.test.ts +57 -0
- package/node_modules/pi-libtui/test/folding.test.ts +147 -0
- package/node_modules/pi-libtui/test/harmonious-theme.test.ts +23 -0
- package/node_modules/pi-libtui/test/interaction.test.ts +104 -0
- package/node_modules/pi-libtui/test/key-icons.test.ts +62 -0
- package/node_modules/pi-libtui/test/markdown-code.test.ts +24 -0
- package/node_modules/pi-libtui/test/modal-overlay-mount.test.ts +94 -0
- package/node_modules/pi-libtui/test/motion.test.ts +649 -0
- package/node_modules/pi-libtui/test/mouse/bridge.test.ts +1302 -0
- package/node_modules/pi-libtui/test/mouse/extension.test.ts +205 -0
- package/node_modules/pi-libtui/test/mouse/registry.test.ts +140 -0
- package/node_modules/pi-libtui/test/mouse/screen-decoration.test.ts +167 -0
- package/node_modules/pi-libtui/test/native-binary.test.ts +52 -0
- package/node_modules/pi-libtui/test/palette.test.ts +32 -0
- package/node_modules/pi-libtui/test/panels.test.ts +74 -0
- package/node_modules/pi-libtui/test/pointer-components.test.ts +151 -0
- package/node_modules/pi-libtui/test/progress.test.ts +54 -0
- package/node_modules/pi-libtui/test/pty-host.test.ts +126 -0
- package/node_modules/pi-libtui/test/pty-pane.test.ts +62 -0
- package/node_modules/pi-libtui/test/public-surface.test.ts +75 -0
- package/node_modules/pi-libtui/test/render-cache.test.ts +25 -0
- package/node_modules/pi-libtui/test/render-epoch.test.ts +119 -0
- package/node_modules/pi-libtui/test/request-animation.test.ts +193 -0
- package/node_modules/pi-libtui/test/screen-icon-actions.test.ts +69 -0
- package/node_modules/pi-libtui/test/select-box.test.ts +86 -0
- package/node_modules/pi-libtui/test/select-pointer.test.ts +369 -0
- package/node_modules/pi-libtui/test/selectable-list.test.ts +258 -0
- package/node_modules/pi-libtui/test/selection/registry.test.ts +44 -0
- package/node_modules/pi-libtui/test/selection-action-bar.test.ts +204 -0
- package/node_modules/pi-libtui/test/split-pane-bridge.test.ts +944 -0
- package/node_modules/pi-libtui/test/split-pane.test.ts +134 -0
- package/node_modules/pi-libtui/test/status-presentation.test.ts +39 -0
- package/node_modules/pi-libtui/test/syntax.test.ts +59 -0
- package/node_modules/pi-libtui/test/terminal-colors.test.ts +115 -0
- package/node_modules/pi-libtui/test/terminal-embedding.test.ts +12 -0
- package/node_modules/pi-libtui/test/terminal-projection.test.ts +312 -0
- package/node_modules/pi-libtui/test/theme-colors.test.ts +175 -0
- package/node_modules/pi-libtui/test/tool-output.test.ts +160 -0
- package/node_modules/pi-libtui/test/tool-transcript.test.ts +1190 -0
- package/node_modules/pi-libtui/test/unified-diff.test.ts +691 -0
- package/node_modules/pi-libtui/themes/harmonious.json +61 -0
- package/node_modules/pi-libtui/tsconfig.json +16 -0
- package/node_modules/property-information/index.d.ts +121 -0
- package/node_modules/property-information/index.js +17 -0
- package/node_modules/property-information/lib/aria.d.ts +2 -0
- package/node_modules/property-information/lib/aria.d.ts.map +1 -0
- package/node_modules/property-information/lib/aria.js +61 -0
- package/node_modules/property-information/lib/find.d.ts +34 -0
- package/node_modules/property-information/lib/find.d.ts.map +1 -0
- package/node_modules/property-information/lib/find.js +97 -0
- package/node_modules/property-information/lib/hast-to-react.d.ts +13 -0
- package/node_modules/property-information/lib/hast-to-react.d.ts.map +1 -0
- package/node_modules/property-information/lib/hast-to-react.js +30 -0
- package/node_modules/property-information/lib/html.d.ts +2 -0
- package/node_modules/property-information/lib/html.d.ts.map +1 -0
- package/node_modules/property-information/lib/html.js +332 -0
- package/node_modules/property-information/lib/normalize.d.ts +11 -0
- package/node_modules/property-information/lib/normalize.d.ts.map +1 -0
- package/node_modules/property-information/lib/normalize.js +12 -0
- package/node_modules/property-information/lib/svg.d.ts +2 -0
- package/node_modules/property-information/lib/svg.d.ts.map +1 -0
- package/node_modules/property-information/lib/svg.js +569 -0
- package/node_modules/property-information/lib/util/case-insensitive-transform.d.ts +10 -0
- package/node_modules/property-information/lib/util/case-insensitive-transform.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/case-insensitive-transform.js +13 -0
- package/node_modules/property-information/lib/util/case-sensitive-transform.d.ts +10 -0
- package/node_modules/property-information/lib/util/case-sensitive-transform.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/case-sensitive-transform.js +11 -0
- package/node_modules/property-information/lib/util/create.d.ts +39 -0
- package/node_modules/property-information/lib/util/create.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/create.js +69 -0
- package/node_modules/property-information/lib/util/defined-info.d.ts +19 -0
- package/node_modules/property-information/lib/util/defined-info.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/defined-info.js +60 -0
- package/node_modules/property-information/lib/util/info.d.ts +28 -0
- package/node_modules/property-information/lib/util/info.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/info.js +32 -0
- package/node_modules/property-information/lib/util/merge.d.ts +12 -0
- package/node_modules/property-information/lib/util/merge.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/merge.js +27 -0
- package/node_modules/property-information/lib/util/schema.d.ts +23 -0
- package/node_modules/property-information/lib/util/schema.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/schema.js +29 -0
- package/node_modules/property-information/lib/util/types.d.ts +8 -0
- package/node_modules/property-information/lib/util/types.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/types.js +13 -0
- package/node_modules/property-information/lib/xlink.d.ts +2 -0
- package/node_modules/property-information/lib/xlink.d.ts.map +1 -0
- package/node_modules/property-information/lib/xlink.js +17 -0
- package/node_modules/property-information/lib/xml.d.ts +2 -0
- package/node_modules/property-information/lib/xml.d.ts.map +1 -0
- package/node_modules/property-information/lib/xml.js +9 -0
- package/node_modules/property-information/lib/xmlns.d.ts +2 -0
- package/node_modules/property-information/lib/xmlns.d.ts.map +1 -0
- package/node_modules/property-information/lib/xmlns.js +9 -0
- package/node_modules/property-information/license +22 -0
- package/node_modules/property-information/package.json +84 -0
- package/node_modules/property-information/readme.md +1073 -0
- package/node_modules/regex/LICENSE +21 -0
- package/node_modules/regex/README.md +972 -0
- package/node_modules/regex/dist/cjs/atomic.d.ts +18 -0
- package/node_modules/regex/dist/cjs/backcompat.d.ts +8 -0
- package/node_modules/regex/dist/cjs/flag-n.d.ts +4 -0
- package/node_modules/regex/dist/cjs/flag-x.d.ts +11 -0
- package/node_modules/regex/dist/cjs/internals.d.ts +2 -0
- package/node_modules/regex/dist/cjs/package.json +1 -0
- package/node_modules/regex/dist/cjs/pattern.d.ts +43 -0
- package/node_modules/regex/dist/cjs/regex.d.ts +111 -0
- package/node_modules/regex/dist/cjs/regex.js +1335 -0
- package/node_modules/regex/dist/cjs/regex.js.map +7 -0
- package/node_modules/regex/dist/cjs/subclass.d.ts +31 -0
- package/node_modules/regex/dist/cjs/subroutines.d.ts +17 -0
- package/node_modules/regex/dist/cjs/utils-internals.d.ts +15 -0
- package/node_modules/regex/dist/cjs/utils.d.ts +115 -0
- package/node_modules/regex/dist/esm/atomic.d.ts +18 -0
- package/node_modules/regex/dist/esm/backcompat.d.ts +8 -0
- package/node_modules/regex/dist/esm/flag-n.d.ts +4 -0
- package/node_modules/regex/dist/esm/flag-x.d.ts +11 -0
- package/node_modules/regex/dist/esm/internals.d.ts +2 -0
- package/node_modules/regex/dist/esm/package.json +1 -0
- package/node_modules/regex/dist/esm/pattern.d.ts +43 -0
- package/node_modules/regex/dist/esm/regex.d.ts +111 -0
- package/node_modules/regex/dist/esm/regex.js +1313 -0
- package/node_modules/regex/dist/esm/regex.js.map +7 -0
- package/node_modules/regex/dist/esm/subclass.d.ts +31 -0
- package/node_modules/regex/dist/esm/subroutines.d.ts +17 -0
- package/node_modules/regex/dist/esm/utils-internals.d.ts +15 -0
- package/node_modules/regex/dist/esm/utils.d.ts +115 -0
- package/node_modules/regex/dist/regex.min.js +76 -0
- package/node_modules/regex/dist/regex.min.js.map +7 -0
- package/node_modules/regex/package.json +60 -0
- package/node_modules/regex/src/atomic.js +224 -0
- package/node_modules/regex/src/backcompat.js +64 -0
- package/node_modules/regex/src/flag-n.js +49 -0
- package/node_modules/regex/src/flag-x.js +198 -0
- package/node_modules/regex/src/internals.js +2 -0
- package/node_modules/regex/src/pattern.js +45 -0
- package/node_modules/regex/src/regex.js +389 -0
- package/node_modules/regex/src/subclass.js +98 -0
- package/node_modules/regex/src/subroutines.js +375 -0
- package/node_modules/regex/src/utils-internals.js +33 -0
- package/node_modules/regex/src/utils.js +401 -0
- package/node_modules/regex-recursion/LICENSE +21 -0
- package/node_modules/regex-recursion/README.md +151 -0
- package/node_modules/regex-recursion/dist/regex-recursion.min.js +2 -0
- package/node_modules/regex-recursion/dist/regex-recursion.min.js.map +7 -0
- package/node_modules/regex-recursion/package.json +47 -0
- package/node_modules/regex-recursion/src/index.js +365 -0
- package/node_modules/regex-recursion/types/index.d.ts +24 -0
- package/node_modules/regex-utilities/LICENSE +21 -0
- package/node_modules/regex-utilities/README.md +78 -0
- package/node_modules/regex-utilities/package.json +35 -0
- package/node_modules/regex-utilities/src/index.js +170 -0
- package/node_modules/regex-utilities/types/index.d.ts +84 -0
- package/node_modules/shiki/LICENSE +22 -0
- package/node_modules/shiki/README.md +15 -0
- package/node_modules/shiki/dist/bundle-full.d.mts +21 -0
- package/node_modules/shiki/dist/bundle-full.mjs +25 -0
- package/node_modules/shiki/dist/bundle-web.d.mts +31 -0
- package/node_modules/shiki/dist/bundle-web.mjs +347 -0
- package/node_modules/shiki/dist/core-CaxrMD1A.d.mts +1 -0
- package/node_modules/shiki/dist/core-unwasm.d.mts +1 -0
- package/node_modules/shiki/dist/core-unwasm.mjs +10 -0
- package/node_modules/shiki/dist/core.d.mts +2 -0
- package/node_modules/shiki/dist/core.mjs +3 -0
- package/node_modules/shiki/dist/engine-javascript.d.mts +1 -0
- package/node_modules/shiki/dist/engine-javascript.mjs +2 -0
- package/node_modules/shiki/dist/engine-oniguruma.d.mts +1 -0
- package/node_modules/shiki/dist/engine-oniguruma.mjs +8 -0
- package/node_modules/shiki/dist/index.d.mts +8 -0
- package/node_modules/shiki/dist/index.mjs +8 -0
- package/node_modules/shiki/dist/langs/1c-query.d.mts +1 -0
- package/node_modules/shiki/dist/langs/1c-query.mjs +1 -0
- package/node_modules/shiki/dist/langs/1c.d.mts +1 -0
- package/node_modules/shiki/dist/langs/1c.mjs +1 -0
- package/node_modules/shiki/dist/langs/abap.d.mts +1 -0
- package/node_modules/shiki/dist/langs/abap.mjs +1 -0
- package/node_modules/shiki/dist/langs/actionscript-3.d.mts +1 -0
- package/node_modules/shiki/dist/langs/actionscript-3.mjs +1 -0
- package/node_modules/shiki/dist/langs/actionscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/actionscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/ada.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ada.mjs +1 -0
- package/node_modules/shiki/dist/langs/adoc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/adoc.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ahk.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk1.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ahk1.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk2.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ahk2.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-expression.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-expression.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-style.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-style.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-template.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-template.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-let-declaration.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-let-declaration.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-template-blocks.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-template-blocks.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-template.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-template.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-ts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/apache.d.mts +1 -0
- package/node_modules/shiki/dist/langs/apache.mjs +1 -0
- package/node_modules/shiki/dist/langs/apex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/apex.mjs +1 -0
- package/node_modules/shiki/dist/langs/apl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/apl.mjs +1 -0
- package/node_modules/shiki/dist/langs/applescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/applescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/ara.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ara.mjs +1 -0
- package/node_modules/shiki/dist/langs/as3.d.mts +1 -0
- package/node_modules/shiki/dist/langs/as3.mjs +1 -0
- package/node_modules/shiki/dist/langs/asciidoc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/asciidoc.mjs +1 -0
- package/node_modules/shiki/dist/langs/asm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/asm.mjs +1 -0
- package/node_modules/shiki/dist/langs/astro.d.mts +1 -0
- package/node_modules/shiki/dist/langs/astro.mjs +1 -0
- package/node_modules/shiki/dist/langs/awk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/awk.mjs +1 -0
- package/node_modules/shiki/dist/langs/ballerina.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ballerina.mjs +1 -0
- package/node_modules/shiki/dist/langs/bash.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bash.mjs +1 -0
- package/node_modules/shiki/dist/langs/bat.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bat.mjs +1 -0
- package/node_modules/shiki/dist/langs/batch.d.mts +1 -0
- package/node_modules/shiki/dist/langs/batch.mjs +1 -0
- package/node_modules/shiki/dist/langs/be.d.mts +1 -0
- package/node_modules/shiki/dist/langs/be.mjs +1 -0
- package/node_modules/shiki/dist/langs/beancount.d.mts +1 -0
- package/node_modules/shiki/dist/langs/beancount.mjs +1 -0
- package/node_modules/shiki/dist/langs/berry.d.mts +1 -0
- package/node_modules/shiki/dist/langs/berry.mjs +1 -0
- package/node_modules/shiki/dist/langs/bibtex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bibtex.mjs +1 -0
- package/node_modules/shiki/dist/langs/bicep.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bicep.mjs +1 -0
- package/node_modules/shiki/dist/langs/bird.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bird.mjs +1 -0
- package/node_modules/shiki/dist/langs/bird2.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bird2.mjs +1 -0
- package/node_modules/shiki/dist/langs/blade.d.mts +1 -0
- package/node_modules/shiki/dist/langs/blade.mjs +1 -0
- package/node_modules/shiki/dist/langs/bsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/c.d.mts +1 -0
- package/node_modules/shiki/dist/langs/c.mjs +1 -0
- package/node_modules/shiki/dist/langs/c3.d.mts +1 -0
- package/node_modules/shiki/dist/langs/c3.mjs +1 -0
- package/node_modules/shiki/dist/langs/cadence.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cadence.mjs +1 -0
- package/node_modules/shiki/dist/langs/cairo.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cairo.mjs +1 -0
- package/node_modules/shiki/dist/langs/cdc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cdc.mjs +1 -0
- package/node_modules/shiki/dist/langs/chapel.d.mts +1 -0
- package/node_modules/shiki/dist/langs/chapel.mjs +1 -0
- package/node_modules/shiki/dist/langs/chpl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/chpl.mjs +1 -0
- package/node_modules/shiki/dist/langs/cjs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/clarity.d.mts +1 -0
- package/node_modules/shiki/dist/langs/clarity.mjs +1 -0
- package/node_modules/shiki/dist/langs/clj.d.mts +1 -0
- package/node_modules/shiki/dist/langs/clj.mjs +1 -0
- package/node_modules/shiki/dist/langs/clojure.d.mts +1 -0
- package/node_modules/shiki/dist/langs/clojure.mjs +1 -0
- package/node_modules/shiki/dist/langs/closure-templates.d.mts +1 -0
- package/node_modules/shiki/dist/langs/closure-templates.mjs +1 -0
- package/node_modules/shiki/dist/langs/cmake.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cmake.mjs +1 -0
- package/node_modules/shiki/dist/langs/cmd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cmd.mjs +1 -0
- package/node_modules/shiki/dist/langs/cobol.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cobol.mjs +1 -0
- package/node_modules/shiki/dist/langs/codeowners.d.mts +1 -0
- package/node_modules/shiki/dist/langs/codeowners.mjs +1 -0
- package/node_modules/shiki/dist/langs/codeql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/codeql.mjs +1 -0
- package/node_modules/shiki/dist/langs/coffee.d.mts +1 -0
- package/node_modules/shiki/dist/langs/coffee.mjs +1 -0
- package/node_modules/shiki/dist/langs/coffeescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/coffeescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/common-lisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/common-lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/console.d.mts +1 -0
- package/node_modules/shiki/dist/langs/console.mjs +1 -0
- package/node_modules/shiki/dist/langs/coq.d.mts +1 -0
- package/node_modules/shiki/dist/langs/coq.mjs +1 -0
- package/node_modules/shiki/dist/langs/cpp-macro.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cpp-macro.mjs +1 -0
- package/node_modules/shiki/dist/langs/cpp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cpp.mjs +1 -0
- package/node_modules/shiki/dist/langs/cql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cql.mjs +1 -0
- package/node_modules/shiki/dist/langs/crystal.d.mts +1 -0
- package/node_modules/shiki/dist/langs/crystal.mjs +1 -0
- package/node_modules/shiki/dist/langs/cs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cs.mjs +1 -0
- package/node_modules/shiki/dist/langs/csharp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/csharp.mjs +1 -0
- package/node_modules/shiki/dist/langs/css.d.mts +1 -0
- package/node_modules/shiki/dist/langs/css.mjs +1 -0
- package/node_modules/shiki/dist/langs/csv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/csv.mjs +1 -0
- package/node_modules/shiki/dist/langs/cts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cts.mjs +1 -0
- package/node_modules/shiki/dist/langs/cue.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cue.mjs +1 -0
- package/node_modules/shiki/dist/langs/cypher.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cypher.mjs +1 -0
- package/node_modules/shiki/dist/langs/d.d.mts +1 -0
- package/node_modules/shiki/dist/langs/d.mjs +1 -0
- package/node_modules/shiki/dist/langs/dart.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dart.mjs +1 -0
- package/node_modules/shiki/dist/langs/dax.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dax.mjs +1 -0
- package/node_modules/shiki/dist/langs/desktop.d.mts +1 -0
- package/node_modules/shiki/dist/langs/desktop.mjs +1 -0
- package/node_modules/shiki/dist/langs/diff.d.mts +1 -0
- package/node_modules/shiki/dist/langs/diff.mjs +1 -0
- package/node_modules/shiki/dist/langs/docker.d.mts +1 -0
- package/node_modules/shiki/dist/langs/docker.mjs +1 -0
- package/node_modules/shiki/dist/langs/dockerfile.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dockerfile.mjs +1 -0
- package/node_modules/shiki/dist/langs/dotenv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dotenv.mjs +1 -0
- package/node_modules/shiki/dist/langs/dream-maker.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dream-maker.mjs +1 -0
- package/node_modules/shiki/dist/langs/edge.d.mts +1 -0
- package/node_modules/shiki/dist/langs/edge.mjs +1 -0
- package/node_modules/shiki/dist/langs/elisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/elisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/elixir.d.mts +1 -0
- package/node_modules/shiki/dist/langs/elixir.mjs +1 -0
- package/node_modules/shiki/dist/langs/elm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/elm.mjs +1 -0
- package/node_modules/shiki/dist/langs/emacs-lisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/emacs-lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/erb.d.mts +1 -0
- package/node_modules/shiki/dist/langs/erb.mjs +1 -0
- package/node_modules/shiki/dist/langs/erl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/erl.mjs +1 -0
- package/node_modules/shiki/dist/langs/erlang.d.mts +1 -0
- package/node_modules/shiki/dist/langs/erlang.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-css.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-css.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-glsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-glsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-sql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-sql.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-xml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-xml.mjs +1 -0
- package/node_modules/shiki/dist/langs/f.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f.mjs +1 -0
- package/node_modules/shiki/dist/langs/f03.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f03.mjs +1 -0
- package/node_modules/shiki/dist/langs/f08.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f08.mjs +1 -0
- package/node_modules/shiki/dist/langs/f18.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f18.mjs +1 -0
- package/node_modules/shiki/dist/langs/f77.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f77.mjs +1 -0
- package/node_modules/shiki/dist/langs/f90.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f90.mjs +1 -0
- package/node_modules/shiki/dist/langs/f95.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f95.mjs +1 -0
- package/node_modules/shiki/dist/langs/fennel.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fennel.mjs +1 -0
- package/node_modules/shiki/dist/langs/fish.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fish.mjs +1 -0
- package/node_modules/shiki/dist/langs/fluent.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fluent.mjs +1 -0
- package/node_modules/shiki/dist/langs/for.d.mts +1 -0
- package/node_modules/shiki/dist/langs/for.mjs +1 -0
- package/node_modules/shiki/dist/langs/fortran-fixed-form.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fortran-fixed-form.mjs +1 -0
- package/node_modules/shiki/dist/langs/fortran-free-form.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fortran-free-form.mjs +1 -0
- package/node_modules/shiki/dist/langs/fs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fs.mjs +1 -0
- package/node_modules/shiki/dist/langs/fsharp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fsharp.mjs +1 -0
- package/node_modules/shiki/dist/langs/fsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/ftl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ftl.mjs +1 -0
- package/node_modules/shiki/dist/langs/gd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gd.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdresource.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gdresource.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gdscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdshader.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gdshader.mjs +1 -0
- package/node_modules/shiki/dist/langs/genie.d.mts +1 -0
- package/node_modules/shiki/dist/langs/genie.mjs +1 -0
- package/node_modules/shiki/dist/langs/gherkin.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gherkin.mjs +1 -0
- package/node_modules/shiki/dist/langs/git-commit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/git-commit.mjs +1 -0
- package/node_modules/shiki/dist/langs/git-rebase.d.mts +1 -0
- package/node_modules/shiki/dist/langs/git-rebase.mjs +1 -0
- package/node_modules/shiki/dist/langs/gjs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/gleam.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gleam.mjs +1 -0
- package/node_modules/shiki/dist/langs/glimmer-js.d.mts +1 -0
- package/node_modules/shiki/dist/langs/glimmer-js.mjs +1 -0
- package/node_modules/shiki/dist/langs/glimmer-ts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/glimmer-ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/glsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/glsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/gn.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gn.mjs +1 -0
- package/node_modules/shiki/dist/langs/gnuplot.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gnuplot.mjs +1 -0
- package/node_modules/shiki/dist/langs/go.d.mts +1 -0
- package/node_modules/shiki/dist/langs/go.mjs +1 -0
- package/node_modules/shiki/dist/langs/gql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gql.mjs +1 -0
- package/node_modules/shiki/dist/langs/graphql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/graphql.mjs +1 -0
- package/node_modules/shiki/dist/langs/groovy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/groovy.mjs +1 -0
- package/node_modules/shiki/dist/langs/gts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gts.mjs +1 -0
- package/node_modules/shiki/dist/langs/hack.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hack.mjs +1 -0
- package/node_modules/shiki/dist/langs/haml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/haml.mjs +1 -0
- package/node_modules/shiki/dist/langs/handlebars.d.mts +1 -0
- package/node_modules/shiki/dist/langs/handlebars.mjs +1 -0
- package/node_modules/shiki/dist/langs/haskell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/haskell.mjs +1 -0
- package/node_modules/shiki/dist/langs/haxe.d.mts +1 -0
- package/node_modules/shiki/dist/langs/haxe.mjs +1 -0
- package/node_modules/shiki/dist/langs/hbs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hbs.mjs +1 -0
- package/node_modules/shiki/dist/langs/hcl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hcl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hjson.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hjson.mjs +1 -0
- package/node_modules/shiki/dist/langs/hlsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hlsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hs.mjs +1 -0
- package/node_modules/shiki/dist/langs/html-derivative.d.mts +1 -0
- package/node_modules/shiki/dist/langs/html-derivative.mjs +1 -0
- package/node_modules/shiki/dist/langs/html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/html.mjs +1 -0
- package/node_modules/shiki/dist/langs/http.d.mts +1 -0
- package/node_modules/shiki/dist/langs/http.mjs +1 -0
- package/node_modules/shiki/dist/langs/hurl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hurl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hxml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hxml.mjs +1 -0
- package/node_modules/shiki/dist/langs/hy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hy.mjs +1 -0
- package/node_modules/shiki/dist/langs/imba.d.mts +1 -0
- package/node_modules/shiki/dist/langs/imba.mjs +1 -0
- package/node_modules/shiki/dist/langs/ini.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ini.mjs +1 -0
- package/node_modules/shiki/dist/langs/jade.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jade.mjs +1 -0
- package/node_modules/shiki/dist/langs/java.d.mts +1 -0
- package/node_modules/shiki/dist/langs/java.mjs +1 -0
- package/node_modules/shiki/dist/langs/javascript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/javascript.mjs +1 -0
- package/node_modules/shiki/dist/langs/jinja-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jinja-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/jinja.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jinja.mjs +1 -0
- package/node_modules/shiki/dist/langs/jison.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jison.mjs +1 -0
- package/node_modules/shiki/dist/langs/jl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jl.mjs +1 -0
- package/node_modules/shiki/dist/langs/js.d.mts +1 -0
- package/node_modules/shiki/dist/langs/js.mjs +1 -0
- package/node_modules/shiki/dist/langs/json.d.mts +1 -0
- package/node_modules/shiki/dist/langs/json.mjs +1 -0
- package/node_modules/shiki/dist/langs/json5.d.mts +1 -0
- package/node_modules/shiki/dist/langs/json5.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsonc.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsonl.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonnet.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsonnet.mjs +1 -0
- package/node_modules/shiki/dist/langs/jssm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jssm.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsx.mjs +1 -0
- package/node_modules/shiki/dist/langs/julia.d.mts +1 -0
- package/node_modules/shiki/dist/langs/julia.mjs +1 -0
- package/node_modules/shiki/dist/langs/just.d.mts +1 -0
- package/node_modules/shiki/dist/langs/just.mjs +1 -0
- package/node_modules/shiki/dist/langs/justfile.d.mts +1 -0
- package/node_modules/shiki/dist/langs/justfile.mjs +1 -0
- package/node_modules/shiki/dist/langs/kdl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kdl.mjs +1 -0
- package/node_modules/shiki/dist/langs/kotlin.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kotlin.mjs +1 -0
- package/node_modules/shiki/dist/langs/kql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kql.mjs +1 -0
- package/node_modules/shiki/dist/langs/kt.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kt.mjs +1 -0
- package/node_modules/shiki/dist/langs/kts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kts.mjs +1 -0
- package/node_modules/shiki/dist/langs/kusto.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kusto.mjs +1 -0
- package/node_modules/shiki/dist/langs/latex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/latex.mjs +1 -0
- package/node_modules/shiki/dist/langs/lean.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lean.mjs +1 -0
- package/node_modules/shiki/dist/langs/lean4.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lean4.mjs +1 -0
- package/node_modules/shiki/dist/langs/less.d.mts +1 -0
- package/node_modules/shiki/dist/langs/less.mjs +1 -0
- package/node_modules/shiki/dist/langs/liquid.d.mts +1 -0
- package/node_modules/shiki/dist/langs/liquid.mjs +1 -0
- package/node_modules/shiki/dist/langs/lisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/lit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lit.mjs +1 -0
- package/node_modules/shiki/dist/langs/llvm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/llvm.mjs +1 -0
- package/node_modules/shiki/dist/langs/log.d.mts +1 -0
- package/node_modules/shiki/dist/langs/log.mjs +1 -0
- package/node_modules/shiki/dist/langs/logo.d.mts +1 -0
- package/node_modules/shiki/dist/langs/logo.mjs +1 -0
- package/node_modules/shiki/dist/langs/lua.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lua.mjs +1 -0
- package/node_modules/shiki/dist/langs/luau.d.mts +1 -0
- package/node_modules/shiki/dist/langs/luau.mjs +1 -0
- package/node_modules/shiki/dist/langs/make.d.mts +1 -0
- package/node_modules/shiki/dist/langs/make.mjs +1 -0
- package/node_modules/shiki/dist/langs/makefile.d.mts +1 -0
- package/node_modules/shiki/dist/langs/makefile.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown-nix.d.mts +1 -0
- package/node_modules/shiki/dist/langs/markdown-nix.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown-vue.d.mts +1 -0
- package/node_modules/shiki/dist/langs/markdown-vue.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown.d.mts +1 -0
- package/node_modules/shiki/dist/langs/markdown.mjs +1 -0
- package/node_modules/shiki/dist/langs/marko.d.mts +1 -0
- package/node_modules/shiki/dist/langs/marko.mjs +1 -0
- package/node_modules/shiki/dist/langs/matlab.d.mts +1 -0
- package/node_modules/shiki/dist/langs/matlab.mjs +1 -0
- package/node_modules/shiki/dist/langs/mbt.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mbt.mjs +1 -0
- package/node_modules/shiki/dist/langs/mbti.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mbti.mjs +1 -0
- package/node_modules/shiki/dist/langs/md.d.mts +1 -0
- package/node_modules/shiki/dist/langs/md.mjs +1 -0
- package/node_modules/shiki/dist/langs/mdc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mdc.mjs +1 -0
- package/node_modules/shiki/dist/langs/mdx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mdx.mjs +1 -0
- package/node_modules/shiki/dist/langs/mediawiki.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mediawiki.mjs +1 -0
- package/node_modules/shiki/dist/langs/mermaid.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mermaid.mjs +1 -0
- package/node_modules/shiki/dist/langs/mips.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mips.mjs +1 -0
- package/node_modules/shiki/dist/langs/mipsasm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mipsasm.mjs +1 -0
- package/node_modules/shiki/dist/langs/mjs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/mmd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mmd.mjs +1 -0
- package/node_modules/shiki/dist/langs/mojo.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mojo.mjs +1 -0
- package/node_modules/shiki/dist/langs/moonbit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/moonbit.mjs +1 -0
- package/node_modules/shiki/dist/langs/move.d.mts +1 -0
- package/node_modules/shiki/dist/langs/move.mjs +1 -0
- package/node_modules/shiki/dist/langs/mts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mts.mjs +1 -0
- package/node_modules/shiki/dist/langs/nar.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nar.mjs +1 -0
- package/node_modules/shiki/dist/langs/narrat.d.mts +1 -0
- package/node_modules/shiki/dist/langs/narrat.mjs +1 -0
- package/node_modules/shiki/dist/langs/nextflow-groovy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nextflow-groovy.mjs +1 -0
- package/node_modules/shiki/dist/langs/nextflow.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nextflow.mjs +1 -0
- package/node_modules/shiki/dist/langs/nf.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nf.mjs +1 -0
- package/node_modules/shiki/dist/langs/nginx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nginx.mjs +1 -0
- package/node_modules/shiki/dist/langs/nim.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nim.mjs +1 -0
- package/node_modules/shiki/dist/langs/nix.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nix.mjs +1 -0
- package/node_modules/shiki/dist/langs/nsis.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nsis.mjs +1 -0
- package/node_modules/shiki/dist/langs/nu.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nu.mjs +1 -0
- package/node_modules/shiki/dist/langs/nushell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nushell.mjs +1 -0
- package/node_modules/shiki/dist/langs/objc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/objc.mjs +1 -0
- package/node_modules/shiki/dist/langs/objective-c.d.mts +1 -0
- package/node_modules/shiki/dist/langs/objective-c.mjs +1 -0
- package/node_modules/shiki/dist/langs/objective-cpp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/objective-cpp.mjs +1 -0
- package/node_modules/shiki/dist/langs/ocaml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ocaml.mjs +1 -0
- package/node_modules/shiki/dist/langs/odin.d.mts +1 -0
- package/node_modules/shiki/dist/langs/odin.mjs +1 -0
- package/node_modules/shiki/dist/langs/openscad.d.mts +1 -0
- package/node_modules/shiki/dist/langs/openscad.mjs +1 -0
- package/node_modules/shiki/dist/langs/org.d.mts +1 -0
- package/node_modules/shiki/dist/langs/org.mjs +1 -0
- package/node_modules/shiki/dist/langs/pascal.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pascal.mjs +1 -0
- package/node_modules/shiki/dist/langs/perl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/perl.mjs +1 -0
- package/node_modules/shiki/dist/langs/perl6.d.mts +1 -0
- package/node_modules/shiki/dist/langs/perl6.mjs +1 -0
- package/node_modules/shiki/dist/langs/php.d.mts +1 -0
- package/node_modules/shiki/dist/langs/php.mjs +1 -0
- package/node_modules/shiki/dist/langs/pkl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pkl.mjs +1 -0
- package/node_modules/shiki/dist/langs/plsql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/plsql.mjs +1 -0
- package/node_modules/shiki/dist/langs/po.d.mts +1 -0
- package/node_modules/shiki/dist/langs/po.mjs +1 -0
- package/node_modules/shiki/dist/langs/polar.d.mts +1 -0
- package/node_modules/shiki/dist/langs/polar.mjs +1 -0
- package/node_modules/shiki/dist/langs/postcss.d.mts +1 -0
- package/node_modules/shiki/dist/langs/postcss.mjs +1 -0
- package/node_modules/shiki/dist/langs/pot.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pot.mjs +1 -0
- package/node_modules/shiki/dist/langs/potx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/potx.mjs +1 -0
- package/node_modules/shiki/dist/langs/powerquery.d.mts +1 -0
- package/node_modules/shiki/dist/langs/powerquery.mjs +1 -0
- package/node_modules/shiki/dist/langs/powershell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/powershell.mjs +1 -0
- package/node_modules/shiki/dist/langs/prisma.d.mts +1 -0
- package/node_modules/shiki/dist/langs/prisma.mjs +1 -0
- package/node_modules/shiki/dist/langs/prolog.d.mts +1 -0
- package/node_modules/shiki/dist/langs/prolog.mjs +1 -0
- package/node_modules/shiki/dist/langs/properties.d.mts +1 -0
- package/node_modules/shiki/dist/langs/properties.mjs +1 -0
- package/node_modules/shiki/dist/langs/proto.d.mts +1 -0
- package/node_modules/shiki/dist/langs/proto.mjs +1 -0
- package/node_modules/shiki/dist/langs/protobuf.d.mts +1 -0
- package/node_modules/shiki/dist/langs/protobuf.mjs +1 -0
- package/node_modules/shiki/dist/langs/ps.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ps.mjs +1 -0
- package/node_modules/shiki/dist/langs/ps1.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ps1.mjs +1 -0
- package/node_modules/shiki/dist/langs/pug.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pug.mjs +1 -0
- package/node_modules/shiki/dist/langs/puppet.d.mts +1 -0
- package/node_modules/shiki/dist/langs/puppet.mjs +1 -0
- package/node_modules/shiki/dist/langs/purescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/purescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/pwsh.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pwsh.mjs +1 -0
- package/node_modules/shiki/dist/langs/py.d.mts +1 -0
- package/node_modules/shiki/dist/langs/py.mjs +1 -0
- package/node_modules/shiki/dist/langs/python.d.mts +1 -0
- package/node_modules/shiki/dist/langs/python.mjs +1 -0
- package/node_modules/shiki/dist/langs/ql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ql.mjs +1 -0
- package/node_modules/shiki/dist/langs/qml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/qml.mjs +1 -0
- package/node_modules/shiki/dist/langs/qmldir.d.mts +1 -0
- package/node_modules/shiki/dist/langs/qmldir.mjs +1 -0
- package/node_modules/shiki/dist/langs/qss.d.mts +1 -0
- package/node_modules/shiki/dist/langs/qss.mjs +1 -0
- package/node_modules/shiki/dist/langs/r.d.mts +1 -0
- package/node_modules/shiki/dist/langs/r.mjs +1 -0
- package/node_modules/shiki/dist/langs/racket.d.mts +1 -0
- package/node_modules/shiki/dist/langs/racket.mjs +1 -0
- package/node_modules/shiki/dist/langs/raku.d.mts +1 -0
- package/node_modules/shiki/dist/langs/raku.mjs +1 -0
- package/node_modules/shiki/dist/langs/razor.d.mts +1 -0
- package/node_modules/shiki/dist/langs/razor.mjs +1 -0
- package/node_modules/shiki/dist/langs/rb.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rb.mjs +1 -0
- package/node_modules/shiki/dist/langs/rbs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rbs.mjs +1 -0
- package/node_modules/shiki/dist/langs/reg.d.mts +1 -0
- package/node_modules/shiki/dist/langs/reg.mjs +1 -0
- package/node_modules/shiki/dist/langs/regex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/regex.mjs +1 -0
- package/node_modules/shiki/dist/langs/regexp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/regexp.mjs +1 -0
- package/node_modules/shiki/dist/langs/rel.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rel.mjs +1 -0
- package/node_modules/shiki/dist/langs/riscv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/riscv.mjs +1 -0
- package/node_modules/shiki/dist/langs/ron.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ron.mjs +1 -0
- package/node_modules/shiki/dist/langs/rosmsg.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rosmsg.mjs +1 -0
- package/node_modules/shiki/dist/langs/rs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rs.mjs +1 -0
- package/node_modules/shiki/dist/langs/rst.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rst.mjs +1 -0
- package/node_modules/shiki/dist/langs/ruby-signature.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ruby-signature.mjs +1 -0
- package/node_modules/shiki/dist/langs/ruby.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ruby.mjs +1 -0
- package/node_modules/shiki/dist/langs/rust.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rust.mjs +1 -0
- package/node_modules/shiki/dist/langs/sas.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sas.mjs +1 -0
- package/node_modules/shiki/dist/langs/sass.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sass.mjs +1 -0
- package/node_modules/shiki/dist/langs/scad.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scad.mjs +1 -0
- package/node_modules/shiki/dist/langs/scala.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scala.mjs +1 -0
- package/node_modules/shiki/dist/langs/scheme.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scheme.mjs +1 -0
- package/node_modules/shiki/dist/langs/scss.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scss.mjs +1 -0
- package/node_modules/shiki/dist/langs/sdbl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sdbl.mjs +1 -0
- package/node_modules/shiki/dist/langs/sh.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sh.mjs +1 -0
- package/node_modules/shiki/dist/langs/shader.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shader.mjs +1 -0
- package/node_modules/shiki/dist/langs/shaderlab.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shaderlab.mjs +1 -0
- package/node_modules/shiki/dist/langs/shell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shell.mjs +1 -0
- package/node_modules/shiki/dist/langs/shellscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shellscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/shellsession.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shellsession.mjs +1 -0
- package/node_modules/shiki/dist/langs/smalltalk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/smalltalk.mjs +1 -0
- package/node_modules/shiki/dist/langs/smithy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/smithy.mjs +1 -0
- package/node_modules/shiki/dist/langs/solidity.d.mts +1 -0
- package/node_modules/shiki/dist/langs/solidity.mjs +1 -0
- package/node_modules/shiki/dist/langs/soy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/soy.mjs +1 -0
- package/node_modules/shiki/dist/langs/sparql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sparql.mjs +1 -0
- package/node_modules/shiki/dist/langs/spl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/spl.mjs +1 -0
- package/node_modules/shiki/dist/langs/splunk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/splunk.mjs +1 -0
- package/node_modules/shiki/dist/langs/sql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sql.mjs +1 -0
- package/node_modules/shiki/dist/langs/ssh-config.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ssh-config.mjs +1 -0
- package/node_modules/shiki/dist/langs/stata.d.mts +1 -0
- package/node_modules/shiki/dist/langs/stata.mjs +1 -0
- package/node_modules/shiki/dist/langs/styl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/styl.mjs +1 -0
- package/node_modules/shiki/dist/langs/stylus.d.mts +1 -0
- package/node_modules/shiki/dist/langs/stylus.mjs +1 -0
- package/node_modules/shiki/dist/langs/surql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/surql.mjs +1 -0
- package/node_modules/shiki/dist/langs/surrealql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/surrealql.mjs +1 -0
- package/node_modules/shiki/dist/langs/svelte.d.mts +1 -0
- package/node_modules/shiki/dist/langs/svelte.mjs +1 -0
- package/node_modules/shiki/dist/langs/swift.d.mts +1 -0
- package/node_modules/shiki/dist/langs/swift.mjs +1 -0
- package/node_modules/shiki/dist/langs/system-verilog.d.mts +1 -0
- package/node_modules/shiki/dist/langs/system-verilog.mjs +1 -0
- package/node_modules/shiki/dist/langs/systemd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/systemd.mjs +1 -0
- package/node_modules/shiki/dist/langs/talon.d.mts +1 -0
- package/node_modules/shiki/dist/langs/talon.mjs +1 -0
- package/node_modules/shiki/dist/langs/talonscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/talonscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/tasl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tasl.mjs +1 -0
- package/node_modules/shiki/dist/langs/tcl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tcl.mjs +1 -0
- package/node_modules/shiki/dist/langs/templ.d.mts +1 -0
- package/node_modules/shiki/dist/langs/templ.mjs +1 -0
- package/node_modules/shiki/dist/langs/terraform.d.mts +1 -0
- package/node_modules/shiki/dist/langs/terraform.mjs +1 -0
- package/node_modules/shiki/dist/langs/tex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tex.mjs +1 -0
- package/node_modules/shiki/dist/langs/tf.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tf.mjs +1 -0
- package/node_modules/shiki/dist/langs/tfvars.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tfvars.mjs +1 -0
- package/node_modules/shiki/dist/langs/toml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/toml.mjs +1 -0
- package/node_modules/shiki/dist/langs/tres.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tres.mjs +1 -0
- package/node_modules/shiki/dist/langs/ts-tags.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ts-tags.mjs +1 -0
- package/node_modules/shiki/dist/langs/ts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/tscn.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tscn.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tsp.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tsv.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tsx.mjs +1 -0
- package/node_modules/shiki/dist/langs/turtle.d.mts +1 -0
- package/node_modules/shiki/dist/langs/turtle.mjs +1 -0
- package/node_modules/shiki/dist/langs/twig.d.mts +1 -0
- package/node_modules/shiki/dist/langs/twig.mjs +1 -0
- package/node_modules/shiki/dist/langs/typ.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typ.mjs +1 -0
- package/node_modules/shiki/dist/langs/typescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/typespec.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typespec.mjs +1 -0
- package/node_modules/shiki/dist/langs/typst.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typst.mjs +1 -0
- package/node_modules/shiki/dist/langs/v.d.mts +1 -0
- package/node_modules/shiki/dist/langs/v.mjs +1 -0
- package/node_modules/shiki/dist/langs/vala.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vala.mjs +1 -0
- package/node_modules/shiki/dist/langs/vb.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vb.mjs +1 -0
- package/node_modules/shiki/dist/langs/verilog.d.mts +1 -0
- package/node_modules/shiki/dist/langs/verilog.mjs +1 -0
- package/node_modules/shiki/dist/langs/vhdl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vhdl.mjs +1 -0
- package/node_modules/shiki/dist/langs/vim.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vim.mjs +1 -0
- package/node_modules/shiki/dist/langs/viml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/viml.mjs +1 -0
- package/node_modules/shiki/dist/langs/vimscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vimscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-directives.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-directives.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-interpolations.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-interpolations.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-sfc-style-variable-injection.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-sfc-style-variable-injection.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-vine.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-vine.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue.mjs +1 -0
- package/node_modules/shiki/dist/langs/vy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vy.mjs +1 -0
- package/node_modules/shiki/dist/langs/vyper.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vyper.mjs +1 -0
- package/node_modules/shiki/dist/langs/wasm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wasm.mjs +1 -0
- package/node_modules/shiki/dist/langs/wenyan.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wenyan.mjs +1 -0
- package/node_modules/shiki/dist/langs/wgsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wgsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/wiki.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wiki.mjs +1 -0
- package/node_modules/shiki/dist/langs/wikitext.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wikitext.mjs +1 -0
- package/node_modules/shiki/dist/langs/wit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wit.mjs +1 -0
- package/node_modules/shiki/dist/langs/wl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wl.mjs +1 -0
- package/node_modules/shiki/dist/langs/wolfram.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wolfram.mjs +1 -0
- package/node_modules/shiki/dist/langs/xml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/xml.mjs +1 -0
- package/node_modules/shiki/dist/langs/xsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/xsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/yaml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/yaml.mjs +1 -0
- package/node_modules/shiki/dist/langs/yml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/yml.mjs +1 -0
- package/node_modules/shiki/dist/langs/zenscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/zenscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/zig.d.mts +1 -0
- package/node_modules/shiki/dist/langs/zig.mjs +1 -0
- package/node_modules/shiki/dist/langs/zsh.d.mts +1 -0
- package/node_modules/shiki/dist/langs/zsh.mjs +1 -0
- package/node_modules/shiki/dist/langs-B38xGbib.d.mts +1 -0
- package/node_modules/shiki/dist/langs-bundle-full-B4n9xYHw.d.mts +13 -0
- package/node_modules/shiki/dist/langs-bundle-full-xQVO1Cek.mjs +1326 -0
- package/node_modules/shiki/dist/langs.d.mts +3 -0
- package/node_modules/shiki/dist/langs.mjs +2 -0
- package/node_modules/shiki/dist/onig.d.mts +1 -0
- package/node_modules/shiki/dist/onig.wasm +0 -0
- package/node_modules/shiki/dist/rolldown-runtime-BBjsoOtd.mjs +27 -0
- package/node_modules/shiki/dist/textmate.d.mts +1 -0
- package/node_modules/shiki/dist/textmate.mjs +2 -0
- package/node_modules/shiki/dist/themes/andromeeda.d.mts +1 -0
- package/node_modules/shiki/dist/themes/andromeeda.mjs +1 -0
- package/node_modules/shiki/dist/themes/aurora-x.d.mts +1 -0
- package/node_modules/shiki/dist/themes/aurora-x.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/ayu-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/ayu-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-mirage.d.mts +1 -0
- package/node_modules/shiki/dist/themes/ayu-mirage.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-frappe.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-frappe.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-latte.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-latte.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-macchiato.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-macchiato.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-mocha.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-mocha.mjs +1 -0
- package/node_modules/shiki/dist/themes/dark-plus.d.mts +1 -0
- package/node_modules/shiki/dist/themes/dark-plus.mjs +1 -0
- package/node_modules/shiki/dist/themes/dracula-soft.d.mts +1 -0
- package/node_modules/shiki/dist/themes/dracula-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/dracula.d.mts +1 -0
- package/node_modules/shiki/dist/themes/dracula.mjs +1 -0
- package/node_modules/shiki/dist/themes/everforest-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/everforest-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/everforest-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/everforest-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-default.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark-default.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-dimmed.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark-dimmed.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-high-contrast.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark-high-contrast.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light-default.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-light-default.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light-high-contrast.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-light-high-contrast.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-hard.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-hard.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-medium.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-medium.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-soft.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-hard.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-hard.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-medium.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-medium.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-soft.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/horizon-bright.d.mts +1 -0
- package/node_modules/shiki/dist/themes/horizon-bright.mjs +1 -0
- package/node_modules/shiki/dist/themes/horizon.d.mts +1 -0
- package/node_modules/shiki/dist/themes/horizon.mjs +1 -0
- package/node_modules/shiki/dist/themes/houston.d.mts +1 -0
- package/node_modules/shiki/dist/themes/houston.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-dragon.d.mts +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-dragon.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-lotus.d.mts +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-lotus.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-wave.d.mts +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-wave.mjs +1 -0
- package/node_modules/shiki/dist/themes/laserwave.d.mts +1 -0
- package/node_modules/shiki/dist/themes/laserwave.mjs +1 -0
- package/node_modules/shiki/dist/themes/light-plus.d.mts +1 -0
- package/node_modules/shiki/dist/themes/light-plus.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-darker.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-darker.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-lighter.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-lighter.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-ocean.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-ocean.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-palenight.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-palenight.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme.mjs +1 -0
- package/node_modules/shiki/dist/themes/min-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/min-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/min-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/min-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/monokai.d.mts +1 -0
- package/node_modules/shiki/dist/themes/monokai.mjs +1 -0
- package/node_modules/shiki/dist/themes/night-owl-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/night-owl-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/night-owl.d.mts +1 -0
- package/node_modules/shiki/dist/themes/night-owl.mjs +1 -0
- package/node_modules/shiki/dist/themes/nord.d.mts +1 -0
- package/node_modules/shiki/dist/themes/nord.mjs +1 -0
- package/node_modules/shiki/dist/themes/one-dark-pro.d.mts +1 -0
- package/node_modules/shiki/dist/themes/one-dark-pro.mjs +1 -0
- package/node_modules/shiki/dist/themes/one-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/one-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/plastic.d.mts +1 -0
- package/node_modules/shiki/dist/themes/plastic.mjs +1 -0
- package/node_modules/shiki/dist/themes/poimandres.d.mts +1 -0
- package/node_modules/shiki/dist/themes/poimandres.mjs +1 -0
- package/node_modules/shiki/dist/themes/red.d.mts +1 -0
- package/node_modules/shiki/dist/themes/red.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-dawn.d.mts +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-dawn.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-moon.d.mts +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-moon.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine.d.mts +1 -0
- package/node_modules/shiki/dist/themes/rose-pine.mjs +1 -0
- package/node_modules/shiki/dist/themes/slack-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/slack-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/slack-ochin.d.mts +1 -0
- package/node_modules/shiki/dist/themes/slack-ochin.mjs +1 -0
- package/node_modules/shiki/dist/themes/snazzy-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/snazzy-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/solarized-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/solarized-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/solarized-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/solarized-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/synthwave-84.d.mts +1 -0
- package/node_modules/shiki/dist/themes/synthwave-84.mjs +1 -0
- package/node_modules/shiki/dist/themes/tokyo-night.d.mts +1 -0
- package/node_modules/shiki/dist/themes/tokyo-night.mjs +1 -0
- package/node_modules/shiki/dist/themes/vesper.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vesper.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-black.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vitesse-black.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vitesse-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vitesse-light.mjs +1 -0
- package/node_modules/shiki/dist/themes-BKdFAJ1v.d.mts +7 -0
- package/node_modules/shiki/dist/themes.d.mts +2 -0
- package/node_modules/shiki/dist/themes.mjs +396 -0
- package/node_modules/shiki/dist/types.d.mts +9 -0
- package/node_modules/shiki/dist/types.mjs +1 -0
- package/node_modules/shiki/dist/wasm.d.mts +3 -0
- package/node_modules/shiki/dist/wasm.mjs +3 -0
- package/node_modules/shiki/package.json +73 -0
- package/node_modules/space-separated-tokens/index.d.ts +18 -0
- package/node_modules/space-separated-tokens/index.js +24 -0
- package/node_modules/space-separated-tokens/license +22 -0
- package/node_modules/space-separated-tokens/package.json +67 -0
- package/node_modules/space-separated-tokens/readme.md +156 -0
- package/node_modules/stringify-entities/index.d.ts +3 -0
- package/node_modules/stringify-entities/index.js +6 -0
- package/node_modules/stringify-entities/lib/constant/dangerous.d.ts +7 -0
- package/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
- package/node_modules/stringify-entities/lib/core.d.ts +26 -0
- package/node_modules/stringify-entities/lib/core.js +117 -0
- package/node_modules/stringify-entities/lib/index.d.ts +24 -0
- package/node_modules/stringify-entities/lib/index.js +36 -0
- package/node_modules/stringify-entities/lib/util/format-basic.d.ts +7 -0
- package/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
- package/node_modules/stringify-entities/lib/util/format-smart.d.ts +32 -0
- package/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
- package/node_modules/stringify-entities/lib/util/to-decimal.d.ts +9 -0
- package/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
- package/node_modules/stringify-entities/lib/util/to-hexadecimal.d.ts +9 -0
- package/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
- package/node_modules/stringify-entities/lib/util/to-named.d.ts +10 -0
- package/node_modules/stringify-entities/lib/util/to-named.js +57 -0
- package/node_modules/stringify-entities/license +22 -0
- package/node_modules/stringify-entities/package.json +86 -0
- package/node_modules/stringify-entities/readme.md +233 -0
- package/node_modules/trim-lines/index.d.ts +10 -0
- package/node_modules/trim-lines/index.js +69 -0
- package/node_modules/trim-lines/license +22 -0
- package/node_modules/trim-lines/package.json +67 -0
- package/node_modules/trim-lines/readme.md +125 -0
- package/node_modules/unist-util-is/index.d.ts +5 -0
- package/node_modules/unist-util-is/index.d.ts.map +1 -0
- package/node_modules/unist-util-is/index.js +7 -0
- package/node_modules/unist-util-is/lib/index.d.ts +111 -0
- package/node_modules/unist-util-is/lib/index.d.ts.map +1 -0
- package/node_modules/unist-util-is/lib/index.js +296 -0
- package/node_modules/unist-util-is/license +22 -0
- package/node_modules/unist-util-is/package.json +103 -0
- package/node_modules/unist-util-is/readme.md +351 -0
- package/node_modules/unist-util-position/index.d.ts +1 -0
- package/node_modules/unist-util-position/index.js +1 -0
- package/node_modules/unist-util-position/lib/index.d.ts +45 -0
- package/node_modules/unist-util-position/lib/index.js +95 -0
- package/node_modules/unist-util-position/license +22 -0
- package/node_modules/unist-util-position/package.json +76 -0
- package/node_modules/unist-util-position/readme.md +243 -0
- package/node_modules/unist-util-stringify-position/index.d.ts +1 -0
- package/node_modules/unist-util-stringify-position/index.js +1 -0
- package/node_modules/unist-util-stringify-position/lib/index.d.ts +61 -0
- package/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/node_modules/unist-util-stringify-position/license +22 -0
- package/node_modules/unist-util-stringify-position/package.json +80 -0
- package/node_modules/unist-util-stringify-position/readme.md +206 -0
- package/node_modules/unist-util-visit/index.d.ts +9 -0
- package/node_modules/unist-util-visit/index.js +2 -0
- package/node_modules/unist-util-visit/lib/index.d.ts +195 -0
- package/node_modules/unist-util-visit/lib/index.d.ts.map +1 -0
- package/node_modules/unist-util-visit/lib/index.js +312 -0
- package/node_modules/unist-util-visit/license +22 -0
- package/node_modules/unist-util-visit/package.json +108 -0
- package/node_modules/unist-util-visit/readme.md +313 -0
- package/node_modules/unist-util-visit-parents/index.d.ts +14 -0
- package/node_modules/unist-util-visit-parents/index.js +2 -0
- package/node_modules/unist-util-visit-parents/lib/color.d.ts +6 -0
- package/node_modules/unist-util-visit-parents/lib/color.d.ts.map +1 -0
- package/node_modules/unist-util-visit-parents/lib/color.js +7 -0
- package/node_modules/unist-util-visit-parents/lib/color.node.d.ts +6 -0
- package/node_modules/unist-util-visit-parents/lib/color.node.d.ts.map +1 -0
- package/node_modules/unist-util-visit-parents/lib/color.node.js +7 -0
- package/node_modules/unist-util-visit-parents/lib/index.d.ts +219 -0
- package/node_modules/unist-util-visit-parents/lib/index.d.ts.map +1 -0
- package/node_modules/unist-util-visit-parents/lib/index.js +399 -0
- package/node_modules/unist-util-visit-parents/license +22 -0
- package/node_modules/unist-util-visit-parents/package.json +106 -0
- package/node_modules/unist-util-visit-parents/readme.md +388 -0
- package/node_modules/vfile/index.d.ts +153 -0
- package/node_modules/vfile/index.js +2 -0
- package/node_modules/vfile/lib/index.d.ts +1465 -0
- package/node_modules/vfile/lib/index.d.ts.map +1 -0
- package/node_modules/vfile/lib/index.js +643 -0
- package/node_modules/vfile/lib/minpath.browser.d.ts +47 -0
- package/node_modules/vfile/lib/minpath.browser.d.ts.map +1 -0
- package/node_modules/vfile/lib/minpath.browser.js +426 -0
- package/node_modules/vfile/lib/minpath.d.ts +2 -0
- package/node_modules/vfile/lib/minpath.d.ts.map +1 -0
- package/node_modules/vfile/lib/minpath.js +1 -0
- package/node_modules/vfile/lib/minproc.browser.d.ts +6 -0
- package/node_modules/vfile/lib/minproc.browser.d.ts.map +1 -0
- package/node_modules/vfile/lib/minproc.browser.js +8 -0
- package/node_modules/vfile/lib/minproc.d.ts +2 -0
- package/node_modules/vfile/lib/minproc.d.ts.map +1 -0
- package/node_modules/vfile/lib/minproc.js +1 -0
- package/node_modules/vfile/lib/minurl.browser.d.ts +9 -0
- package/node_modules/vfile/lib/minurl.browser.d.ts.map +1 -0
- package/node_modules/vfile/lib/minurl.browser.js +76 -0
- package/node_modules/vfile/lib/minurl.d.ts +3 -0
- package/node_modules/vfile/lib/minurl.d.ts.map +1 -0
- package/node_modules/vfile/lib/minurl.js +2 -0
- package/node_modules/vfile/lib/minurl.shared.d.ts +20 -0
- package/node_modules/vfile/lib/minurl.shared.d.ts.map +1 -0
- package/node_modules/vfile/lib/minurl.shared.js +31 -0
- package/node_modules/vfile/license +21 -0
- package/node_modules/vfile/package.json +134 -0
- package/node_modules/vfile/readme.md +785 -0
- package/node_modules/vfile-message/index.d.ts +2 -0
- package/node_modules/vfile-message/index.js +5 -0
- package/node_modules/vfile-message/lib/index.d.ts +508 -0
- package/node_modules/vfile-message/lib/index.js +314 -0
- package/node_modules/vfile-message/license +22 -0
- package/node_modules/vfile-message/package.json +80 -0
- package/node_modules/vfile-message/readme.md +252 -0
- package/node_modules/zwitch/index.d.ts +67 -0
- package/node_modules/zwitch/index.js +118 -0
- package/node_modules/zwitch/license +22 -0
- package/node_modules/zwitch/package.json +72 -0
- package/node_modules/zwitch/readme.md +226 -0
- package/package.json +46 -0
- package/src/binary.ts +7 -0
- package/src/code-mode-adapter.ts +85 -0
- package/src/executor.ts +119 -0
- package/src/extension.ts +19 -0
- package/src/grammar.ts +25 -0
- package/src/index.ts +17 -0
- package/src/patch.ts +60 -0
- package/src/tools/apply-patch/definition.ts +128 -0
- package/src/tools/apply-patch/presentation.ts +251 -0
- package/src/tools/apply-patch/result.ts +206 -0
- package/src/types.ts +45 -0
- package/test/apply-patch.test.ts +758 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/parser/parse.ts"],
|
|
4
|
+
"sourcesContent": ["import type {AssertionToken, BackreferenceToken, CharacterClassHyphenToken, CharacterClassOpenToken, CharacterSetToken, FlagGroupModifiers, FlagProperties, GroupOpenToken, QuantifierToken, SubroutineToken, Token, TokenCharacterSetKind, TokenDirectiveKind, TokenNamedCalloutKind, TokenQuantifierKind} from '../tokenizer/tokenize.js';\nimport {tokenize} from '../tokenizer/tokenize.js';\nimport {cpOf, getOrInsert, PosixClassNames, r, throwIfNullish} from '../utils.js';\nimport {hasOnlyChild, isAlternativeContainer, isQuantifiable} from './node-utils.js';\n\n// Watch out for the DOM `Node` interface!\ntype Node =\n AbsenceFunctionNode |\n AlternativeNode |\n AssertionNode |\n BackreferenceNode |\n CapturingGroupNode |\n CharacterNode |\n CharacterClassNode |\n CharacterClassRangeNode |\n CharacterSetNode |\n DirectiveNode |\n FlagsNode |\n GroupNode |\n LookaroundAssertionNode |\n NamedCalloutNode |\n QuantifierNode |\n RegexNode |\n SubroutineNode;\n\ntype OnigurumaAst = RegexNode;\n\ntype ParentNode =\n AlternativeContainerNode |\n AlternativeNode |\n CharacterClassNode |\n CharacterClassRangeNode |\n QuantifierNode;\n\n// See also `isAlternativeContainer`\ntype AlternativeContainerNode =\n AbsenceFunctionNode | // Some sub-kinds aren't alternative containers\n CapturingGroupNode |\n GroupNode |\n LookaroundAssertionNode |\n RegexNode;\n\ntype AlternativeElementNode =\n AbsenceFunctionNode |\n AssertionNode |\n BackreferenceNode |\n CapturingGroupNode |\n CharacterNode |\n CharacterClassNode |\n CharacterSetNode |\n DirectiveNode |\n GroupNode |\n LookaroundAssertionNode |\n NamedCalloutNode |\n QuantifierNode |\n SubroutineNode;\n\ntype CharacterClassElementNode =\n CharacterNode |\n CharacterClassNode |\n CharacterClassRangeNode |\n CharacterSetNode;\n\n// See also `isQuantifiable`\ntype QuantifiableNode =\n AbsenceFunctionNode |\n BackreferenceNode |\n CapturingGroupNode |\n CharacterNode |\n CharacterClassNode |\n CharacterSetNode |\n GroupNode |\n QuantifierNode |\n SubroutineNode;\n\n// TODO: Support remaining kinds; see <github.com/slevithan/oniguruma-to-es/issues/13>\ntype NodeAbsenceFunctionKind =\n 'repeater';\n\ntype NodeAssertionKind =\n 'line_end' |\n 'line_start' |\n 'search_start' |\n 'string_end' |\n 'string_end_newline' |\n 'string_start' |\n 'text_segment_boundary' |\n 'word_boundary';\n\ntype NodeCharacterClassKind =\n 'union' |\n 'intersection';\n\ntype NodeCharacterSetKind = TokenCharacterSetKind;\n\ntype NodeDirectiveKind = TokenDirectiveKind;\n\ntype NodeLookaroundAssertionKind =\n 'lookahead' |\n 'lookbehind';\n\ntype NodeNamedCalloutKind = TokenNamedCalloutKind;\n\ntype NodeQuantifierKind = TokenQuantifierKind;\n\ntype UnicodePropertyMap = Map<string, string>;\n\ntype Context = {\n capturingGroups: Array<CapturingGroupNode>;\n hasNumberedRef: boolean;\n namedGroupsByName: Map<string, Array<CapturingGroupNode>>;\n nextIndex: number;\n normalizeUnknownPropertyNames: boolean;\n parent: ParentNode;\n skipBackrefValidation: boolean;\n skipLookbehindValidation: boolean;\n skipPropertyNameValidation: boolean;\n subroutines: Array<SubroutineNode>;\n tokens: Array<Token>;\n unicodePropertyMap: UnicodePropertyMap | null;\n walk: (parent: ParentNode, state: State) => Node;\n};\n\n// Top-level `walk` calls are given empty state; nested calls can add data specific to their `walk`\ntype State = {\n isCheckingRangeEnd?: boolean;\n isInAbsenceFunction?: boolean;\n isInLookbehind?: boolean;\n isInNegLookbehind?: boolean;\n};\n\ntype ParseOptions = {\n flags?: string;\n normalizeUnknownPropertyNames?: boolean;\n rules?: {\n captureGroup?: boolean;\n singleline?: boolean;\n };\n skipBackrefValidation?: boolean;\n skipLookbehindValidation?: boolean;\n skipPropertyNameValidation?: boolean;\n unicodePropertyMap?: UnicodePropertyMap | null;\n};\n\nfunction parse(pattern: string, options: ParseOptions = {}): OnigurumaAst {\n const opts: Required<ParseOptions> = {\n flags: '',\n normalizeUnknownPropertyNames: false,\n skipBackrefValidation: false,\n skipLookbehindValidation: false,\n skipPropertyNameValidation: false,\n // `toOnigurumaAst` provides `OnigUnicodePropertyMap`, but it can be custom or `null`\n unicodePropertyMap: null,\n ...options,\n rules: {\n captureGroup: false, // `ONIG_OPTION_CAPTURE_GROUP`\n singleline: false, // `ONIG_OPTION_SINGLELINE`\n ...options.rules,\n },\n };\n const tokenized = tokenize(pattern, {\n // Limit to the tokenizer's options\n flags: opts.flags,\n rules: {\n captureGroup: opts.rules.captureGroup,\n singleline: opts.rules.singleline,\n },\n });\n const walk: Context['walk'] = (parent, state) => {\n const token = tokenized.tokens[context.nextIndex];\n context.parent = parent;\n // Advance for the next iteration\n context.nextIndex++;\n switch (token.type) {\n case 'Alternator':\n // Top-level only; groups handle their own alternators\n return createAlternative();\n case 'Assertion':\n return parseAssertion(token);\n case 'Backreference':\n return parseBackreference(token, context);\n case 'Character':\n return createCharacter(token.value, {useLastValid: !!state.isCheckingRangeEnd});\n case 'CharacterClassHyphen':\n return parseCharacterClassHyphen(token, context, state);\n case 'CharacterClassOpen':\n return parseCharacterClassOpen(token, context, state);\n case 'CharacterSet':\n return parseCharacterSet(token, context);\n case 'Directive':\n return createDirective(token.kind, {flags: token.flags});\n case 'GroupOpen':\n return parseGroupOpen(token, context, state);\n case 'NamedCallout':\n return createNamedCallout(token.kind, token.tag, token.arguments);\n case 'Quantifier':\n return parseQuantifier(token, context);\n case 'Subroutine':\n return parseSubroutine(token, context);\n default:\n throw new Error(`Unexpected token type \"${token.type}\"`);\n }\n }\n const context: Context = {\n capturingGroups: [],\n hasNumberedRef: false,\n namedGroupsByName: new Map(),\n nextIndex: 0,\n normalizeUnknownPropertyNames: opts.normalizeUnknownPropertyNames,\n parent: null!, // Assigned by `walk`\n skipBackrefValidation: opts.skipBackrefValidation,\n skipLookbehindValidation: opts.skipLookbehindValidation,\n skipPropertyNameValidation: opts.skipPropertyNameValidation,\n subroutines: [],\n tokens: tokenized.tokens,\n unicodePropertyMap: opts.unicodePropertyMap,\n walk,\n };\n\n // ## AST construction from tokens\n const ast = createRegex(createFlags(tokenized.flags));\n let top = ast.body[0]; // First alt\n while (context.nextIndex < tokenized.tokens.length) {\n const node = walk(top, {});\n if (node.type === 'Alternative') {\n ast.body.push(node);\n top = node;\n } else {\n top.body.push(node as AlternativeElementNode);\n }\n }\n\n // ## Validation that requires knowledge about the complete pattern\n // `context` updated by the preceding `walk` loop\n const {capturingGroups, hasNumberedRef, namedGroupsByName, subroutines} = context;\n if (hasNumberedRef && namedGroupsByName.size && !opts.rules.captureGroup) {\n throw new Error('Numbered backref/subroutine not allowed when using named capture');\n }\n for (const {ref} of subroutines) {\n if (typeof ref === 'number') {\n // Relative nums are already resolved\n if (ref > capturingGroups.length) {\n throw new Error(`Subroutine uses a group number that's not defined`);\n }\n if (ref) {\n capturingGroups[ref - 1].isSubroutined = true;\n }\n } else if (!namedGroupsByName.has(ref)) {\n throw new Error(r`Subroutine uses a group name that's not defined \"\\g<${ref}>\"`);\n } else if (namedGroupsByName.get(ref)!.length > 1) {\n throw new Error(r`Subroutine uses a duplicate group name \"\\g<${ref}>\"`);\n } else {\n namedGroupsByName.get(ref)![0].isSubroutined = true;\n }\n }\n\n return ast;\n}\n\nfunction parseAssertion({kind}: AssertionToken): AssertionNode {\n return createAssertion(\n throwIfNullish({\n '^': 'line_start',\n '$': 'line_end',\n '\\\\A': 'string_start',\n '\\\\b': 'word_boundary',\n '\\\\B': 'word_boundary',\n '\\\\G': 'search_start',\n '\\\\y': 'text_segment_boundary',\n '\\\\Y': 'text_segment_boundary',\n '\\\\z': 'string_end',\n '\\\\Z': 'string_end_newline',\n }[kind], `Unexpected assertion kind \"${kind}\"`) as NodeAssertionKind,\n {negate: kind === r`\\B` || kind === r`\\Y`}\n );\n}\n\n// Supported (if the backref appears to the right of the reffed capture's opening paren):\n// - `\\k<name>`, `\\k'name'`\n// - When named capture not used:\n// - `\\n`, `\\nn`, `\\nnn`\n// - `\\k<n>`, `\\k'n'\n// - `\\k<-n>`, `\\k'-n'`\n// Unsupported:\n// - `\\k<+n>`, `\\k'+n'` - Note that, Unlike Oniguruma, Onigmo doesn't support this as special\n// syntax and therefore considers it a valid group name.\n// - Backref with recursion level (with num or name): `\\k<n+level>`, `\\k<n-level>`, etc.\n// (Onigmo also supports `\\k<-n+level>`, `\\k<-n-level>`, etc.)\n// Backrefs in Onig use multiplexing for duplicate group names (the rules can be complicated when\n// overlapping with subroutines), but a `Backreference`'s simple `ref` prop doesn't capture these\n// details so multiplexed ref pointers need to be derived when working with the AST\nfunction parseBackreference({raw}: BackreferenceToken, context: Context): BackreferenceNode {\n const hasKWrapper = /^\\\\k[<']/.test(raw);\n const ref = hasKWrapper ? raw.slice(3, -1) : raw.slice(1);\n const fromNum = (num: number, isRelative = false) => {\n const numCapturesToLeft = context.capturingGroups.length;\n let orphan = false;\n // Note: It's not an error for numbered backrefs to come before their referenced group in Onig,\n // but it's currently an error in this library.\n // - Most such placements are mistakes and can never match, due to Onig's behavior for backrefs\n // to nonparticipating groups.\n // - The edge cases where they're matchable rely on rules for backref resetting within\n // quantified groups that are different in JS (thus not emulatable in `oniguruma-to-es`).\n // - Erroring matches the correct behavior of named backrefs.\n // - For unenclosed backrefs, this only affects `\\1`-`\\9` since it's not a backref in the first\n // place if using `\\10` or higher and not as many capturing groups are defined to the left\n // (it's an octal or identity escape).\n // TODO: Ideally this would be refactored to include the backref in the AST when it's not an\n // error in Onig (due to the reffed group being defined to the right), and the error handling\n // would move to the `oniguruma-to-es` transformer\n if (num > numCapturesToLeft) {\n // Skipping the error breaks assumptions and might create edge case issues, since backrefs\n // are required to come after their captures; unfortunately this option is needed for\n // TextMate grammars\n if (context.skipBackrefValidation) {\n orphan = true;\n } else {\n throw new Error(`Not enough capturing groups defined to the left \"${raw}\"`);\n }\n }\n context.hasNumberedRef = true;\n return createBackreference(isRelative ? numCapturesToLeft + 1 - num : num, {orphan});\n };\n if (hasKWrapper) {\n const numberedRef = /^(?<sign>-?)0*(?<num>[1-9]\\d*)$/.exec(ref);\n if (numberedRef) {\n return fromNum(+numberedRef.groups!.num, !!numberedRef.groups!.sign);\n }\n // Invalid in a backref name even when valid in a group name\n if (/[-+]/.test(ref)) {\n throw new Error(`Invalid backref name \"${raw}\"`);\n }\n if (!context.namedGroupsByName.has(ref)) {\n throw new Error(`Group name not defined to the left \"${raw}\"`);\n }\n return createBackreference(ref);\n }\n return fromNum(+ref);\n}\n\nfunction parseCharacterClassHyphen(_: CharacterClassHyphenToken, context: Context, state: State): CharacterNode | CharacterClassRangeNode {\n const {tokens, walk} = context;\n const parent = context.parent as CharacterClassNode;\n const prevSiblingNode = parent.body.at(-1);\n const nextToken = tokens[context.nextIndex];\n if (\n !state.isCheckingRangeEnd &&\n prevSiblingNode &&\n prevSiblingNode.type !== 'CharacterClass' &&\n prevSiblingNode.type !== 'CharacterClassRange' &&\n nextToken &&\n nextToken.type !== 'CharacterClassOpen' &&\n nextToken.type !== 'CharacterClassClose' &&\n nextToken.type !== 'CharacterClassIntersector'\n ) {\n const nextNode = walk(parent, {\n ...state,\n isCheckingRangeEnd: true,\n });\n if (prevSiblingNode.type === 'Character' && nextNode.type === 'Character') {\n parent.body.pop();\n return createCharacterClassRange(prevSiblingNode, nextNode);\n }\n throw new Error('Invalid character class range');\n }\n return createCharacter(cpOf('-'));\n}\n\nfunction parseCharacterClassOpen({negate}: CharacterClassOpenToken, context: Context, state: State): CharacterClassNode {\n const {tokens, walk} = context;\n const intersections = [createCharacterClass()];\n const ccFirstToken = tokens[context.nextIndex];\n let nextToken = throwIfUnclosedCharacterClass(ccFirstToken);\n while (nextToken.type !== 'CharacterClassClose') {\n if (nextToken.type === 'CharacterClassIntersector') {\n intersections.push(createCharacterClass());\n // Skip the intersector\n context.nextIndex++;\n } else {\n const cc = intersections.at(-1)!; // Always at least one\n cc.body.push(walk(cc, state) as CharacterClassElementNode);\n }\n nextToken = throwIfUnclosedCharacterClass(tokens[context.nextIndex], ccFirstToken);\n }\n const node = createCharacterClass({negate});\n if (intersections.length === 1) {\n node.body = intersections[0].body;\n } else {\n node.kind = 'intersection';\n node.body = intersections.map(cc => cc.body.length === 1 ? cc.body[0] : cc);\n }\n // Skip the closing square bracket\n context.nextIndex++;\n return node;\n}\n\nfunction parseCharacterSet({kind, negate, value}: CharacterSetToken, context: Context): CharacterSetNode {\n const {normalizeUnknownPropertyNames, skipPropertyNameValidation, unicodePropertyMap} = context;\n if (kind === 'property') {\n const normalized = slug(value!);\n // Don't treat as POSIX if it's in the provided list of Unicode property names\n if (PosixClassNames.has(normalized) && !unicodePropertyMap?.has(normalized)) {\n kind = 'posix';\n value = normalized;\n } else {\n return createUnicodeProperty(value!, {\n negate,\n normalizeUnknownPropertyNames,\n skipPropertyNameValidation,\n unicodePropertyMap,\n });\n }\n }\n if (kind === 'posix') {\n return createPosixClass(value!, {negate});\n }\n return createCharacterSet(kind, {negate});\n}\n\nfunction parseGroupOpen(token: GroupOpenToken, context: Context, state: State): AbsenceFunctionNode | CapturingGroupNode | GroupNode | LookaroundAssertionNode {\n const {tokens, capturingGroups, namedGroupsByName, skipLookbehindValidation, walk} = context;\n const node = createByGroupKind(token);\n const isThisAbsenceFunction = node.type === 'AbsenceFunction';\n const isThisLookbehind = isLookbehind(node);\n const isThisNegLookbehind = isThisLookbehind && node.negate;\n // Track capturing group details for backrefs and subroutines (before parsing the group's\n // contents so nested groups with the same name are tracked in order)\n if (node.type === 'CapturingGroup') {\n capturingGroups.push(node);\n if (node.name) {\n getOrInsert(namedGroupsByName, node.name, []).push(node);\n }\n }\n // Don't allow nested absence functions\n if (isThisAbsenceFunction && state.isInAbsenceFunction) {\n // Is officially unsupported in Onig but doesn't throw, gives strange results\n throw new Error('Nested absence function not supported by Oniguruma');\n }\n let nextToken = throwIfUnclosedGroup(tokens[context.nextIndex]);\n while (nextToken.type !== 'GroupClose') {\n if (nextToken.type === 'Alternator') {\n node.body.push(createAlternative());\n // Skip the alternator\n context.nextIndex++;\n } else {\n const alt = node.body.at(-1)!; // Always at least one\n const child = walk(alt, {\n ...state,\n isInAbsenceFunction: state.isInAbsenceFunction || isThisAbsenceFunction,\n isInLookbehind: state.isInLookbehind || isThisLookbehind,\n isInNegLookbehind: state.isInNegLookbehind || isThisNegLookbehind,\n }) as AlternativeElementNode;\n alt.body.push(child);\n // Centralized validation of lookbehind contents\n if ((isThisLookbehind || state.isInLookbehind) && !skipLookbehindValidation) {\n // JS supports all features within lookbehind, but Onig doesn't. Absence functions of form\n // `(?~|)` and `(?~|\u2026)` are also invalid in lookbehind (the `(?~\u2026)` and `(?~|\u2026|\u2026)` forms\n // are allowed), but all forms with `(?~|` throw since they aren't yet supported\n const msg = 'Lookbehind includes a pattern not allowed by Oniguruma';\n if (isThisNegLookbehind || state.isInNegLookbehind) {\n // - Invalid: `(?=\u2026)`, `(?!\u2026)`, capturing groups\n // - Valid: `(?<=\u2026)`, `(?<!\u2026)`\n if (isLookahead(child) || child.type === 'CapturingGroup') {\n throw new Error(msg);\n }\n } else {\n // - Invalid: `(?=\u2026)`, `(?!\u2026)`, `(?<!\u2026)`\n // - Valid: `(?<=\u2026)`, capturing groups\n if (isLookahead(child) || (isLookbehind(child) && child.negate)) {\n throw new Error(msg);\n }\n }\n }\n }\n nextToken = throwIfUnclosedGroup(tokens[context.nextIndex]);\n }\n // Skip the closing parenthesis\n context.nextIndex++;\n return node;\n}\n\nfunction parseQuantifier({kind, min, max}: QuantifierToken, context: Context): QuantifierNode {\n const parent = context.parent as AlternativeNode;\n const quantifiedNode = parent.body.at(-1);\n if (!quantifiedNode || !isQuantifiable(quantifiedNode)) {\n throw new Error('Quantifier requires a repeatable token');\n }\n const node = createQuantifier(kind, min, max, quantifiedNode);\n parent.body.pop();\n return node;\n}\n\n// Onig subroutine behavior:\n// - Subroutines can appear before the groups they reference; ex: `\\g<1>(a)` is valid.\n// - Multiple subroutines can reference the same group.\n// - Subroutines can reference groups that themselves contain subroutines, followed to any depth.\n// - Subroutines can be used recursively, and `\\g<0>` recursively references the whole pattern.\n// - Subroutines can use relative references (backward or forward); ex: `\\g<+1>(.)\\g<-1>`.\n// - Subroutines don't get their own capturing group numbers; ex: `(.)\\g<1>\\2` is invalid.\n// - Subroutines use the flags that apply to their referenced group, so e.g.\n// `(?-i)(?<a>a)(?i)\\g<a>` is fully case sensitive.\n// - Differences from PCRE/Perl/Regex+ subroutines:\n// - Subroutines can't reference duplicate group names (though duplicate names are valid if no\n// subroutines reference them).\n// - Subroutines can't use absolute or relative numbers if named capture is used anywhere.\n// - Named backrefs must be to the right of their group definition, so the backref in\n// `\\g<a>\\k<a>(?<a>)` is invalid (not directly related to subroutines).\n// - Subroutines don't restore capturing group match values (for backrefs) upon exit, so e.g.\n// `(?<a>(?<b>[ab]))\\g<a>\\k<b>` matches `abb` but not `aba`; same for numbered.\n// The interaction of backref multiplexing (an Onig-specific feature) and subroutines is complex:\n// - Only the most recent value matched by a capturing group and its subroutines is considered for\n// backref multiplexing, and this also applies to capturing groups nested within a group that's\n// referenced by a subroutine.\n// - Although a subroutine can't reference a group with a duplicate name, it can reference a group\n// with a nested capture whose name is duplicated (e.g. outside of the referenced group).\n// - These duplicate names can then multiplex; but only the most recent value matched from within\n// the outer group (or the subroutines that reference it) is available for multiplexing.\n// - Ex: With `(?<a>(?<b>[123]))\\g<a>\\g<a>(?<b>0)\\k<b>`, the backref `\\k<b>` can only match `0`\n// or whatever was matched by the most recently matched subroutine. If you took out `(?<b>0)`,\n// no multiplexing would occur.\nfunction parseSubroutine({raw}: SubroutineToken, context: Context): SubroutineNode {\n const {capturingGroups, subroutines} = context;\n let ref: string | number = raw.slice(3, -1);\n const numberedRef = /^(?<sign>[-+]?)0*(?<num>[1-9]\\d*)$/.exec(ref);\n if (numberedRef) {\n const num = +numberedRef.groups!.num;\n const numCapturesToLeft = capturingGroups.length;\n context.hasNumberedRef = true;\n ref = {\n '': num,\n '+': numCapturesToLeft + num,\n '-': numCapturesToLeft + 1 - num,\n }[numberedRef.groups!.sign]!;\n if (ref < 1) {\n throw new Error('Invalid subroutine number');\n }\n // Special case for full-pattern recursion; can't be `+0`, `-0`, `00`, etc.\n } else if (ref === '0') {\n ref = 0;\n }\n const node = createSubroutine(ref);\n subroutines.push(node);\n return node;\n}\n\n// -------------------------------\n// --- Node creation and types ---\n// -------------------------------\n\ntype AbsenceFunctionNode = {\n type: 'AbsenceFunction';\n kind: NodeAbsenceFunctionKind;\n body: Array<AlternativeNode>;\n};\nfunction createAbsenceFunction(kind: NodeAbsenceFunctionKind, options?: {\n body?: Array<AlternativeNode>;\n}): AbsenceFunctionNode {\n if (kind !== 'repeater') {\n throw new Error(`Unexpected absence function kind \"${kind}\"`);\n }\n return {\n type: 'AbsenceFunction',\n kind,\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype AlternativeNode = {\n type: 'Alternative';\n body: Array<AlternativeElementNode>;\n};\nfunction createAlternative(options?: {\n body?: Array<AlternativeElementNode>;\n}): AlternativeNode {\n return {\n type: 'Alternative',\n body: getBodyForElementContainer(options?.body) as Array<AlternativeElementNode>,\n };\n}\n\ntype AssertionNode = {\n type: 'Assertion';\n kind: NodeAssertionKind;\n negate?: boolean;\n};\nfunction createAssertion(kind: NodeAssertionKind, options?: {\n negate?: boolean;\n}): AssertionNode {\n const node: AssertionNode = {\n type: 'Assertion',\n kind,\n };\n if (kind === 'word_boundary' || kind === 'text_segment_boundary') {\n node.negate = !!options?.negate;\n }\n return node;\n}\n\ntype BackreferenceNode = {\n type: 'Backreference';\n ref: string | number;\n orphan?: boolean;\n};\nfunction createBackreference(ref: string | number, options?: {\n orphan?: boolean;\n}): BackreferenceNode {\n const orphan = !!options?.orphan;\n return {\n type: 'Backreference',\n ref,\n ...(orphan && {orphan}),\n };\n}\n\ntype CapturingGroupNode = {\n type: 'CapturingGroup';\n kind?: never;\n number: number;\n name?: string;\n // One or more subroutines in the regex reference this group\n isSubroutined?: boolean;\n body: Array<AlternativeNode>;\n};\nfunction createCapturingGroup(number: number, options?: {\n name?: string;\n isSubroutined?: boolean;\n body?: Array<AlternativeNode>;\n}): CapturingGroupNode {\n const opts = {\n name: undefined,\n isSubroutined: false,\n ...options,\n };\n if (opts.name !== undefined && !isValidGroupName(opts.name)) {\n throw new Error(`Group name \"${opts.name}\" invalid in Oniguruma`);\n }\n return {\n type: 'CapturingGroup',\n number,\n ...(opts.name && {name: opts.name}),\n ...(opts.isSubroutined && {isSubroutined: opts.isSubroutined}),\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype CharacterNode = {\n type: 'Character';\n value: number;\n};\nfunction createCharacter(charCode: number, options?: {\n useLastValid?: boolean;\n}): CharacterNode {\n const opts = {\n useLastValid: false,\n ...options,\n };\n if (charCode > 0x10FFFF) {\n const hex = charCode.toString(16);\n if (opts.useLastValid) {\n charCode = 0x10FFFF;\n } else if (charCode > 0x13FFFF) {\n throw new Error(`Invalid code point out of range \"\\\\x{${hex}}\"`);\n } else {\n throw new Error(`Invalid code point out of range in JS \"\\\\x{${hex}}\"`);\n }\n }\n return {\n type: 'Character',\n value: charCode,\n };\n}\n\ntype CharacterClassNode = {\n type: 'CharacterClass';\n kind: NodeCharacterClassKind;\n negate: boolean;\n body: Array<CharacterClassElementNode>;\n};\nfunction createCharacterClass(options?: {\n kind?: NodeCharacterClassKind;\n negate?: boolean;\n body?: Array<CharacterClassElementNode>;\n}): CharacterClassNode {\n const opts = {\n kind: 'union' as NodeCharacterClassKind,\n negate: false,\n ...options,\n };\n return {\n type: 'CharacterClass',\n kind: opts.kind,\n negate: opts.negate,\n body: getBodyForElementContainer(options?.body) as Array<CharacterClassElementNode>,\n };\n}\n\ntype CharacterClassRangeNode = {\n type: 'CharacterClassRange';\n min: CharacterNode;\n max: CharacterNode;\n};\nfunction createCharacterClassRange(min: CharacterNode, max: CharacterNode): CharacterClassRangeNode {\n if (max.value < min.value) {\n throw new Error('Character class range out of order');\n }\n return {\n type: 'CharacterClassRange',\n min,\n max,\n };\n}\n\ntype NamedCharacterSetNode = {\n type: 'CharacterSet';\n kind: 'posix' | 'property';\n value: string;\n negate: boolean;\n variableLength?: never;\n};\ntype UnnamedCharacterSetNode = {\n type: 'CharacterSet';\n kind: Exclude<NodeCharacterSetKind, NamedCharacterSetNode['kind']>;\n value?: never;\n negate?: boolean;\n variableLength?: boolean;\n};\ntype CharacterSetNode = NamedCharacterSetNode | UnnamedCharacterSetNode;\n/**\nUse `createUnicodeProperty` and `createPosixClass` for `kind` values `'property'` and `'posix'`.\n*/\nfunction createCharacterSet(kind: UnnamedCharacterSetNode['kind'], options?: {\n negate?: boolean;\n}): UnnamedCharacterSetNode {\n const negate = !!options?.negate;\n const node: UnnamedCharacterSetNode = {\n type: 'CharacterSet',\n kind,\n };\n if (\n kind === 'digit' ||\n kind === 'hex' ||\n kind === 'newline' ||\n kind === 'space' ||\n kind === 'word'\n ) {\n node.negate = negate;\n }\n if (\n kind === 'text_segment' ||\n (kind === 'newline' && !negate)\n ) {\n node.variableLength = true;\n }\n return node;\n}\n\ntype DirectiveNode = {\n type: 'Directive';\n} & ({\n kind: 'keep';\n flags?: never;\n} | {\n kind: 'flags';\n flags: FlagGroupModifiers;\n});\nfunction createDirective(kind: NodeDirectiveKind, options: {flags?: FlagGroupModifiers} = {}): DirectiveNode {\n if (kind === 'keep') {\n return {\n type: 'Directive',\n kind,\n };\n }\n if (kind === 'flags') {\n // Note: Flag effects might extend across alternation; ex: `a(?i)b|c` is equivalent to\n // `a(?i:b)|(?i:c)`, not `a(?i:b|c)`\n return {\n type: 'Directive',\n kind,\n flags: throwIfNullish(options.flags),\n };\n }\n throw new Error(`Unexpected directive kind \"${kind}\"`);\n}\n\ntype FlagsNode = {\n type: 'Flags';\n} & FlagProperties;\nfunction createFlags(flags: FlagProperties): FlagsNode {\n return {\n type: 'Flags',\n ...flags,\n };\n}\n\ntype GroupNode = {\n type: 'Group';\n kind?: never;\n atomic?: boolean;\n flags?: FlagGroupModifiers;\n body: Array<AlternativeNode>;\n};\nfunction createGroup(options?: {\n atomic?: boolean;\n flags?: FlagGroupModifiers;\n body?: Array<AlternativeNode>;\n}): GroupNode {\n const atomic = options?.atomic;\n const flags = options?.flags;\n if (atomic && flags) {\n throw new Error('Atomic group cannot have flags');\n }\n return {\n type: 'Group',\n ...(atomic && {atomic}),\n ...(flags && {flags}),\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype LookaroundAssertionNode = {\n type: 'LookaroundAssertion';\n kind: NodeLookaroundAssertionKind;\n negate: boolean;\n body: Array<AlternativeNode>;\n};\nfunction createLookaroundAssertion(options?: {\n behind?: boolean;\n negate?: boolean;\n body?: Array<AlternativeNode>;\n}): LookaroundAssertionNode {\n const opts = {\n behind: false,\n negate: false,\n ...options,\n };\n return {\n type: 'LookaroundAssertion',\n kind: opts.behind ? 'lookbehind' : 'lookahead',\n negate: opts.negate,\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype NamedCalloutNode = {\n type: 'NamedCallout';\n kind: NodeNamedCalloutKind;\n tag: string | null;\n arguments: Array<string | number> | null;\n};\nfunction createNamedCallout(\n kind: NodeNamedCalloutKind,\n tag: string | null,\n args: Array<string | number> | null\n): NamedCalloutNode {\n return {\n type: 'NamedCallout',\n kind,\n tag,\n arguments: args,\n };\n}\n\nfunction createPosixClass(name: string, options?: {\n negate?: boolean;\n}): NamedCharacterSetNode & {kind: 'posix'} {\n const negate = !!options?.negate;\n if (!PosixClassNames.has(name)) {\n throw new Error(`Invalid POSIX class \"${name}\"`);\n }\n return {\n type: 'CharacterSet',\n kind: 'posix',\n value: name,\n negate,\n };\n}\n\ntype QuantifierNode = {\n type: 'Quantifier';\n kind: NodeQuantifierKind;\n min: number;\n max: number;\n body: QuantifiableNode;\n};\nfunction createQuantifier(kind: NodeQuantifierKind, min: number, max: number, body: QuantifiableNode): QuantifierNode {\n if (min > max) {\n throw new Error('Invalid reversed quantifier range');\n }\n return {\n type: 'Quantifier',\n kind,\n min,\n max,\n body,\n };\n}\n\ntype RegexNode = {\n type: 'Regex';\n body: Array<AlternativeNode>;\n flags: FlagsNode;\n};\nfunction createRegex(flags: FlagsNode, options?: {\n body?: Array<AlternativeNode>;\n}): RegexNode {\n return {\n type: 'Regex',\n body: getBodyForAlternativeContainer(options?.body),\n flags,\n };\n}\n\ntype SubroutineNode = {\n type: 'Subroutine';\n ref: string | number;\n};\nfunction createSubroutine(ref: string | number): SubroutineNode {\n return {\n type: 'Subroutine',\n ref,\n };\n}\n\ntype CreateUnicodePropertyOptions = {\n negate?: boolean;\n normalizeUnknownPropertyNames?: boolean;\n skipPropertyNameValidation?: boolean;\n unicodePropertyMap?: UnicodePropertyMap | null;\n};\nfunction createUnicodeProperty(name: string, options?: CreateUnicodePropertyOptions): NamedCharacterSetNode & {kind: 'property'} {\n const opts: Required<CreateUnicodePropertyOptions> = {\n negate: false,\n normalizeUnknownPropertyNames: false,\n skipPropertyNameValidation: false,\n unicodePropertyMap: null,\n ...options,\n };\n let normalized = opts.unicodePropertyMap?.get(slug(name));\n if (!normalized) {\n if (opts.normalizeUnknownPropertyNames) {\n normalized = normalizeUnicodePropertyName(name);\n // Let the name through as-is if no map provided and normalization not requested\n } else if (opts.unicodePropertyMap && !opts.skipPropertyNameValidation) {\n throw new Error(r`Invalid Unicode property \"\\p{${name}}\"`);\n }\n }\n return {\n type: 'CharacterSet',\n kind: 'property',\n value: normalized ?? name,\n negate: opts.negate,\n };\n}\n\n// ---------------\n// --- Helpers ---\n// ---------------\n\nfunction createByGroupKind({flags, kind, name, negate, number}: GroupOpenToken): AbsenceFunctionNode | CapturingGroupNode | GroupNode | LookaroundAssertionNode {\n switch (kind) {\n case 'absence_repeater':\n return createAbsenceFunction('repeater');\n case 'atomic':\n return createGroup({atomic: true});\n case 'capturing':\n return createCapturingGroup(number!, {name});\n case 'group':\n return createGroup({flags});\n case 'lookahead':\n case 'lookbehind':\n return createLookaroundAssertion({\n behind: kind === 'lookbehind',\n negate,\n });\n default:\n throw new Error(`Unexpected group kind \"${kind}\"`);\n }\n}\n\nfunction getBodyForAlternativeContainer(body: unknown): Array<AlternativeNode> {\n if (body === undefined) {\n body = [createAlternative()];\n } else if (!Array.isArray(body) || !body.length || !body.every(node => (node as Node).type === 'Alternative')) {\n throw new Error('Invalid body; expected array of one or more Alternative nodes');\n }\n return body as Array<AlternativeNode>;\n}\n\nfunction getBodyForElementContainer(body: unknown): Array<Node> {\n if (body === undefined) {\n body = [];\n } else if (!Array.isArray(body) || !body.every(node => !!(node as Node).type)) {\n throw new Error('Invalid body; expected array of nodes');\n }\n return body as Array<Node>;\n}\n\nfunction isLookahead(node: Node): node is (LookaroundAssertionNode & {kind: 'lookahead'}) {\n return node.type === 'LookaroundAssertion' && node.kind === 'lookahead';\n}\n\nfunction isLookbehind(node: Node): node is (LookaroundAssertionNode & {kind: 'lookbehind'}) {\n return node.type === 'LookaroundAssertion' && node.kind === 'lookbehind';\n}\n\nfunction isValidGroupName(name: string): boolean {\n // Note that backrefs and subroutines might contextually use `-` and `+` to indicate relative\n // index or recursion level\n return /^[\\p{Alpha}\\p{Pc}][^)]*$/u.test(name);\n}\n\nfunction normalizeUnicodePropertyName(name: string): string {\n // In Onig, Unicode property names ignore case, spaces, hyphens, and underscores. Use best effort\n // to reformat the name to follow official values (covers a lot, but isn't able to map for all\n // possible formatting differences)\n return name.\n trim().\n replace(/[- _]+/g, '_').\n replace(/[A-Z][a-z]+(?=[A-Z])/g, '$&_'). // `PropertyName` to `Property_Name`\n replace(/[A-Za-z]+/g, m => m[0].toUpperCase() + m.slice(1).toLowerCase());\n}\n\n/**\nGenerates a Unicode property lookup name: lowercase, without spaces, hyphens, or underscores.\n*/\nfunction slug(name: string): string {\n return name.replace(/[- _]+/g, '').toLowerCase();\n}\n\nfunction throwIfUnclosedCharacterClass<T>(token: T, ccFirstToken?: Token): NonNullable<T> {\n const first = ccFirstToken;\n return throwIfNullish(token, `Unclosed character class${\n // Help avoid confusion since e.g. `[]abc` is unclosed but looks like it has an empty class\n first?.type === 'Character' && first.value === 93 && first.raw === ']' ? ' (started with \"]\")' : ''\n }`);\n}\n\nfunction throwIfUnclosedGroup<T>(token: T): NonNullable<T> {\n return throwIfNullish(token, 'Unclosed group');\n}\n\nexport {\n type AbsenceFunctionNode,\n type AlternativeNode,\n type AlternativeContainerNode,\n type AlternativeElementNode,\n type AssertionNode,\n type BackreferenceNode,\n type CapturingGroupNode,\n type CharacterClassElementNode,\n type CharacterClassNode,\n type CharacterClassRangeNode,\n type CharacterNode,\n type CharacterSetNode,\n type DirectiveNode,\n type FlagsNode,\n type GroupNode,\n type LookaroundAssertionNode,\n type NamedCalloutNode,\n type Node,\n type NodeAbsenceFunctionKind,\n type NodeAssertionKind,\n type NodeCharacterClassKind,\n type NodeCharacterSetKind,\n type NodeDirectiveKind,\n type NodeLookaroundAssertionKind,\n type NodeQuantifierKind,\n type OnigurumaAst,\n type ParentNode,\n type ParseOptions,\n type QuantifiableNode,\n type QuantifierNode,\n type RegexNode,\n type SubroutineNode,\n type UnicodePropertyMap,\n createAbsenceFunction,\n createAlternative,\n createAssertion,\n createBackreference,\n createCapturingGroup,\n createCharacter,\n createCharacterClass,\n createCharacterClassRange,\n createCharacterSet,\n createDirective,\n createFlags,\n createGroup,\n createLookaroundAssertion,\n createNamedCallout,\n createPosixClass,\n createQuantifier,\n createRegex,\n createSubroutine,\n createUnicodeProperty,\n hasOnlyChild,\n isAlternativeContainer,\n isQuantifiable,\n parse,\n slug,\n};\n"],
|
|
5
|
+
"mappings": "aACA,OAAQ,YAAAA,MAAe,2BACvB,OAAQ,QAAAC,EAAM,eAAAC,EAAa,mBAAAC,EAAiB,KAAAC,EAAG,kBAAAC,MAAqB,cACpE,OAAQ,gBAAAC,EAAc,0BAAAC,EAAwB,kBAAAC,MAAqB,kBA6InE,SAASC,EAAMC,EAAiBC,EAAwB,CAAC,EAAiB,CACxE,MAAMC,EAA+B,CACnC,MAAO,GACP,8BAA+B,GAC/B,sBAAuB,GACvB,yBAA0B,GAC1B,2BAA4B,GAE5B,mBAAoB,KACpB,GAAGD,EACH,MAAO,CACL,aAAc,GACd,WAAY,GACZ,GAAGA,EAAQ,KACb,CACF,EACME,EAAYb,EAASU,EAAS,CAElC,MAAOE,EAAK,MACZ,MAAO,CACL,aAAc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"isAlternativeContainer", "isQuantifiable", "parse", "pattern", "options", "opts", "tokenized", "walk", "parent", "state", "token", "context", "createAlternative", "parseAssertion", "parseBackreference", "createCharacter", "parseCharacterClassHyphen", "parseCharacterClassOpen", "parseCharacterSet", "createDirective", "parseGroupOpen", "createNamedCallout", "parseQuantifier", "parseSubroutine", "ast", "createRegex", "createFlags", "top", "node", "capturingGroups", "hasNumberedRef", "namedGroupsByName", "subroutines", "ref", "kind", "createAssertion", "raw", "hasKWrapper", "fromNum", "num", "isRelative", "numCapturesToLeft", "orphan", "createBackreference", "numberedRef", "_", "tokens", "prevSiblingNode", "nextToken", "nextNode", "createCharacterClassRange", "negate", "intersections", "createCharacterClass", "ccFirstToken", "throwIfUnclosedCharacterClass", "cc", "value", "normalizeUnknownPropertyNames", "skipPropertyNameValidation", "unicodePropertyMap", "normalized", "slug", "createUnicodeProperty", "createPosixClass", "createCharacterSet", "skipLookbehindValidation", "createByGroupKind", "isThisAbsenceFunction", "isThisLookbehind", "isLookbehind", "isThisNegLookbehind", "throwIfUnclosedGroup", "alt", "child", "msg", "isLookahead", "min", "max", "quantifiedNode", "createQuantifier", "createSubroutine", "createAbsenceFunction", "getBodyForAlternativeContainer", "getBodyForElementContainer", "createCapturingGroup", "number", "isValidGroupName", "charCode", "hex", "flags", "createGroup", "atomic", "createLookaroundAssertion", "tag", "args", "name", "body", "normalizeUnicodePropertyName", "m", "first"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
type Token = AlternatorToken | AssertionToken | BackreferenceToken | CharacterToken | CharacterClassCloseToken | CharacterClassHyphenToken | CharacterClassIntersectorToken | CharacterClassOpenToken | CharacterSetToken | DirectiveToken | GroupCloseToken | GroupOpenToken | NamedCalloutToken | QuantifierToken | SubroutineToken;
|
|
2
|
+
type TokenCharacterSetKind = 'any' | 'digit' | 'dot' | 'hex' | 'newline' | 'posix' | 'property' | 'space' | 'text_segment' | 'word';
|
|
3
|
+
type TokenDirectiveKind = 'flags' | 'keep';
|
|
4
|
+
type TokenGroupOpenKind = 'absence_repeater' | 'atomic' | 'capturing' | 'group' | 'lookahead' | 'lookbehind';
|
|
5
|
+
type TokenQuantifierKind = 'greedy' | 'lazy' | 'possessive';
|
|
6
|
+
type TokenNamedCalloutKind = 'count' | 'cmp' | 'error' | 'fail' | 'max' | 'mismatch' | 'skip' | 'total_count' | 'custom';
|
|
7
|
+
type TokenizeOptions = {
|
|
8
|
+
flags?: string;
|
|
9
|
+
rules?: {
|
|
10
|
+
captureGroup?: boolean;
|
|
11
|
+
singleline?: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
declare function tokenize(pattern: string, options?: TokenizeOptions): {
|
|
15
|
+
tokens: Array<Token>;
|
|
16
|
+
flags: FlagProperties;
|
|
17
|
+
};
|
|
18
|
+
type AlternatorToken = {
|
|
19
|
+
type: 'Alternator';
|
|
20
|
+
raw: '|';
|
|
21
|
+
};
|
|
22
|
+
type AssertionToken = {
|
|
23
|
+
type: 'Assertion';
|
|
24
|
+
kind: string;
|
|
25
|
+
raw: string;
|
|
26
|
+
};
|
|
27
|
+
type BackreferenceToken = {
|
|
28
|
+
type: 'Backreference';
|
|
29
|
+
raw: string;
|
|
30
|
+
};
|
|
31
|
+
type CharacterToken = {
|
|
32
|
+
type: 'Character';
|
|
33
|
+
value: number;
|
|
34
|
+
raw: string;
|
|
35
|
+
};
|
|
36
|
+
type CharacterClassCloseToken = {
|
|
37
|
+
type: 'CharacterClassClose';
|
|
38
|
+
raw: ']';
|
|
39
|
+
};
|
|
40
|
+
type CharacterClassHyphenToken = {
|
|
41
|
+
type: 'CharacterClassHyphen';
|
|
42
|
+
raw: '-';
|
|
43
|
+
};
|
|
44
|
+
type CharacterClassIntersectorToken = {
|
|
45
|
+
type: 'CharacterClassIntersector';
|
|
46
|
+
raw: '&&';
|
|
47
|
+
};
|
|
48
|
+
type CharacterClassOpenToken = {
|
|
49
|
+
type: 'CharacterClassOpen';
|
|
50
|
+
negate: boolean;
|
|
51
|
+
raw: CharacterClassOpener;
|
|
52
|
+
};
|
|
53
|
+
type CharacterClassOpener = '[' | '[^';
|
|
54
|
+
type CharacterSetToken = {
|
|
55
|
+
type: 'CharacterSet';
|
|
56
|
+
kind: TokenCharacterSetKind;
|
|
57
|
+
value?: string;
|
|
58
|
+
negate?: boolean;
|
|
59
|
+
raw: string;
|
|
60
|
+
};
|
|
61
|
+
type DirectiveToken = {
|
|
62
|
+
type: 'Directive';
|
|
63
|
+
raw: string;
|
|
64
|
+
} & ({
|
|
65
|
+
kind: 'keep';
|
|
66
|
+
flags?: never;
|
|
67
|
+
} | {
|
|
68
|
+
kind: 'flags';
|
|
69
|
+
flags: FlagGroupModifiers;
|
|
70
|
+
});
|
|
71
|
+
type GroupCloseToken = {
|
|
72
|
+
type: 'GroupClose';
|
|
73
|
+
raw: ')';
|
|
74
|
+
};
|
|
75
|
+
type GroupOpenToken = {
|
|
76
|
+
type: 'GroupOpen';
|
|
77
|
+
kind: TokenGroupOpenKind;
|
|
78
|
+
flags?: FlagGroupModifiers;
|
|
79
|
+
name?: string;
|
|
80
|
+
number?: number;
|
|
81
|
+
negate?: boolean;
|
|
82
|
+
raw: string;
|
|
83
|
+
};
|
|
84
|
+
type NamedCalloutToken = {
|
|
85
|
+
type: 'NamedCallout';
|
|
86
|
+
kind: TokenNamedCalloutKind;
|
|
87
|
+
tag: string | null;
|
|
88
|
+
arguments: Array<string | number> | null;
|
|
89
|
+
raw: string;
|
|
90
|
+
};
|
|
91
|
+
type QuantifierToken = {
|
|
92
|
+
type: 'Quantifier';
|
|
93
|
+
kind: TokenQuantifierKind;
|
|
94
|
+
min: number;
|
|
95
|
+
max: number;
|
|
96
|
+
raw: string;
|
|
97
|
+
};
|
|
98
|
+
type SubroutineToken = {
|
|
99
|
+
type: 'Subroutine';
|
|
100
|
+
raw: string;
|
|
101
|
+
};
|
|
102
|
+
type FlagProperties = {
|
|
103
|
+
ignoreCase: boolean;
|
|
104
|
+
dotAll: boolean;
|
|
105
|
+
extended: boolean;
|
|
106
|
+
digitIsAscii: boolean;
|
|
107
|
+
posixIsAscii: boolean;
|
|
108
|
+
spaceIsAscii: boolean;
|
|
109
|
+
wordIsAscii: boolean;
|
|
110
|
+
textSegmentMode: 'grapheme' | 'word' | null;
|
|
111
|
+
};
|
|
112
|
+
type FlagGroupModifiers = {
|
|
113
|
+
enable?: FlagGroupSwitches;
|
|
114
|
+
disable?: FlagGroupSwitches;
|
|
115
|
+
};
|
|
116
|
+
type FlagGroupSwitches = {
|
|
117
|
+
ignoreCase?: true;
|
|
118
|
+
dotAll?: true;
|
|
119
|
+
extended?: true;
|
|
120
|
+
};
|
|
121
|
+
export { type AlternatorToken, type AssertionToken, type BackreferenceToken, type CharacterToken, type CharacterClassCloseToken, type CharacterClassHyphenToken, type CharacterClassIntersectorToken, type CharacterClassOpenToken, type CharacterSetToken, type DirectiveToken, type FlagGroupModifiers, type FlagProperties, type GroupCloseToken, type GroupOpenToken, type NamedCalloutToken, type QuantifierToken, type SubroutineToken, type Token, type TokenCharacterSetKind, type TokenDirectiveKind, type TokenNamedCalloutKind, type TokenQuantifierKind, tokenize, };
|
|
122
|
+
//# sourceMappingURL=tokenize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokenize.d.ts","sourceRoot":"","sources":["../../src/tokenizer/tokenize.ts"],"names":[],"mappings":"AAEA,KAAK,KAAK,GACR,eAAe,GACf,cAAc,GACd,kBAAkB,GAClB,cAAc,GACd,wBAAwB,GACxB,yBAAyB,GACzB,8BAA8B,GAC9B,uBAAuB,GACvB,iBAAiB,GACjB,cAAc,GACd,eAAe,GACf,cAAc,GACd,iBAAiB,GACjB,eAAe,GACf,eAAe,CAAC;AAKlB,KAAK,qBAAqB,GACxB,KAAK,GACL,OAAO,GACP,KAAK,GACL,KAAK,GACL,SAAS,GACT,OAAO,GACP,UAAU,GACV,OAAO,GACP,cAAc,GACd,MAAM,CAAC;AAET,KAAK,kBAA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5B,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,KAAK,EACV,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,QAAQ,GACT,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";import{cpOf as h,PosixClassNames as G,r as p,throwIfNullish as N}from"../utils.js";const m=p`\[\^?`,b=`c.? | C(?:-.?)?|${p`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${p`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${p`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${p`o\{[^\}]*\}?`}|${p`\d{1,3}`}`,y=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,C=new RegExp(p`
|
|
2
|
+
\\ (?:
|
|
3
|
+
${b}
|
|
4
|
+
| [gk]<[^>]*>?
|
|
5
|
+
| [gk]'[^']*'?
|
|
6
|
+
| .
|
|
7
|
+
)
|
|
8
|
+
| \( (?:
|
|
9
|
+
\? (?:
|
|
10
|
+
[:=!>({]
|
|
11
|
+
| <[=!]
|
|
12
|
+
| <[^>]*>
|
|
13
|
+
| '[^']*'
|
|
14
|
+
| ~\|?
|
|
15
|
+
| #(?:[^)\\]|\\.?)*
|
|
16
|
+
| [^:)]*[:)]
|
|
17
|
+
)?
|
|
18
|
+
| \*[^\)]*\)?
|
|
19
|
+
)?
|
|
20
|
+
| (?:${y.source})+
|
|
21
|
+
| ${m}
|
|
22
|
+
| .
|
|
23
|
+
`.replace(/\s+/g,""),"gsu"),T=new RegExp(p`
|
|
24
|
+
\\ (?:
|
|
25
|
+
${b}
|
|
26
|
+
| .
|
|
27
|
+
)
|
|
28
|
+
| \[:(?:\^?\p{Alpha}+|\^):\]
|
|
29
|
+
| ${m}
|
|
30
|
+
| &&
|
|
31
|
+
| .
|
|
32
|
+
`.replace(/\s+/g,""),"gsu");function M(e,n={}){const t={flags:"",...n,rules:{captureGroup:!1,singleline:!1,...n.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const o=Y(t.flags),s=[o.extended],a={captureGroup:t.rules.captureGroup,getCurrentModX(){return s.at(-1)},numOpenGroups:0,popModX(){s.pop()},pushModX(u){s.push(u)},replaceCurrentModX(u){s[s.length-1]=u},singleline:t.rules.singleline};let r=[],i;for(C.lastIndex=0;i=C.exec(e);){const u=F(a,e,i[0],C.lastIndex);u.tokens?r.push(...u.tokens):u.token&&r.push(u.token),u.lastIndex!==void 0&&(C.lastIndex=u.lastIndex)}const l=[];let c=0;r.filter(u=>u.type==="GroupOpen").forEach(u=>{u.kind==="capturing"?u.number=++c:u.raw==="("&&l.push(u)}),c||l.forEach((u,S)=>{u.kind="capturing",u.number=S+1});const g=c||l.length;return{tokens:r.map(u=>u.type==="EscapedNumber"?ee(u,g):u).flat(),flags:o}}function F(e,n,t,o){const[s,a]=t;if(t==="["||t==="[^"){const r=K(n,t,o);return{tokens:r.tokens,lastIndex:r.lastIndex}}if(s==="\\"){if("AbBGyYzZ".includes(a))return{token:w(t,t)};if(/^\\g[<']/.test(t)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(t))throw new Error(`Invalid group name "${t}"`);return{token:R(t)}}if(/^\\k[<']/.test(t)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(t))throw new Error(`Invalid group name "${t}"`);return{token:A(t)}}if(a==="K")return{token:I("keep",t)};if(a==="N"||a==="R")return{token:k("newline",t,{negate:a==="N"})};if(a==="O")return{token:k("any",t)};if(a==="X")return{token:k("text_segment",t)};const r=x(t,{inCharClass:!1});return Array.isArray(r)?{tokens:r}:{token:r}}if(s==="("){if(a==="*")return{token:j(t)};if(t==="(?{")throw new Error(`Unsupported callout "${t}"`);if(t.startsWith("(?#")){if(n[o]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:o+1}}if(/^\(\?[-imx]+[:)]$/.test(t))return{token:L(t,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,t==="("&&!e.captureGroup||t==="(?:")return{token:f("group",t)};if(t==="(?>")return{token:f("atomic",t)};if(t==="(?="||t==="(?!"||t==="(?<="||t==="(?<!")return{token:f(t[2]==="<"?"lookbehind":"lookahead",t,{negate:t.endsWith("!")})};if(t==="("&&e.captureGroup||t.startsWith("(?<")&&t.endsWith(">")||t.startsWith("(?'")&&t.endsWith("'"))return{token:f("capturing",t,{...t!=="("&&{name:t.slice(3,-1)}})};if(t.startsWith("(?~")){if(t==="(?~|")throw new Error(`Unsupported absence function kind "${t}"`);return{token:f("absence_repeater",t)}}throw t==="(?("?new Error(`Unsupported conditional "${t}"`):new Error(`Invalid or unsupported group option "${t}"`)}if(t===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:Q(t)}}if(e.getCurrentModX()){if(t==="#"){const r=n.indexOf(`
|
|
33
|
+
`,o);return{lastIndex:r===-1?n.length:r}}if(/^\s$/.test(t)){const r=/\s+/y;return r.lastIndex=o,{lastIndex:r.exec(n)?r.lastIndex:o}}}if(t===".")return{token:k("dot",t)};if(t==="^"||t==="$"){const r=e.singleline?{"^":p`\A`,$:p`\Z`}[t]:t;return{token:w(r,t)}}return t==="|"?{token:P(t)}:y.test(t)?{tokens:te(t)}:{token:d(h(t),t)}}function K(e,n,t){const o=[E(n[1]==="^",n)];let s=1,a;for(T.lastIndex=t;a=T.exec(e);){const r=a[0];if(r[0]==="["&&r[1]!==":")s++,o.push(E(r[1]==="^",r));else if(r==="]"){if(o.at(-1).type==="CharacterClassOpen")o.push(d(93,r));else if(s--,o.push(z(r)),!s)break}else{const i=X(r);Array.isArray(i)?o.push(...i):o.push(i)}}return{tokens:o,lastIndex:T.lastIndex||e.length}}function X(e){if(e[0]==="\\")return x(e,{inCharClass:!0});if(e[0]==="["){const n=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!n||!G.has(n.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return k("posix",e,{value:n.groups.name,negate:!!n.groups.negate})}return e==="-"?U(e):e==="&&"?H(e):d(h(e),e)}function x(e,{inCharClass:n}){const t=e[1];if(t==="c"||t==="C")return Z(e);if("dDhHsSwW".includes(t))return q(e);if(e.startsWith(p`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return V(e)}if(/^\\x[89A-Fa-f]\p{AHex}/u.test(e))try{const o=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(o)),a=new TextEncoder;return[...s].map(i=>{const l=[...a.encode(i)].map(c=>`\\x${c.toString(16)}`).join("");return d(h(i),l)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(t==="u"||t==="x")return d(J(e),e);if($.has(t))return d($.get(t),e);if(/\d/.test(t))return W(n,e);if(e==="\\")throw new Error(p`Incomplete escape "\"`);if(t==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return d(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function P(e){return{type:"Alternator",raw:e}}function w(e,n){return{type:"Assertion",kind:e,raw:n}}function A(e){return{type:"Backreference",raw:e}}function d(e,n){return{type:"Character",value:e,raw:n}}function z(e){return{type:"CharacterClassClose",raw:e}}function U(e){return{type:"CharacterClassHyphen",raw:e}}function H(e){return{type:"CharacterClassIntersector",raw:e}}function E(e,n){return{type:"CharacterClassOpen",negate:e,raw:n}}function k(e,n,t={}){return{type:"CharacterSet",kind:e,...t,raw:n}}function I(e,n,t={}){return e==="keep"?{type:"Directive",kind:e,raw:n}:{type:"Directive",kind:e,flags:N(t.flags),raw:n}}function W(e,n){return{type:"EscapedNumber",inCharClass:e,raw:n}}function Q(e){return{type:"GroupClose",raw:e}}function f(e,n,t={}){return{type:"GroupOpen",kind:e,...t,raw:n}}function D(e,n,t,o){return{type:"NamedCallout",kind:e,tag:n,arguments:t,raw:o}}function _(e,n,t,o){return{type:"Quantifier",kind:e,min:n,max:t,raw:o}}function R(e){return{type:"Subroutine",raw:e}}const B=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),$=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function Z(e){const n=e[1]==="c"?e[2]:e[3];if(!n||!/[A-Za-z]/.test(n))throw new Error(`Unsupported control character "${e}"`);return d(h(n.toUpperCase())-64,e)}function L(e,n){let{on:t,off:o}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;o??="";const s=(n.getCurrentModX()||t.includes("x"))&&!o.includes("x"),a=v(t),r=v(o),i={};if(a&&(i.enable=a),r&&(i.disable=r),e.endsWith(")"))return n.replaceCurrentModX(s),I("flags",e,{flags:i});if(e.endsWith(":"))return n.pushModX(s),n.numOpenGroups++,f("group",e,{...(a||r)&&{flags:i}});throw new Error(`Unexpected flag modifier "${e}"`)}function j(e){const n=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!n)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:t,tag:o,args:s}=n.groups;if(!t)throw new Error(`Invalid named callout "${e}"`);if(o==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const a=s?s.split(",").filter(g=>g!=="").map(g=>/^[+-]?\d+$/.test(g)?+g:g):[],[r,i,l]=a,c=B.has(t)?t.toLowerCase():"custom";switch(c){case"fail":case"mismatch":case"skip":if(a.length>0)throw new Error(`Named callout arguments not allowed "${a}"`);break;case"error":if(a.length>1)throw new Error(`Named callout allows only one argument "${a}"`);if(typeof r=="string")throw new Error(`Named callout argument must be a number "${r}"`);break;case"max":if(!a.length||a.length>2)throw new Error(`Named callout must have one or two arguments "${a}"`);if(typeof r=="string"&&!/^[A-Za-z_]\w*$/.test(r))throw new Error(`Named callout argument one must be a tag or number "${r}"`);if(a.length===2&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${i}"`);break;case"count":case"total_count":if(a.length>1)throw new Error(`Named callout allows only one argument "${a}"`);if(a.length===1&&(typeof r=="number"||!/^[<>X]$/.test(r)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${r}"`);break;case"cmp":if(a.length!==3)throw new Error(`Named callout must have three arguments "${a}"`);if(typeof r=="string"&&!/^[A-Za-z_]\w*$/.test(r))throw new Error(`Named callout argument one must be a tag or number "${r}"`);if(typeof i=="number"||!/^(?:[<>!=]=|[<>])$/.test(i))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${i}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${t}"`);default:throw new Error(`Unexpected named callout kind "${c}"`)}return D(c,o??null,s?.split(",")??null,e)}function O(e){let n=null,t,o;if(e[0]==="{"){const{minStr:s,maxStr:a}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,r=1e5;if(+s>r||a&&+a>r)throw new Error("Quantifier value unsupported in Oniguruma");if(t=+s,o=a===void 0?+s:a===""?1/0:+a,t>o&&(n="possessive",[t,o]=[o,t]),e.endsWith("?")){if(n==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');n="lazy"}else n||(n="greedy")}else t=e[0]==="+"?1:0,o=e[0]==="?"?1:1/0,n=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return _(n,t,o,e)}function q(e){const n=e[1].toLowerCase();return k({d:"digit",h:"hex",s:"space",w:"word"}[n],e,{negate:e[1]!==n})}function V(e){const{p:n,neg:t,value:o}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return k("property",e,{value:o,negate:n==="P"&&!t||n==="p"&&!!t})}function v(e){const n={};return e.includes("i")&&(n.ignoreCase=!0),e.includes("m")&&(n.dotAll=!0),e.includes("x")&&(n.extended=!0),Object.keys(n).length?n:null}function Y(e){const n={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let t=0;t<e.length;t++){const o=e[t];if(!"imxDPSWy".includes(o))throw new Error(`Invalid flag "${o}"`);if(o==="y"){if(!/^y{[gw]}/.test(e.slice(t)))throw new Error('Invalid or unspecified flag "y" mode');n.textSegmentMode=e[t+2]==="g"?"grapheme":"word",t+=3;continue}n[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[o]]=!0}return n}function J(e){if(/^(?:\\u(?!\p{AHex}{4})|\\x(?!\p{AHex}{1,2}|\{\p{AHex}{1,8}\}))/u.test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const n=e[2]==="{"?/^\\x\{\s*(?<hex>\p{AHex}+)/u.exec(e).groups.hex:e.slice(2);return parseInt(n,16)}function ee(e,n){const{raw:t,inCharClass:o}=e,s=t.slice(1);if(!o&&(s!=="0"&&s.length===1||s[0]!=="0"&&+s<=n))return[A(t)];const a=[],r=s.match(/^[0-7]+|\d/g);for(let i=0;i<r.length;i++){const l=r[i];let c;if(i===0&&l!=="8"&&l!=="9"){if(c=parseInt(l,8),c>127)throw new Error(p`Octal encoded byte above 177 unsupported "${t}"`)}else c=h(l);a.push(d(c,(i===0?"\\":"")+l))}return a}function te(e){const n=[],t=new RegExp(y,"gy");let o;for(;o=t.exec(e);){const s=o[0];if(s[0]==="{"){const a=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(s);if(a){const{min:r,max:i}=a.groups;if(+r>+i&&s.endsWith("?")){t.lastIndex--,n.push(O(s.slice(0,-1)));continue}}}n.push(O(s))}return n}export{M as tokenize};
|
|
34
|
+
//# sourceMappingURL=tokenize.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/tokenizer/tokenize.ts"],
|
|
4
|
+
"sourcesContent": ["import {cpOf, PosixClassNames, r, throwIfNullish} from '../utils.js';\n\ntype Token =\n AlternatorToken |\n AssertionToken |\n BackreferenceToken |\n CharacterToken |\n CharacterClassCloseToken |\n CharacterClassHyphenToken |\n CharacterClassIntersectorToken |\n CharacterClassOpenToken |\n CharacterSetToken |\n DirectiveToken |\n GroupCloseToken |\n GroupOpenToken |\n NamedCalloutToken |\n QuantifierToken |\n SubroutineToken;\n\ntype IntermediateToken =\n EscapedNumberToken;\n\ntype TokenCharacterSetKind =\n 'any' |\n 'digit' |\n 'dot' |\n 'hex' |\n 'newline' |\n 'posix' |\n 'property' |\n 'space' |\n 'text_segment' |\n 'word';\n\ntype TokenDirectiveKind =\n 'flags' |\n 'keep';\n\ntype TokenGroupOpenKind =\n 'absence_repeater' |\n 'atomic' |\n 'capturing' |\n 'group' |\n 'lookahead' |\n 'lookbehind';\n\ntype TokenQuantifierKind =\n 'greedy' |\n 'lazy' |\n 'possessive';\n\ntype TokenNamedCalloutKind =\n 'count' |\n 'cmp' |\n 'error' |\n 'fail' |\n 'max' |\n 'mismatch' |\n 'skip' |\n 'total_count' |\n 'custom';\n\nconst charClassOpenPattern = r`\\[\\^?`;\nconst sharedEscapesPattern = `${\n // Control char\n 'c.? | C(?:-.?)?'\n}|${\n // Unicode property; Onig considers `\\p` an identity escape, but e.g. `\\p{`, `\\p{ ^L}`, and\n // `\\p{gc=L}` are invalid\n r`[pP]\\{(?:\\^?[-\\x20_]*[A-Za-z][-\\x20\\w]*\\})?`\n}|${\n // Hex encoded byte sequence; attempt match before other `\\xNN` hex char\n r`x[89A-Fa-f]\\p{AHex}(?:\\\\x[89A-Fa-f]\\p{AHex})*`\n}|${\n // Hex char\n r`u(?:\\p{AHex}{4})? | x\\{[^\\}]*\\}? | x\\p{AHex}{0,2}`\n}|${\n // Enclosed octal code point\n r`o\\{[^\\}]*\\}?`\n}|${\n // Escaped number\n r`\\d{1,3}`\n}`;\n// Even with flag x, Onig doesn't allow whitespace to separate a quantifier from the `?` or `+`\n// that makes it lazy or possessive. Possessive suffixes don't apply to interval quantifiers\nconst quantifierRe = /[?*+][?+]?|\\{(?:\\d+(?:,\\d*)?|,\\d+)\\}\\??/;\nconst tokenRe = new RegExp(r`\n \\\\ (?:\n ${sharedEscapesPattern}\n | [gk]<[^>]*>?\n | [gk]'[^']*'?\n | .\n )\n | \\( (?:\n \\? (?:\n [:=!>({]\n | <[=!]\n | <[^>]*>\n | '[^']*'\n | ~\\|?\n | #(?:[^)\\\\]|\\\\.?)*\n | [^:)]*[:)]\n )?\n | \\*[^\\)]*\\)?\n )?\n | (?:${quantifierRe.source})+\n | ${charClassOpenPattern}\n | .\n`.replace(/\\s+/g, ''), 'gsu');\nconst charClassTokenRe = new RegExp(r`\n \\\\ (?:\n ${sharedEscapesPattern}\n | .\n )\n | \\[:(?:\\^?\\p{Alpha}+|\\^):\\]\n | ${charClassOpenPattern}\n | &&\n | .\n`.replace(/\\s+/g, ''), 'gsu');\n\ntype Context = {\n captureGroup: boolean;\n getCurrentModX(): boolean;\n numOpenGroups: number;\n popModX(): void;\n pushModX(isXOn: boolean): void;\n replaceCurrentModX(isXOn: boolean): void;\n singleline: boolean;\n};\n\ntype TokenizeOptions = {\n flags?: string;\n rules?: {\n captureGroup?: boolean;\n singleline?: boolean;\n };\n};\n\nfunction tokenize(pattern: string, options: TokenizeOptions = {}): {\n tokens: Array<Token>;\n flags: FlagProperties;\n} {\n const opts = {\n flags: '',\n ...options,\n rules: {\n captureGroup: false, // `ONIG_OPTION_CAPTURE_GROUP`\n singleline: false, // `ONIG_OPTION_SINGLELINE`\n ...options.rules,\n },\n };\n if (typeof pattern !== 'string') {\n throw new Error('String expected as pattern');\n }\n const flagProperties = getFlagProperties(opts.flags);\n const xStack = [flagProperties.extended];\n const context: Context = {\n captureGroup: opts.rules.captureGroup,\n // Always at least has the top-level flag x\n getCurrentModX() {return xStack.at(-1)!},\n numOpenGroups: 0,\n popModX() {xStack.pop()},\n pushModX(isXOn) {xStack.push(isXOn)},\n replaceCurrentModX(isXOn) {xStack[xStack.length - 1] = isXOn},\n singleline: opts.rules.singleline,\n };\n let tokens: Array<Token | IntermediateToken> = [];\n let match: RegExpExecArray | null;\n tokenRe.lastIndex = 0;\n while ((match = tokenRe.exec(pattern))) {\n const result = getTokenWithDetails(context, pattern, match[0], tokenRe.lastIndex);\n if (result.tokens) {\n tokens.push(...result.tokens);\n } else if (result.token) {\n tokens.push(result.token);\n }\n if (result.lastIndex !== undefined) {\n tokenRe.lastIndex = result.lastIndex;\n }\n }\n\n const potentialUnnamedCaptureTokens: Array<GroupOpenToken> = [];\n let numNamedAndOptInUnnamedCaptures = 0;\n tokens.filter(t => t.type === 'GroupOpen').forEach(t => {\n if (t.kind === 'capturing') {\n t.number = ++numNamedAndOptInUnnamedCaptures;\n } else if (t.raw === '(') {\n potentialUnnamedCaptureTokens.push(t);\n }\n });\n // Enable unnamed capturing groups if no named captures (when `captureGroup` not enabled)\n if (!numNamedAndOptInUnnamedCaptures) {\n potentialUnnamedCaptureTokens.forEach((t, i) => {\n t.kind = 'capturing';\n t.number = i + 1;\n });\n }\n const numCaptures = numNamedAndOptInUnnamedCaptures || potentialUnnamedCaptureTokens.length;\n // Can now split escaped nums accurately, accounting for number of captures\n const tokensWithoutIntermediate = tokens.map(\n t => t.type === 'EscapedNumber' ? splitEscapedNumberToken(t, numCaptures) : t\n ).flat();\n\n return {\n tokens: tokensWithoutIntermediate,\n flags: flagProperties,\n };\n}\n\nfunction getTokenWithDetails(context: Context, pattern: string, m: string, lastIndex: number): {\n token: Token | IntermediateToken;\n tokens?: never;\n lastIndex?: number;\n} | {\n token?: never;\n tokens: Array<Token | IntermediateToken>;\n lastIndex?: number;\n} | {\n token?: never;\n tokens?: never;\n lastIndex: number;\n} {\n const [m0, m1] = m;\n\n if (m === '[' || m === '[^') {\n const result = getAllTokensForCharClass(pattern, m, lastIndex);\n return {\n // Array of all of the char class's tokens\n tokens: result.tokens,\n // Jump forward to the end of the char class\n lastIndex: result.lastIndex,\n };\n }\n\n if (m0 === '\\\\') {\n if ('AbBGyYzZ'.includes(m1)) {\n return {\n token: createAssertionToken(m, m),\n };\n }\n if (/^\\\\g[<']/.test(m)) {\n if (!/^\\\\g(?:<[^>]+>|'[^']+')$/.test(m)) {\n throw new Error(`Invalid group name \"${m}\"`);\n }\n return {\n token: createSubroutineToken(m),\n };\n }\n if (/^\\\\k[<']/.test(m)) {\n if (!/^\\\\k(?:<[^>]+>|'[^']+')$/.test(m)) {\n throw new Error(`Invalid group name \"${m}\"`);\n }\n return {\n token: createBackreferenceToken(m),\n };\n }\n if (m1 === 'K') {\n return {\n token: createDirectiveToken('keep', m),\n };\n }\n if (m1 === 'N' || m1 === 'R') {\n return {\n token: createCharacterSetToken('newline', m, {\n // `\\N` and `\\R` are not actually opposites since the former only excludes `\\n`\n negate: m1 === 'N',\n }),\n };\n }\n if (m1 === 'O') {\n return {\n token: createCharacterSetToken('any', m),\n };\n }\n if (m1 === 'X') {\n return {\n token: createCharacterSetToken('text_segment', m),\n };\n }\n // Run last since it assumes an identity escape as final condition\n const result = tokenizeSharedEscape(m, {inCharClass: false});\n return Array.isArray(result) ? {tokens: result} : {token: result};\n }\n\n if (m0 === '(') {\n if (m1 === '*') {\n return {\n token: tokenizeNamedCallout(m),\n };\n }\n if (m === '(?{') {\n throw new Error(`Unsupported callout \"${m}\"`);\n }\n // Comment group\n if (m.startsWith('(?#')) {\n // Everything except the closing unescaped `)` is included in the match\n if (pattern[lastIndex] !== ')') {\n throw new Error('Unclosed comment group \"(?#\"');\n }\n return {\n // Jump forward to after the closing paren\n lastIndex: lastIndex + 1,\n };\n }\n // Flag modifier (directive or group opener)\n if (/^\\(\\?[-imx]+[:)]$/.test(m)) {\n return {\n token: tokenizeFlagModifier(m, context),\n };\n }\n // --- Remaining group types all reuse current flag x status ---\n context.pushModX(context.getCurrentModX());\n context.numOpenGroups++;\n if (\n // Unnamed capture if no named captures present and `captureGroup` not enabled, else\n // noncapturing group\n (m === '(' && !context.captureGroup) ||\n // Noncapturing group\n m === '(?:'\n ) {\n return {\n // For `(`, will later change to `capturing` and add `number` prop if no named captures\n token: createGroupOpenToken('group', m),\n };\n }\n // Atomic group\n if (m === '(?>') {\n return {\n token: createGroupOpenToken('atomic', m),\n };\n }\n // Lookaround\n if (m === '(?=' || m === '(?!' || m === '(?<=' || m === '(?<!') {\n return {\n token: createGroupOpenToken(m[2] === '<' ? 'lookbehind' : 'lookahead', m, {\n negate: m.endsWith('!'),\n }),\n };\n }\n // Unnamed capture when `captureGroup` enabled, or named capture (checked after lookbehind due\n // to similar syntax)\n if (\n (m === '(' && context.captureGroup) ||\n (m.startsWith('(?<') && m.endsWith('>')) ||\n (m.startsWith(\"(?'\") && m.endsWith(\"'\"))\n ) {\n return {\n token: createGroupOpenToken('capturing', m, {\n // Will add `number` prop in a second pass\n ...(m !== '(' && {name: m.slice(3, -1)}),\n }),\n };\n }\n if (m.startsWith('(?~')) {\n if (m === '(?~|') {\n throw new Error(`Unsupported absence function kind \"${m}\"`);\n }\n return {\n token: createGroupOpenToken('absence_repeater', m),\n };\n }\n if (m === '(?(') {\n // TODO: Add support\n throw new Error(`Unsupported conditional \"${m}\"`);\n }\n throw new Error(`Invalid or unsupported group option \"${m}\"`);\n }\n if (m === ')') {\n context.popModX();\n context.numOpenGroups--;\n if (context.numOpenGroups < 0) {\n throw new Error('Unmatched \")\"');\n }\n return {\n token: createGroupCloseToken(m),\n };\n }\n\n if (context.getCurrentModX()) {\n if (m === '#') {\n // Onig's only line break char is line feed\n const end = pattern.indexOf('\\n', lastIndex);\n return {\n // Jump forward to the end of the comment\n lastIndex: end === -1 ? pattern.length : end,\n };\n }\n if (/^\\s$/.test(m)) {\n const re = /\\s+/y;\n re.lastIndex = lastIndex;\n const rest = re.exec(pattern);\n return {\n // Jump forward to the end of the whitespace\n lastIndex: rest ? re.lastIndex : lastIndex,\n };\n }\n }\n\n if (m === '.') {\n return {\n token: createCharacterSetToken('dot', m),\n };\n }\n\n if (m === '^' || m === '$') {\n const kind = context.singleline ? {\n '^': r`\\A`,\n '$': r`\\Z`,\n }[m] : m;\n return {\n token: createAssertionToken(kind, m),\n };\n }\n\n if (m === '|') {\n return {\n token: createAlternatorToken(m),\n };\n }\n\n if (quantifierRe.test(m)) {\n return {\n tokens: splitQuantifierMatch(m),\n };\n }\n\n // `cpOf` asserts that it's a single code point\n return {\n token: createCharacterToken(cpOf(m), m),\n };\n}\n\nfunction getAllTokensForCharClass(pattern: string, opener: CharacterClassOpener, lastIndex: number): {\n tokens: Array<Token | IntermediateToken>;\n lastIndex: number;\n} {\n const tokens: Array<Token | IntermediateToken> = [createCharacterClassOpenToken(opener[1] === '^', opener)];\n let numCharClassesOpen = 1;\n let match: RegExpExecArray | null;\n charClassTokenRe.lastIndex = lastIndex;\n while ((match = charClassTokenRe.exec(pattern))) {\n const m = match[0];\n // Start of nested char class\n // POSIX classes are handled as a single token; not as a nested char class\n if (m[0] === '[' && m[1] !== ':') {\n numCharClassesOpen++;\n tokens.push(createCharacterClassOpenToken(m[1] === '^', m as CharacterClassOpener));\n } else if (m === ']') {\n // Always at least includes the char class opener\n if (tokens.at(-1)!.type === 'CharacterClassOpen') {\n // Allow unescaped `]` as leading char\n tokens.push(createCharacterToken(93, m));\n } else {\n numCharClassesOpen--;\n tokens.push(createCharacterClassCloseToken(m));\n if (!numCharClassesOpen) {\n break;\n }\n }\n } else {\n const result = tokenizeAnyTokenWithinCharClass(m);\n if (Array.isArray(result)) {\n tokens.push(...result);\n } else {\n tokens.push(result);\n }\n }\n }\n return {\n tokens,\n lastIndex: charClassTokenRe.lastIndex || pattern.length,\n };\n}\n\nfunction tokenizeAnyTokenWithinCharClass(raw: string): Token | IntermediateToken | Array<Token> {\n if (raw[0] === '\\\\') {\n // Assumes an identity escape as final condition\n return tokenizeSharedEscape(raw, {inCharClass: true});\n }\n // POSIX class: `[:name:]` or `[:^name:]`\n if (raw[0] === '[') {\n const posix = /\\[:(?<negate>\\^?)(?<name>[a-z]+):\\]/.exec(raw);\n if (!posix || !PosixClassNames.has(posix.groups!.name)) {\n throw new Error(`Invalid POSIX class \"${raw}\"`);\n }\n return createCharacterSetToken('posix', raw, {\n value: posix.groups!.name,\n negate: !!posix.groups!.negate,\n });\n }\n // Range (possibly invalid) or literal hyphen\n if (raw === '-') {\n return createCharacterClassHyphenToken(raw);\n }\n if (raw === '&&') {\n return createCharacterClassIntersectorToken(raw);\n }\n // `cpOf` asserts that it's a single code point\n return createCharacterToken(cpOf(raw), raw);\n}\n\n// Tokens shared by base syntax and char class syntax that start with `\\`\nfunction tokenizeSharedEscape(raw: string, {inCharClass}: {inCharClass: boolean}): Token | IntermediateToken | Array<Token> {\n const char1 = raw[1];\n if (char1 === 'c' || char1 === 'C') {\n return tokenizeControlCharacter(raw);\n }\n if ('dDhHsSwW'.includes(char1)) {\n return tokenizeShorthand(raw);\n }\n if (raw.startsWith(r`\\o{`)) {\n throw new Error(`Incomplete, invalid, or unsupported octal code point \"${raw}\"`);\n }\n if (/^\\\\[pP]\\{/.test(raw)) {\n if (raw.length === 3) {\n throw new Error(`Incomplete or invalid Unicode property \"${raw}\"`);\n }\n return tokenizeUnicodeProperty(raw);\n }\n // Hex UTF-8 encoded byte sequence\n if (/^\\\\x[89A-Fa-f]\\p{AHex}/u.test(raw)) {\n try {\n const bytes = raw.split(/\\\\x/).slice(1).map(hex => parseInt(hex, 16));\n const decoded = new TextDecoder('utf-8', {\n ignoreBOM: true,\n fatal: true,\n }).decode(new Uint8Array(bytes));\n const encoder = new TextEncoder();\n const tokens = [...decoded].map(char => {\n // Since this regenerates `raw`, it might have different casing for hex A-F than the input\n const raw = [...encoder.encode(char)].map(byte => `\\\\x${byte.toString(16)}`).join('');\n return createCharacterToken(cpOf(char), raw);\n });\n return tokens;\n } catch {\n throw new Error(`Multibyte code \"${raw}\" incomplete or invalid in Oniguruma`);\n }\n }\n if (char1 === 'u' || char1 === 'x') {\n return createCharacterToken(getValidatedHexCharCode(raw), raw);\n }\n if (EscapeCharCodes.has(char1)) {\n return createCharacterToken(EscapeCharCodes.get(char1)!, raw);\n }\n // Escaped number: backref (possibly invalid), null, octal, or identity escape, possibly followed\n // by 1-2 literal digits\n if (/\\d/.test(char1)) {\n return createEscapedNumberToken(inCharClass, raw);\n }\n if (raw === '\\\\') {\n throw new Error(r`Incomplete escape \"\\\"`);\n }\n // Meta `\\M-x` and `\\M-\\C-x` are unsupported; avoid treating as an identity escape\n if (char1 === 'M') {\n // TODO: Add support. See:\n // - <github.com/kkos/oniguruma/blob/master/doc/SYNTAX.md#12-onig_syn_op2_esc_capital_m_bar_meta-enable-m-x>\n // - <github.com/kkos/oniguruma/blob/43a8c3f3daf263091f3a74019d4b32ebb6417093/src/regparse.c#L4695>\n // - <github.com/ammar/regexp_parser/blob/8851030feda68223d74f502335fb254a20d77016/lib/regexp_parser/expression/classes/escape_sequence.rb#L75>\n throw new Error(`Unsupported meta \"${raw}\"`);\n }\n // Identity escape; count code point length\n if ([...raw].length === 2) {\n return createCharacterToken(raw.codePointAt(1)!, raw);\n }\n throw new Error(`Unexpected escape \"${raw}\"`);\n}\n\n// --------------------------------\n// --- Token creation and types ---\n// --------------------------------\n\ntype AlternatorToken = {\n type: 'Alternator';\n raw: '|';\n};\nfunction createAlternatorToken(raw: '|'): AlternatorToken {\n return {\n type: 'Alternator',\n raw,\n };\n}\n\ntype AssertionToken = {\n type: 'Assertion';\n kind: string;\n raw: string;\n};\nfunction createAssertionToken(kind: string, raw: string): AssertionToken {\n return {\n type: 'Assertion',\n kind,\n raw,\n };\n}\n\ntype BackreferenceToken = {\n type: 'Backreference';\n raw: string;\n};\nfunction createBackreferenceToken(raw: string): BackreferenceToken {\n return {\n type: 'Backreference',\n raw,\n };\n}\n\ntype CharacterToken = {\n type: 'Character';\n value: number;\n raw: string;\n};\nfunction createCharacterToken(value: number, raw: string): CharacterToken {\n return {\n type: 'Character',\n value,\n raw,\n };\n}\n\ntype CharacterClassCloseToken = {\n type: 'CharacterClassClose';\n raw: ']';\n};\nfunction createCharacterClassCloseToken(raw: ']'): CharacterClassCloseToken {\n return {\n type: 'CharacterClassClose',\n raw,\n };\n}\n\ntype CharacterClassHyphenToken = {\n type: 'CharacterClassHyphen';\n raw: '-';\n};\nfunction createCharacterClassHyphenToken(raw: '-'): CharacterClassHyphenToken {\n return {\n type: 'CharacterClassHyphen',\n raw,\n };\n}\n\ntype CharacterClassIntersectorToken = {\n type: 'CharacterClassIntersector';\n raw: '&&';\n};\nfunction createCharacterClassIntersectorToken(raw: '&&'): CharacterClassIntersectorToken {\n return {\n type: 'CharacterClassIntersector',\n raw,\n };\n}\n\ntype CharacterClassOpenToken = {\n type: 'CharacterClassOpen';\n negate: boolean;\n raw: CharacterClassOpener;\n};\ntype CharacterClassOpener = '[' | '[^';\nfunction createCharacterClassOpenToken(negate: boolean, raw: CharacterClassOpener): CharacterClassOpenToken {\n return {\n type: 'CharacterClassOpen',\n negate,\n raw,\n };\n}\n\ntype CharacterSetToken = {\n type: 'CharacterSet';\n kind: TokenCharacterSetKind;\n value?: string;\n negate?: boolean;\n raw: string;\n};\nfunction createCharacterSetToken(\n kind: TokenCharacterSetKind,\n raw: string,\n options: {\n value?: string;\n negate?: boolean;\n } = {}\n): CharacterSetToken {\n return {\n type: 'CharacterSet',\n kind,\n ...options,\n raw,\n };\n}\n\ntype DirectiveToken = {\n type: 'Directive';\n raw: string;\n} & ({\n kind: 'keep';\n flags?: never;\n} | {\n kind: 'flags';\n flags: FlagGroupModifiers;\n});\nfunction createDirectiveToken(kind: TokenDirectiveKind, raw: string, options: {flags?: FlagGroupModifiers} = {}): DirectiveToken {\n if (kind === 'keep') {\n return {\n type: 'Directive',\n kind,\n raw,\n };\n }\n return {\n type: 'Directive',\n kind,\n flags: throwIfNullish(options.flags),\n raw,\n };\n}\n\ntype EscapedNumberToken = {\n type: 'EscapedNumber';\n inCharClass: boolean;\n raw: string;\n};\n/**\nIntermediate representation only; will become a `Backreference` or one or more `Character`s.\n*/\nfunction createEscapedNumberToken(inCharClass: boolean, raw: string): EscapedNumberToken {\n return {\n type: 'EscapedNumber',\n inCharClass,\n raw,\n };\n}\n\ntype GroupCloseToken = {\n type: 'GroupClose';\n raw: ')';\n};\nfunction createGroupCloseToken(raw: ')'): GroupCloseToken {\n return {\n type: 'GroupClose',\n raw,\n };\n}\n\ntype GroupOpenToken = {\n type: 'GroupOpen';\n kind: TokenGroupOpenKind;\n flags?: FlagGroupModifiers;\n name?: string;\n number?: number;\n negate?: boolean;\n raw: string;\n};\nfunction createGroupOpenToken(\n kind: TokenGroupOpenKind,\n raw: string,\n options: {\n flags?: FlagGroupModifiers;\n name?: string;\n number?: number;\n negate?: boolean;\n } = {}\n): GroupOpenToken {\n return {\n type: 'GroupOpen',\n kind,\n ...options,\n raw,\n };\n}\n\ntype NamedCalloutToken = {\n type: 'NamedCallout';\n kind: TokenNamedCalloutKind;\n tag: string | null;\n arguments: Array<string | number> | null;\n raw: string;\n};\nfunction createNamedCalloutToken(\n kind: TokenNamedCalloutKind,\n tag: string | null,\n args: Array<string | number> | null,\n raw: string\n): NamedCalloutToken {\n return {\n type: 'NamedCallout',\n kind,\n tag,\n arguments: args,\n raw,\n };\n};\n\ntype QuantifierToken = {\n type: 'Quantifier';\n kind: TokenQuantifierKind;\n min: number;\n max: number;\n raw: string;\n};\nfunction createQuantifierToken(\n kind: TokenQuantifierKind,\n min: number,\n max: number,\n raw: string\n): QuantifierToken {\n return {\n type: 'Quantifier',\n kind,\n min,\n max,\n raw,\n };\n}\n\ntype SubroutineToken = {\n type: 'Subroutine';\n raw: string;\n};\nfunction createSubroutineToken(raw: string): SubroutineToken {\n return {\n type: 'Subroutine',\n raw,\n };\n}\n\n// ---------------\n// --- Helpers ---\n// ---------------\n\ntype FlagProperties = {\n ignoreCase: boolean;\n dotAll: boolean;\n extended: boolean;\n digitIsAscii: boolean;\n posixIsAscii: boolean;\n spaceIsAscii: boolean;\n wordIsAscii: boolean;\n textSegmentMode: 'grapheme' | 'word' | null;\n};\n\ntype FlagGroupModifiers = {\n enable?: FlagGroupSwitches;\n disable?: FlagGroupSwitches;\n};\n\ntype FlagGroupSwitches = {\n ignoreCase?: true;\n dotAll?: true;\n extended?: true;\n};\n\nconst CalloutNames = new Set<Uppercase<Exclude<TokenNamedCalloutKind, 'custom'>>>([\n 'COUNT',\n 'CMP',\n 'ERROR',\n 'FAIL',\n 'MAX',\n 'MISMATCH',\n 'SKIP',\n 'TOTAL_COUNT',\n]);\n\nconst EscapeCharCodes = new Map([\n ['a', 7], // alert/bell (Not available in JS)\n ['b', 8], // backspace (only in char classes)\n ['e', 27], // escape (Not available in JS)\n ['f', 12], // form feed\n ['n', 10], // line feed\n ['r', 13], // carriage return\n ['t', 9], // horizontal tab\n ['v', 11], // vertical tab\n]);\n\n// Expects `\\cx` or `\\C-x`\nfunction tokenizeControlCharacter(raw: string): CharacterToken {\n const char = raw[1] === 'c' ? raw[2] : raw[3];\n if (!char || !/[A-Za-z]/.test(char)) {\n // Unlike JS, Onig allows any char to follow `\\c` or `\\C-`, but this is an extreme edge case\n // TODO: Add support. See:\n // - <github.com/kkos/oniguruma/blob/master/doc/SYNTAX.md#11-onig_syn_op2_esc_capital_c_bar_control-enable-c-x>\n // - <github.com/kkos/oniguruma/blob/43a8c3f3daf263091f3a74019d4b32ebb6417093/src/regparse.c#L4695>\n throw new Error(`Unsupported control character \"${raw}\"`);\n }\n return createCharacterToken(cpOf(char.toUpperCase()) - 64, raw);\n}\n\nfunction tokenizeFlagModifier(raw: string, context: Context): DirectiveToken | GroupOpenToken {\n // Allows multiple `-` and solo `-` without `on` or `off` flags\n let {on, off} = /^\\(\\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(raw)!.groups as {on: string, off: string | undefined};\n off ??= '';\n // Flag x is used directly by the tokenizer since it changes how to interpret the pattern\n const isXOn = (context.getCurrentModX() || on.includes('x')) && !off.includes('x');\n const enabledFlags = getFlagGroupSwitches(on);\n const disabledFlags = getFlagGroupSwitches(off);\n const flagChanges: FlagGroupModifiers = {};\n enabledFlags && (flagChanges.enable = enabledFlags);\n disabledFlags && (flagChanges.disable = disabledFlags);\n // Flag directive; ex: `(?im-x)`\n if (raw.endsWith(')')) {\n // Replace flag x value until the end of the current group\n context.replaceCurrentModX(isXOn);\n // Can't remove flag directives without flags like `(?-)`; they affect following quantifiers\n return createDirectiveToken('flags', raw, {\n flags: flagChanges,\n });\n }\n // Flag group opener; ex: `(?im-x:`\n if (raw.endsWith(':')) {\n context.pushModX(isXOn);\n context.numOpenGroups++;\n return createGroupOpenToken('group', raw, {\n ...((enabledFlags || disabledFlags) && {flags: flagChanges}),\n });\n }\n throw new Error(`Unexpected flag modifier \"${raw}\"`);\n}\n\nfunction tokenizeNamedCallout(raw: string): NamedCalloutToken {\n const callout = /\\(\\*(?<name>[A-Za-z_]\\w*)?(?:\\[(?<tag>(?:[A-Za-z_]\\w*)?)\\])?(?:\\{(?<args>[^}]*)\\})?\\)/.exec(raw);\n if (!callout) {\n throw new Error(`Incomplete or invalid named callout \"${raw}\"`);\n }\n const {name, tag, args} = callout.groups as Partial<{\n name: string;\n tag: string;\n args: string;\n }>;\n if (!name) {\n throw new Error(`Invalid named callout \"${raw}\"`);\n }\n if (tag === '') {\n throw new Error(`Named callout tag with empty value not allowed \"${raw}\"`);\n }\n const argsArray: Array<string | number> = args ?\n args.split(',').\n // Onig skips over/ignores redundant/unnecessary commas\n filter(arg => arg !== '').\n map(arg => /^[+-]?\\d+$/.test(arg) ? +arg : arg) :\n [];\n const [arg0, arg1, arg2] = argsArray;\n const kind: TokenNamedCalloutKind = CalloutNames.has(name as Uppercase<Exclude<TokenNamedCalloutKind, 'custom'>>) ?\n name.toLowerCase() as TokenNamedCalloutKind :\n 'custom';\n switch (kind) {\n case 'fail':\n case 'mismatch':\n case 'skip':\n if (argsArray.length > 0) {\n throw new Error(`Named callout arguments not allowed \"${argsArray}\"`);\n }\n break;\n case 'error':\n if (argsArray.length > 1) {\n throw new Error(`Named callout allows only one argument \"${argsArray}\"`);\n }\n if (typeof arg0 === 'string') {\n throw new Error(`Named callout argument must be a number \"${arg0}\"`);\n }\n break;\n case 'max':\n if (!argsArray.length || argsArray.length > 2) {\n throw new Error(`Named callout must have one or two arguments \"${argsArray}\"`);\n }\n if (typeof arg0 === 'string' && !/^[A-Za-z_]\\w*$/.test(arg0)) {\n throw new Error(`Named callout argument one must be a tag or number \"${arg0}\"`);\n }\n if (argsArray.length === 2 && (typeof arg1 === 'number' || !/^[<>X]$/.test(arg1))) {\n throw new Error(`Named callout optional argument two must be '<', '>', or 'X' \"${arg1}\"`);\n }\n break;\n case 'count':\n case 'total_count':\n if (argsArray.length > 1) {\n throw new Error(`Named callout allows only one argument \"${argsArray}\"`);\n }\n if (argsArray.length === 1 && (typeof arg0 === 'number' || !/^[<>X]$/.test(arg0))) {\n throw new Error(`Named callout optional argument must be '<', '>', or 'X' \"${arg0}\"`);\n }\n break;\n case 'cmp':\n if (argsArray.length !== 3) {\n throw new Error(`Named callout must have three arguments \"${argsArray}\"`);\n }\n if (typeof arg0 === 'string' && !/^[A-Za-z_]\\w*$/.test(arg0)) {\n throw new Error(`Named callout argument one must be a tag or number \"${arg0}\"`);\n }\n if (typeof arg1 === 'number' || !/^(?:[<>!=]=|[<>])$/.test(arg1)) {\n throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' \"${arg1}\"`);\n }\n if (typeof arg2 === 'string' && !/^[A-Za-z_]\\w*$/.test(arg2)) {\n throw new Error(`Named callout argument three must be a tag or number \"${arg2}\"`);\n }\n break;\n case 'custom':\n // TODO: Can support custom callout names via a new option that allows providing a list of\n // allowed, non-built-in names\n throw new Error(`Undefined callout name \"${name}\"`);\n default:\n throw new Error(`Unexpected named callout kind \"${kind}\"`);\n }\n // TODO: If supporting custom callout names in the future (with an added `name` property for\n // `NamedCalloutToken`), will need to set `name` to `null` if `kind` isn't `'custom'`\n return createNamedCalloutToken(kind, tag ?? null, args?.split(',') ?? null, raw);\n}\n\nfunction tokenizeQuantifier(raw: string): QuantifierToken {\n let kind: TokenQuantifierKind = null!;\n let min: number;\n let max: number;\n if (raw[0] === '{') {\n const {minStr, maxStr} =\n /^\\{(?<minStr>\\d*)(?:,(?<maxStr>\\d*))?/.exec(raw)!.groups as {minStr: string, maxStr: string | undefined};\n const limit = 100_000;\n if (+minStr > limit || (maxStr && +maxStr > limit)) {\n throw new Error('Quantifier value unsupported in Oniguruma');\n }\n min = +minStr;\n max = maxStr === undefined ? +minStr : (maxStr === '' ? Infinity : +maxStr);\n // By default, Onig doesn't support making interval quantifiers possessive with a `+` suffix;\n // uses reversed range instead\n if (min > max) {\n kind = 'possessive';\n [min, max] = [max, min];\n }\n if (raw.endsWith('?')) {\n if (kind === 'possessive') {\n // TODO: <github.com/slevithan/oniguruma-parser/issues/10>\n throw new Error('Unsupported possessive interval quantifier chain with \"?\"');\n }\n kind = 'lazy';\n } else if (!kind) {\n kind = 'greedy';\n }\n } else {\n min = raw[0] === '+' ? 1 : 0;\n max = raw[0] === '?' ? 1 : Infinity;\n kind = raw[1] === '+' ? 'possessive' : (raw[1] === '?' ? 'lazy' : 'greedy');\n }\n return createQuantifierToken(kind, min, max, raw);\n}\n\nfunction tokenizeShorthand(raw: string): CharacterSetToken {\n const lower = raw[1].toLowerCase();\n return createCharacterSetToken({\n 'd': 'digit',\n 'h': 'hex',\n 's': 'space',\n 'w': 'word',\n }[lower] as TokenCharacterSetKind, raw, {\n negate: raw[1] !== lower,\n });\n}\n\nfunction tokenizeUnicodeProperty(raw: string): CharacterSetToken {\n const {p, neg, value} = /^\\\\(?<p>[pP])\\{(?<neg>\\^?)(?<value>[^}]+)/.exec(raw)!.groups!;\n const negate = (p === 'P' && !neg) || (p === 'p' && !!neg);\n return createCharacterSetToken('property', raw, {\n value,\n negate,\n });\n}\n\nfunction getFlagGroupSwitches(flags: string): FlagGroupSwitches | null {\n // Don't include `false` for flags that aren't included\n const obj: FlagGroupSwitches = {};\n if (flags.includes('i')) {\n obj.ignoreCase = true;\n }\n if (flags.includes('m')) {\n // Onig flag m is equivalent to JS flag s\n obj.dotAll = true;\n }\n if (flags.includes('x')) {\n obj.extended = true;\n }\n return Object.keys(obj).length ? obj : null;\n}\n\nfunction getFlagProperties(flags: string): FlagProperties {\n const flagProperties: FlagProperties = {\n ignoreCase: false,\n dotAll: false,\n extended: false,\n digitIsAscii: false,\n posixIsAscii: false,\n spaceIsAscii: false,\n wordIsAscii: false,\n textSegmentMode: null,\n };\n for (let i = 0; i < flags.length; i++) {\n const char = flags[i];\n if (!'imxDPSWy'.includes(char)) {\n throw new Error(`Invalid flag \"${char}\"`);\n }\n // Flags y{g}, y{w} are currently only supported via the top-level `flags` option\n if (char === 'y') {\n if (!/^y{[gw]}/.test(flags.slice(i))) {\n throw new Error('Invalid or unspecified flag \"y\" mode');\n }\n // If text segment mode flags appear multiple times, use the last one\n flagProperties.textSegmentMode = flags[i + 2] === 'g' ? 'grapheme' : 'word';\n i += 3;\n continue;\n }\n flagProperties[{\n i: 'ignoreCase',\n // Flag m is called `multiline` in Onig, but that has a different meaning in JS. Onig flag m\n // is equivalent to JS flag s\n m: 'dotAll',\n // Flag x is fully handled during tokenization\n x: 'extended',\n // Flags D, P, S, W are currently only supported via the top-level `flags` option\n D: 'digitIsAscii',\n P: 'posixIsAscii',\n S: 'spaceIsAscii',\n W: 'wordIsAscii',\n }[char] as Exclude<keyof FlagProperties, 'textSegmentMode'>] = true;\n }\n return flagProperties;\n}\n\n// - Unenclosed `\\xNN` above 0x7F is handled elsewhere as a UTF-8 encoded byte sequence\n// - Enclosed `\\x{}` with value above 0x10FFFF is allowed here; handled in the parser\nfunction getValidatedHexCharCode(raw: string): number {\n // Note: Onig 6.9.10 and earlier have a bug where pattern-terminating `\\u` and `\\x` are treated\n // as identity escapes; see <github.com/kkos/oniguruma/issues/343>. Don't emulate these bugs.\n // Additionally, Onig treats bare `\\x` as equivalent to `\\0`, and treats incomplete `\\x{` (with\n // the brace but not immediately followed by a hex digit) as an identity escape, so e.g. `\\x{`\n // matches `x{` and `^\\x{,2}$` matches `xx`, but `\\x{2,}` and `\\x{0,2}` are errors. Currently,\n // this library treats all such cases as errors\n if (/^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))/u.test(raw)) {\n throw new Error(`Incomplete or invalid escape \"${raw}\"`);\n }\n // Might include leading 0s\n const hex = raw[2] === '{' ?\n /^\\\\x\\{\\s*(?<hex>\\p{AHex}+)/u.exec(raw)!.groups!.hex :\n raw.slice(2);\n return parseInt(hex, 16);\n}\n\n// Value is 1-3 digits, which can be a backref (possibly invalid), null, octal, or identity escape,\n// possibly followed by 1-2 literal digits\nfunction splitEscapedNumberToken(token: EscapedNumberToken, numCaptures: number): Array<BackreferenceToken> | Array<CharacterToken> {\n const {raw, inCharClass} = token;\n // Keep any leading 0s since they indicate octal\n const value = raw.slice(1);\n // Backref (possibly invalid)\n if (\n !inCharClass &&\n ( // Single digit 1-9 outside a char class is always treated as a backref\n (value !== '0' && value.length === 1) ||\n // Leading 0 makes it octal; backrefs can't include following literal digits\n (value[0] !== '0' && +value <= numCaptures)\n )\n ) {\n return [createBackreferenceToken(raw)];\n }\n const tokens: Array<CharacterToken> = [];\n // Returns 1-3 matches; the first (only) might be octal\n const matches = value.match(/^[0-7]+|\\d/g)!;\n for (let i = 0; i < matches.length; i++) {\n const m = matches[i];\n let value: number;\n // Octal digits are 0-7\n if (i === 0 && m !== '8' && m !== '9') {\n value = parseInt(m, 8);\n if (value > 0o177) {\n // Octal UTF-8 encoded byte sequence; not yet supported\n throw new Error(r`Octal encoded byte above 177 unsupported \"${raw}\"`);\n }\n } else {\n value = cpOf(m);\n }\n tokens.push(createCharacterToken(value, (i === 0 ? '\\\\' : '') + m));\n }\n return tokens;\n}\n\nfunction splitQuantifierMatch(str: string): Array<QuantifierToken> {\n const tokens: Array<QuantifierToken> = [];\n // `str` is one or more quantifiers in a chain. It can't be split by a regex because of one edge\n // case where we have to compare numeric values: although `{1,2}?` is a single, lazy quantifier,\n // a reversed (possessive) interval quantifier like `{2,1}` can't be both possessive and lazy, so\n // any following `?`, `??`, or `?+` is a second, chained quantifier (i.e., `{2,1}?` is equivalent\n // to `{2,1}{0,1}` or `{2,0}`)\n const withG = new RegExp(quantifierRe, 'gy');\n let match: RegExpExecArray | null;\n while ((match = withG.exec(str))) {\n const m = match[0];\n if (m[0] === '{') {\n // Doesn't need to handle fixed `{n}`, infinite max `{n,}`, or implicit zero min `{,n}`\n // since, according to Onig syntax rules, those can't be possessive\n const parts = /^\\{(?<min>\\d+),(?<max>\\d+)\\}\\??$/.exec(m);\n if (parts) {\n const {min, max} = parts.groups as {min: string, max: string};\n if (+min > +max && m.endsWith('?')) {\n // Leave the trailing `?` for the next match\n withG.lastIndex--;\n tokens.push(tokenizeQuantifier(m.slice(0, -1)));\n continue;\n }\n }\n }\n tokens.push(tokenizeQuantifier(m));\n }\n return tokens;\n}\n\nexport {\n type AlternatorToken,\n type AssertionToken,\n type BackreferenceToken,\n type CharacterToken,\n type CharacterClassCloseToken,\n type CharacterClassHyphenToken,\n type CharacterClassIntersectorToken,\n type CharacterClassOpenToken,\n type CharacterSetToken,\n type DirectiveToken,\n type FlagGroupModifiers,\n type FlagProperties,\n type GroupCloseToken,\n type GroupOpenToken,\n type NamedCalloutToken,\n type QuantifierToken,\n type SubroutineToken,\n type Token,\n type TokenCharacterSetKind,\n type TokenDirectiveKind,\n type Token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charClassOpenPattern", "sharedEscapesPattern", "quantifierRe", "tokenRe", "charClassTokenRe", "tokenize", "pattern", "options", "opts", "flagProperties", "getFlagProperties", "xStack", "context", "isXOn", "tokens", "match", "result", "getTokenWithDetails", "potentialUnnamedCaptureTokens", "numNamedAndOptInUnnamedCaptures", "t", "i", "numCaptures", "splitEscapedNumberToken", "m", "lastIndex", "m0", "m1", "getAllTokensForCharClass", "createAssertionToken", "createSubroutineToken", "createBackreferenceToken", "createDirectiveToken", "createCharacterSetToken", "tokenizeSharedEscape", "tokenizeNamedCallout", "tokenizeFlagModifier", "createGroupOpenToken", "createGroupCloseToken", "end", "re", "kind", "createAlternatorToken", "splitQuantifierMatch", "createCharacterToken", "opener", "createCharacterClassOpenToken", "numCharClassesOpen", "createCharacterClassCloseToken", "tokenizeAnyTokenWithinCharClass", "raw", "posix", "createCharacterClassHyphenToken", "createCharacterClassIntersectorToken", "inCharClass", "char1", "tokenizeControlCharacter", "tokenizeShorthand", "tokenizeUnicodeProperty", "bytes", "hex", "decoded", "encoder", "char", "byte", "getValidatedHexCharCode", "EscapeCharCodes", "createEscapedNumberToken", "value", "negate", "createNamedCalloutToken", "tag", "args", "createQuantifierToken", "min", "max", "CalloutNames", "on", "off", "enabledFlags", "getFlagGroupSwitches", "disabledFlags", "flagChanges", "callout", "name", "argsArray", "arg", "arg0", "arg1", "arg2", "tokenizeQuantifier", "minStr", "maxStr", "limit", "lower", "p", "neg", "flags", "obj", "token", "matches", "str", "withG", "parts"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { AlternativeElementNode, AlternativeNode, CharacterClassElementNode, Node, ParentNode, RegexNode } from '../parser/parse.js';
|
|
2
|
+
type ContainerElementNode = AlternativeNode | AlternativeElementNode | CharacterClassElementNode;
|
|
3
|
+
type Path<N = Node, Root = RegexNode> = {
|
|
4
|
+
node: N;
|
|
5
|
+
parent: N extends RegexNode ? null : ParentNode;
|
|
6
|
+
key: N extends RegexNode ? null : number | string;
|
|
7
|
+
container: N extends RegexNode ? null : Array<ContainerElementNode> | null;
|
|
8
|
+
root: Root;
|
|
9
|
+
remove: () => void;
|
|
10
|
+
removeAllNextSiblings: () => Array<Node>;
|
|
11
|
+
removeAllPrevSiblings: () => Array<Node>;
|
|
12
|
+
replaceWith: (newNode: Node, options?: {
|
|
13
|
+
traverse?: boolean;
|
|
14
|
+
}) => void;
|
|
15
|
+
replaceWithMultiple: (newNodes: Array<Node>, options?: {
|
|
16
|
+
traverse?: boolean;
|
|
17
|
+
}) => void;
|
|
18
|
+
skip: () => void;
|
|
19
|
+
};
|
|
20
|
+
type Visitor<State extends object | null = null, Root extends Node = RegexNode> = {
|
|
21
|
+
[N in Node as N['type']]?: VisitorNodeFn<Path<N, Root>, State> | {
|
|
22
|
+
enter?: VisitorNodeFn<Path<N, Root>, State>;
|
|
23
|
+
exit?: VisitorNodeFn<Path<N, Root>, State>;
|
|
24
|
+
};
|
|
25
|
+
} & {
|
|
26
|
+
'*'?: VisitorNodeFn<Path<Node, Root>, State> | {
|
|
27
|
+
enter?: VisitorNodeFn<Path<Node, Root>, State>;
|
|
28
|
+
exit?: VisitorNodeFn<Path<Node, Root>, State>;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type VisitorNodeFn<P, State> = (path: P, state: State) => void;
|
|
32
|
+
/**
|
|
33
|
+
Traverses an AST and calls the provided `visitor`'s node function for each node. Returns the same
|
|
34
|
+
object, possibly modified.
|
|
35
|
+
|
|
36
|
+
Visitor node functions can modify the AST in place and use methods on the `path` (provided as their
|
|
37
|
+
first argument) to help modify the AST. Provided `state` is passed through to all visitor node
|
|
38
|
+
functions as their second argument.
|
|
39
|
+
|
|
40
|
+
Visitor node functions are called in the following order:
|
|
41
|
+
1. `enter` function of the `'*'` node type (if any)
|
|
42
|
+
2. `enter` function of the given node's type (if any)
|
|
43
|
+
3. [The node's kids (if any) are traversed recursively, unless `skip` is called]
|
|
44
|
+
4. `exit` function of the given node's type (if any)
|
|
45
|
+
5. `exit` function of the `'*'` node type (if any)
|
|
46
|
+
*/
|
|
47
|
+
declare function traverse<State extends object | null = null, Root extends Node = RegexNode>(root: Root, visitor: Visitor<State, Root>, state?: State | null): Root;
|
|
48
|
+
export { type Path, type Visitor, traverse, };
|
|
49
|
+
//# sourceMappingURL=traverse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"traverse.d.ts","sourceRoot":"","sources":["../../src/traverser/traverse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,sBAAsB,EAAE,eAAe,EAAE,yBAAyB,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAGxI,KAAK,oBAAoB,GAEvB,eAAe,GAEf,sBAAsB,GAEtB,yBAAyB,CAAC;AAE5B,KAAK,IAAI,CAAC,CAAC,GAAG,IAAI,EAAE,IAAI,GAAG,SAAS,IAAI;IAEtC,IAAI,EAAE,CAAC,CAAC;IAER,MAAM,EAAE,CAAC,SAAS,SAAS,GAAG,IAAI,GAAG,UAAU,CAAC;IAGhD,GAAG,EAAE,CAAC,SAAS,SAAS,GAAG,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;IAGlD,SAAS,EAAE,CAAC,SAAS,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC;IAG3E,IAAI,EAAE,IAAI,CAAC;IAEX,MAAM,EAAE,MAAM,IAAI,CAAC;IAGnB,qBAAqB,EAAE,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;IAGzC,qBAAqB,EAAE,MAAM,KAAK,CAAC,IAAI,CAAC,CAAC;IAGzC,WAAW,EAAE,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,EAAE;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAC,KAAK,IAAI,CAAC;IAGrE,mBAAmB,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,CAAC,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CAAC,EAC7B,KAAK,GAAE,KAAK,GAAG,IAAW,GACzB,IAAI,CA0HN;AAgBD,OAAO,EACL,KAAK,IAAI,EACT,KAAK,OAAO,EACZ,QAAQ,GACT,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";import{throwIfNullish as A}from"../utils.js";function S(a,v,N=null){function b(e,s){for(let t=0;t<e.length;t++){const r=n(e[t],s,t,e);t=Math.max(-1,t+r)}}function n(e,s=null,t=null,r=null){let i=0,c=!1;const d={node:e,parent:s,key:t,container:r,root:a,remove(){x(r).splice(Math.max(0,l(t)+i),1),i--,c=!0},removeAllNextSiblings(){return x(r).splice(l(t)+1)},removeAllPrevSiblings(){const o=l(t)+i;return i-=o,x(r).splice(0,Math.max(0,o))},replaceWith(o,m={}){const y=!!m.traverse;r?r[Math.max(0,l(t)+i)]=o:A(s,"Can't replace root node")[t]=o,y&&n(o,s,t,r),c=!0},replaceWithMultiple(o,m={}){const y=!!m.traverse;if(x(r).splice(Math.max(0,l(t)+i),1,...o),i+=o.length-1,y){let g=0;for(let p=0;p<o.length;p++)g+=n(o[p],s,l(t)+p+g,r)}c=!0},skip(){c=!0}},{type:f}=e,u=v["*"],h=v[f],R=typeof u=="function"?u:u?.enter,P=typeof h=="function"?h:h?.enter;if(R?.(d,N),P?.(d,N),!c)switch(f){case"AbsenceFunction":case"Alternative":case"CapturingGroup":case"CharacterClass":case"Group":case"LookaroundAssertion":b(e.body,e);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":n(e.min,e,"min"),n(e.max,e,"max");break;case"Quantifier":n(e.body,e,"body");break;case"Regex":b(e.body,e),n(e.flags,e,"flags");break;default:throw new Error(`Unexpected node type "${f}"`)}return h?.exit?.(d,N),u?.exit?.(d,N),i}return n(a),a}function x(a){if(!Array.isArray(a))throw new Error("Container expected");return a}function l(a){if(typeof a!="number")throw new Error("Numeric key expected");return a}export{S as traverse};
|
|
2
|
+
//# sourceMappingURL=traverse.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/traverser/traverse.ts"],
|
|
4
|
+
"sourcesContent": ["import type {AlternativeElementNode, AlternativeNode, CharacterClassElementNode, Node, ParentNode, RegexNode} from '../parser/parse.js';\nimport {throwIfNullish} from '../utils.js';\n\ntype ContainerElementNode =\n // Used within the `body` container of any `AlternativeContainerNode`\n AlternativeNode |\n // Any node type used within the `body` container of an `AlternativeNode`\n AlternativeElementNode |\n // Any node type used within the `body` container of a `CharacterClassNode`\n CharacterClassElementNode;\n\ntype Path<N = Node, Root = RegexNode> = {\n // The current node being traversed\n node: N;\n // Parent node of the current node\n parent: N extends RegexNode ? null : ParentNode;\n // String property where the current node in held by the parent node, or numeric index in the\n // parent's `container` array\n key: N extends RegexNode ? null : number | string;\n // Container array holding the current node in the parent node; `null` if the parent isn't a type\n // that contains a list of nodes\n container: N extends RegexNode ? null : Array<ContainerElementNode> | null;\n // Starting node of the AST being traversed; usually a `RegexNode` but can be any node type if\n // traversing from a midpoint\n root: Root;\n // Removes the current node; its kids won't be traversed\n remove: () => void;\n // Removes all siblings to the right of the current node, without traversing them; returns the\n // removed nodes\n removeAllNextSiblings: () => Array<Node>;\n // Removes all siblings to the left of the current node, which have already been traversed;\n // returns the removed nodes\n removeAllPrevSiblings: () => Array<Node>;\n // Replaces the current node with a new node; kids of the replaced node won't be traversed;\n // optionally traverses the new node\n replaceWith: (newNode: Node, options?: {traverse?: boolean}) => void;\n // Replaces the current node with multiple new nodes; kids of the replaced node won't be\n // traversed; optionally traverses the new nodes\n replaceWithMultiple: (newNodes: Array<Node>, options?: {traverse?: boolean}) => void;\n // Skips traversing kids of the current node\n skip: () => void;\n};\n\n// `VisitorNodeFn() {\u2026}` is shorthand for `VisitorNodeFn: {enter() {\u2026}}`.\ntype Visitor<State extends object | null = null, Root extends Node = RegexNode> = {\n [N in Node as N['type']]?: VisitorNodeFn<Path<N, Root>, State> | {\n enter?: VisitorNodeFn<Path<N, Root>, State>;\n exit?: VisitorNodeFn<Path<N, Root>, State>;\n };\n} & {\n '*'?: VisitorNodeFn<Path<Node, Root>, State> | {\n enter?: VisitorNodeFn<Path<Node, Root>, State>;\n exit?: VisitorNodeFn<Path<Node, Root>, State>;\n };\n};\n\ntype VisitorNodeFn<P, State> = (path: P, state: State) => void;\n\n/**\nTraverses an AST and calls the provided `visitor`'s node function for each node. Returns the same\nobject, possibly modified.\n\nVisitor node functions can modify the AST in place and use methods on the `path` (provided as their\nfirst argument) to help modify the AST. Provided `state` is passed through to all visitor node\nfunctions as their second argument.\n\nVisitor node functions are called in the following order:\n1. `enter` function of the `'*'` node type (if any)\n2. `enter` function of the given node's type (if any)\n3. [The node's kids (if any) are traversed recursively, unless `skip` is called]\n4. `exit` function of the given node's type (if any)\n5. `exit` function of the `'*'` node type (if any)\n*/\nfunction traverse<State extends object | null = null, Root extends Node = RegexNode>(\n root: Root,\n visitor: Visitor<State, Root>,\n state: State | null = null\n): Root {\n function traverseArray(array: NonNullable<Path['container']>, parent: Path['parent']) {\n for (let i = 0; i < array.length; i++) {\n const keyShift = traverseNode(array[i], parent, i, array);\n i = Math.max(-1, i + keyShift);\n }\n }\n function traverseNode(\n node: Path['node'],\n parent: Path['parent'] = null,\n key: Path['key'] = null,\n container: Path['container'] = null\n ): number {\n let keyShift = 0;\n let skipTraversingKidsOfPath = false;\n const path: Path = {\n node,\n parent,\n key,\n container,\n root: root as RegexNode,\n remove() {\n arrayContainer(container).splice(Math.max(0, numericKey(key) + keyShift), 1);\n keyShift--;\n skipTraversingKidsOfPath = true;\n },\n removeAllNextSiblings() {\n return arrayContainer(container).splice(numericKey(key) + 1);\n },\n removeAllPrevSiblings() {\n const shifted = numericKey(key) + keyShift;\n keyShift -= shifted;\n return arrayContainer(container).splice(0, Math.max(0, shifted));\n },\n replaceWith(newNode, options = {}) {\n const traverseNew = !!options.traverse;\n if (container) {\n container[Math.max(0, numericKey(key) + keyShift)] = newNode as ContainerElementNode;\n } else {\n // `key` will be one of:\n // - For `CharacterClassRangeNode`: 'min', 'max'\n // - For `QuantifierNode`: 'body'\n // - For `RegexNode`: 'flags'\n // @ts-expect-error\n throwIfNullish(parent, `Can't replace root node`)[key as string] = newNode;\n }\n if (traverseNew) {\n traverseNode(newNode, parent, key, container);\n }\n skipTraversingKidsOfPath = true;\n },\n replaceWithMultiple(newNodes, options = {}) {\n const traverseNew = !!options.traverse;\n arrayContainer(container).splice(Math.max(0, numericKey(key) + keyShift), 1, ...newNodes);\n keyShift += newNodes.length - 1;\n if (traverseNew) {\n let keyShiftInLoop = 0;\n for (let i = 0; i < newNodes.length; i++) {\n keyShiftInLoop += traverseNode(newNodes[i], parent, numericKey(key) + i + keyShiftInLoop, container);\n }\n }\n skipTraversingKidsOfPath = true;\n },\n skip() {\n skipTraversingKidsOfPath = true;\n },\n };\n\n const {type} = node;\n const anyTypeVisitor = visitor['*'];\n const thisTypeVisitor = visitor[type];\n const enterAllFn = typeof anyTypeVisitor === 'function' ? anyTypeVisitor : anyTypeVisitor?.enter;\n const enterThisFn = typeof thisTypeVisitor === 'function' ? thisTypeVisitor : thisTypeVisitor?.enter;\n // Type args are too complex to avoid TS errors here, but `VisitorNodeFn`s get correct types\n // @ts-expect-error\n enterAllFn?.(path, state);\n // @ts-expect-error\n enterThisFn?.(path, state);\n\n if (!skipTraversingKidsOfPath) {\n switch (type) {\n case 'AbsenceFunction':\n case 'Alternative':\n case 'CapturingGroup':\n case 'CharacterClass':\n case 'Group':\n case 'LookaroundAssertion':\n traverseArray(node.body, node);\n break;\n case 'Assertion':\n case 'Backreference':\n case 'Character':\n case 'CharacterSet':\n case 'Directive':\n case 'Flags':\n case 'NamedCallout':\n case 'Subroutine':\n break;\n case 'CharacterClassRange':\n traverseNode(node.min, node, 'min');\n traverseNode(node.max, node, 'max');\n break;\n case 'Quantifier':\n traverseNode(node.body, node, 'body');\n break;\n case 'Regex':\n traverseArray(node.body, node);\n traverseNode(node.flags, node, 'flags');\n break;\n default:\n throw new Error(`Unexpected node type \"${type}\"`);\n }\n }\n\n // @ts-expect-error\n (thisTypeVisitor as Exclude<typeof thisTypeVisitor, Function>)?.exit?.(path, state);\n // @ts-expect-error\n (anyTypeVisitor as Exclude<typeof anyTypeVisitor, Function>)?.exit?.(path, state);\n return keyShift;\n }\n traverseNode(root);\n return root;\n}\n\nfunction arrayContainer(value: unknown): Array<Node> {\n if (!Array.isArray(value)) {\n throw new Error('Container expected');\n }\n return value;\n}\n\nfunction numericKey(value: unknown): number {\n if (typeof value !== 'number') {\n throw new Error('Numeric key expected');\n }\n return value;\n}\n\nexport {\n type Path,\n type Visitor,\n traverse,\n};\n"],
|
|
5
|
+
"mappings": "aACA,OAAQ,kBAAAA,MAAqB,cAwE7B,SAASC,EACPC,EACAC,EACAC,EAAsB,KAChB,CACN,SAASC,EAAcC,EAAuCC,EAAwB,CACpF,QAASC,EAAI,EAAGA,EAAIF,EAAM,OAAQE,IAAK,CACrC,MAAMC,EAAWC,EAAaJ,EAAME,CAAC,EAAGD,EAAQC,EAAGF,CAAK,EACxDE,EAAI,KAAK,IAAI,GAAIA,EAAIC,CAAQ,CAC/B,CACF,CACA,SAASC,EACPC,EACAJ,EAAyB,KACzBK,EAAmB,KACnBC,EAA+B,KACvB,CACR,IAAIJ,EAAW,EACXK,EAA2B,GAC/B,MAAMC,EAAa,CACjB,KAAAJ,EACA,OAAAJ,EACA,IAAAK,EACA,UAAAC,EACA,KAAMX,EACN,QAAS,CACPc,EAAeH,CAAS,EAAE,OAAO,KAAK,IAAI,EAAGI,EAAWL,CAAG,EAAIH,CAAQ,EAAG,CAAC,EAC3EA,IACAK,EAA2B,EAC7B,EACA,uBAAwB,CACtB,OAAOE,EAAeH,CAAS,EAAE,OAAOI,EAAWL,CAAG,EAAI,CAAC,CAC7D,EACA,uBAAwB,CACtB,MAAMM,EAAUD,EAAWL,CAAG,EAAIH,EAClC,O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F,IAAK,YACL,IAAK,gBACL,IAAK,YACL,IAAK,eACL,IAAK,YACL,IAAK,QACL,IAAK,eACL,IAAK,aACH,MACF,IAAK,sBACHD,EAAaC,EAAK,IAAKA,EAAM,KAAK,EAClCD,EAAaC,EAAK,IAAKA,EAAM,KAAK,EAClC,MACF,IAAK,aACHD,EAAaC,EAAK,KAAMA,EAAM,MAAM,EACpC,MACF,IAAK,QACHN,EAAcM,EAAK,KAAMA,CAAI,EAC7BD,EAAaC,EAAK,MAAOA,EAAM,OAAO,EACtC,MACF,QACE,MAAM,IAAI,MAAM,yBAAyBa,CAAI,GAAG,CACpD,CAIF,OAACE,GAA+D,OAAOX,EAAMX,CAAK,EAEjFqB,GAA6D,OAAOV,EAAMX,CAAK,EACzEK,CACT,CACA,OAAAC,EAAaR,CAAI,EACVA,CACT,CAEA,SAASc,EAAea,EAA6B,CACnD,GAAI,CAAC,MAAM,QAAQA,CAAK,EACtB,MAAM,IAAI,MAAM,oBAAoB,EAEtC,OAAOA,CACT,CAEA,SAASZ,EAAWY,EAAwB,CAC1C,GAAI,OAAOA,GAAU,SACnB,MAAM,IAAI,MAAM,sBAAsB,EAExC,OAAOA,CACT,CAEA,OAGE5B,KAAA",
|
|
6
|
+
"names": ["throwIfNullish", "traverse", "root", "visitor", "state", "traverseArray", "array", "parent", "i", "keyShift", "traverseNode", "node", "key", "container", "skipTraversingKidsOfPath", "path", "arrayContainer", "numericKey", "shifted", "newNode", "options", "traverseNew", "newNodes", "keyShiftInLoop", "type", "anyTypeVisitor", "thisTypeVisitor", "enterAllFn", "enterThisFn", "value"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { UnicodePropertyMap } from "./parser/parse.js";
|
|
2
|
+
/**
|
|
3
|
+
All Unicode properties supported by Oniguruma 6.9.10 (Unicode 16.0.0).
|
|
4
|
+
Copied from <github.com/kkos/oniguruma/blob/master/doc/UNICODE_PROPERTIES>
|
|
5
|
+
*/
|
|
6
|
+
declare const OnigUnicodePropertyMap: UnicodePropertyMap;
|
|
7
|
+
export { OnigUnicodePropertyMap, };
|
|
8
|
+
//# sourceMappingURL=unicode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unicode.d.ts","sourceRoot":"","sources":["../src/unicode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,mBAAmB,CAAC;AAG1D;;;EAGE;AACF,QAAA,MAAM,sBAAsB,EAAE,kBA02B7B,CAAC;AAEF,OAAO,EACL,sBAAsB,GACvB,CAAC"}
|