byterover-cli 3.13.0 → 3.15.0
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/README.md +60 -0
- package/dist/agent/infra/agent/cipher-agent.js +6 -0
- package/dist/agent/infra/agent/service-initializer.d.ts +13 -0
- package/dist/agent/infra/agent/service-initializer.js +2 -0
- package/dist/agent/infra/llm/agent-llm-service.js +2 -1
- package/dist/agent/infra/llm/generators/ai-sdk-abort-helper.d.ts +57 -0
- package/dist/agent/infra/llm/generators/ai-sdk-abort-helper.js +87 -0
- package/dist/agent/infra/llm/generators/ai-sdk-content-generator.d.ts +10 -0
- package/dist/agent/infra/llm/generators/ai-sdk-content-generator.js +90 -63
- package/dist/agent/infra/llm/providers/anthropic.js +1 -0
- package/dist/agent/infra/llm/providers/cerebras.js +1 -0
- package/dist/agent/infra/llm/providers/cohere.js +1 -0
- package/dist/agent/infra/llm/providers/deepinfra.js +1 -0
- package/dist/agent/infra/llm/providers/deepseek.js +1 -0
- package/dist/agent/infra/llm/providers/glm-coding-plan.js +1 -0
- package/dist/agent/infra/llm/providers/google.js +1 -0
- package/dist/agent/infra/llm/providers/groq.js +1 -0
- package/dist/agent/infra/llm/providers/minimax.js +1 -0
- package/dist/agent/infra/llm/providers/mistral.js +1 -0
- package/dist/agent/infra/llm/providers/openai-compatible.js +1 -0
- package/dist/agent/infra/llm/providers/openai.js +1 -0
- package/dist/agent/infra/llm/providers/perplexity.js +1 -0
- package/dist/agent/infra/llm/providers/togetherai.js +1 -0
- package/dist/agent/infra/llm/providers/types.d.ts +8 -1
- package/dist/agent/infra/llm/providers/xai.js +1 -0
- package/dist/agent/infra/session/session-manager.d.ts +2 -0
- package/dist/agent/infra/settings/agent-settings-snapshot.d.ts +17 -0
- package/dist/agent/infra/settings/agent-settings-snapshot.js +53 -0
- package/dist/oclif/commands/curate/index.js +7 -5
- package/dist/oclif/commands/dream.js +8 -7
- package/dist/oclif/commands/mcp.js +42 -17
- package/dist/oclif/commands/query.js +8 -4
- package/dist/oclif/commands/settings/get.d.ts +17 -0
- package/dist/oclif/commands/settings/get.js +96 -0
- package/dist/oclif/commands/settings/index.d.ts +13 -0
- package/dist/oclif/commands/settings/index.js +106 -0
- package/dist/oclif/commands/settings/list.d.ts +5 -0
- package/dist/oclif/commands/settings/list.js +8 -0
- package/dist/oclif/commands/settings/reset.d.ts +16 -0
- package/dist/oclif/commands/settings/reset.js +81 -0
- package/dist/oclif/commands/settings/set.d.ts +17 -0
- package/dist/oclif/commands/settings/set.js +131 -0
- package/dist/oclif/lib/mcp-cleanup.d.ts +10 -0
- package/dist/oclif/lib/mcp-cleanup.js +28 -0
- package/dist/oclif/lib/mcp-crash-handler.d.ts +23 -0
- package/dist/oclif/lib/mcp-crash-handler.js +69 -0
- package/dist/oclif/lib/task-client.d.ts +4 -6
- package/dist/oclif/lib/task-client.js +92 -20
- package/dist/oclif/lib/timeout-deprecation.d.ts +31 -0
- package/dist/oclif/lib/timeout-deprecation.js +33 -0
- package/dist/server/constants.d.ts +5 -0
- package/dist/server/constants.js +15 -0
- package/dist/server/core/domain/entities/settings.d.ts +55 -0
- package/dist/server/core/domain/entities/settings.js +71 -0
- package/dist/server/core/interfaces/storage/i-settings-store.d.ts +43 -0
- package/dist/server/core/interfaces/storage/i-settings-store.js +1 -0
- package/dist/server/infra/daemon/agent-process.js +9 -1
- package/dist/server/infra/daemon/brv-server.js +34 -21
- package/dist/server/infra/daemon/settings-bootstrap.d.ts +25 -0
- package/dist/server/infra/daemon/settings-bootstrap.js +23 -0
- package/dist/server/infra/git/isomorphic-git-service.d.ts +14 -1
- package/dist/server/infra/git/isomorphic-git-service.js +57 -9
- package/dist/server/infra/mcp/mcp-server.d.ts +5 -1
- package/dist/server/infra/mcp/mcp-server.js +10 -1
- package/dist/server/infra/process/feature-handlers.d.ts +3 -1
- package/dist/server/infra/process/feature-handlers.js +4 -3
- package/dist/server/infra/process/task-heartbeat-manager.d.ts +51 -0
- package/dist/server/infra/process/task-heartbeat-manager.js +83 -0
- package/dist/server/infra/process/task-history-store-cache.d.ts +8 -0
- package/dist/server/infra/process/task-history-store-cache.js +21 -1
- package/dist/server/infra/process/task-router.d.ts +10 -0
- package/dist/server/infra/process/task-router.js +13 -0
- package/dist/server/infra/process/transport-handlers.d.ts +6 -0
- package/dist/server/infra/process/transport-handlers.js +1 -0
- package/dist/server/infra/storage/file-settings-store.d.ts +28 -0
- package/dist/server/infra/storage/file-settings-store.js +132 -0
- package/dist/server/infra/storage/settings-validator.d.ts +56 -0
- package/dist/server/infra/storage/settings-validator.js +124 -0
- package/dist/server/infra/transport/handlers/index.d.ts +2 -0
- package/dist/server/infra/transport/handlers/index.js +1 -0
- package/dist/server/infra/transport/handlers/push-handler.js +3 -6
- package/dist/server/infra/transport/handlers/review-handler.d.ts +1 -0
- package/dist/server/infra/transport/handlers/review-handler.js +53 -8
- package/dist/server/infra/transport/handlers/settings-handler.d.ts +18 -0
- package/dist/server/infra/transport/handlers/settings-handler.js +94 -0
- package/dist/server/infra/transport/handlers/status-handler.js +3 -4
- package/dist/server/infra/transport/handlers/vc-handler.js +10 -4
- package/dist/server/templates/skill/SKILL.md +3 -3
- package/dist/server/utils/base64url.d.ts +2 -0
- package/dist/server/utils/base64url.js +6 -0
- package/dist/server/utils/build-review-url.d.ts +1 -0
- package/dist/server/utils/build-review-url.js +4 -0
- package/dist/shared/transport/events/context-tree-events.d.ts +4 -1
- package/dist/shared/transport/events/index.d.ts +8 -0
- package/dist/shared/transport/events/index.js +3 -0
- package/dist/shared/transport/events/review-events.d.ts +24 -1
- package/dist/shared/transport/events/review-events.js +1 -0
- package/dist/shared/transport/events/settings-events.d.ts +70 -0
- package/dist/shared/transport/events/settings-events.js +6 -0
- package/dist/shared/transport/events/task-events.d.ts +11 -0
- package/dist/shared/transport/events/task-events.js +1 -0
- package/dist/shared/types/settings-row.d.ts +28 -0
- package/dist/shared/types/settings-row.js +1 -0
- package/dist/shared/utils/format-duration.d.ts +43 -0
- package/dist/shared/utils/format-duration.js +108 -0
- package/dist/shared/utils/format-settings.d.ts +4 -0
- package/dist/shared/utils/format-settings.js +75 -0
- package/dist/tui/features/activity/hooks/use-activity-logs.js +1 -1
- package/dist/tui/features/commands/definitions/index.js +3 -0
- package/dist/tui/features/commands/definitions/settings.d.ts +2 -0
- package/dist/tui/features/commands/definitions/settings.js +11 -0
- package/dist/tui/features/settings/api/settings-api.d.ts +30 -0
- package/dist/tui/features/settings/api/settings-api.js +49 -0
- package/dist/tui/features/settings/components/settings-page.d.ts +3 -0
- package/dist/tui/features/settings/components/settings-page.js +152 -0
- package/dist/tui/features/settings/utils/format-settings.d.ts +12 -0
- package/dist/tui/features/settings/utils/format-settings.js +59 -0
- package/dist/tui/features/tasks/stores/tasks-store.d.ts +1 -1
- package/dist/webui/assets/antigravity-connector-DgAQAdn3.svg +1 -0
- package/dist/webui/assets/hermes-connector-CgLB73DY.svg +1 -0
- package/dist/webui/assets/index-7dsrsbU1.js +130 -0
- package/dist/webui/assets/index-r3wVsmem.css +1 -0
- package/dist/webui/assets/qoder-connector-Dy7h8E12.svg +1 -0
- package/dist/webui/index.html +2 -2
- package/dist/webui/sw.js +1 -1
- package/node_modules/@campfirein/byterover-packages/package.json +9 -0
- package/node_modules/@campfirein/byterover-packages/ui/package.json +11 -1
- package/node_modules/@campfirein/byterover-packages/{scripts → ui/scripts}/sync-deps.js +11 -4
- package/node_modules/@campfirein/byterover-packages/ui/src/components/badge.tsx +12 -12
- package/node_modules/@campfirein/byterover-packages/ui/src/components/collapsible.tsx +21 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/contexts/detail-body.tsx +12 -7
- package/node_modules/@campfirein/byterover-packages/ui/src/components/contexts/folder-detail.tsx +2 -6
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/diff-line.tsx +68 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/file-block.tsx +287 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/highlight-words.ts +53 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/hunk-header.tsx +111 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/hunk-pair.tsx +98 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/hunk-unified.tsx +114 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/index.tsx +90 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/is-prose-file.ts +9 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/styles.ts +20 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/types.ts +68 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view/use-expand-state.ts +177 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/diff-view.tsx +10 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/switch.tsx +2 -2
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-callout.tsx +82 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-fact.tsx +30 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-flow.tsx +10 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-pattern.tsx +19 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-rule.tsx +41 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-section.tsx +33 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-task.tsx +10 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/bv-topic.tsx +318 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/code-block.tsx +71 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/dom-utils.ts +51 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/editorial.css +773 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/group.ts +55 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/index.ts +3 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/mermaid.tsx +62 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/prose.css +124 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/topic-editor.tsx +75 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/topic-viewer.tsx +285 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/components/topic-viewer/types.ts +44 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/hooks/use-is-mac.ts +23 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/lib/initials.ts +19 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/lib/syntax-highlighter.ts +59 -0
- package/node_modules/@campfirein/byterover-packages/ui/src/styles/globals.css +96 -1
- 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 +282 -0
- package/node_modules/@types/hast/package.json +42 -0
- package/node_modules/@types/prismjs/LICENSE +21 -0
- package/node_modules/@types/prismjs/README.md +15 -0
- package/node_modules/@types/prismjs/components/index.d.ts +19 -0
- package/node_modules/@types/prismjs/components.d.ts +4 -0
- package/node_modules/@types/prismjs/dependencies.d.ts +35 -0
- package/node_modules/@types/prismjs/index.d.ts +402 -0
- package/node_modules/@types/prismjs/package.json +46 -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/character-entities/index.d.ts +6 -0
- package/node_modules/character-entities/index.js +2132 -0
- package/node_modules/character-entities/license +22 -0
- package/node_modules/character-entities/package.json +78 -0
- package/node_modules/character-entities/readme.md +152 -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/character-reference-invalid/index.d.ts +6 -0
- package/node_modules/character-reference-invalid/index.js +35 -0
- package/node_modules/character-reference-invalid/license +22 -0
- package/node_modules/character-reference-invalid/package.json +83 -0
- package/node_modules/character-reference-invalid/readme.md +156 -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/decode-named-character-reference/index.d.ts +13 -0
- package/node_modules/decode-named-character-reference/index.d.ts.map +1 -0
- package/node_modules/decode-named-character-reference/index.dom.d.ts +6 -0
- package/node_modules/decode-named-character-reference/index.dom.d.ts.map +1 -0
- package/node_modules/decode-named-character-reference/index.dom.js +36 -0
- package/node_modules/decode-named-character-reference/index.js +19 -0
- package/node_modules/decode-named-character-reference/license +22 -0
- package/node_modules/decode-named-character-reference/package.json +89 -0
- package/node_modules/decode-named-character-reference/readme.md +136 -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/format/.npmignore +1 -0
- package/node_modules/format/Makefile +13 -0
- package/node_modules/format/Readme.md +46 -0
- package/node_modules/format/component.json +9 -0
- package/node_modules/format/format-min.js +2 -0
- package/node_modules/format/format.js +128 -0
- package/node_modules/format/package.json +27 -0
- package/node_modules/format/test_format.js +54 -0
- package/node_modules/hast-util-parse-selector/index.d.ts +1 -0
- package/node_modules/hast-util-parse-selector/index.js +1 -0
- package/node_modules/hast-util-parse-selector/lib/index.d.ts +27 -0
- package/node_modules/hast-util-parse-selector/lib/index.js +87 -0
- package/node_modules/hast-util-parse-selector/license +22 -0
- package/node_modules/hast-util-parse-selector/package.json +79 -0
- package/node_modules/hast-util-parse-selector/readme.md +203 -0
- package/node_modules/hastscript/index.d.ts +5 -0
- package/node_modules/hastscript/index.d.ts.map +1 -0
- package/node_modules/hastscript/index.js +7 -0
- package/node_modules/hastscript/lib/automatic-runtime-html.d.ts +36 -0
- package/node_modules/hastscript/lib/automatic-runtime-html.js +9 -0
- package/node_modules/hastscript/lib/automatic-runtime-svg.d.ts +36 -0
- package/node_modules/hastscript/lib/automatic-runtime-svg.d.ts.map +1 -0
- package/node_modules/hastscript/lib/automatic-runtime-svg.js +7 -0
- package/node_modules/hastscript/lib/create-automatic-runtime.d.ts +237 -0
- package/node_modules/hastscript/lib/create-automatic-runtime.d.ts.map +1 -0
- package/node_modules/hastscript/lib/create-automatic-runtime.js +52 -0
- package/node_modules/hastscript/lib/create-h.d.ts +148 -0
- package/node_modules/hastscript/lib/create-h.d.ts.map +1 -0
- package/node_modules/hastscript/lib/create-h.js +365 -0
- package/node_modules/hastscript/lib/index.d.ts +22 -0
- package/node_modules/hastscript/lib/index.d.ts.map +1 -0
- package/node_modules/hastscript/lib/index.js +27 -0
- package/node_modules/hastscript/lib/jsx-automatic.d.ts +43 -0
- package/node_modules/hastscript/lib/jsx-automatic.js +2 -0
- package/node_modules/hastscript/lib/jsx-classic.d.ts +47 -0
- package/node_modules/hastscript/lib/jsx-classic.js +2 -0
- package/node_modules/hastscript/lib/svg-case-sensitive-tag-names.d.ts +7 -0
- package/node_modules/hastscript/lib/svg-case-sensitive-tag-names.d.ts.map +1 -0
- package/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +46 -0
- package/node_modules/hastscript/license +22 -0
- package/node_modules/hastscript/package.json +126 -0
- package/node_modules/hastscript/readme.md +477 -0
- package/node_modules/highlight.js/LICENSE +29 -0
- package/node_modules/highlight.js/README.md +371 -0
- package/node_modules/highlight.js/lib/core.js +2517 -0
- package/node_modules/highlight.js/lib/highlight.js +2 -0
- package/node_modules/highlight.js/lib/index.js +195 -0
- package/node_modules/highlight.js/lib/languages/1c.js +521 -0
- package/node_modules/highlight.js/lib/languages/abnf.js +103 -0
- package/node_modules/highlight.js/lib/languages/accesslog.js +127 -0
- package/node_modules/highlight.js/lib/languages/actionscript.js +113 -0
- package/node_modules/highlight.js/lib/languages/ada.js +194 -0
- package/node_modules/highlight.js/lib/languages/angelscript.js +123 -0
- package/node_modules/highlight.js/lib/languages/apache.js +89 -0
- package/node_modules/highlight.js/lib/languages/applescript.js +189 -0
- package/node_modules/highlight.js/lib/languages/arcade.js +165 -0
- package/node_modules/highlight.js/lib/languages/arduino.js +576 -0
- package/node_modules/highlight.js/lib/languages/armasm.js +131 -0
- package/node_modules/highlight.js/lib/languages/asciidoc.js +303 -0
- package/node_modules/highlight.js/lib/languages/aspectj.js +186 -0
- package/node_modules/highlight.js/lib/languages/autohotkey.js +84 -0
- package/node_modules/highlight.js/lib/languages/autoit.js +183 -0
- package/node_modules/highlight.js/lib/languages/avrasm.js +80 -0
- package/node_modules/highlight.js/lib/languages/awk.js +73 -0
- package/node_modules/highlight.js/lib/languages/axapta.js +179 -0
- package/node_modules/highlight.js/lib/languages/bash.js +169 -0
- package/node_modules/highlight.js/lib/languages/basic.js +65 -0
- package/node_modules/highlight.js/lib/languages/bnf.js +38 -0
- package/node_modules/highlight.js/lib/languages/brainfuck.js +46 -0
- package/node_modules/highlight.js/lib/languages/c-like.js +501 -0
- package/node_modules/highlight.js/lib/languages/c.js +309 -0
- package/node_modules/highlight.js/lib/languages/cal.js +104 -0
- package/node_modules/highlight.js/lib/languages/capnproto.js +64 -0
- package/node_modules/highlight.js/lib/languages/ceylon.js +82 -0
- package/node_modules/highlight.js/lib/languages/clean.js +40 -0
- package/node_modules/highlight.js/lib/languages/clojure-repl.js +27 -0
- package/node_modules/highlight.js/lib/languages/clojure.js +158 -0
- package/node_modules/highlight.js/lib/languages/cmake.js +64 -0
- package/node_modules/highlight.js/lib/languages/coffeescript.js +356 -0
- package/node_modules/highlight.js/lib/languages/coq.js +79 -0
- package/node_modules/highlight.js/lib/languages/cos.js +138 -0
- package/node_modules/highlight.js/lib/languages/cpp.js +464 -0
- package/node_modules/highlight.js/lib/languages/crmsh.js +102 -0
- package/node_modules/highlight.js/lib/languages/crystal.js +326 -0
- package/node_modules/highlight.js/lib/languages/csharp.js +441 -0
- package/node_modules/highlight.js/lib/languages/csp.js +37 -0
- package/node_modules/highlight.js/lib/languages/css.js +608 -0
- package/node_modules/highlight.js/lib/languages/d.js +271 -0
- package/node_modules/highlight.js/lib/languages/dart.js +199 -0
- package/node_modules/highlight.js/lib/languages/delphi.js +126 -0
- package/node_modules/highlight.js/lib/languages/diff.js +85 -0
- package/node_modules/highlight.js/lib/languages/django.js +77 -0
- package/node_modules/highlight.js/lib/languages/dns.js +46 -0
- package/node_modules/highlight.js/lib/languages/dockerfile.js +34 -0
- package/node_modules/highlight.js/lib/languages/dos.js +70 -0
- package/node_modules/highlight.js/lib/languages/dsconfig.js +66 -0
- package/node_modules/highlight.js/lib/languages/dts.js +153 -0
- package/node_modules/highlight.js/lib/languages/dust.js +45 -0
- package/node_modules/highlight.js/lib/languages/ebnf.js +53 -0
- package/node_modules/highlight.js/lib/languages/elixir.js +259 -0
- package/node_modules/highlight.js/lib/languages/elm.js +129 -0
- package/node_modules/highlight.js/lib/languages/erb.js +29 -0
- package/node_modules/highlight.js/lib/languages/erlang-repl.js +86 -0
- package/node_modules/highlight.js/lib/languages/erlang.js +199 -0
- package/node_modules/highlight.js/lib/languages/excel.js +64 -0
- package/node_modules/highlight.js/lib/languages/fix.js +37 -0
- package/node_modules/highlight.js/lib/languages/flix.js +54 -0
- package/node_modules/highlight.js/lib/languages/fortran.js +159 -0
- package/node_modules/highlight.js/lib/languages/fsharp.js +86 -0
- package/node_modules/highlight.js/lib/languages/gams.js +208 -0
- package/node_modules/highlight.js/lib/languages/gauss.js +316 -0
- package/node_modules/highlight.js/lib/languages/gcode.js +88 -0
- package/node_modules/highlight.js/lib/languages/gherkin.js +49 -0
- package/node_modules/highlight.js/lib/languages/glsl.js +128 -0
- package/node_modules/highlight.js/lib/languages/gml.js +885 -0
- package/node_modules/highlight.js/lib/languages/go.js +74 -0
- package/node_modules/highlight.js/lib/languages/golo.js +33 -0
- package/node_modules/highlight.js/lib/languages/gradle.js +44 -0
- package/node_modules/highlight.js/lib/languages/groovy.js +174 -0
- package/node_modules/highlight.js/lib/languages/haml.js +117 -0
- package/node_modules/highlight.js/lib/languages/handlebars.js +324 -0
- package/node_modules/highlight.js/lib/languages/haskell.js +173 -0
- package/node_modules/highlight.js/lib/languages/haxe.js +157 -0
- package/node_modules/highlight.js/lib/languages/hsp.js +65 -0
- package/node_modules/highlight.js/lib/languages/htmlbars.js +352 -0
- package/node_modules/highlight.js/lib/languages/http.js +121 -0
- package/node_modules/highlight.js/lib/languages/hy.js +109 -0
- package/node_modules/highlight.js/lib/languages/inform7.js +70 -0
- package/node_modules/highlight.js/lib/languages/ini.js +173 -0
- package/node_modules/highlight.js/lib/languages/irpf90.js +141 -0
- package/node_modules/highlight.js/lib/languages/isbl.js +3207 -0
- package/node_modules/highlight.js/lib/languages/java.js +181 -0
- package/node_modules/highlight.js/lib/languages/javascript.js +604 -0
- package/node_modules/highlight.js/lib/languages/jboss-cli.js +63 -0
- package/node_modules/highlight.js/lib/languages/json.js +63 -0
- package/node_modules/highlight.js/lib/languages/julia-repl.js +50 -0
- package/node_modules/highlight.js/lib/languages/julia.js +416 -0
- package/node_modules/highlight.js/lib/languages/kotlin.js +284 -0
- package/node_modules/highlight.js/lib/languages/lasso.js +187 -0
- package/node_modules/highlight.js/lib/languages/latex.js +276 -0
- package/node_modules/highlight.js/lib/languages/ldif.js +42 -0
- package/node_modules/highlight.js/lib/languages/leaf.js +49 -0
- package/node_modules/highlight.js/lib/languages/less.js +666 -0
- package/node_modules/highlight.js/lib/languages/lisp.js +111 -0
- package/node_modules/highlight.js/lib/languages/livecodeserver.js +189 -0
- package/node_modules/highlight.js/lib/languages/livescript.js +374 -0
- package/node_modules/highlight.js/lib/languages/llvm.js +154 -0
- package/node_modules/highlight.js/lib/languages/lsl.js +95 -0
- package/node_modules/highlight.js/lib/languages/lua.js +82 -0
- package/node_modules/highlight.js/lib/languages/makefile.js +92 -0
- package/node_modules/highlight.js/lib/languages/markdown.js +258 -0
- package/node_modules/highlight.js/lib/languages/mathematica.js +6797 -0
- package/node_modules/highlight.js/lib/languages/matlab.js +106 -0
- package/node_modules/highlight.js/lib/languages/maxima.js +417 -0
- package/node_modules/highlight.js/lib/languages/mel.js +236 -0
- package/node_modules/highlight.js/lib/languages/mercury.js +121 -0
- package/node_modules/highlight.js/lib/languages/mipsasm.js +109 -0
- package/node_modules/highlight.js/lib/languages/mizar.js +29 -0
- package/node_modules/highlight.js/lib/languages/mojolicious.js +36 -0
- package/node_modules/highlight.js/lib/languages/monkey.js +89 -0
- package/node_modules/highlight.js/lib/languages/moonscript.js +147 -0
- package/node_modules/highlight.js/lib/languages/n1ql.js +77 -0
- package/node_modules/highlight.js/lib/languages/nginx.js +140 -0
- package/node_modules/highlight.js/lib/languages/nim.js +79 -0
- package/node_modules/highlight.js/lib/languages/nix.js +65 -0
- package/node_modules/highlight.js/lib/languages/node-repl.js +37 -0
- package/node_modules/highlight.js/lib/languages/nsis.js +119 -0
- package/node_modules/highlight.js/lib/languages/objectivec.js +121 -0
- package/node_modules/highlight.js/lib/languages/ocaml.js +82 -0
- package/node_modules/highlight.js/lib/languages/openscad.js +81 -0
- package/node_modules/highlight.js/lib/languages/oxygene.js +101 -0
- package/node_modules/highlight.js/lib/languages/parser3.js +57 -0
- package/node_modules/highlight.js/lib/languages/perl.js +515 -0
- package/node_modules/highlight.js/lib/languages/pf.js +59 -0
- package/node_modules/highlight.js/lib/languages/pgsql.js +630 -0
- package/node_modules/highlight.js/lib/languages/php-template.js +54 -0
- package/node_modules/highlight.js/lib/languages/php.js +204 -0
- package/node_modules/highlight.js/lib/languages/plaintext.js +19 -0
- package/node_modules/highlight.js/lib/languages/pony.js +89 -0
- package/node_modules/highlight.js/lib/languages/powershell.js +331 -0
- package/node_modules/highlight.js/lib/languages/processing.js +58 -0
- package/node_modules/highlight.js/lib/languages/profile.js +43 -0
- package/node_modules/highlight.js/lib/languages/prolog.js +102 -0
- package/node_modules/highlight.js/lib/languages/properties.js +85 -0
- package/node_modules/highlight.js/lib/languages/protobuf.js +47 -0
- package/node_modules/highlight.js/lib/languages/puppet.js +147 -0
- package/node_modules/highlight.js/lib/languages/purebasic.js +101 -0
- package/node_modules/highlight.js/lib/languages/python-repl.js +36 -0
- package/node_modules/highlight.js/lib/languages/python.js +446 -0
- package/node_modules/highlight.js/lib/languages/q.js +37 -0
- package/node_modules/highlight.js/lib/languages/qml.js +225 -0
- package/node_modules/highlight.js/lib/languages/r.js +231 -0
- package/node_modules/highlight.js/lib/languages/reasonml.js +321 -0
- package/node_modules/highlight.js/lib/languages/rib.js +37 -0
- package/node_modules/highlight.js/lib/languages/roboconf.js +82 -0
- package/node_modules/highlight.js/lib/languages/routeros.js +172 -0
- package/node_modules/highlight.js/lib/languages/rsl.js +49 -0
- package/node_modules/highlight.js/lib/languages/ruby.js +387 -0
- package/node_modules/highlight.js/lib/languages/ruleslanguage.js +78 -0
- package/node_modules/highlight.js/lib/languages/rust.js +146 -0
- package/node_modules/highlight.js/lib/languages/sas.js +133 -0
- package/node_modules/highlight.js/lib/languages/scala.js +140 -0
- package/node_modules/highlight.js/lib/languages/scheme.js +207 -0
- package/node_modules/highlight.js/lib/languages/scilab.js +73 -0
- package/node_modules/highlight.js/lib/languages/scss.js +545 -0
- package/node_modules/highlight.js/lib/languages/shell.js +30 -0
- package/node_modules/highlight.js/lib/languages/smali.js +135 -0
- package/node_modules/highlight.js/lib/languages/smalltalk.js +63 -0
- package/node_modules/highlight.js/lib/languages/sml.js +81 -0
- package/node_modules/highlight.js/lib/languages/sqf.js +448 -0
- package/node_modules/highlight.js/lib/languages/sql.js +699 -0
- package/node_modules/highlight.js/lib/languages/sql_more.js +183 -0
- package/node_modules/highlight.js/lib/languages/stan.js +548 -0
- package/node_modules/highlight.js/lib/languages/stata.js +60 -0
- package/node_modules/highlight.js/lib/languages/step21.js +66 -0
- package/node_modules/highlight.js/lib/languages/stylus.js +609 -0
- package/node_modules/highlight.js/lib/languages/subunit.js +51 -0
- package/node_modules/highlight.js/lib/languages/swift.js +873 -0
- package/node_modules/highlight.js/lib/languages/taggerscript.js +52 -0
- package/node_modules/highlight.js/lib/languages/tap.js +55 -0
- package/node_modules/highlight.js/lib/languages/tcl.js +115 -0
- package/node_modules/highlight.js/lib/languages/thrift.js +51 -0
- package/node_modules/highlight.js/lib/languages/tp.js +95 -0
- package/node_modules/highlight.js/lib/languages/twig.js +77 -0
- package/node_modules/highlight.js/lib/languages/typescript.js +697 -0
- package/node_modules/highlight.js/lib/languages/vala.js +61 -0
- package/node_modules/highlight.js/lib/languages/vbnet.js +214 -0
- package/node_modules/highlight.js/lib/languages/vbscript-html.js +24 -0
- package/node_modules/highlight.js/lib/languages/vbscript.js +109 -0
- package/node_modules/highlight.js/lib/languages/verilog.js +131 -0
- package/node_modules/highlight.js/lib/languages/vhdl.js +71 -0
- package/node_modules/highlight.js/lib/languages/vim.js +123 -0
- package/node_modules/highlight.js/lib/languages/x86asm.js +163 -0
- package/node_modules/highlight.js/lib/languages/xl.js +92 -0
- package/node_modules/highlight.js/lib/languages/xml.js +287 -0
- package/node_modules/highlight.js/lib/languages/xquery.js +197 -0
- package/node_modules/highlight.js/lib/languages/yaml.js +176 -0
- package/node_modules/highlight.js/lib/languages/zephir.js +140 -0
- package/node_modules/highlight.js/package.json +86 -0
- package/node_modules/highlight.js/scss/a11y-dark.scss +99 -0
- package/node_modules/highlight.js/scss/a11y-light.scss +99 -0
- package/node_modules/highlight.js/scss/agate.scss +108 -0
- package/node_modules/highlight.js/scss/an-old-hope.scss +89 -0
- package/node_modules/highlight.js/scss/androidstudio.scss +66 -0
- package/node_modules/highlight.js/scss/arduino-light.scss +87 -0
- package/node_modules/highlight.js/scss/arta.scss +73 -0
- package/node_modules/highlight.js/scss/ascetic.scss +45 -0
- package/node_modules/highlight.js/scss/atelier-cave-dark.scss +83 -0
- package/node_modules/highlight.js/scss/atelier-cave-light.scss +85 -0
- package/node_modules/highlight.js/scss/atelier-dune-dark.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-dune-light.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-estuary-dark.scss +84 -0
- package/node_modules/highlight.js/scss/atelier-estuary-light.scss +84 -0
- package/node_modules/highlight.js/scss/atelier-forest-dark.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-forest-light.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-heath-dark.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-heath-light.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-lakeside-dark.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-lakeside-light.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-plateau-dark.scss +84 -0
- package/node_modules/highlight.js/scss/atelier-plateau-light.scss +84 -0
- package/node_modules/highlight.js/scss/atelier-savanna-dark.scss +84 -0
- package/node_modules/highlight.js/scss/atelier-savanna-light.scss +84 -0
- package/node_modules/highlight.js/scss/atelier-seaside-dark.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-seaside-light.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-sulphurpool-dark.scss +69 -0
- package/node_modules/highlight.js/scss/atelier-sulphurpool-light.scss +69 -0
- package/node_modules/highlight.js/scss/atom-one-dark-reasonable.scss +75 -0
- package/node_modules/highlight.js/scss/atom-one-dark.scss +96 -0
- package/node_modules/highlight.js/scss/atom-one-light.scss +96 -0
- package/node_modules/highlight.js/scss/brown-paper.scss +64 -0
- package/node_modules/highlight.js/scss/brown-papersq.png +0 -0
- package/node_modules/highlight.js/scss/codepen-embed.scss +60 -0
- package/node_modules/highlight.js/scss/color-brewer.scss +71 -0
- package/node_modules/highlight.js/scss/darcula.scss +74 -0
- package/node_modules/highlight.js/scss/dark.scss +63 -0
- package/node_modules/highlight.js/scss/default.scss +99 -0
- package/node_modules/highlight.js/scss/docco.scss +97 -0
- package/node_modules/highlight.js/scss/dracula.scss +76 -0
- package/node_modules/highlight.js/scss/far.scss +71 -0
- package/node_modules/highlight.js/scss/foundation.scss +89 -0
- package/node_modules/highlight.js/scss/github-gist.scss +79 -0
- package/node_modules/highlight.js/scss/github.scss +99 -0
- package/node_modules/highlight.js/scss/gml.scss +78 -0
- package/node_modules/highlight.js/scss/googlecode.scss +89 -0
- package/node_modules/highlight.js/scss/gradient-dark.scss +122 -0
- package/node_modules/highlight.js/scss/gradient-light.scss +130 -0
- package/node_modules/highlight.js/scss/grayscale.scss +101 -0
- package/node_modules/highlight.js/scss/gruvbox-dark.scss +108 -0
- package/node_modules/highlight.js/scss/gruvbox-light.scss +108 -0
- package/node_modules/highlight.js/scss/hopscotch.scss +84 -0
- package/node_modules/highlight.js/scss/hybrid.scss +102 -0
- package/node_modules/highlight.js/scss/idea.scss +97 -0
- package/node_modules/highlight.js/scss/ir-black.scss +73 -0
- package/node_modules/highlight.js/scss/isbl-editor-dark.scss +112 -0
- package/node_modules/highlight.js/scss/isbl-editor-light.scss +111 -0
- package/node_modules/highlight.js/scss/kimbie.dark.scss +74 -0
- package/node_modules/highlight.js/scss/kimbie.light.scss +74 -0
- package/node_modules/highlight.js/scss/lightfair.scss +88 -0
- package/node_modules/highlight.js/scss/lioshi.scss +88 -0
- package/node_modules/highlight.js/scss/magula.scss +70 -0
- package/node_modules/highlight.js/scss/mono-blue.scss +56 -0
- package/node_modules/highlight.js/scss/monokai-sublime.scss +83 -0
- package/node_modules/highlight.js/scss/monokai.scss +71 -0
- package/node_modules/highlight.js/scss/night-owl.scss +182 -0
- package/node_modules/highlight.js/scss/nnfx-dark.scss +106 -0
- package/node_modules/highlight.js/scss/nnfx.scss +106 -0
- package/node_modules/highlight.js/scss/nord.scss +309 -0
- package/node_modules/highlight.js/scss/obsidian.scss +88 -0
- package/node_modules/highlight.js/scss/ocean.scss +74 -0
- package/node_modules/highlight.js/scss/paraiso-dark.scss +72 -0
- package/node_modules/highlight.js/scss/paraiso-light.scss +72 -0
- package/node_modules/highlight.js/scss/pojoaque.jpg +0 -0
- package/node_modules/highlight.js/scss/pojoaque.scss +83 -0
- package/node_modules/highlight.js/scss/purebasic.scss +96 -0
- package/node_modules/highlight.js/scss/qtcreator_dark.scss +83 -0
- package/node_modules/highlight.js/scss/qtcreator_light.scss +83 -0
- package/node_modules/highlight.js/scss/railscasts.scss +106 -0
- package/node_modules/highlight.js/scss/rainbow.scss +85 -0
- package/node_modules/highlight.js/scss/routeros.scss +108 -0
- package/node_modules/highlight.js/scss/school-book.png +0 -0
- package/node_modules/highlight.js/scss/school-book.scss +69 -0
- package/node_modules/highlight.js/scss/shades-of-purple.scss +96 -0
- package/node_modules/highlight.js/scss/solarized-dark.scss +84 -0
- package/node_modules/highlight.js/scss/solarized-light.scss +84 -0
- package/node_modules/highlight.js/scss/srcery.scss +78 -0
- package/node_modules/highlight.js/scss/stackoverflow-dark.scss +78 -0
- package/node_modules/highlight.js/scss/stackoverflow-light.scss +78 -0
- package/node_modules/highlight.js/scss/sunburst.scss +102 -0
- package/node_modules/highlight.js/scss/tomorrow-night-blue.scss +75 -0
- package/node_modules/highlight.js/scss/tomorrow-night-bright.scss +74 -0
- package/node_modules/highlight.js/scss/tomorrow-night-eighties.scss +74 -0
- package/node_modules/highlight.js/scss/tomorrow-night.scss +75 -0
- package/node_modules/highlight.js/scss/tomorrow.scss +72 -0
- package/node_modules/highlight.js/scss/vs.scss +68 -0
- package/node_modules/highlight.js/scss/vs2015.scss +115 -0
- package/node_modules/highlight.js/scss/xcode.scss +104 -0
- package/node_modules/highlight.js/scss/xt256.scss +92 -0
- package/node_modules/highlight.js/scss/zenburn.scss +80 -0
- package/node_modules/highlight.js/styles/a11y-dark.css +99 -0
- package/node_modules/highlight.js/styles/a11y-light.css +99 -0
- package/node_modules/highlight.js/styles/agate.css +108 -0
- package/node_modules/highlight.js/styles/an-old-hope.css +89 -0
- package/node_modules/highlight.js/styles/androidstudio.css +66 -0
- package/node_modules/highlight.js/styles/arduino-light.css +87 -0
- package/node_modules/highlight.js/styles/arta.css +73 -0
- package/node_modules/highlight.js/styles/ascetic.css +45 -0
- package/node_modules/highlight.js/styles/atelier-cave-dark.css +83 -0
- package/node_modules/highlight.js/styles/atelier-cave-light.css +85 -0
- package/node_modules/highlight.js/styles/atelier-dune-dark.css +69 -0
- package/node_modules/highlight.js/styles/atelier-dune-light.css +69 -0
- package/node_modules/highlight.js/styles/atelier-estuary-dark.css +84 -0
- package/node_modules/highlight.js/styles/atelier-estuary-light.css +84 -0
- package/node_modules/highlight.js/styles/atelier-forest-dark.css +69 -0
- package/node_modules/highlight.js/styles/atelier-forest-light.css +69 -0
- package/node_modules/highlight.js/styles/atelier-heath-dark.css +69 -0
- package/node_modules/highlight.js/styles/atelier-heath-light.css +69 -0
- package/node_modules/highlight.js/styles/atelier-lakeside-dark.css +69 -0
- package/node_modules/highlight.js/styles/atelier-lakeside-light.css +69 -0
- package/node_modules/highlight.js/styles/atelier-plateau-dark.css +84 -0
- package/node_modules/highlight.js/styles/atelier-plateau-light.css +84 -0
- package/node_modules/highlight.js/styles/atelier-savanna-dark.css +84 -0
- package/node_modules/highlight.js/styles/atelier-savanna-light.css +84 -0
- package/node_modules/highlight.js/styles/atelier-seaside-dark.css +69 -0
- package/node_modules/highlight.js/styles/atelier-seaside-light.css +69 -0
- package/node_modules/highlight.js/styles/atelier-sulphurpool-dark.css +69 -0
- package/node_modules/highlight.js/styles/atelier-sulphurpool-light.css +69 -0
- package/node_modules/highlight.js/styles/atom-one-dark-reasonable.css +75 -0
- package/node_modules/highlight.js/styles/atom-one-dark.css +96 -0
- package/node_modules/highlight.js/styles/atom-one-light.css +96 -0
- package/node_modules/highlight.js/styles/brown-paper.css +64 -0
- package/node_modules/highlight.js/styles/brown-papersq.png +0 -0
- package/node_modules/highlight.js/styles/codepen-embed.css +60 -0
- package/node_modules/highlight.js/styles/color-brewer.css +71 -0
- package/node_modules/highlight.js/styles/darcula.css +74 -0
- package/node_modules/highlight.js/styles/dark.css +63 -0
- package/node_modules/highlight.js/styles/default.css +99 -0
- package/node_modules/highlight.js/styles/docco.css +97 -0
- package/node_modules/highlight.js/styles/dracula.css +76 -0
- package/node_modules/highlight.js/styles/far.css +71 -0
- package/node_modules/highlight.js/styles/foundation.css +89 -0
- package/node_modules/highlight.js/styles/github-gist.css +79 -0
- package/node_modules/highlight.js/styles/github.css +99 -0
- package/node_modules/highlight.js/styles/gml.css +78 -0
- package/node_modules/highlight.js/styles/googlecode.css +89 -0
- package/node_modules/highlight.js/styles/gradient-dark.css +122 -0
- package/node_modules/highlight.js/styles/gradient-light.css +130 -0
- package/node_modules/highlight.js/styles/grayscale.css +101 -0
- package/node_modules/highlight.js/styles/gruvbox-dark.css +108 -0
- package/node_modules/highlight.js/styles/gruvbox-light.css +108 -0
- package/node_modules/highlight.js/styles/hopscotch.css +84 -0
- package/node_modules/highlight.js/styles/hybrid.css +102 -0
- package/node_modules/highlight.js/styles/idea.css +97 -0
- package/node_modules/highlight.js/styles/ir-black.css +73 -0
- package/node_modules/highlight.js/styles/isbl-editor-dark.css +112 -0
- package/node_modules/highlight.js/styles/isbl-editor-light.css +111 -0
- package/node_modules/highlight.js/styles/kimbie.dark.css +74 -0
- package/node_modules/highlight.js/styles/kimbie.light.css +74 -0
- package/node_modules/highlight.js/styles/lightfair.css +88 -0
- package/node_modules/highlight.js/styles/lioshi.css +88 -0
- package/node_modules/highlight.js/styles/magula.css +70 -0
- package/node_modules/highlight.js/styles/mono-blue.css +56 -0
- package/node_modules/highlight.js/styles/monokai-sublime.css +83 -0
- package/node_modules/highlight.js/styles/monokai.css +71 -0
- package/node_modules/highlight.js/styles/night-owl.css +182 -0
- package/node_modules/highlight.js/styles/nnfx-dark.css +106 -0
- package/node_modules/highlight.js/styles/nnfx.css +106 -0
- package/node_modules/highlight.js/styles/nord.css +309 -0
- package/node_modules/highlight.js/styles/obsidian.css +88 -0
- package/node_modules/highlight.js/styles/ocean.css +74 -0
- package/node_modules/highlight.js/styles/paraiso-dark.css +72 -0
- package/node_modules/highlight.js/styles/paraiso-light.css +72 -0
- package/node_modules/highlight.js/styles/pojoaque.css +83 -0
- package/node_modules/highlight.js/styles/pojoaque.jpg +0 -0
- package/node_modules/highlight.js/styles/purebasic.css +96 -0
- package/node_modules/highlight.js/styles/qtcreator_dark.css +83 -0
- package/node_modules/highlight.js/styles/qtcreator_light.css +83 -0
- package/node_modules/highlight.js/styles/railscasts.css +106 -0
- package/node_modules/highlight.js/styles/rainbow.css +85 -0
- package/node_modules/highlight.js/styles/routeros.css +108 -0
- package/node_modules/highlight.js/styles/school-book.css +69 -0
- package/node_modules/highlight.js/styles/school-book.png +0 -0
- package/node_modules/highlight.js/styles/shades-of-purple.css +96 -0
- package/node_modules/highlight.js/styles/solarized-dark.css +84 -0
- package/node_modules/highlight.js/styles/solarized-light.css +84 -0
- package/node_modules/highlight.js/styles/srcery.css +78 -0
- package/node_modules/highlight.js/styles/stackoverflow-dark.css +78 -0
- package/node_modules/highlight.js/styles/stackoverflow-light.css +78 -0
- package/node_modules/highlight.js/styles/sunburst.css +102 -0
- package/node_modules/highlight.js/styles/tomorrow-night-blue.css +75 -0
- package/node_modules/highlight.js/styles/tomorrow-night-bright.css +74 -0
- package/node_modules/highlight.js/styles/tomorrow-night-eighties.css +74 -0
- package/node_modules/highlight.js/styles/tomorrow-night.css +75 -0
- package/node_modules/highlight.js/styles/tomorrow.css +72 -0
- package/node_modules/highlight.js/styles/vs.css +68 -0
- package/node_modules/highlight.js/styles/vs2015.css +115 -0
- package/node_modules/highlight.js/styles/xcode.css +104 -0
- package/node_modules/highlight.js/styles/xt256.css +92 -0
- package/node_modules/highlight.js/styles/zenburn.css +80 -0
- package/node_modules/highlight.js/types/index.d.ts +261 -0
- package/node_modules/highlightjs-vue/README.md +33 -0
- package/node_modules/highlightjs-vue/dist/highlightjs-vue.cjs.js +61 -0
- package/node_modules/highlightjs-vue/dist/highlightjs-vue.esm.js +59 -0
- package/node_modules/highlightjs-vue/dist/highlightjs-vue.umd.js +66 -0
- package/node_modules/highlightjs-vue/dist/highlightjs-vue.umd.min.js +1 -0
- package/node_modules/highlightjs-vue/package.json +40 -0
- package/node_modules/is-alphabetical/index.d.ts +8 -0
- package/node_modules/is-alphabetical/index.js +16 -0
- package/node_modules/is-alphabetical/license +22 -0
- package/node_modules/is-alphabetical/package.json +73 -0
- package/node_modules/is-alphabetical/readme.md +141 -0
- package/node_modules/is-alphanumerical/index.d.ts +8 -0
- package/node_modules/is-alphanumerical/index.js +13 -0
- package/node_modules/is-alphanumerical/license +22 -0
- package/node_modules/is-alphanumerical/package.json +79 -0
- package/node_modules/is-alphanumerical/readme.md +142 -0
- package/node_modules/is-decimal/index.d.ts +8 -0
- package/node_modules/is-decimal/index.js +13 -0
- package/node_modules/is-decimal/license +22 -0
- package/node_modules/is-decimal/package.json +73 -0
- package/node_modules/is-decimal/readme.md +139 -0
- package/node_modules/is-hexadecimal/index.d.ts +8 -0
- package/node_modules/is-hexadecimal/index.js +17 -0
- package/node_modules/is-hexadecimal/license +22 -0
- package/node_modules/is-hexadecimal/package.json +73 -0
- package/node_modules/is-hexadecimal/readme.md +141 -0
- package/node_modules/lowlight/index.js +299 -0
- package/node_modules/lowlight/lib/core.js +207 -0
- package/node_modules/lowlight/license +22 -0
- package/node_modules/lowlight/node_modules/fault/index.js +31 -0
- package/node_modules/lowlight/node_modules/fault/license +22 -0
- package/node_modules/lowlight/node_modules/fault/package.json +79 -0
- package/node_modules/lowlight/node_modules/fault/readme.md +138 -0
- package/node_modules/lowlight/package.json +91 -0
- package/node_modules/lowlight/readme.md +339 -0
- package/node_modules/parse-entities/index.d.ts +126 -0
- package/node_modules/parse-entities/index.js +3 -0
- package/node_modules/parse-entities/lib/index.d.ts +9 -0
- package/node_modules/parse-entities/lib/index.d.ts.map +1 -0
- package/node_modules/parse-entities/lib/index.js +407 -0
- package/node_modules/parse-entities/license +22 -0
- package/node_modules/parse-entities/node_modules/@types/unist/LICENSE +21 -0
- package/node_modules/parse-entities/node_modules/@types/unist/README.md +122 -0
- package/node_modules/parse-entities/node_modules/@types/unist/index.d.ts +103 -0
- package/node_modules/parse-entities/node_modules/@types/unist/package.json +55 -0
- package/node_modules/parse-entities/package.json +91 -0
- package/node_modules/parse-entities/readme.md +266 -0
- package/node_modules/prismjs/CHANGELOG.md +3068 -0
- package/node_modules/prismjs/LICENSE +21 -0
- package/node_modules/prismjs/README.md +51 -0
- package/node_modules/prismjs/_headers +2 -0
- package/node_modules/prismjs/components/index.js +56 -0
- package/node_modules/prismjs/components/prism-abap.js +48 -0
- package/node_modules/prismjs/components/prism-abap.min.js +1 -0
- package/node_modules/prismjs/components/prism-abnf.js +54 -0
- package/node_modules/prismjs/components/prism-abnf.min.js +1 -0
- package/node_modules/prismjs/components/prism-actionscript.js +19 -0
- package/node_modules/prismjs/components/prism-actionscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-ada.js +22 -0
- package/node_modules/prismjs/components/prism-ada.min.js +1 -0
- package/node_modules/prismjs/components/prism-agda.js +24 -0
- package/node_modules/prismjs/components/prism-agda.min.js +1 -0
- package/node_modules/prismjs/components/prism-al.js +25 -0
- package/node_modules/prismjs/components/prism-al.min.js +1 -0
- package/node_modules/prismjs/components/prism-antlr4.js +65 -0
- package/node_modules/prismjs/components/prism-antlr4.min.js +1 -0
- package/node_modules/prismjs/components/prism-apacheconf.js +47 -0
- package/node_modules/prismjs/components/prism-apacheconf.min.js +1 -0
- package/node_modules/prismjs/components/prism-apex.js +65 -0
- package/node_modules/prismjs/components/prism-apex.min.js +1 -0
- package/node_modules/prismjs/components/prism-apl.js +32 -0
- package/node_modules/prismjs/components/prism-apl.min.js +1 -0
- package/node_modules/prismjs/components/prism-applescript.js +17 -0
- package/node_modules/prismjs/components/prism-applescript.min.js +1 -0
- package/node_modules/prismjs/components/prism-aql.js +49 -0
- package/node_modules/prismjs/components/prism-aql.min.js +1 -0
- package/node_modules/prismjs/components/prism-arduino.js +7 -0
- package/node_modules/prismjs/components/prism-arduino.min.js +1 -0
- package/node_modules/prismjs/components/prism-arff.js +10 -0
- package/node_modules/prismjs/components/prism-arff.min.js +1 -0
- package/node_modules/prismjs/components/prism-armasm.js +49 -0
- package/node_modules/prismjs/components/prism-armasm.min.js +1 -0
- package/node_modules/prismjs/components/prism-arturo.js +105 -0
- package/node_modules/prismjs/components/prism-arturo.min.js +1 -0
- package/node_modules/prismjs/components/prism-asciidoc.js +234 -0
- package/node_modules/prismjs/components/prism-asciidoc.min.js +1 -0
- package/node_modules/prismjs/components/prism-asm6502.js +29 -0
- package/node_modules/prismjs/components/prism-asm6502.min.js +1 -0
- package/node_modules/prismjs/components/prism-asmatmel.js +43 -0
- package/node_modules/prismjs/components/prism-asmatmel.min.js +1 -0
- package/node_modules/prismjs/components/prism-aspnet.js +48 -0
- package/node_modules/prismjs/components/prism-aspnet.min.js +1 -0
- package/node_modules/prismjs/components/prism-autohotkey.js +44 -0
- package/node_modules/prismjs/components/prism-autohotkey.min.js +1 -0
- package/node_modules/prismjs/components/prism-autoit.js +34 -0
- package/node_modules/prismjs/components/prism-autoit.min.js +1 -0
- package/node_modules/prismjs/components/prism-avisynth.js +188 -0
- package/node_modules/prismjs/components/prism-avisynth.min.js +1 -0
- package/node_modules/prismjs/components/prism-avro-idl.js +50 -0
- package/node_modules/prismjs/components/prism-avro-idl.min.js +1 -0
- package/node_modules/prismjs/components/prism-awk.js +32 -0
- package/node_modules/prismjs/components/prism-awk.min.js +1 -0
- package/node_modules/prismjs/components/prism-bash.js +235 -0
- package/node_modules/prismjs/components/prism-bash.min.js +1 -0
- package/node_modules/prismjs/components/prism-basic.js +17 -0
- package/node_modules/prismjs/components/prism-basic.min.js +1 -0
- package/node_modules/prismjs/components/prism-batch.js +99 -0
- package/node_modules/prismjs/components/prism-batch.min.js +1 -0
- package/node_modules/prismjs/components/prism-bbcode.js +29 -0
- package/node_modules/prismjs/components/prism-bbcode.min.js +1 -0
- package/node_modules/prismjs/components/prism-bbj.js +19 -0
- package/node_modules/prismjs/components/prism-bbj.min.js +1 -0
- package/node_modules/prismjs/components/prism-bicep.js +77 -0
- package/node_modules/prismjs/components/prism-bicep.min.js +1 -0
- package/node_modules/prismjs/components/prism-birb.js +23 -0
- package/node_modules/prismjs/components/prism-birb.min.js +1 -0
- package/node_modules/prismjs/components/prism-bison.js +39 -0
- package/node_modules/prismjs/components/prism-bison.min.js +1 -0
- package/node_modules/prismjs/components/prism-bnf.js +21 -0
- package/node_modules/prismjs/components/prism-bnf.min.js +1 -0
- package/node_modules/prismjs/components/prism-bqn.js +63 -0
- package/node_modules/prismjs/components/prism-bqn.min.js +1 -0
- package/node_modules/prismjs/components/prism-brainfuck.js +20 -0
- package/node_modules/prismjs/components/prism-brainfuck.min.js +1 -0
- package/node_modules/prismjs/components/prism-brightscript.js +44 -0
- package/node_modules/prismjs/components/prism-brightscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-bro.js +37 -0
- package/node_modules/prismjs/components/prism-bro.min.js +1 -0
- package/node_modules/prismjs/components/prism-bsl.js +75 -0
- package/node_modules/prismjs/components/prism-bsl.min.js +1 -0
- package/node_modules/prismjs/components/prism-c.js +80 -0
- package/node_modules/prismjs/components/prism-c.min.js +1 -0
- package/node_modules/prismjs/components/prism-cfscript.js +44 -0
- package/node_modules/prismjs/components/prism-cfscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-chaiscript.js +60 -0
- package/node_modules/prismjs/components/prism-chaiscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-cil.js +27 -0
- package/node_modules/prismjs/components/prism-cil.min.js +1 -0
- package/node_modules/prismjs/components/prism-cilkc.js +8 -0
- package/node_modules/prismjs/components/prism-cilkc.min.js +1 -0
- package/node_modules/prismjs/components/prism-cilkcpp.js +9 -0
- package/node_modules/prismjs/components/prism-cilkcpp.min.js +1 -0
- package/node_modules/prismjs/components/prism-clike.js +31 -0
- package/node_modules/prismjs/components/prism-clike.min.js +1 -0
- package/node_modules/prismjs/components/prism-clojure.js +31 -0
- package/node_modules/prismjs/components/prism-clojure.min.js +1 -0
- package/node_modules/prismjs/components/prism-cmake.js +29 -0
- package/node_modules/prismjs/components/prism-cmake.min.js +1 -0
- package/node_modules/prismjs/components/prism-cobol.js +53 -0
- package/node_modules/prismjs/components/prism-cobol.min.js +1 -0
- package/node_modules/prismjs/components/prism-coffeescript.js +96 -0
- package/node_modules/prismjs/components/prism-coffeescript.min.js +1 -0
- package/node_modules/prismjs/components/prism-concurnas.js +61 -0
- package/node_modules/prismjs/components/prism-concurnas.min.js +1 -0
- package/node_modules/prismjs/components/prism-cooklang.js +146 -0
- package/node_modules/prismjs/components/prism-cooklang.min.js +1 -0
- package/node_modules/prismjs/components/prism-coq.js +54 -0
- package/node_modules/prismjs/components/prism-coq.min.js +1 -0
- package/node_modules/prismjs/components/prism-core.js +1263 -0
- package/node_modules/prismjs/components/prism-core.min.js +1 -0
- package/node_modules/prismjs/components/prism-cpp.js +99 -0
- package/node_modules/prismjs/components/prism-cpp.min.js +1 -0
- package/node_modules/prismjs/components/prism-crystal.js +57 -0
- package/node_modules/prismjs/components/prism-crystal.min.js +1 -0
- package/node_modules/prismjs/components/prism-csharp.js +366 -0
- package/node_modules/prismjs/components/prism-csharp.min.js +1 -0
- package/node_modules/prismjs/components/prism-cshtml.js +199 -0
- package/node_modules/prismjs/components/prism-cshtml.min.js +1 -0
- package/node_modules/prismjs/components/prism-csp.js +76 -0
- package/node_modules/prismjs/components/prism-csp.min.js +1 -0
- package/node_modules/prismjs/components/prism-css-extras.js +120 -0
- package/node_modules/prismjs/components/prism-css-extras.min.js +1 -0
- package/node_modules/prismjs/components/prism-css.js +64 -0
- package/node_modules/prismjs/components/prism-css.min.js +1 -0
- package/node_modules/prismjs/components/prism-csv.js +6 -0
- package/node_modules/prismjs/components/prism-csv.min.js +1 -0
- package/node_modules/prismjs/components/prism-cue.js +84 -0
- package/node_modules/prismjs/components/prism-cue.min.js +1 -0
- package/node_modules/prismjs/components/prism-cypher.js +36 -0
- package/node_modules/prismjs/components/prism-cypher.min.js +1 -0
- package/node_modules/prismjs/components/prism-d.js +84 -0
- package/node_modules/prismjs/components/prism-d.min.js +1 -0
- package/node_modules/prismjs/components/prism-dart.js +79 -0
- package/node_modules/prismjs/components/prism-dart.min.js +1 -0
- package/node_modules/prismjs/components/prism-dataweave.js +41 -0
- package/node_modules/prismjs/components/prism-dataweave.min.js +1 -0
- package/node_modules/prismjs/components/prism-dax.js +27 -0
- package/node_modules/prismjs/components/prism-dax.min.js +1 -0
- package/node_modules/prismjs/components/prism-dhall.js +69 -0
- package/node_modules/prismjs/components/prism-dhall.min.js +1 -0
- package/node_modules/prismjs/components/prism-diff.js +64 -0
- package/node_modules/prismjs/components/prism-diff.min.js +1 -0
- package/node_modules/prismjs/components/prism-django.js +60 -0
- package/node_modules/prismjs/components/prism-django.min.js +1 -0
- package/node_modules/prismjs/components/prism-dns-zone-file.js +33 -0
- package/node_modules/prismjs/components/prism-dns-zone-file.min.js +1 -0
- package/node_modules/prismjs/components/prism-docker.js +98 -0
- package/node_modules/prismjs/components/prism-docker.min.js +1 -0
- package/node_modules/prismjs/components/prism-dot.js +76 -0
- package/node_modules/prismjs/components/prism-dot.min.js +1 -0
- package/node_modules/prismjs/components/prism-ebnf.js +22 -0
- package/node_modules/prismjs/components/prism-ebnf.min.js +1 -0
- package/node_modules/prismjs/components/prism-editorconfig.js +26 -0
- package/node_modules/prismjs/components/prism-editorconfig.min.js +1 -0
- package/node_modules/prismjs/components/prism-eiffel.js +34 -0
- package/node_modules/prismjs/components/prism-eiffel.min.js +1 -0
- package/node_modules/prismjs/components/prism-ejs.js +26 -0
- package/node_modules/prismjs/components/prism-ejs.min.js +1 -0
- package/node_modules/prismjs/components/prism-elixir.js +98 -0
- package/node_modules/prismjs/components/prism-elixir.min.js +1 -0
- package/node_modules/prismjs/components/prism-elm.js +45 -0
- package/node_modules/prismjs/components/prism-elm.min.js +1 -0
- package/node_modules/prismjs/components/prism-erb.js +25 -0
- package/node_modules/prismjs/components/prism-erb.min.js +1 -0
- package/node_modules/prismjs/components/prism-erlang.js +44 -0
- package/node_modules/prismjs/components/prism-erlang.min.js +1 -0
- package/node_modules/prismjs/components/prism-etlua.js +23 -0
- package/node_modules/prismjs/components/prism-etlua.min.js +1 -0
- package/node_modules/prismjs/components/prism-excel-formula.js +66 -0
- package/node_modules/prismjs/components/prism-excel-formula.min.js +1 -0
- package/node_modules/prismjs/components/prism-factor.js +403 -0
- package/node_modules/prismjs/components/prism-factor.min.js +1 -0
- package/node_modules/prismjs/components/prism-false.js +32 -0
- package/node_modules/prismjs/components/prism-false.min.js +1 -0
- package/node_modules/prismjs/components/prism-firestore-security-rules.js +35 -0
- package/node_modules/prismjs/components/prism-firestore-security-rules.min.js +1 -0
- package/node_modules/prismjs/components/prism-flow.js +35 -0
- package/node_modules/prismjs/components/prism-flow.min.js +1 -0
- package/node_modules/prismjs/components/prism-fortran.js +40 -0
- package/node_modules/prismjs/components/prism-fortran.min.js +1 -0
- package/node_modules/prismjs/components/prism-fsharp.js +75 -0
- package/node_modules/prismjs/components/prism-fsharp.min.js +1 -0
- package/node_modules/prismjs/components/prism-ftl.js +98 -0
- package/node_modules/prismjs/components/prism-ftl.min.js +1 -0
- package/node_modules/prismjs/components/prism-gap.js +54 -0
- package/node_modules/prismjs/components/prism-gap.min.js +1 -0
- package/node_modules/prismjs/components/prism-gcode.js +16 -0
- package/node_modules/prismjs/components/prism-gcode.min.js +1 -0
- package/node_modules/prismjs/components/prism-gdscript.js +27 -0
- package/node_modules/prismjs/components/prism-gdscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-gedcom.js +28 -0
- package/node_modules/prismjs/components/prism-gedcom.min.js +1 -0
- package/node_modules/prismjs/components/prism-gettext.js +43 -0
- package/node_modules/prismjs/components/prism-gettext.min.js +1 -0
- package/node_modules/prismjs/components/prism-gherkin.js +85 -0
- package/node_modules/prismjs/components/prism-gherkin.min.js +1 -0
- package/node_modules/prismjs/components/prism-git.js +68 -0
- package/node_modules/prismjs/components/prism-git.min.js +1 -0
- package/node_modules/prismjs/components/prism-glsl.js +3 -0
- package/node_modules/prismjs/components/prism-glsl.min.js +1 -0
- package/node_modules/prismjs/components/prism-gml.js +7 -0
- package/node_modules/prismjs/components/prism-gml.min.js +1 -0
- package/node_modules/prismjs/components/prism-gn.js +51 -0
- package/node_modules/prismjs/components/prism-gn.min.js +1 -0
- package/node_modules/prismjs/components/prism-go-module.js +24 -0
- package/node_modules/prismjs/components/prism-go-module.min.js +1 -0
- package/node_modules/prismjs/components/prism-go.js +28 -0
- package/node_modules/prismjs/components/prism-go.min.js +1 -0
- package/node_modules/prismjs/components/prism-gradle.js +63 -0
- package/node_modules/prismjs/components/prism-gradle.min.js +1 -0
- package/node_modules/prismjs/components/prism-graphql.js +211 -0
- package/node_modules/prismjs/components/prism-graphql.min.js +1 -0
- package/node_modules/prismjs/components/prism-groovy.js +65 -0
- package/node_modules/prismjs/components/prism-groovy.min.js +1 -0
- package/node_modules/prismjs/components/prism-haml.js +149 -0
- package/node_modules/prismjs/components/prism-haml.min.js +1 -0
- package/node_modules/prismjs/components/prism-handlebars.js +40 -0
- package/node_modules/prismjs/components/prism-handlebars.min.js +1 -0
- package/node_modules/prismjs/components/prism-haskell.js +66 -0
- package/node_modules/prismjs/components/prism-haskell.min.js +1 -0
- package/node_modules/prismjs/components/prism-haxe.js +78 -0
- package/node_modules/prismjs/components/prism-haxe.min.js +1 -0
- package/node_modules/prismjs/components/prism-hcl.js +63 -0
- package/node_modules/prismjs/components/prism-hcl.min.js +1 -0
- package/node_modules/prismjs/components/prism-hlsl.js +20 -0
- package/node_modules/prismjs/components/prism-hlsl.min.js +1 -0
- package/node_modules/prismjs/components/prism-hoon.js +14 -0
- package/node_modules/prismjs/components/prism-hoon.min.js +1 -0
- package/node_modules/prismjs/components/prism-hpkp.js +14 -0
- package/node_modules/prismjs/components/prism-hpkp.min.js +1 -0
- package/node_modules/prismjs/components/prism-hsts.js +14 -0
- package/node_modules/prismjs/components/prism-hsts.min.js +1 -0
- package/node_modules/prismjs/components/prism-http.js +151 -0
- package/node_modules/prismjs/components/prism-http.min.js +1 -0
- package/node_modules/prismjs/components/prism-ichigojam.js +15 -0
- package/node_modules/prismjs/components/prism-ichigojam.min.js +1 -0
- package/node_modules/prismjs/components/prism-icon.js +20 -0
- package/node_modules/prismjs/components/prism-icon.min.js +1 -0
- package/node_modules/prismjs/components/prism-icu-message-format.js +148 -0
- package/node_modules/prismjs/components/prism-icu-message-format.min.js +1 -0
- package/node_modules/prismjs/components/prism-idris.js +19 -0
- package/node_modules/prismjs/components/prism-idris.min.js +1 -0
- package/node_modules/prismjs/components/prism-iecst.js +32 -0
- package/node_modules/prismjs/components/prism-iecst.min.js +1 -0
- package/node_modules/prismjs/components/prism-ignore.js +23 -0
- package/node_modules/prismjs/components/prism-ignore.min.js +1 -0
- package/node_modules/prismjs/components/prism-inform7.js +61 -0
- package/node_modules/prismjs/components/prism-inform7.min.js +1 -0
- package/node_modules/prismjs/components/prism-ini.js +42 -0
- package/node_modules/prismjs/components/prism-ini.min.js +1 -0
- package/node_modules/prismjs/components/prism-io.js +22 -0
- package/node_modules/prismjs/components/prism-io.min.js +1 -0
- package/node_modules/prismjs/components/prism-j.js +28 -0
- package/node_modules/prismjs/components/prism-j.min.js +1 -0
- package/node_modules/prismjs/components/prism-java.js +124 -0
- package/node_modules/prismjs/components/prism-java.min.js +1 -0
- package/node_modules/prismjs/components/prism-javadoc.js +82 -0
- package/node_modules/prismjs/components/prism-javadoc.min.js +1 -0
- package/node_modules/prismjs/components/prism-javadoclike.js +87 -0
- package/node_modules/prismjs/components/prism-javadoclike.min.js +1 -0
- package/node_modules/prismjs/components/prism-javascript.js +172 -0
- package/node_modules/prismjs/components/prism-javascript.min.js +1 -0
- package/node_modules/prismjs/components/prism-javastacktrace.js +142 -0
- package/node_modules/prismjs/components/prism-javastacktrace.min.js +1 -0
- package/node_modules/prismjs/components/prism-jexl.js +14 -0
- package/node_modules/prismjs/components/prism-jexl.min.js +1 -0
- package/node_modules/prismjs/components/prism-jolie.js +41 -0
- package/node_modules/prismjs/components/prism-jolie.min.js +1 -0
- package/node_modules/prismjs/components/prism-jq.js +69 -0
- package/node_modules/prismjs/components/prism-jq.min.js +1 -0
- package/node_modules/prismjs/components/prism-js-extras.js +135 -0
- package/node_modules/prismjs/components/prism-js-extras.min.js +1 -0
- package/node_modules/prismjs/components/prism-js-templates.js +349 -0
- package/node_modules/prismjs/components/prism-js-templates.min.js +1 -0
- package/node_modules/prismjs/components/prism-jsdoc.js +78 -0
- package/node_modules/prismjs/components/prism-jsdoc.min.js +1 -0
- package/node_modules/prismjs/components/prism-json.js +27 -0
- package/node_modules/prismjs/components/prism-json.min.js +1 -0
- package/node_modules/prismjs/components/prism-json5.js +23 -0
- package/node_modules/prismjs/components/prism-json5.min.js +1 -0
- package/node_modules/prismjs/components/prism-jsonp.js +7 -0
- package/node_modules/prismjs/components/prism-jsonp.min.js +1 -0
- package/node_modules/prismjs/components/prism-jsstacktrace.js +49 -0
- package/node_modules/prismjs/components/prism-jsstacktrace.min.js +1 -0
- package/node_modules/prismjs/components/prism-jsx.js +145 -0
- package/node_modules/prismjs/components/prism-jsx.min.js +1 -0
- package/node_modules/prismjs/components/prism-julia.js +35 -0
- package/node_modules/prismjs/components/prism-julia.min.js +1 -0
- package/node_modules/prismjs/components/prism-keepalived.js +51 -0
- package/node_modules/prismjs/components/prism-keepalived.min.js +1 -0
- package/node_modules/prismjs/components/prism-keyman.js +44 -0
- package/node_modules/prismjs/components/prism-keyman.min.js +1 -0
- package/node_modules/prismjs/components/prism-kotlin.js +88 -0
- package/node_modules/prismjs/components/prism-kotlin.min.js +1 -0
- package/node_modules/prismjs/components/prism-kumir.js +106 -0
- package/node_modules/prismjs/components/prism-kumir.min.js +1 -0
- package/node_modules/prismjs/components/prism-kusto.js +44 -0
- package/node_modules/prismjs/components/prism-kusto.min.js +1 -0
- package/node_modules/prismjs/components/prism-latex.js +64 -0
- package/node_modules/prismjs/components/prism-latex.min.js +1 -0
- package/node_modules/prismjs/components/prism-latte.js +63 -0
- package/node_modules/prismjs/components/prism-latte.min.js +1 -0
- package/node_modules/prismjs/components/prism-less.js +54 -0
- package/node_modules/prismjs/components/prism-less.min.js +1 -0
- package/node_modules/prismjs/components/prism-lilypond.js +69 -0
- package/node_modules/prismjs/components/prism-lilypond.min.js +1 -0
- package/node_modules/prismjs/components/prism-linker-script.js +30 -0
- package/node_modules/prismjs/components/prism-linker-script.min.js +1 -0
- package/node_modules/prismjs/components/prism-liquid.js +66 -0
- package/node_modules/prismjs/components/prism-liquid.min.js +1 -0
- package/node_modules/prismjs/components/prism-lisp.js +197 -0
- package/node_modules/prismjs/components/prism-lisp.min.js +1 -0
- package/node_modules/prismjs/components/prism-livescript.js +119 -0
- package/node_modules/prismjs/components/prism-livescript.min.js +1 -0
- package/node_modules/prismjs/components/prism-llvm.js +19 -0
- package/node_modules/prismjs/components/prism-llvm.min.js +1 -0
- package/node_modules/prismjs/components/prism-log.js +120 -0
- package/node_modules/prismjs/components/prism-log.min.js +1 -0
- package/node_modules/prismjs/components/prism-lolcode.js +55 -0
- package/node_modules/prismjs/components/prism-lolcode.min.js +1 -0
- package/node_modules/prismjs/components/prism-lua.js +20 -0
- package/node_modules/prismjs/components/prism-lua.min.js +1 -0
- package/node_modules/prismjs/components/prism-magma.js +35 -0
- package/node_modules/prismjs/components/prism-magma.min.js +1 -0
- package/node_modules/prismjs/components/prism-makefile.js +34 -0
- package/node_modules/prismjs/components/prism-makefile.min.js +1 -0
- package/node_modules/prismjs/components/prism-markdown.js +415 -0
- package/node_modules/prismjs/components/prism-markdown.min.js +1 -0
- package/node_modules/prismjs/components/prism-markup-templating.js +124 -0
- package/node_modules/prismjs/components/prism-markup-templating.min.js +1 -0
- package/node_modules/prismjs/components/prism-markup.js +186 -0
- package/node_modules/prismjs/components/prism-markup.min.js +1 -0
- package/node_modules/prismjs/components/prism-mata.js +50 -0
- package/node_modules/prismjs/components/prism-mata.min.js +1 -0
- package/node_modules/prismjs/components/prism-matlab.js +16 -0
- package/node_modules/prismjs/components/prism-matlab.min.js +1 -0
- package/node_modules/prismjs/components/prism-maxscript.js +91 -0
- package/node_modules/prismjs/components/prism-maxscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-mel.js +46 -0
- package/node_modules/prismjs/components/prism-mel.min.js +1 -0
- package/node_modules/prismjs/components/prism-mermaid.js +113 -0
- package/node_modules/prismjs/components/prism-mermaid.min.js +1 -0
- package/node_modules/prismjs/components/prism-metafont.js +84 -0
- package/node_modules/prismjs/components/prism-metafont.min.js +1 -0
- package/node_modules/prismjs/components/prism-mizar.js +12 -0
- package/node_modules/prismjs/components/prism-mizar.min.js +1 -0
- package/node_modules/prismjs/components/prism-mongodb.js +97 -0
- package/node_modules/prismjs/components/prism-mongodb.min.js +1 -0
- package/node_modules/prismjs/components/prism-monkey.js +29 -0
- package/node_modules/prismjs/components/prism-monkey.min.js +1 -0
- package/node_modules/prismjs/components/prism-moonscript.js +57 -0
- package/node_modules/prismjs/components/prism-moonscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-n1ql.js +24 -0
- package/node_modules/prismjs/components/prism-n1ql.min.js +1 -0
- package/node_modules/prismjs/components/prism-n4js.js +14 -0
- package/node_modules/prismjs/components/prism-n4js.min.js +1 -0
- package/node_modules/prismjs/components/prism-nand2tetris-hdl.js +9 -0
- package/node_modules/prismjs/components/prism-nand2tetris-hdl.min.js +1 -0
- package/node_modules/prismjs/components/prism-naniscript.js +170 -0
- package/node_modules/prismjs/components/prism-naniscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-nasm.js +24 -0
- package/node_modules/prismjs/components/prism-nasm.min.js +1 -0
- package/node_modules/prismjs/components/prism-neon.js +40 -0
- package/node_modules/prismjs/components/prism-neon.min.js +1 -0
- package/node_modules/prismjs/components/prism-nevod.js +125 -0
- package/node_modules/prismjs/components/prism-nevod.min.js +1 -0
- package/node_modules/prismjs/components/prism-nginx.js +54 -0
- package/node_modules/prismjs/components/prism-nginx.min.js +1 -0
- package/node_modules/prismjs/components/prism-nim.js +44 -0
- package/node_modules/prismjs/components/prism-nim.min.js +1 -0
- package/node_modules/prismjs/components/prism-nix.js +37 -0
- package/node_modules/prismjs/components/prism-nix.min.js +1 -0
- package/node_modules/prismjs/components/prism-nsis.js +30 -0
- package/node_modules/prismjs/components/prism-nsis.min.js +1 -0
- package/node_modules/prismjs/components/prism-objectivec.js +12 -0
- package/node_modules/prismjs/components/prism-objectivec.min.js +1 -0
- package/node_modules/prismjs/components/prism-ocaml.js +58 -0
- package/node_modules/prismjs/components/prism-ocaml.min.js +1 -0
- package/node_modules/prismjs/components/prism-odin.js +99 -0
- package/node_modules/prismjs/components/prism-odin.min.js +1 -0
- package/node_modules/prismjs/components/prism-opencl.js +61 -0
- package/node_modules/prismjs/components/prism-opencl.min.js +1 -0
- package/node_modules/prismjs/components/prism-openqasm.js +23 -0
- package/node_modules/prismjs/components/prism-openqasm.min.js +1 -0
- package/node_modules/prismjs/components/prism-oz.js +28 -0
- package/node_modules/prismjs/components/prism-oz.min.js +1 -0
- package/node_modules/prismjs/components/prism-parigp.js +30 -0
- package/node_modules/prismjs/components/prism-parigp.min.js +1 -0
- package/node_modules/prismjs/components/prism-parser.js +73 -0
- package/node_modules/prismjs/components/prism-parser.min.js +1 -0
- package/node_modules/prismjs/components/prism-pascal.js +71 -0
- package/node_modules/prismjs/components/prism-pascal.min.js +1 -0
- package/node_modules/prismjs/components/prism-pascaligo.js +62 -0
- package/node_modules/prismjs/components/prism-pascaligo.min.js +1 -0
- package/node_modules/prismjs/components/prism-pcaxis.js +53 -0
- package/node_modules/prismjs/components/prism-pcaxis.min.js +1 -0
- package/node_modules/prismjs/components/prism-peoplecode.js +42 -0
- package/node_modules/prismjs/components/prism-peoplecode.min.js +1 -0
- package/node_modules/prismjs/components/prism-perl.js +156 -0
- package/node_modules/prismjs/components/prism-perl.min.js +1 -0
- package/node_modules/prismjs/components/prism-php-extras.js +14 -0
- package/node_modules/prismjs/components/prism-php-extras.min.js +1 -0
- package/node_modules/prismjs/components/prism-php.js +342 -0
- package/node_modules/prismjs/components/prism-php.min.js +1 -0
- package/node_modules/prismjs/components/prism-phpdoc.js +27 -0
- package/node_modules/prismjs/components/prism-phpdoc.min.js +1 -0
- package/node_modules/prismjs/components/prism-plant-uml.js +103 -0
- package/node_modules/prismjs/components/prism-plant-uml.min.js +1 -0
- package/node_modules/prismjs/components/prism-plsql.js +17 -0
- package/node_modules/prismjs/components/prism-plsql.min.js +1 -0
- package/node_modules/prismjs/components/prism-powerquery.js +55 -0
- package/node_modules/prismjs/components/prism-powerquery.min.js +1 -0
- package/node_modules/prismjs/components/prism-powershell.js +58 -0
- package/node_modules/prismjs/components/prism-powershell.min.js +1 -0
- package/node_modules/prismjs/components/prism-processing.js +15 -0
- package/node_modules/prismjs/components/prism-processing.min.js +1 -0
- package/node_modules/prismjs/components/prism-prolog.js +19 -0
- package/node_modules/prismjs/components/prism-prolog.min.js +1 -0
- package/node_modules/prismjs/components/prism-promql.js +99 -0
- package/node_modules/prismjs/components/prism-promql.min.js +1 -0
- package/node_modules/prismjs/components/prism-properties.js +13 -0
- package/node_modules/prismjs/components/prism-properties.min.js +1 -0
- package/node_modules/prismjs/components/prism-protobuf.js +43 -0
- package/node_modules/prismjs/components/prism-protobuf.min.js +1 -0
- package/node_modules/prismjs/components/prism-psl.js +35 -0
- package/node_modules/prismjs/components/prism-psl.min.js +1 -0
- package/node_modules/prismjs/components/prism-pug.js +188 -0
- package/node_modules/prismjs/components/prism-pug.min.js +1 -0
- package/node_modules/prismjs/components/prism-puppet.js +136 -0
- package/node_modules/prismjs/components/prism-puppet.min.js +1 -0
- package/node_modules/prismjs/components/prism-pure.js +82 -0
- package/node_modules/prismjs/components/prism-pure.min.js +1 -0
- package/node_modules/prismjs/components/prism-purebasic.js +70 -0
- package/node_modules/prismjs/components/prism-purebasic.min.js +1 -0
- package/node_modules/prismjs/components/prism-purescript.js +31 -0
- package/node_modules/prismjs/components/prism-purescript.min.js +1 -0
- package/node_modules/prismjs/components/prism-python.js +65 -0
- package/node_modules/prismjs/components/prism-python.min.js +1 -0
- package/node_modules/prismjs/components/prism-q.js +51 -0
- package/node_modules/prismjs/components/prism-q.min.js +1 -0
- package/node_modules/prismjs/components/prism-qml.js +61 -0
- package/node_modules/prismjs/components/prism-qml.min.js +1 -0
- package/node_modules/prismjs/components/prism-qore.js +20 -0
- package/node_modules/prismjs/components/prism-qore.min.js +1 -0
- package/node_modules/prismjs/components/prism-qsharp.js +132 -0
- package/node_modules/prismjs/components/prism-qsharp.min.js +1 -0
- package/node_modules/prismjs/components/prism-r.js +22 -0
- package/node_modules/prismjs/components/prism-r.min.js +1 -0
- package/node_modules/prismjs/components/prism-racket.js +18 -0
- package/node_modules/prismjs/components/prism-racket.min.js +1 -0
- package/node_modules/prismjs/components/prism-reason.js +25 -0
- package/node_modules/prismjs/components/prism-reason.min.js +1 -0
- package/node_modules/prismjs/components/prism-regex.js +104 -0
- package/node_modules/prismjs/components/prism-regex.min.js +1 -0
- package/node_modules/prismjs/components/prism-rego.js +30 -0
- package/node_modules/prismjs/components/prism-rego.min.js +1 -0
- package/node_modules/prismjs/components/prism-renpy.js +29 -0
- package/node_modules/prismjs/components/prism-renpy.min.js +1 -0
- package/node_modules/prismjs/components/prism-rescript.js +60 -0
- package/node_modules/prismjs/components/prism-rescript.min.js +1 -0
- package/node_modules/prismjs/components/prism-rest.js +205 -0
- package/node_modules/prismjs/components/prism-rest.min.js +1 -0
- package/node_modules/prismjs/components/prism-rip.js +38 -0
- package/node_modules/prismjs/components/prism-rip.min.js +1 -0
- package/node_modules/prismjs/components/prism-roboconf.js +27 -0
- package/node_modules/prismjs/components/prism-roboconf.min.js +1 -0
- package/node_modules/prismjs/components/prism-robotframework.js +104 -0
- package/node_modules/prismjs/components/prism-robotframework.min.js +1 -0
- package/node_modules/prismjs/components/prism-ruby.js +189 -0
- package/node_modules/prismjs/components/prism-ruby.min.js +1 -0
- package/node_modules/prismjs/components/prism-rust.js +128 -0
- package/node_modules/prismjs/components/prism-rust.min.js +1 -0
- package/node_modules/prismjs/components/prism-sas.js +326 -0
- package/node_modules/prismjs/components/prism-sas.min.js +1 -0
- package/node_modules/prismjs/components/prism-sass.js +77 -0
- package/node_modules/prismjs/components/prism-sass.min.js +1 -0
- package/node_modules/prismjs/components/prism-scala.js +50 -0
- package/node_modules/prismjs/components/prism-scala.min.js +1 -0
- package/node_modules/prismjs/components/prism-scheme.js +120 -0
- package/node_modules/prismjs/components/prism-scheme.min.js +1 -0
- package/node_modules/prismjs/components/prism-scss.js +81 -0
- package/node_modules/prismjs/components/prism-scss.min.js +1 -0
- package/node_modules/prismjs/components/prism-shell-session.js +70 -0
- package/node_modules/prismjs/components/prism-shell-session.min.js +1 -0
- package/node_modules/prismjs/components/prism-smali.js +87 -0
- package/node_modules/prismjs/components/prism-smali.min.js +1 -0
- package/node_modules/prismjs/components/prism-smalltalk.js +38 -0
- package/node_modules/prismjs/components/prism-smalltalk.min.js +1 -0
- package/node_modules/prismjs/components/prism-smarty.js +131 -0
- package/node_modules/prismjs/components/prism-smarty.min.js +1 -0
- package/node_modules/prismjs/components/prism-sml.js +68 -0
- package/node_modules/prismjs/components/prism-sml.min.js +1 -0
- package/node_modules/prismjs/components/prism-solidity.js +22 -0
- package/node_modules/prismjs/components/prism-solidity.min.js +1 -0
- package/node_modules/prismjs/components/prism-solution-file.js +51 -0
- package/node_modules/prismjs/components/prism-solution-file.min.js +1 -0
- package/node_modules/prismjs/components/prism-soy.js +96 -0
- package/node_modules/prismjs/components/prism-soy.min.js +1 -0
- package/node_modules/prismjs/components/prism-sparql.js +18 -0
- package/node_modules/prismjs/components/prism-sparql.min.js +1 -0
- package/node_modules/prismjs/components/prism-splunk-spl.js +24 -0
- package/node_modules/prismjs/components/prism-splunk-spl.min.js +1 -0
- package/node_modules/prismjs/components/prism-sqf.js +34 -0
- package/node_modules/prismjs/components/prism-sqf.min.js +1 -0
- package/node_modules/prismjs/components/prism-sql.js +32 -0
- package/node_modules/prismjs/components/prism-sql.min.js +1 -0
- package/node_modules/prismjs/components/prism-squirrel.js +47 -0
- package/node_modules/prismjs/components/prism-squirrel.min.js +1 -0
- package/node_modules/prismjs/components/prism-stan.js +65 -0
- package/node_modules/prismjs/components/prism-stan.min.js +1 -0
- package/node_modules/prismjs/components/prism-stata.js +76 -0
- package/node_modules/prismjs/components/prism-stata.min.js +1 -0
- package/node_modules/prismjs/components/prism-stylus.js +143 -0
- package/node_modules/prismjs/components/prism-stylus.min.js +1 -0
- package/node_modules/prismjs/components/prism-supercollider.js +36 -0
- package/node_modules/prismjs/components/prism-supercollider.min.js +1 -0
- package/node_modules/prismjs/components/prism-swift.js +148 -0
- package/node_modules/prismjs/components/prism-swift.min.js +1 -0
- package/node_modules/prismjs/components/prism-systemd.js +74 -0
- package/node_modules/prismjs/components/prism-systemd.min.js +1 -0
- package/node_modules/prismjs/components/prism-t4-cs.js +1 -0
- package/node_modules/prismjs/components/prism-t4-cs.min.js +1 -0
- package/node_modules/prismjs/components/prism-t4-templating.js +49 -0
- package/node_modules/prismjs/components/prism-t4-templating.min.js +1 -0
- package/node_modules/prismjs/components/prism-t4-vb.js +1 -0
- package/node_modules/prismjs/components/prism-t4-vb.min.js +1 -0
- package/node_modules/prismjs/components/prism-tap.js +22 -0
- package/node_modules/prismjs/components/prism-tap.min.js +1 -0
- package/node_modules/prismjs/components/prism-tcl.js +46 -0
- package/node_modules/prismjs/components/prism-tcl.min.js +1 -0
- package/node_modules/prismjs/components/prism-textile.js +286 -0
- package/node_modules/prismjs/components/prism-textile.min.js +1 -0
- package/node_modules/prismjs/components/prism-toml.js +49 -0
- package/node_modules/prismjs/components/prism-toml.min.js +1 -0
- package/node_modules/prismjs/components/prism-tremor.js +72 -0
- package/node_modules/prismjs/components/prism-tremor.min.js +1 -0
- package/node_modules/prismjs/components/prism-tsx.js +15 -0
- package/node_modules/prismjs/components/prism-tsx.min.js +1 -0
- package/node_modules/prismjs/components/prism-tt2.js +53 -0
- package/node_modules/prismjs/components/prism-tt2.min.js +1 -0
- package/node_modules/prismjs/components/prism-turtle.js +54 -0
- package/node_modules/prismjs/components/prism-turtle.min.js +1 -0
- package/node_modules/prismjs/components/prism-twig.js +44 -0
- package/node_modules/prismjs/components/prism-twig.min.js +1 -0
- package/node_modules/prismjs/components/prism-typescript.js +60 -0
- package/node_modules/prismjs/components/prism-typescript.min.js +1 -0
- package/node_modules/prismjs/components/prism-typoscript.js +80 -0
- package/node_modules/prismjs/components/prism-typoscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-unrealscript.js +42 -0
- package/node_modules/prismjs/components/prism-unrealscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-uorazor.js +48 -0
- package/node_modules/prismjs/components/prism-uorazor.min.js +1 -0
- package/node_modules/prismjs/components/prism-uri.js +96 -0
- package/node_modules/prismjs/components/prism-uri.min.js +1 -0
- package/node_modules/prismjs/components/prism-v.js +81 -0
- package/node_modules/prismjs/components/prism-v.min.js +1 -0
- package/node_modules/prismjs/components/prism-vala.js +84 -0
- package/node_modules/prismjs/components/prism-vala.min.js +1 -0
- package/node_modules/prismjs/components/prism-vbnet.js +22 -0
- package/node_modules/prismjs/components/prism-vbnet.min.js +1 -0
- package/node_modules/prismjs/components/prism-velocity.js +72 -0
- package/node_modules/prismjs/components/prism-velocity.min.js +1 -0
- package/node_modules/prismjs/components/prism-verilog.js +26 -0
- package/node_modules/prismjs/components/prism-verilog.min.js +1 -0
- package/node_modules/prismjs/components/prism-vhdl.js +26 -0
- package/node_modules/prismjs/components/prism-vhdl.min.js +1 -0
- package/node_modules/prismjs/components/prism-vim.js +10 -0
- package/node_modules/prismjs/components/prism-vim.min.js +1 -0
- package/node_modules/prismjs/components/prism-visual-basic.js +29 -0
- package/node_modules/prismjs/components/prism-visual-basic.min.js +1 -0
- package/node_modules/prismjs/components/prism-warpscript.js +21 -0
- package/node_modules/prismjs/components/prism-warpscript.min.js +1 -0
- package/node_modules/prismjs/components/prism-wasm.js +31 -0
- package/node_modules/prismjs/components/prism-wasm.min.js +1 -0
- package/node_modules/prismjs/components/prism-web-idl.js +101 -0
- package/node_modules/prismjs/components/prism-web-idl.min.js +1 -0
- package/node_modules/prismjs/components/prism-wgsl.js +69 -0
- package/node_modules/prismjs/components/prism-wgsl.min.js +1 -0
- package/node_modules/prismjs/components/prism-wiki.js +82 -0
- package/node_modules/prismjs/components/prism-wiki.min.js +1 -0
- package/node_modules/prismjs/components/prism-wolfram.js +29 -0
- package/node_modules/prismjs/components/prism-wolfram.min.js +1 -0
- package/node_modules/prismjs/components/prism-wren.js +100 -0
- package/node_modules/prismjs/components/prism-wren.min.js +1 -0
- package/node_modules/prismjs/components/prism-xeora.js +114 -0
- package/node_modules/prismjs/components/prism-xeora.min.js +1 -0
- package/node_modules/prismjs/components/prism-xml-doc.js +40 -0
- package/node_modules/prismjs/components/prism-xml-doc.min.js +1 -0
- package/node_modules/prismjs/components/prism-xojo.js +21 -0
- package/node_modules/prismjs/components/prism-xojo.min.js +1 -0
- package/node_modules/prismjs/components/prism-xquery.js +162 -0
- package/node_modules/prismjs/components/prism-xquery.min.js +1 -0
- package/node_modules/prismjs/components/prism-yaml.js +83 -0
- package/node_modules/prismjs/components/prism-yaml.min.js +1 -0
- package/node_modules/prismjs/components/prism-yang.js +20 -0
- package/node_modules/prismjs/components/prism-yang.min.js +1 -0
- package/node_modules/prismjs/components/prism-zig.js +101 -0
- package/node_modules/prismjs/components/prism-zig.min.js +1 -0
- package/node_modules/prismjs/components.js +2 -0
- package/node_modules/prismjs/components.json +1766 -0
- package/node_modules/prismjs/dependencies.js +452 -0
- package/node_modules/prismjs/package.json +89 -0
- package/node_modules/prismjs/plugins/autolinker/prism-autolinker.css +3 -0
- package/node_modules/prismjs/plugins/autolinker/prism-autolinker.js +76 -0
- package/node_modules/prismjs/plugins/autolinker/prism-autolinker.min.css +1 -0
- package/node_modules/prismjs/plugins/autolinker/prism-autolinker.min.js +1 -0
- package/node_modules/prismjs/plugins/autoloader/prism-autoloader.js +541 -0
- package/node_modules/prismjs/plugins/autoloader/prism-autoloader.min.js +1 -0
- package/node_modules/prismjs/plugins/command-line/prism-command-line.css +43 -0
- package/node_modules/prismjs/plugins/command-line/prism-command-line.js +239 -0
- package/node_modules/prismjs/plugins/command-line/prism-command-line.min.css +1 -0
- package/node_modules/prismjs/plugins/command-line/prism-command-line.min.js +1 -0
- package/node_modules/prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard.js +160 -0
- package/node_modules/prismjs/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js +1 -0
- package/node_modules/prismjs/plugins/custom-class/prism-custom-class.js +110 -0
- package/node_modules/prismjs/plugins/custom-class/prism-custom-class.min.js +1 -0
- package/node_modules/prismjs/plugins/data-uri-highlight/prism-data-uri-highlight.js +94 -0
- package/node_modules/prismjs/plugins/data-uri-highlight/prism-data-uri-highlight.min.js +1 -0
- package/node_modules/prismjs/plugins/diff-highlight/prism-diff-highlight.css +13 -0
- package/node_modules/prismjs/plugins/diff-highlight/prism-diff-highlight.js +90 -0
- package/node_modules/prismjs/plugins/diff-highlight/prism-diff-highlight.min.css +1 -0
- package/node_modules/prismjs/plugins/diff-highlight/prism-diff-highlight.min.js +1 -0
- package/node_modules/prismjs/plugins/download-button/prism-download-button.js +20 -0
- package/node_modules/prismjs/plugins/download-button/prism-download-button.min.js +1 -0
- package/node_modules/prismjs/plugins/file-highlight/prism-file-highlight.js +195 -0
- package/node_modules/prismjs/plugins/file-highlight/prism-file-highlight.min.js +1 -0
- package/node_modules/prismjs/plugins/filter-highlight-all/prism-filter-highlight-all.js +127 -0
- package/node_modules/prismjs/plugins/filter-highlight-all/prism-filter-highlight-all.min.js +1 -0
- package/node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.js +14 -0
- package/node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js +1 -0
- package/node_modules/prismjs/plugins/inline-color/prism-inline-color.css +33 -0
- package/node_modules/prismjs/plugins/inline-color/prism-inline-color.js +105 -0
- package/node_modules/prismjs/plugins/inline-color/prism-inline-color.min.css +1 -0
- package/node_modules/prismjs/plugins/inline-color/prism-inline-color.min.js +1 -0
- package/node_modules/prismjs/plugins/jsonp-highlight/prism-jsonp-highlight.js +303 -0
- package/node_modules/prismjs/plugins/jsonp-highlight/prism-jsonp-highlight.min.js +1 -0
- package/node_modules/prismjs/plugins/keep-markup/prism-keep-markup.js +126 -0
- package/node_modules/prismjs/plugins/keep-markup/prism-keep-markup.min.js +1 -0
- package/node_modules/prismjs/plugins/line-highlight/prism-line-highlight.css +70 -0
- package/node_modules/prismjs/plugins/line-highlight/prism-line-highlight.js +346 -0
- package/node_modules/prismjs/plugins/line-highlight/prism-line-highlight.min.css +1 -0
- package/node_modules/prismjs/plugins/line-highlight/prism-line-highlight.min.js +1 -0
- package/node_modules/prismjs/plugins/line-numbers/prism-line-numbers.css +40 -0
- package/node_modules/prismjs/plugins/line-numbers/prism-line-numbers.js +252 -0
- package/node_modules/prismjs/plugins/line-numbers/prism-line-numbers.min.css +1 -0
- package/node_modules/prismjs/plugins/line-numbers/prism-line-numbers.min.js +1 -0
- package/node_modules/prismjs/plugins/match-braces/prism-match-braces.css +29 -0
- package/node_modules/prismjs/plugins/match-braces/prism-match-braces.js +190 -0
- package/node_modules/prismjs/plugins/match-braces/prism-match-braces.min.css +1 -0
- package/node_modules/prismjs/plugins/match-braces/prism-match-braces.min.js +1 -0
- package/node_modules/prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.js +229 -0
- package/node_modules/prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.min.js +1 -0
- package/node_modules/prismjs/plugins/previewers/prism-previewers.css +243 -0
- package/node_modules/prismjs/plugins/previewers/prism-previewers.js +712 -0
- package/node_modules/prismjs/plugins/previewers/prism-previewers.min.css +1 -0
- package/node_modules/prismjs/plugins/previewers/prism-previewers.min.js +1 -0
- package/node_modules/prismjs/plugins/remove-initial-line-feed/prism-remove-initial-line-feed.js +21 -0
- package/node_modules/prismjs/plugins/remove-initial-line-feed/prism-remove-initial-line-feed.min.js +1 -0
- package/node_modules/prismjs/plugins/show-invisibles/prism-show-invisibles.css +34 -0
- package/node_modules/prismjs/plugins/show-invisibles/prism-show-invisibles.js +83 -0
- package/node_modules/prismjs/plugins/show-invisibles/prism-show-invisibles.min.css +1 -0
- package/node_modules/prismjs/plugins/show-invisibles/prism-show-invisibles.min.js +1 -0
- package/node_modules/prismjs/plugins/show-language/prism-show-language.js +325 -0
- package/node_modules/prismjs/plugins/show-language/prism-show-language.min.js +1 -0
- package/node_modules/prismjs/plugins/toolbar/prism-toolbar.css +65 -0
- package/node_modules/prismjs/plugins/toolbar/prism-toolbar.js +179 -0
- package/node_modules/prismjs/plugins/toolbar/prism-toolbar.min.css +1 -0
- package/node_modules/prismjs/plugins/toolbar/prism-toolbar.min.js +1 -0
- package/node_modules/prismjs/plugins/treeview/prism-treeview.css +168 -0
- package/node_modules/prismjs/plugins/treeview/prism-treeview.js +70 -0
- package/node_modules/prismjs/plugins/treeview/prism-treeview.min.css +1 -0
- package/node_modules/prismjs/plugins/treeview/prism-treeview.min.js +1 -0
- package/node_modules/prismjs/plugins/unescaped-markup/prism-unescaped-markup.css +10 -0
- package/node_modules/prismjs/plugins/unescaped-markup/prism-unescaped-markup.js +62 -0
- package/node_modules/prismjs/plugins/unescaped-markup/prism-unescaped-markup.min.css +1 -0
- package/node_modules/prismjs/plugins/unescaped-markup/prism-unescaped-markup.min.js +1 -0
- package/node_modules/prismjs/plugins/wpd/prism-wpd.css +11 -0
- package/node_modules/prismjs/plugins/wpd/prism-wpd.js +154 -0
- package/node_modules/prismjs/plugins/wpd/prism-wpd.min.css +1 -0
- package/node_modules/prismjs/plugins/wpd/prism-wpd.min.js +1 -0
- package/node_modules/prismjs/prism.js +1946 -0
- package/node_modules/prismjs/themes/prism-coy.css +219 -0
- package/node_modules/prismjs/themes/prism-coy.min.css +1 -0
- package/node_modules/prismjs/themes/prism-dark.css +129 -0
- package/node_modules/prismjs/themes/prism-dark.min.css +1 -0
- package/node_modules/prismjs/themes/prism-funky.css +130 -0
- package/node_modules/prismjs/themes/prism-funky.min.css +1 -0
- package/node_modules/prismjs/themes/prism-okaidia.css +123 -0
- package/node_modules/prismjs/themes/prism-okaidia.min.css +1 -0
- package/node_modules/prismjs/themes/prism-solarizedlight.css +150 -0
- package/node_modules/prismjs/themes/prism-solarizedlight.min.css +1 -0
- package/node_modules/prismjs/themes/prism-tomorrow.css +122 -0
- package/node_modules/prismjs/themes/prism-tomorrow.min.css +1 -0
- package/node_modules/prismjs/themes/prism-twilight.css +169 -0
- package/node_modules/prismjs/themes/prism-twilight.min.css +1 -0
- package/node_modules/prismjs/themes/prism.css +140 -0
- package/node_modules/prismjs/themes/prism.min.css +1 -0
- package/node_modules/property-information/index.d.ts +118 -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 +322 -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 +567 -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 +121 -0
- package/node_modules/property-information/readme.md +1062 -0
- package/node_modules/react-syntax-highlighter/.codecov.yml +3 -0
- package/node_modules/react-syntax-highlighter/.eslintignore +8 -0
- package/node_modules/react-syntax-highlighter/.eslintrc.js +37 -0
- package/node_modules/react-syntax-highlighter/.github/FUNDING.yml +3 -0
- package/node_modules/react-syntax-highlighter/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
- package/node_modules/react-syntax-highlighter/.github/ISSUE_TEMPLATE/feature_request.md +17 -0
- package/node_modules/react-syntax-highlighter/.github/workflows/codeql-analysis.yml +72 -0
- package/node_modules/react-syntax-highlighter/.github/workflows/nodejs.yml +25 -0
- package/node_modules/react-syntax-highlighter/.prettierignore +8 -0
- package/node_modules/react-syntax-highlighter/.prettierrc +3 -0
- package/node_modules/react-syntax-highlighter/AVAILABLE_LANGUAGES_HLJS.MD +192 -0
- package/node_modules/react-syntax-highlighter/AVAILABLE_LANGUAGES_PRISM.MD +298 -0
- package/node_modules/react-syntax-highlighter/AVAILABLE_STYLES_HLJS.MD +98 -0
- package/node_modules/react-syntax-highlighter/AVAILABLE_STYLES_PRISM.MD +45 -0
- package/node_modules/react-syntax-highlighter/CHANGELOG.MD +612 -0
- package/node_modules/react-syntax-highlighter/CODE_OF_CONDUCT.md +46 -0
- package/node_modules/react-syntax-highlighter/LICENSE +21 -0
- package/node_modules/react-syntax-highlighter/README.md +208 -0
- package/node_modules/react-syntax-highlighter/create-element.js +1 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/async-languages/create-language-async-loader.js +32 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/async-languages/hljs.js +967 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/async-languages/prism.js +1497 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/async-syntax-highlighter.js +164 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/checkForListedLanguage.js +10 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/create-element.js +116 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/default-highlight.js +14 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/highlight.js +392 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/index.js +62 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/1c.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/abnf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/accesslog.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/actionscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ada.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/angelscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/apache.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/applescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/arcade.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/arduino.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/armasm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/asciidoc.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/aspectj.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/autohotkey.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/autoit.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/avrasm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/awk.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/axapta.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/bash.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/basic.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/bnf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/brainfuck.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/c-like.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/c.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/cal.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/capnproto.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ceylon.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/clean.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/clojure-repl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/clojure.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/cmake.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/coffeescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/coq.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/cos.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/cpp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/crmsh.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/crystal.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/cs.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/csharp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/csp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/css.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/d.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/dart.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/delphi.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/diff.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/django.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/dns.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/dockerfile.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/dos.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/dsconfig.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/dts.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/dust.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ebnf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/elixir.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/elm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/erb.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/erlang-repl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/erlang.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/excel.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/fix.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/flix.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/fortran.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/fsharp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/gams.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/gauss.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/gcode.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/gherkin.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/glsl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/gml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/go.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/golo.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/gradle.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/groovy.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/haml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/handlebars.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/haskell.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/haxe.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/hsp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/htmlbars.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/http.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/hy.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/index.js +1343 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/inform7.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ini.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/irpf90.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/isbl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/java.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/javascript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/jboss-cli.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/json.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/julia-repl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/julia.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/kotlin.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/lasso.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/latex.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ldif.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/leaf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/less.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/lisp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/livecodeserver.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/livescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/llvm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/lsl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/lua.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/makefile.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/markdown.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/mathematica.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/matlab.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/maxima.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/mel.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/mercury.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/mipsasm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/mizar.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/mojolicious.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/monkey.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/moonscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/n1ql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/nginx.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/nim.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/nimrod.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/nix.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/node-repl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/nsis.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/objectivec.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ocaml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/openscad.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/oxygene.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/parser3.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/perl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/pf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/pgsql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/php-template.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/php.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/plaintext.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/pony.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/powershell.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/processing.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/profile.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/prolog.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/properties.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/protobuf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/puppet.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/purebasic.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/python-repl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/python.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/q.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/qml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/r.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/reasonml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/rib.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/roboconf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/routeros.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/rsl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ruby.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/ruleslanguage.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/rust.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/sas.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/scala.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/scheme.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/scilab.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/scss.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/shell.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/smali.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/smalltalk.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/sml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/sqf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/sql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/sql_more.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/stan.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/stata.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/step21.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/stylus.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/subunit.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/supported-languages.js +10 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/swift.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/taggerscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/tap.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/tcl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/tex.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/thrift.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/tp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/twig.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/typescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/vala.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/vbnet.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/vbscript-html.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/vbscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/verilog.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/vhdl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/vim.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/vue.js +13 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/x86asm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/xl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/xml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/xquery.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/yaml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/hljs/zephir.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/abap.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/abnf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/actionscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ada.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/agda.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/al.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/antlr4.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/apacheconf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/apex.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/apl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/applescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/aql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/arduino.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/arff.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/armasm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/arturo.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/asciidoc.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/asm6502.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/asmatmel.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/aspnet.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/autohotkey.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/autoit.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/avisynth.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/avro-idl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/awk.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bash.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/basic.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/batch.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bbcode.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bbj.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bicep.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/birb.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bison.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bnf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bqn.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/brainfuck.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/brightscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bro.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/bsl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/c.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cfscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/chaiscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cil.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cilkc.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cilkcpp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/clike.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/clojure.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cmake.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cobol.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/coffeescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/concurnas.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cooklang.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/coq.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/core.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cpp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/crystal.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/csharp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cshtml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/csp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/css-extras.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/css.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/csv.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cue.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/cypher.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/d.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/dart.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/dataweave.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/dax.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/dhall.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/diff.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/django.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/dns-zone-file.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/docker.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/dot.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ebnf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/editorconfig.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/eiffel.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ejs.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/elixir.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/elm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/erb.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/erlang.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/etlua.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/excel-formula.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/factor.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/false.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/firestore-security-rules.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/flow.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/fortran.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/fsharp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ftl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gap.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gcode.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gdscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gedcom.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gettext.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gherkin.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/git.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/glsl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gn.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/go-module.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/go.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/gradle.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/graphql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/groovy.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/haml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/handlebars.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/haskell.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/haxe.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/hcl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/hlsl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/hoon.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/hpkp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/hsts.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/http.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ichigojam.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/icon.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/icu-message-format.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/idris.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/iecst.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ignore.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/index.js +2085 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/inform7.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ini.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/io.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/j.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/java.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/javadoc.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/javadoclike.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/javascript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/javastacktrace.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/jexl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/jolie.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/jq.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/js-extras.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/js-templates.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/jsdoc.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/json.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/json5.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/jsonp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/jsstacktrace.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/jsx.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/julia.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/keepalived.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/keyman.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/kotlin.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/kumir.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/kusto.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/latex.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/latte.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/less.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/lilypond.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/linker-script.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/liquid.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/lisp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/livescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/llvm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/log.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/lolcode.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/lua.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/magma.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/makefile.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/markdown.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/markup-templating.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/markup.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/mata.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/matlab.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/maxscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/mel.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/mermaid.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/metafont.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/mizar.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/mongodb.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/monkey.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/moonscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/n1ql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/n4js.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/nand2tetris-hdl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/naniscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/nasm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/neon.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/nevod.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/nginx.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/nim.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/nix.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/nsis.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/objectivec.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ocaml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/odin.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/opencl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/openqasm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/oz.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/parigp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/parser.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/pascal.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/pascaligo.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/pcaxis.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/peoplecode.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/perl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/php-extras.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/php.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/phpdoc.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/plant-uml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/plsql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/powerquery.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/powershell.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/processing.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/prolog.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/promql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/properties.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/protobuf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/psl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/pug.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/puppet.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/pure.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/purebasic.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/purescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/python.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/q.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/qml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/qore.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/qsharp.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/r.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/racket.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/reason.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/regex.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/rego.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/renpy.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/rescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/rest.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/rip.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/roboconf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/robotframework.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/ruby.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/rust.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/sas.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/sass.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/scala.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/scheme.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/scss.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/shell-session.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/smali.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/smalltalk.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/smarty.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/sml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/solidity.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/solution-file.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/soy.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/sparql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/splunk-spl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/sqf.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/sql.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/squirrel.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/stan.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/stata.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/stylus.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/supercollider.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/supported-languages.js +10 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/swift.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/systemd.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/t4-cs.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/t4-templating.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/t4-vb.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/tap.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/tcl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/textile.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/toml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/tremor.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/tsx.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/tt2.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/turtle.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/twig.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/typescript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/typoscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/unrealscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/uorazor.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/uri.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/v.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/vala.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/vbnet.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/velocity.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/verilog.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/vhdl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/vim.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/visual-basic.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/warpscript.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/wasm.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/web-idl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/wgsl.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/wiki.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/wolfram.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/wren.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/xeora.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/xml-doc.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/xojo.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/xquery.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/yaml.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/yang.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/languages/prism/zig.js +9 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/light-async.js +30 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/light.js +12 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/prism-async-light.js +28 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/prism-async.js +24 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/prism-light.js +17 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/prism.js +14 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/a11y-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/a11y-light.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/agate.js +105 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/an-old-hope.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/androidstudio.js +87 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/arduino-light.js +119 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/arta.js +106 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/ascetic.js +73 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-cave-dark.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-cave-light.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-dune-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-dune-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-estuary-dark.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-estuary-light.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-forest-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-forest-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-heath-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-heath-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-lakeside-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-lakeside-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-plateau-dark.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-plateau-light.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-savanna-dark.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-savanna-light.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-seaside-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-seaside-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-sulphurpool-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atelier-sulphurpool-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atom-one-dark-reasonable.js +147 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atom-one-dark.js +120 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/atom-one-light.js +120 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/brown-paper.js +97 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/codepen-embed.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/color-brewer.js +105 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/darcula.js +112 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/dark.js +97 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/darkula.js +7 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/default-style.js +119 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/docco.js +115 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/dracula.js +97 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/far.js +109 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/foundation.js +104 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/github-gist.js +101 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/github.js +122 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/gml.js +118 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/googlecode.js +119 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/gradient-dark.js +137 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/gradient-light.js +137 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/grayscale.js +122 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/gruvbox-dark.js +149 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/gruvbox-light.js +149 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/hopscotch.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/hybrid.js +132 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/idea.js +125 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/index.js +685 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/ir-black.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/isbl-editor-dark.js +134 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/isbl-editor-light.js +134 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/kimbie.dark.js +105 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/kimbie.light.js +105 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/lightfair.js +123 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/lioshi.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/magula.js +107 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/mono-blue.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/monokai-sublime.js +122 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/monokai.js +120 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/night-owl.js +150 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/nnfx-dark.js +122 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/nnfx.js +122 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/nord.js +242 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/obsidian.js +123 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/ocean.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/paraiso-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/paraiso-light.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/pojoaque.js +110 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/purebasic.js +124 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/qtcreator_dark.js +125 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/qtcreator_light.js +125 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/railscasts.js +114 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/rainbow.js +115 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/routeros.js +125 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/school-book.js +106 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/shades-of-purple.js +109 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/solarized-dark.js +120 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/solarized-light.js +120 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/srcery.js +115 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/stackoverflow-dark.js +117 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/stackoverflow-light.js +117 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/sunburst.js +111 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/tomorrow-night-blue.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/tomorrow-night-bright.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/tomorrow-night-eighties.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/tomorrow-night.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/tomorrow.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/vs.js +99 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/vs2015.js +142 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/xcode.js +127 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/xt256.js +107 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/hljs/zenburn.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-dark.js +152 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/a11y-one-light.js +506 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/atom-dark.js +159 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/base16-ateliersulphurpool.light.js +203 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/cb.js +167 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-cold.js +392 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coldark-dark.js +392 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy-without-shadows.js +188 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/coy.js +255 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/darcula.js +207 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dark.js +160 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/dracula.js +160 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-dark.js +224 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-earth.js +224 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-forest.js +224 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-light.js +224 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-sea.js +224 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/duotone-space.js +224 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/funky.js +167 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/ghcolors.js +184 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-dark.js +183 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/gruvbox-light.js +183 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/holi-theme.js +200 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/hopscotch.js +154 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/index.js +314 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/lucario.js +160 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-dark.js +201 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-light.js +209 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/material-oceanic.js +205 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/night-owl.js +198 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/nord.js +158 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/okaidia.js +162 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-dark.js +507 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/one-light.js +495 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/pojoaque.js +167 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/prism.js +198 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/shades-of-purple.js +240 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarized-dark-atom.js +159 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/solarizedlight.js +174 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/synthwave84.js +189 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/tomorrow.js +159 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/twilight.js +220 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs-dark.js +161 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vs.js +212 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/vsc-dark-plus.js +288 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/xonokai.js +186 -0
- package/node_modules/react-syntax-highlighter/dist/cjs/styles/prism/z-touch.js +202 -0
- package/node_modules/react-syntax-highlighter/dist/esm/async-languages/create-language-async-loader.js +25 -0
- package/node_modules/react-syntax-highlighter/dist/esm/async-languages/hljs.js +576 -0
- package/node_modules/react-syntax-highlighter/dist/esm/async-languages/prism.js +894 -0
- package/node_modules/react-syntax-highlighter/dist/esm/async-syntax-highlighter.js +157 -0
- package/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +4 -0
- package/node_modules/react-syntax-highlighter/dist/esm/create-element.js +107 -0
- package/node_modules/react-syntax-highlighter/dist/esm/default-highlight.js +7 -0
- package/node_modules/react-syntax-highlighter/dist/esm/highlight.js +385 -0
- package/node_modules/react-syntax-highlighter/dist/esm/index.js +8 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/1c.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/abnf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/accesslog.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/actionscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ada.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/angelscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/apache.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/applescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/arcade.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/arduino.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/armasm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/asciidoc.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/aspectj.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/autohotkey.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/autoit.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/avrasm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/awk.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/axapta.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/bash.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/basic.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/bnf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/brainfuck.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/c-like.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/c.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/cal.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/capnproto.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ceylon.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/clean.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/clojure-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/clojure.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/cmake.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/coffeescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/coq.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/cos.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/cpp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/crmsh.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/crystal.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/cs.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/csharp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/csp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/css.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/d.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/dart.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/delphi.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/diff.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/django.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/dns.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/dockerfile.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/dos.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/dsconfig.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/dts.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/dust.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ebnf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/elixir.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/elm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/erb.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/erlang-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/erlang.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/excel.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/fix.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/flix.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/fortran.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/fsharp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/gams.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/gauss.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/gcode.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/gherkin.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/glsl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/gml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/go.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/golo.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/gradle.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/groovy.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/haml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/handlebars.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/haskell.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/haxe.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/hsp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/htmlbars.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/http.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/hy.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/index.js +191 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/inform7.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ini.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/irpf90.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/isbl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/java.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/javascript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/jboss-cli.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/json.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/julia-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/julia.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/kotlin.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/lasso.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/latex.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ldif.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/leaf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/less.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/lisp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/livecodeserver.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/livescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/llvm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/lsl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/lua.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/makefile.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/markdown.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/mathematica.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/matlab.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/maxima.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/mel.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/mercury.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/mipsasm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/mizar.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/mojolicious.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/monkey.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/moonscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/n1ql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/nginx.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/nim.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/nimrod.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/nix.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/node-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/nsis.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/objectivec.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ocaml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/openscad.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/oxygene.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/parser3.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/perl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/pf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/pgsql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/php-template.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/php.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/plaintext.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/pony.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/powershell.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/processing.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/profile.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/prolog.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/properties.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/protobuf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/puppet.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/purebasic.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/python-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/python.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/q.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/qml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/r.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/reasonml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/rib.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/roboconf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/routeros.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/rsl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ruby.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/ruleslanguage.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/rust.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/sas.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/scala.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/scheme.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/scilab.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/scss.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/shell.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/smali.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/smalltalk.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/sml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/sqf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/sql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/sql_more.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/stan.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/stata.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/step21.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/stylus.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/subunit.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/supported-languages.js +5 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/swift.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/taggerscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/tap.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/tcl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/tex.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/thrift.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/tp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/twig.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/typescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/vala.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/vbnet.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/vbscript-html.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/vbscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/verilog.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/vhdl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/vim.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/vue.js +4 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/x86asm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/xl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/xml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/xquery.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/yaml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/zephir.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/abap.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/abnf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/actionscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ada.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/agda.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/al.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/antlr4.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/apacheconf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/apex.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/apl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/applescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/aql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/arduino.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/arff.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/armasm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/arturo.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/asciidoc.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/asm6502.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/asmatmel.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/aspnet.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/autohotkey.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/autoit.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/avisynth.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/avro-idl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/awk.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bash.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/basic.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/batch.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bbcode.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bbj.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bicep.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/birb.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bison.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bnf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bqn.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/brainfuck.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/brightscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bro.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/bsl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/c.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cfscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/chaiscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cil.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cilkc.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cilkcpp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/clike.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/clojure.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cmake.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cobol.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/coffeescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/concurnas.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cooklang.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/coq.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/core.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cpp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/crystal.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/csharp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cshtml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/csp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/css-extras.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/css.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/csv.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cue.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/cypher.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/d.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dart.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dataweave.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dax.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dhall.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/diff.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/django.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dns-zone-file.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/docker.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/dot.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ebnf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/editorconfig.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/eiffel.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ejs.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/elixir.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/elm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/erb.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/erlang.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/etlua.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/excel-formula.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/factor.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/false.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/firestore-security-rules.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/flow.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/fortran.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/fsharp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ftl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gap.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gcode.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gdscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gedcom.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gettext.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gherkin.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/git.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/glsl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gn.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/go-module.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/go.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/gradle.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/graphql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/groovy.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/haml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/handlebars.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/haskell.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/haxe.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hcl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hlsl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hoon.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hpkp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/hsts.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/http.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ichigojam.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/icon.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/icu-message-format.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/idris.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/iecst.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ignore.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/index.js +297 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/inform7.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ini.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/io.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/j.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/java.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javadoc.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javadoclike.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javascript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/javastacktrace.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jexl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jolie.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jq.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/js-extras.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/js-templates.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsdoc.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/json5.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsonp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsstacktrace.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/jsx.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/julia.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/keepalived.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/keyman.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/kotlin.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/kumir.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/kusto.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/latex.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/latte.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/less.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/lilypond.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/linker-script.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/liquid.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/lisp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/livescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/llvm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/log.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/lolcode.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/lua.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/magma.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/makefile.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markdown.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup-templating.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/markup.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/mata.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/matlab.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/maxscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/mel.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/mermaid.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/metafont.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/mizar.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/mongodb.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/monkey.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/moonscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/n1ql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/n4js.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/nand2tetris-hdl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/naniscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/nasm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/neon.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/nevod.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/nginx.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/nim.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/nix.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/nsis.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/objectivec.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ocaml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/odin.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/opencl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/openqasm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/oz.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/parigp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/parser.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/pascal.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/pascaligo.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/pcaxis.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/peoplecode.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/perl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/php-extras.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/php.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/phpdoc.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/plant-uml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/plsql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/powerquery.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/powershell.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/processing.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/prolog.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/promql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/properties.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/protobuf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/psl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/pug.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/puppet.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/pure.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/purebasic.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/purescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/python.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/q.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/qml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/qore.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/qsharp.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/r.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/racket.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/reason.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/regex.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/rego.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/renpy.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/rescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/rest.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/rip.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/roboconf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/robotframework.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/ruby.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/rust.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/sas.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/sass.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/scala.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/scheme.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/scss.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/shell-session.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/smali.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/smalltalk.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/smarty.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/sml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/solidity.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/solution-file.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/soy.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/sparql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/splunk-spl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/sqf.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/sql.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/squirrel.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/stan.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/stata.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/stylus.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supercollider.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.js +5 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/swift.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/systemd.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/t4-cs.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/t4-templating.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/t4-vb.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tap.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tcl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/textile.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/toml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tremor.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tsx.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/tt2.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/turtle.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/twig.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typescript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/typoscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/unrealscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/uorazor.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/uri.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/v.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/vala.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/vbnet.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/velocity.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/verilog.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/vhdl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/vim.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/visual-basic.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/warpscript.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/wasm.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/web-idl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/wgsl.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/wiki.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/wolfram.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/wren.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/xeora.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/xml-doc.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/xojo.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/xquery.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yaml.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/yang.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/languages/prism/zig.js +2 -0
- package/node_modules/react-syntax-highlighter/dist/esm/light-async.js +19 -0
- package/node_modules/react-syntax-highlighter/dist/esm/light.js +5 -0
- package/node_modules/react-syntax-highlighter/dist/esm/prism-async-light.js +17 -0
- package/node_modules/react-syntax-highlighter/dist/esm/prism-async.js +13 -0
- package/node_modules/react-syntax-highlighter/dist/esm/prism-light.js +10 -0
- package/node_modules/react-syntax-highlighter/dist/esm/prism.js +7 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/a11y-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/a11y-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/agate.js +99 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/an-old-hope.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/androidstudio.js +81 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/arduino-light.js +113 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/arta.js +100 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/ascetic.js +67 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-cave-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-cave-light.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-dune-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-dune-light.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-estuary-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-estuary-light.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-forest-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-forest-light.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-heath-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-heath-light.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-lakeside-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-lakeside-light.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-plateau-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-plateau-light.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-savanna-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-savanna-light.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-seaside-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-seaside-light.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-sulphurpool-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atelier-sulphurpool-light.js +90 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atom-one-dark-reasonable.js +141 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atom-one-dark.js +114 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/atom-one-light.js +114 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/brown-paper.js +91 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/codepen-embed.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/color-brewer.js +99 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/darcula.js +106 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/dark.js +91 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/darkula.js +1 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/default-style.js +113 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/docco.js +109 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/dracula.js +91 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/far.js +103 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/foundation.js +98 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/github-gist.js +95 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/github.js +116 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/gml.js +112 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/googlecode.js +113 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/gradient-dark.js +131 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/gradient-light.js +131 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/grayscale.js +116 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/gruvbox-dark.js +143 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/gruvbox-light.js +143 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/hopscotch.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/hybrid.js +126 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/idea.js +119 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/index.js +97 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/ir-black.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/isbl-editor-dark.js +128 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/isbl-editor-light.js +128 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/kimbie.dark.js +99 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/kimbie.light.js +99 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/lightfair.js +117 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/lioshi.js +102 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/magula.js +101 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/mono-blue.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/monokai-sublime.js +116 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/monokai.js +114 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/night-owl.js +144 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/nnfx-dark.js +116 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/nnfx.js +116 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/nord.js +236 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/obsidian.js +117 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/ocean.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/paraiso-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/paraiso-light.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/pojoaque.js +104 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/purebasic.js +118 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/qtcreator_dark.js +119 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/qtcreator_light.js +119 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/railscasts.js +108 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/rainbow.js +109 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/routeros.js +119 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/school-book.js +100 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/shades-of-purple.js +103 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/solarized-dark.js +114 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/solarized-light.js +114 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/srcery.js +109 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js +111 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js +111 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/sunburst.js +105 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-blue.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-bright.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-eighties.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/tomorrow.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/vs.js +93 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/vs2015.js +136 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/xcode.js +121 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/xt256.js +101 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/zenburn.js +96 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/a11y-dark.js +146 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/a11y-one-light.js +500 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/atom-dark.js +153 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/base16-ateliersulphurpool.light.js +197 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/cb.js +161 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/coldark-cold.js +386 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/coldark-dark.js +386 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/coy-without-shadows.js +182 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/coy.js +249 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/darcula.js +201 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/dark.js +154 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/dracula.js +154 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/duotone-dark.js +218 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/duotone-earth.js +218 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/duotone-forest.js +218 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/duotone-light.js +218 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/duotone-sea.js +218 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/duotone-space.js +218 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/funky.js +161 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/ghcolors.js +178 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/gruvbox-dark.js +177 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/gruvbox-light.js +177 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/holi-theme.js +194 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/hopscotch.js +148 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/index.js +44 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/lucario.js +154 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/material-dark.js +195 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/material-light.js +203 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/material-oceanic.js +199 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/night-owl.js +192 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/nord.js +152 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/okaidia.js +156 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/one-dark.js +501 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/one-light.js +489 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/pojoaque.js +161 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.js +192 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/shades-of-purple.js +234 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/solarized-dark-atom.js +153 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/solarizedlight.js +168 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/synthwave84.js +183 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/tomorrow.js +153 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/twilight.js +214 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vs-dark.js +155 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vs.js +206 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus.js +282 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/xonokai.js +180 -0
- package/node_modules/react-syntax-highlighter/dist/esm/styles/prism/z-touch.js +196 -0
- package/node_modules/react-syntax-highlighter/package.json +130 -0
- package/node_modules/react-syntax-highlighter/scripts/build-languages-highlightjs.js +127 -0
- package/node_modules/react-syntax-highlighter/scripts/build-languages-refractor.js +132 -0
- package/node_modules/react-syntax-highlighter/scripts/build-stylesheets-highlightjs.js +131 -0
- package/node_modules/react-syntax-highlighter/scripts/build-stylesheets-refractor.js +153 -0
- package/node_modules/react-syntax-highlighter/src/async-languages/create-language-async-loader.js +6 -0
- package/node_modules/react-syntax-highlighter/src/async-languages/hljs.js +194 -0
- package/node_modules/react-syntax-highlighter/src/async-languages/prism.js +300 -0
- package/node_modules/react-syntax-highlighter/src/async-syntax-highlighter.js +155 -0
- package/node_modules/react-syntax-highlighter/src/checkForListedLanguage.js +4 -0
- package/node_modules/react-syntax-highlighter/src/create-element.js +212 -0
- package/node_modules/react-syntax-highlighter/src/default-highlight.js +9 -0
- package/node_modules/react-syntax-highlighter/src/highlight.js +439 -0
- package/node_modules/react-syntax-highlighter/src/index.js +11 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/1c.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/abnf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/accesslog.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/actionscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ada.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/angelscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/apache.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/applescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/arcade.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/arduino.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/armasm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/asciidoc.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/aspectj.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/autohotkey.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/autoit.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/avrasm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/awk.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/axapta.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/bash.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/basic.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/bnf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/brainfuck.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/c-like.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/c.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/cal.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/capnproto.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ceylon.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/clean.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/clojure-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/clojure.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/cmake.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/coffeescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/coq.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/cos.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/cpp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/crmsh.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/crystal.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/csharp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/csp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/css.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/d.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/dart.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/delphi.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/diff.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/django.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/dns.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/dockerfile.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/dos.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/dsconfig.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/dts.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/dust.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ebnf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/elixir.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/elm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/erb.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/erlang-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/erlang.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/excel.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/fix.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/flix.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/fortran.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/fsharp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/gams.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/gauss.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/gcode.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/gherkin.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/glsl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/gml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/go.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/golo.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/gradle.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/groovy.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/haml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/handlebars.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/haskell.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/haxe.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/hsp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/htmlbars.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/http.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/hy.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/index.js +191 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/inform7.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ini.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/irpf90.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/isbl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/java.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/javascript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/jboss-cli.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/json.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/julia-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/julia.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/kotlin.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/lasso.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/latex.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ldif.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/leaf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/less.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/lisp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/livecodeserver.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/livescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/llvm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/lsl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/lua.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/makefile.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/markdown.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/mathematica.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/matlab.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/maxima.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/mel.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/mercury.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/mipsasm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/mizar.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/mojolicious.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/monkey.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/moonscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/n1ql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/nginx.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/nim.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/nix.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/node-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/nsis.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/objectivec.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ocaml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/openscad.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/oxygene.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/parser3.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/perl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/pf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/pgsql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/php-template.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/php.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/plaintext.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/pony.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/powershell.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/processing.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/profile.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/prolog.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/properties.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/protobuf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/puppet.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/purebasic.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/python-repl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/python.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/q.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/qml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/r.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/reasonml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/rib.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/roboconf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/routeros.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/rsl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ruby.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/ruleslanguage.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/rust.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/sas.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/scala.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/scheme.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/scilab.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/scss.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/shell.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/smali.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/smalltalk.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/sml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/sqf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/sql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/sql_more.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/stan.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/stata.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/step21.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/stylus.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/subunit.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/supported-languages.js +197 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/swift.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/taggerscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/tap.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/tcl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/thrift.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/tp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/twig.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/typescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/vala.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/vbnet.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/vbscript-html.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/vbscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/verilog.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/vhdl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/vim.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/vue.js +4 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/x86asm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/xl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/xml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/xquery.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/yaml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/hljs/zephir.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/abap.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/abnf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/actionscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ada.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/agda.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/al.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/antlr4.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/apacheconf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/apex.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/apl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/applescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/aql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/arduino.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/arff.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/armasm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/arturo.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/asciidoc.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/asm6502.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/asmatmel.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/aspnet.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/autohotkey.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/autoit.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/avisynth.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/avro-idl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/awk.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bash.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/basic.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/batch.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bbcode.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bbj.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bicep.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/birb.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bison.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bnf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bqn.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/brainfuck.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/brightscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bro.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/bsl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/c.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cfscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/chaiscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cil.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cilkc.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cilkcpp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/clike.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/clojure.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cmake.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cobol.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/coffeescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/concurnas.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cooklang.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/coq.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/core.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cpp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/crystal.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/csharp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cshtml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/csp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/css-extras.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/css.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/csv.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cue.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/cypher.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/d.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/dart.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/dataweave.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/dax.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/dhall.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/diff.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/django.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/dns-zone-file.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/docker.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/dot.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ebnf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/editorconfig.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/eiffel.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ejs.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/elixir.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/elm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/erb.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/erlang.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/etlua.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/excel-formula.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/factor.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/false.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/firestore-security-rules.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/flow.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/fortran.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/fsharp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ftl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gap.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gcode.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gdscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gedcom.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gettext.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gherkin.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/git.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/glsl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gn.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/go-module.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/go.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/gradle.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/graphql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/groovy.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/haml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/handlebars.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/haskell.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/haxe.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/hcl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/hlsl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/hoon.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/hpkp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/hsts.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/http.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ichigojam.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/icon.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/icu-message-format.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/idris.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/iecst.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ignore.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/index.js +297 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/inform7.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ini.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/io.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/j.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/java.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/javadoc.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/javadoclike.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/javascript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/javastacktrace.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/jexl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/jolie.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/jq.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/js-extras.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/js-templates.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/jsdoc.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/json.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/json5.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/jsonp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/jsstacktrace.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/jsx.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/julia.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/keepalived.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/keyman.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/kotlin.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/kumir.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/kusto.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/latex.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/latte.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/less.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/lilypond.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/linker-script.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/liquid.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/lisp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/livescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/llvm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/log.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/lolcode.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/lua.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/magma.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/makefile.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/markdown.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/markup-templating.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/markup.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/mata.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/matlab.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/maxscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/mel.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/mermaid.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/metafont.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/mizar.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/mongodb.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/monkey.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/moonscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/n1ql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/n4js.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/nand2tetris-hdl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/naniscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/nasm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/neon.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/nevod.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/nginx.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/nim.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/nix.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/nsis.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/objectivec.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ocaml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/odin.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/opencl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/openqasm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/oz.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/parigp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/parser.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/pascal.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/pascaligo.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/pcaxis.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/peoplecode.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/perl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/php-extras.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/php.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/phpdoc.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/plant-uml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/plsql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/powerquery.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/powershell.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/processing.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/prolog.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/promql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/properties.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/protobuf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/psl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/pug.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/puppet.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/pure.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/purebasic.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/purescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/python.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/q.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/qml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/qore.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/qsharp.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/r.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/racket.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/reason.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/regex.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/rego.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/renpy.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/rescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/rest.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/rip.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/roboconf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/robotframework.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/ruby.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/rust.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/sas.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/sass.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/scala.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/scheme.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/scss.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/shell-session.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/smali.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/smalltalk.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/smarty.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/sml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/solidity.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/solution-file.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/soy.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/sparql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/splunk-spl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/sqf.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/sql.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/squirrel.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/stan.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/stata.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/stylus.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/supercollider.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/supported-languages.js +303 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/swift.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/systemd.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/t4-cs.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/t4-templating.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/t4-vb.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/tap.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/tcl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/textile.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/toml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/tremor.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/tsx.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/tt2.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/turtle.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/twig.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/typescript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/typoscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/unrealscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/uorazor.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/uri.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/v.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/vala.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/vbnet.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/velocity.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/verilog.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/vhdl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/vim.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/visual-basic.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/warpscript.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/wasm.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/web-idl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/wgsl.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/wiki.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/wolfram.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/wren.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/xeora.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/xml-doc.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/xojo.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/xquery.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/yaml.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/yang.js +2 -0
- package/node_modules/react-syntax-highlighter/src/languages/prism/zig.js +2 -0
- package/node_modules/react-syntax-highlighter/src/light-async.js +21 -0
- package/node_modules/react-syntax-highlighter/src/light.js +7 -0
- package/node_modules/react-syntax-highlighter/src/prism-async-light.js +19 -0
- package/node_modules/react-syntax-highlighter/src/prism-async.js +14 -0
- package/node_modules/react-syntax-highlighter/src/prism-light.js +10 -0
- package/node_modules/react-syntax-highlighter/src/prism.js +9 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/a11y-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/a11y-light.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/agate.js +99 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/an-old-hope.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/androidstudio.js +81 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/arduino-light.js +113 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/arta.js +100 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/ascetic.js +67 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-cave-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-cave-light.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-dune-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-dune-light.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-estuary-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-estuary-light.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-forest-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-forest-light.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-heath-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-heath-light.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-lakeside-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-lakeside-light.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-plateau-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-plateau-light.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-savanna-dark.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-savanna-light.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-seaside-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-seaside-light.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-sulphurpool-dark.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atelier-sulphurpool-light.js +90 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atom-one-dark-reasonable.js +141 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atom-one-dark.js +114 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/atom-one-light.js +114 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/brown-paper.js +91 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/codepen-embed.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/color-brewer.js +99 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/darcula.js +106 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/dark.js +91 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/darkula.js +1 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/default-style.js +113 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/docco.js +109 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/dracula.js +91 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/far.js +103 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/foundation.js +98 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/github-gist.js +95 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/github.js +116 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/gml.js +112 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/googlecode.js +113 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/gradient-dark.js +131 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/gradient-light.js +131 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/grayscale.js +116 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/gruvbox-dark.js +143 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/gruvbox-light.js +143 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/hopscotch.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/hybrid.js +126 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/idea.js +119 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/index.js +97 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/ir-black.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/isbl-editor-dark.js +128 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/isbl-editor-light.js +128 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/kimbie.dark.js +99 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/kimbie.light.js +99 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/lightfair.js +117 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/lioshi.js +102 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/magula.js +101 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/mono-blue.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/monokai-sublime.js +116 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/monokai.js +114 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/night-owl.js +144 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/nnfx-dark.js +116 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/nnfx.js +116 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/nord.js +236 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/obsidian.js +117 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/ocean.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/paraiso-dark.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/paraiso-light.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/pojoaque.js +104 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/purebasic.js +118 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/qtcreator_dark.js +119 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/qtcreator_light.js +119 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/railscasts.js +108 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/rainbow.js +109 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/routeros.js +119 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/school-book.js +100 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/shades-of-purple.js +103 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/solarized-dark.js +114 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/solarized-light.js +114 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/srcery.js +109 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/stackoverflow-dark.js +111 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/stackoverflow-light.js +111 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/sunburst.js +105 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/tomorrow-night-blue.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/tomorrow-night-bright.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/tomorrow-night-eighties.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/tomorrow-night.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/tomorrow.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/vs.js +93 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/vs2015.js +136 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/xcode.js +121 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/xt256.js +101 -0
- package/node_modules/react-syntax-highlighter/src/styles/hljs/zenburn.js +96 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/a11y-dark.js +146 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/a11y-one-light.js +516 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/atom-dark.js +153 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/base16-ateliersulphurpool.light.js +197 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/cb.js +161 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/coldark-cold.js +386 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/coldark-dark.js +386 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/coy-without-shadows.js +182 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/coy.js +249 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/darcula.js +201 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/dark.js +154 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/dracula.js +154 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/duotone-dark.js +218 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/duotone-earth.js +218 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/duotone-forest.js +218 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/duotone-light.js +218 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/duotone-sea.js +218 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/duotone-space.js +218 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/funky.js +161 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/ghcolors.js +178 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/gruvbox-dark.js +177 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/gruvbox-light.js +177 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/holi-theme.js +194 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/hopscotch.js +148 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/index.js +44 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/lucario.js +154 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/material-dark.js +195 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/material-light.js +203 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/material-oceanic.js +199 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/night-owl.js +192 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/nord.js +152 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/okaidia.js +156 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/one-dark.js +501 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/one-light.js +489 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/pojoaque.js +161 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/prism.js +192 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/shades-of-purple.js +234 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/solarized-dark-atom.js +153 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/solarizedlight.js +168 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/synthwave84.js +183 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/tomorrow.js +153 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/twilight.js +214 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/vs-dark.js +155 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/vs.js +206 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/vsc-dark-plus.js +282 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/xonokai.js +180 -0
- package/node_modules/react-syntax-highlighter/src/styles/prism/z-touch.js +196 -0
- package/node_modules/refractor/lang/abap.d.ts +7 -0
- package/node_modules/refractor/lang/abap.js +62 -0
- package/node_modules/refractor/lang/abnf.d.ts +7 -0
- package/node_modules/refractor/lang/abnf.js +66 -0
- package/node_modules/refractor/lang/actionscript.d.ts +7 -0
- package/node_modules/refractor/lang/actionscript.js +32 -0
- package/node_modules/refractor/lang/ada.d.ts +7 -0
- package/node_modules/refractor/lang/ada.js +34 -0
- package/node_modules/refractor/lang/agda.d.ts +7 -0
- package/node_modules/refractor/lang/agda.js +34 -0
- package/node_modules/refractor/lang/al.d.ts +7 -0
- package/node_modules/refractor/lang/al.js +38 -0
- package/node_modules/refractor/lang/antlr4.d.ts +7 -0
- package/node_modules/refractor/lang/antlr4.js +77 -0
- package/node_modules/refractor/lang/apacheconf.d.ts +7 -0
- package/node_modules/refractor/lang/apacheconf.js +59 -0
- package/node_modules/refractor/lang/apex.d.ts +7 -0
- package/node_modules/refractor/lang/apex.js +88 -0
- package/node_modules/refractor/lang/apl.d.ts +7 -0
- package/node_modules/refractor/lang/apl.js +44 -0
- package/node_modules/refractor/lang/applescript.d.ts +7 -0
- package/node_modules/refractor/lang/applescript.js +29 -0
- package/node_modules/refractor/lang/aql.d.ts +7 -0
- package/node_modules/refractor/lang/aql.js +60 -0
- package/node_modules/refractor/lang/arduino.d.ts +7 -0
- package/node_modules/refractor/lang/arduino.js +21 -0
- package/node_modules/refractor/lang/arff.d.ts +7 -0
- package/node_modules/refractor/lang/arff.js +20 -0
- package/node_modules/refractor/lang/armasm.d.ts +7 -0
- package/node_modules/refractor/lang/armasm.js +57 -0
- package/node_modules/refractor/lang/arturo.d.ts +7 -0
- package/node_modules/refractor/lang/arturo.js +102 -0
- package/node_modules/refractor/lang/asciidoc.d.ts +7 -0
- package/node_modules/refractor/lang/asciidoc.js +241 -0
- package/node_modules/refractor/lang/asm6502.d.ts +7 -0
- package/node_modules/refractor/lang/asm6502.js +40 -0
- package/node_modules/refractor/lang/asmatmel.d.ts +7 -0
- package/node_modules/refractor/lang/asmatmel.js +52 -0
- package/node_modules/refractor/lang/aspnet.d.ts +7 -0
- package/node_modules/refractor/lang/aspnet.js +73 -0
- package/node_modules/refractor/lang/autohotkey.d.ts +7 -0
- package/node_modules/refractor/lang/autohotkey.js +55 -0
- package/node_modules/refractor/lang/autoit.d.ts +7 -0
- package/node_modules/refractor/lang/autoit.js +46 -0
- package/node_modules/refractor/lang/avisynth.d.ts +7 -0
- package/node_modules/refractor/lang/avisynth.js +200 -0
- package/node_modules/refractor/lang/avro-idl.d.ts +7 -0
- package/node_modules/refractor/lang/avro-idl.js +57 -0
- package/node_modules/refractor/lang/awk.d.ts +7 -0
- package/node_modules/refractor/lang/awk.js +39 -0
- package/node_modules/refractor/lang/bash.d.ts +7 -0
- package/node_modules/refractor/lang/bash.js +250 -0
- package/node_modules/refractor/lang/basic.d.ts +7 -0
- package/node_modules/refractor/lang/basic.js +29 -0
- package/node_modules/refractor/lang/batch.d.ts +7 -0
- package/node_modules/refractor/lang/batch.js +110 -0
- package/node_modules/refractor/lang/bbcode.d.ts +7 -0
- package/node_modules/refractor/lang/bbcode.js +39 -0
- package/node_modules/refractor/lang/bbj.d.ts +7 -0
- package/node_modules/refractor/lang/bbj.js +30 -0
- package/node_modules/refractor/lang/bicep.d.ts +7 -0
- package/node_modules/refractor/lang/bicep.js +85 -0
- package/node_modules/refractor/lang/birb.d.ts +7 -0
- package/node_modules/refractor/lang/birb.js +34 -0
- package/node_modules/refractor/lang/bison.d.ts +7 -0
- package/node_modules/refractor/lang/bison.js +50 -0
- package/node_modules/refractor/lang/bnf.d.ts +7 -0
- package/node_modules/refractor/lang/bnf.js +30 -0
- package/node_modules/refractor/lang/bqn.d.ts +7 -0
- package/node_modules/refractor/lang/bqn.js +74 -0
- package/node_modules/refractor/lang/brainfuck.d.ts +7 -0
- package/node_modules/refractor/lang/brainfuck.js +30 -0
- package/node_modules/refractor/lang/brightscript.d.ts +7 -0
- package/node_modules/refractor/lang/brightscript.js +57 -0
- package/node_modules/refractor/lang/bro.d.ts +7 -0
- package/node_modules/refractor/lang/bro.js +39 -0
- package/node_modules/refractor/lang/bsl.d.ts +7 -0
- package/node_modules/refractor/lang/bsl.js +88 -0
- package/node_modules/refractor/lang/c.d.ts +7 -0
- package/node_modules/refractor/lang/c.js +94 -0
- package/node_modules/refractor/lang/cfscript.d.ts +7 -0
- package/node_modules/refractor/lang/cfscript.js +58 -0
- package/node_modules/refractor/lang/chaiscript.d.ts +7 -0
- package/node_modules/refractor/lang/chaiscript.js +73 -0
- package/node_modules/refractor/lang/cil.d.ts +7 -0
- package/node_modules/refractor/lang/cil.js +31 -0
- package/node_modules/refractor/lang/cilkc.d.ts +7 -0
- package/node_modules/refractor/lang/cilkc.js +19 -0
- package/node_modules/refractor/lang/cilkcpp.d.ts +7 -0
- package/node_modules/refractor/lang/cilkcpp.js +20 -0
- package/node_modules/refractor/lang/clike.d.ts +7 -0
- package/node_modules/refractor/lang/clike.js +43 -0
- package/node_modules/refractor/lang/clojure.d.ts +7 -0
- package/node_modules/refractor/lang/clojure.js +43 -0
- package/node_modules/refractor/lang/cmake.d.ts +7 -0
- package/node_modules/refractor/lang/cmake.js +44 -0
- package/node_modules/refractor/lang/cobol.d.ts +7 -0
- package/node_modules/refractor/lang/cobol.js +62 -0
- package/node_modules/refractor/lang/coffeescript.d.ts +7 -0
- package/node_modules/refractor/lang/coffeescript.js +97 -0
- package/node_modules/refractor/lang/concurnas.d.ts +7 -0
- package/node_modules/refractor/lang/concurnas.js +74 -0
- package/node_modules/refractor/lang/cooklang.d.ts +7 -0
- package/node_modules/refractor/lang/cooklang.js +148 -0
- package/node_modules/refractor/lang/coq.d.ts +7 -0
- package/node_modules/refractor/lang/coq.js +67 -0
- package/node_modules/refractor/lang/cpp.d.ts +7 -0
- package/node_modules/refractor/lang/cpp.js +128 -0
- package/node_modules/refractor/lang/crystal.d.ts +7 -0
- package/node_modules/refractor/lang/crystal.js +66 -0
- package/node_modules/refractor/lang/csharp.d.ts +7 -0
- package/node_modules/refractor/lang/csharp.js +486 -0
- package/node_modules/refractor/lang/cshtml.d.ts +7 -0
- package/node_modules/refractor/lang/cshtml.js +268 -0
- package/node_modules/refractor/lang/csp.d.ts +7 -0
- package/node_modules/refractor/lang/csp.js +87 -0
- package/node_modules/refractor/lang/css-extras.d.ts +7 -0
- package/node_modules/refractor/lang/css-extras.js +129 -0
- package/node_modules/refractor/lang/css.d.ts +7 -0
- package/node_modules/refractor/lang/css.js +90 -0
- package/node_modules/refractor/lang/csv.d.ts +7 -0
- package/node_modules/refractor/lang/csv.js +16 -0
- package/node_modules/refractor/lang/cue.d.ts +7 -0
- package/node_modules/refractor/lang/cue.js +98 -0
- package/node_modules/refractor/lang/cypher.d.ts +7 -0
- package/node_modules/refractor/lang/cypher.js +44 -0
- package/node_modules/refractor/lang/d.d.ts +7 -0
- package/node_modules/refractor/lang/d.js +98 -0
- package/node_modules/refractor/lang/dart.d.ts +7 -0
- package/node_modules/refractor/lang/dart.js +94 -0
- package/node_modules/refractor/lang/dataweave.d.ts +7 -0
- package/node_modules/refractor/lang/dataweave.js +52 -0
- package/node_modules/refractor/lang/dax.d.ts +7 -0
- package/node_modules/refractor/lang/dax.js +40 -0
- package/node_modules/refractor/lang/dhall.d.ts +7 -0
- package/node_modules/refractor/lang/dhall.js +81 -0
- package/node_modules/refractor/lang/diff.d.ts +7 -0
- package/node_modules/refractor/lang/diff.js +73 -0
- package/node_modules/refractor/lang/django.d.ts +7 -0
- package/node_modules/refractor/lang/django.js +68 -0
- package/node_modules/refractor/lang/dns-zone-file.d.ts +7 -0
- package/node_modules/refractor/lang/dns-zone-file.js +43 -0
- package/node_modules/refractor/lang/docker.d.ts +7 -0
- package/node_modules/refractor/lang/docker.js +129 -0
- package/node_modules/refractor/lang/dot.d.ts +7 -0
- package/node_modules/refractor/lang/dot.js +93 -0
- package/node_modules/refractor/lang/ebnf.d.ts +7 -0
- package/node_modules/refractor/lang/ebnf.js +30 -0
- package/node_modules/refractor/lang/editorconfig.d.ts +7 -0
- package/node_modules/refractor/lang/editorconfig.js +37 -0
- package/node_modules/refractor/lang/eiffel.d.ts +7 -0
- package/node_modules/refractor/lang/eiffel.js +45 -0
- package/node_modules/refractor/lang/ejs.d.ts +7 -0
- package/node_modules/refractor/lang/ejs.js +39 -0
- package/node_modules/refractor/lang/elixir.d.ts +7 -0
- package/node_modules/refractor/lang/elixir.js +111 -0
- package/node_modules/refractor/lang/elm.d.ts +7 -0
- package/node_modules/refractor/lang/elm.js +59 -0
- package/node_modules/refractor/lang/erb.d.ts +7 -0
- package/node_modules/refractor/lang/erb.js +40 -0
- package/node_modules/refractor/lang/erlang.d.ts +7 -0
- package/node_modules/refractor/lang/erlang.js +53 -0
- package/node_modules/refractor/lang/etlua.d.ts +7 -0
- package/node_modules/refractor/lang/etlua.js +37 -0
- package/node_modules/refractor/lang/excel-formula.d.ts +7 -0
- package/node_modules/refractor/lang/excel-formula.js +78 -0
- package/node_modules/refractor/lang/factor.d.ts +7 -0
- package/node_modules/refractor/lang/factor.js +937 -0
- package/node_modules/refractor/lang/false.d.ts +7 -0
- package/node_modules/refractor/lang/false.js +42 -0
- package/node_modules/refractor/lang/firestore-security-rules.d.ts +7 -0
- package/node_modules/refractor/lang/firestore-security-rules.js +50 -0
- package/node_modules/refractor/lang/flow.d.ts +7 -0
- package/node_modules/refractor/lang/flow.js +47 -0
- package/node_modules/refractor/lang/fortran.d.ts +7 -0
- package/node_modules/refractor/lang/fortran.js +51 -0
- package/node_modules/refractor/lang/fsharp.d.ts +7 -0
- package/node_modules/refractor/lang/fsharp.js +91 -0
- package/node_modules/refractor/lang/ftl.d.ts +7 -0
- package/node_modules/refractor/lang/ftl.js +134 -0
- package/node_modules/refractor/lang/gap.d.ts +7 -0
- package/node_modules/refractor/lang/gap.js +61 -0
- package/node_modules/refractor/lang/gcode.d.ts +7 -0
- package/node_modules/refractor/lang/gcode.js +26 -0
- package/node_modules/refractor/lang/gdscript.d.ts +7 -0
- package/node_modules/refractor/lang/gdscript.js +40 -0
- package/node_modules/refractor/lang/gedcom.d.ts +7 -0
- package/node_modules/refractor/lang/gedcom.js +40 -0
- package/node_modules/refractor/lang/gettext.d.ts +7 -0
- package/node_modules/refractor/lang/gettext.js +52 -0
- package/node_modules/refractor/lang/gherkin.d.ts +7 -0
- package/node_modules/refractor/lang/gherkin.js +95 -0
- package/node_modules/refractor/lang/git.d.ts +7 -0
- package/node_modules/refractor/lang/git.js +73 -0
- package/node_modules/refractor/lang/glsl.d.ts +7 -0
- package/node_modules/refractor/lang/glsl.js +16 -0
- package/node_modules/refractor/lang/gml.d.ts +7 -0
- package/node_modules/refractor/lang/gml.js +25 -0
- package/node_modules/refractor/lang/gn.d.ts +7 -0
- package/node_modules/refractor/lang/gn.js +61 -0
- package/node_modules/refractor/lang/go-module.d.ts +7 -0
- package/node_modules/refractor/lang/go-module.js +34 -0
- package/node_modules/refractor/lang/go.d.ts +7 -0
- package/node_modules/refractor/lang/go.js +41 -0
- package/node_modules/refractor/lang/gradle.d.ts +7 -0
- package/node_modules/refractor/lang/gradle.js +71 -0
- package/node_modules/refractor/lang/graphql.d.ts +7 -0
- package/node_modules/refractor/lang/graphql.js +226 -0
- package/node_modules/refractor/lang/groovy.d.ts +7 -0
- package/node_modules/refractor/lang/groovy.js +74 -0
- package/node_modules/refractor/lang/haml.d.ts +7 -0
- package/node_modules/refractor/lang/haml.js +173 -0
- package/node_modules/refractor/lang/handlebars.d.ts +7 -0
- package/node_modules/refractor/lang/handlebars.js +54 -0
- package/node_modules/refractor/lang/haskell.d.ts +7 -0
- package/node_modules/refractor/lang/haskell.js +80 -0
- package/node_modules/refractor/lang/haxe.d.ts +7 -0
- package/node_modules/refractor/lang/haxe.js +89 -0
- package/node_modules/refractor/lang/hcl.d.ts +7 -0
- package/node_modules/refractor/lang/hcl.js +75 -0
- package/node_modules/refractor/lang/hlsl.d.ts +7 -0
- package/node_modules/refractor/lang/hlsl.js +32 -0
- package/node_modules/refractor/lang/hoon.d.ts +7 -0
- package/node_modules/refractor/lang/hoon.js +25 -0
- package/node_modules/refractor/lang/hpkp.d.ts +7 -0
- package/node_modules/refractor/lang/hpkp.js +25 -0
- package/node_modules/refractor/lang/hsts.d.ts +7 -0
- package/node_modules/refractor/lang/hsts.js +24 -0
- package/node_modules/refractor/lang/http.d.ts +7 -0
- package/node_modules/refractor/lang/http.js +164 -0
- package/node_modules/refractor/lang/ichigojam.d.ts +7 -0
- package/node_modules/refractor/lang/ichigojam.js +27 -0
- package/node_modules/refractor/lang/icon.d.ts +7 -0
- package/node_modules/refractor/lang/icon.js +33 -0
- package/node_modules/refractor/lang/icu-message-format.d.ts +7 -0
- package/node_modules/refractor/lang/icu-message-format.js +164 -0
- package/node_modules/refractor/lang/idris.d.ts +7 -0
- package/node_modules/refractor/lang/idris.js +30 -0
- package/node_modules/refractor/lang/iecst.d.ts +7 -0
- package/node_modules/refractor/lang/iecst.js +46 -0
- package/node_modules/refractor/lang/ignore.d.ts +7 -0
- package/node_modules/refractor/lang/ignore.js +31 -0
- package/node_modules/refractor/lang/inform7.d.ts +7 -0
- package/node_modules/refractor/lang/inform7.js +77 -0
- package/node_modules/refractor/lang/ini.d.ts +7 -0
- package/node_modules/refractor/lang/ini.js +52 -0
- package/node_modules/refractor/lang/io.d.ts +7 -0
- package/node_modules/refractor/lang/io.js +35 -0
- package/node_modules/refractor/lang/j.d.ts +7 -0
- package/node_modules/refractor/lang/j.js +41 -0
- package/node_modules/refractor/lang/java.d.ts +7 -0
- package/node_modules/refractor/lang/java.js +163 -0
- package/node_modules/refractor/lang/javadoc.d.ts +7 -0
- package/node_modules/refractor/lang/javadoc.js +108 -0
- package/node_modules/refractor/lang/javadoclike.d.ts +7 -0
- package/node_modules/refractor/lang/javadoclike.js +94 -0
- package/node_modules/refractor/lang/javascript.d.ts +7 -0
- package/node_modules/refractor/lang/javascript.js +195 -0
- package/node_modules/refractor/lang/javastacktrace.d.ts +7 -0
- package/node_modules/refractor/lang/javastacktrace.js +149 -0
- package/node_modules/refractor/lang/jexl.d.ts +7 -0
- package/node_modules/refractor/lang/jexl.js +26 -0
- package/node_modules/refractor/lang/jolie.d.ts +7 -0
- package/node_modules/refractor/lang/jolie.js +58 -0
- package/node_modules/refractor/lang/jq.d.ts +7 -0
- package/node_modules/refractor/lang/jq.js +80 -0
- package/node_modules/refractor/lang/js-extras.d.ts +7 -0
- package/node_modules/refractor/lang/js-extras.js +160 -0
- package/node_modules/refractor/lang/js-templates.d.ts +7 -0
- package/node_modules/refractor/lang/js-templates.js +366 -0
- package/node_modules/refractor/lang/jsdoc.d.ts +7 -0
- package/node_modules/refractor/lang/jsdoc.js +102 -0
- package/node_modules/refractor/lang/json.d.ts +7 -0
- package/node_modules/refractor/lang/json.js +36 -0
- package/node_modules/refractor/lang/json5.d.ts +7 -0
- package/node_modules/refractor/lang/json5.js +34 -0
- package/node_modules/refractor/lang/jsonp.d.ts +7 -0
- package/node_modules/refractor/lang/jsonp.js +18 -0
- package/node_modules/refractor/lang/jsstacktrace.d.ts +7 -0
- package/node_modules/refractor/lang/jsstacktrace.js +53 -0
- package/node_modules/refractor/lang/jsx.d.ts +7 -0
- package/node_modules/refractor/lang/jsx.js +193 -0
- package/node_modules/refractor/lang/julia.d.ts +7 -0
- package/node_modules/refractor/lang/julia.js +50 -0
- package/node_modules/refractor/lang/keepalived.d.ts +7 -0
- package/node_modules/refractor/lang/keepalived.js +63 -0
- package/node_modules/refractor/lang/keyman.d.ts +7 -0
- package/node_modules/refractor/lang/keyman.js +54 -0
- package/node_modules/refractor/lang/kotlin.d.ts +7 -0
- package/node_modules/refractor/lang/kotlin.js +96 -0
- package/node_modules/refractor/lang/kumir.d.ts +7 -0
- package/node_modules/refractor/lang/kumir.js +116 -0
- package/node_modules/refractor/lang/kusto.d.ts +7 -0
- package/node_modules/refractor/lang/kusto.js +54 -0
- package/node_modules/refractor/lang/latex.d.ts +7 -0
- package/node_modules/refractor/lang/latex.js +77 -0
- package/node_modules/refractor/lang/latte.d.ts +7 -0
- package/node_modules/refractor/lang/latte.js +85 -0
- package/node_modules/refractor/lang/less.d.ts +7 -0
- package/node_modules/refractor/lang/less.js +65 -0
- package/node_modules/refractor/lang/lilypond.d.ts +7 -0
- package/node_modules/refractor/lang/lilypond.js +90 -0
- package/node_modules/refractor/lang/linker-script.d.ts +7 -0
- package/node_modules/refractor/lang/linker-script.js +35 -0
- package/node_modules/refractor/lang/liquid.d.ts +7 -0
- package/node_modules/refractor/lang/liquid.js +82 -0
- package/node_modules/refractor/lang/lisp.d.ts +7 -0
- package/node_modules/refractor/lang/lisp.js +223 -0
- package/node_modules/refractor/lang/livescript.d.ts +7 -0
- package/node_modules/refractor/lang/livescript.js +132 -0
- package/node_modules/refractor/lang/llvm.d.ts +7 -0
- package/node_modules/refractor/lang/llvm.js +31 -0
- package/node_modules/refractor/lang/log.d.ts +7 -0
- package/node_modules/refractor/lang/log.js +129 -0
- package/node_modules/refractor/lang/lolcode.d.ts +7 -0
- package/node_modules/refractor/lang/lolcode.js +60 -0
- package/node_modules/refractor/lang/lua.d.ts +7 -0
- package/node_modules/refractor/lang/lua.js +33 -0
- package/node_modules/refractor/lang/magma.d.ts +7 -0
- package/node_modules/refractor/lang/magma.js +43 -0
- package/node_modules/refractor/lang/makefile.d.ts +7 -0
- package/node_modules/refractor/lang/makefile.js +42 -0
- package/node_modules/refractor/lang/markdown.d.ts +7 -0
- package/node_modules/refractor/lang/markdown.js +449 -0
- package/node_modules/refractor/lang/markup-templating.d.ts +7 -0
- package/node_modules/refractor/lang/markup-templating.js +134 -0
- package/node_modules/refractor/lang/markup.d.ts +7 -0
- package/node_modules/refractor/lang/markup.js +202 -0
- package/node_modules/refractor/lang/mata.d.ts +7 -0
- package/node_modules/refractor/lang/mata.js +59 -0
- package/node_modules/refractor/lang/matlab.d.ts +7 -0
- package/node_modules/refractor/lang/matlab.js +24 -0
- package/node_modules/refractor/lang/maxscript.d.ts +7 -0
- package/node_modules/refractor/lang/maxscript.js +98 -0
- package/node_modules/refractor/lang/mel.d.ts +7 -0
- package/node_modules/refractor/lang/mel.js +56 -0
- package/node_modules/refractor/lang/mermaid.d.ts +7 -0
- package/node_modules/refractor/lang/mermaid.js +122 -0
- package/node_modules/refractor/lang/metafont.d.ts +7 -0
- package/node_modules/refractor/lang/metafont.js +102 -0
- package/node_modules/refractor/lang/mizar.d.ts +7 -0
- package/node_modules/refractor/lang/mizar.js +23 -0
- package/node_modules/refractor/lang/mongodb.d.ts +7 -0
- package/node_modules/refractor/lang/mongodb.js +307 -0
- package/node_modules/refractor/lang/monkey.d.ts +7 -0
- package/node_modules/refractor/lang/monkey.js +41 -0
- package/node_modules/refractor/lang/moonscript.d.ts +7 -0
- package/node_modules/refractor/lang/moonscript.js +70 -0
- package/node_modules/refractor/lang/n1ql.d.ts +7 -0
- package/node_modules/refractor/lang/n1ql.js +36 -0
- package/node_modules/refractor/lang/n4js.d.ts +7 -0
- package/node_modules/refractor/lang/n4js.js +25 -0
- package/node_modules/refractor/lang/nand2tetris-hdl.d.ts +7 -0
- package/node_modules/refractor/lang/nand2tetris-hdl.js +19 -0
- package/node_modules/refractor/lang/naniscript.d.ts +7 -0
- package/node_modules/refractor/lang/naniscript.js +176 -0
- package/node_modules/refractor/lang/nasm.d.ts +7 -0
- package/node_modules/refractor/lang/nasm.js +36 -0
- package/node_modules/refractor/lang/neon.d.ts +7 -0
- package/node_modules/refractor/lang/neon.js +54 -0
- package/node_modules/refractor/lang/nevod.d.ts +7 -0
- package/node_modules/refractor/lang/nevod.js +139 -0
- package/node_modules/refractor/lang/nginx.d.ts +7 -0
- package/node_modules/refractor/lang/nginx.js +63 -0
- package/node_modules/refractor/lang/nim.d.ts +7 -0
- package/node_modules/refractor/lang/nim.js +57 -0
- package/node_modules/refractor/lang/nix.d.ts +7 -0
- package/node_modules/refractor/lang/nix.js +48 -0
- package/node_modules/refractor/lang/nsis.d.ts +7 -0
- package/node_modules/refractor/lang/nsis.js +43 -0
- package/node_modules/refractor/lang/objectivec.d.ts +7 -0
- package/node_modules/refractor/lang/objectivec.js +23 -0
- package/node_modules/refractor/lang/ocaml.d.ts +7 -0
- package/node_modules/refractor/lang/ocaml.js +69 -0
- package/node_modules/refractor/lang/odin.d.ts +7 -0
- package/node_modules/refractor/lang/odin.js +98 -0
- package/node_modules/refractor/lang/opencl.d.ts +7 -0
- package/node_modules/refractor/lang/opencl.js +78 -0
- package/node_modules/refractor/lang/openqasm.d.ts +7 -0
- package/node_modules/refractor/lang/openqasm.js +33 -0
- package/node_modules/refractor/lang/oz.d.ts +7 -0
- package/node_modules/refractor/lang/oz.js +41 -0
- package/node_modules/refractor/lang/parigp.d.ts +7 -0
- package/node_modules/refractor/lang/parigp.js +63 -0
- package/node_modules/refractor/lang/parser.d.ts +7 -0
- package/node_modules/refractor/lang/parser.js +88 -0
- package/node_modules/refractor/lang/pascal.d.ts +7 -0
- package/node_modules/refractor/lang/pascal.js +83 -0
- package/node_modules/refractor/lang/pascaligo.d.ts +7 -0
- package/node_modules/refractor/lang/pascaligo.js +97 -0
- package/node_modules/refractor/lang/pcaxis.d.ts +7 -0
- package/node_modules/refractor/lang/pcaxis.js +64 -0
- package/node_modules/refractor/lang/peoplecode.d.ts +7 -0
- package/node_modules/refractor/lang/peoplecode.js +54 -0
- package/node_modules/refractor/lang/perl.d.ts +7 -0
- package/node_modules/refractor/lang/perl.js +160 -0
- package/node_modules/refractor/lang/php-extras.d.ts +7 -0
- package/node_modules/refractor/lang/php-extras.js +27 -0
- package/node_modules/refractor/lang/php.d.ts +7 -0
- package/node_modules/refractor/lang/php.js +361 -0
- package/node_modules/refractor/lang/phpdoc.d.ts +7 -0
- package/node_modules/refractor/lang/phpdoc.js +44 -0
- package/node_modules/refractor/lang/plant-uml.d.ts +7 -0
- package/node_modules/refractor/lang/plant-uml.js +123 -0
- package/node_modules/refractor/lang/plsql.d.ts +7 -0
- package/node_modules/refractor/lang/plsql.js +29 -0
- package/node_modules/refractor/lang/powerquery.d.ts +7 -0
- package/node_modules/refractor/lang/powerquery.js +67 -0
- package/node_modules/refractor/lang/powershell.d.ts +7 -0
- package/node_modules/refractor/lang/powershell.js +68 -0
- package/node_modules/refractor/lang/processing.d.ts +7 -0
- package/node_modules/refractor/lang/processing.js +27 -0
- package/node_modules/refractor/lang/prolog.d.ts +7 -0
- package/node_modules/refractor/lang/prolog.js +29 -0
- package/node_modules/refractor/lang/promql.d.ts +7 -0
- package/node_modules/refractor/lang/promql.js +112 -0
- package/node_modules/refractor/lang/properties.d.ts +7 -0
- package/node_modules/refractor/lang/properties.js +24 -0
- package/node_modules/refractor/lang/protobuf.d.ts +7 -0
- package/node_modules/refractor/lang/protobuf.js +55 -0
- package/node_modules/refractor/lang/psl.d.ts +7 -0
- package/node_modules/refractor/lang/psl.js +49 -0
- package/node_modules/refractor/lang/pug.d.ts +7 -0
- package/node_modules/refractor/lang/pug.js +220 -0
- package/node_modules/refractor/lang/puppet.d.ts +7 -0
- package/node_modules/refractor/lang/puppet.js +155 -0
- package/node_modules/refractor/lang/pure.d.ts +7 -0
- package/node_modules/refractor/lang/pure.js +106 -0
- package/node_modules/refractor/lang/purebasic.d.ts +7 -0
- package/node_modules/refractor/lang/purebasic.js +82 -0
- package/node_modules/refractor/lang/purescript.d.ts +7 -0
- package/node_modules/refractor/lang/purescript.js +42 -0
- package/node_modules/refractor/lang/python.d.ts +7 -0
- package/node_modules/refractor/lang/python.js +80 -0
- package/node_modules/refractor/lang/q.d.ts +7 -0
- package/node_modules/refractor/lang/q.js +64 -0
- package/node_modules/refractor/lang/qml.d.ts +7 -0
- package/node_modules/refractor/lang/qml.js +93 -0
- package/node_modules/refractor/lang/qore.d.ts +7 -0
- package/node_modules/refractor/lang/qore.js +35 -0
- package/node_modules/refractor/lang/qsharp.d.ts +7 -0
- package/node_modules/refractor/lang/qsharp.js +151 -0
- package/node_modules/refractor/lang/r.d.ts +7 -0
- package/node_modules/refractor/lang/r.js +33 -0
- package/node_modules/refractor/lang/racket.d.ts +7 -0
- package/node_modules/refractor/lang/racket.js +28 -0
- package/node_modules/refractor/lang/reason.d.ts +7 -0
- package/node_modules/refractor/lang/reason.js +39 -0
- package/node_modules/refractor/lang/regex.d.ts +7 -0
- package/node_modules/refractor/lang/regex.js +112 -0
- package/node_modules/refractor/lang/rego.d.ts +7 -0
- package/node_modules/refractor/lang/rego.js +39 -0
- package/node_modules/refractor/lang/renpy.d.ts +7 -0
- package/node_modules/refractor/lang/renpy.js +34 -0
- package/node_modules/refractor/lang/rescript.d.ts +7 -0
- package/node_modules/refractor/lang/rescript.js +76 -0
- package/node_modules/refractor/lang/rest.d.ts +7 -0
- package/node_modules/refractor/lang/rest.js +221 -0
- package/node_modules/refractor/lang/rip.d.ts +7 -0
- package/node_modules/refractor/lang/rip.js +41 -0
- package/node_modules/refractor/lang/roboconf.d.ts +7 -0
- package/node_modules/refractor/lang/roboconf.js +38 -0
- package/node_modules/refractor/lang/robotframework.d.ts +7 -0
- package/node_modules/refractor/lang/robotframework.js +111 -0
- package/node_modules/refractor/lang/ruby.d.ts +7 -0
- package/node_modules/refractor/lang/ruby.js +206 -0
- package/node_modules/refractor/lang/rust.d.ts +7 -0
- package/node_modules/refractor/lang/rust.js +134 -0
- package/node_modules/refractor/lang/sas.d.ts +7 -0
- package/node_modules/refractor/lang/sas.js +368 -0
- package/node_modules/refractor/lang/sass.d.ts +7 -0
- package/node_modules/refractor/lang/sass.js +85 -0
- package/node_modules/refractor/lang/scala.d.ts +7 -0
- package/node_modules/refractor/lang/scala.js +64 -0
- package/node_modules/refractor/lang/scheme.d.ts +7 -0
- package/node_modules/refractor/lang/scheme.js +143 -0
- package/node_modules/refractor/lang/scss.d.ts +7 -0
- package/node_modules/refractor/lang/scss.js +90 -0
- package/node_modules/refractor/lang/shell-session.d.ts +7 -0
- package/node_modules/refractor/lang/shell-session.js +82 -0
- package/node_modules/refractor/lang/smali.d.ts +7 -0
- package/node_modules/refractor/lang/smali.js +95 -0
- package/node_modules/refractor/lang/smalltalk.d.ts +7 -0
- package/node_modules/refractor/lang/smalltalk.js +48 -0
- package/node_modules/refractor/lang/smarty.d.ts +7 -0
- package/node_modules/refractor/lang/smarty.js +147 -0
- package/node_modules/refractor/lang/sml.d.ts +7 -0
- package/node_modules/refractor/lang/sml.js +79 -0
- package/node_modules/refractor/lang/solidity.d.ts +7 -0
- package/node_modules/refractor/lang/solidity.js +34 -0
- package/node_modules/refractor/lang/solution-file.d.ts +7 -0
- package/node_modules/refractor/lang/solution-file.js +58 -0
- package/node_modules/refractor/lang/soy.d.ts +7 -0
- package/node_modules/refractor/lang/soy.js +110 -0
- package/node_modules/refractor/lang/sparql.d.ts +7 -0
- package/node_modules/refractor/lang/sparql.js +27 -0
- package/node_modules/refractor/lang/splunk-spl.d.ts +7 -0
- package/node_modules/refractor/lang/splunk-spl.js +35 -0
- package/node_modules/refractor/lang/sqf.d.ts +7 -0
- package/node_modules/refractor/lang/sqf.js +48 -0
- package/node_modules/refractor/lang/sql.d.ts +7 -0
- package/node_modules/refractor/lang/sql.js +46 -0
- package/node_modules/refractor/lang/squirrel.d.ts +7 -0
- package/node_modules/refractor/lang/squirrel.js +56 -0
- package/node_modules/refractor/lang/stan.d.ts +7 -0
- package/node_modules/refractor/lang/stan.js +73 -0
- package/node_modules/refractor/lang/stata.d.ts +7 -0
- package/node_modules/refractor/lang/stata.js +89 -0
- package/node_modules/refractor/lang/stylus.d.ts +7 -0
- package/node_modules/refractor/lang/stylus.js +150 -0
- package/node_modules/refractor/lang/supercollider.d.ts +7 -0
- package/node_modules/refractor/lang/supercollider.js +44 -0
- package/node_modules/refractor/lang/swift.d.ts +7 -0
- package/node_modules/refractor/lang/swift.js +157 -0
- package/node_modules/refractor/lang/systemd.d.ts +7 -0
- package/node_modules/refractor/lang/systemd.js +81 -0
- package/node_modules/refractor/lang/t4-cs.d.ts +7 -0
- package/node_modules/refractor/lang/t4-cs.js +16 -0
- package/node_modules/refractor/lang/t4-templating.d.ts +7 -0
- package/node_modules/refractor/lang/t4-templating.js +56 -0
- package/node_modules/refractor/lang/t4-vb.d.ts +7 -0
- package/node_modules/refractor/lang/t4-vb.js +15 -0
- package/node_modules/refractor/lang/tap.d.ts +7 -0
- package/node_modules/refractor/lang/tap.js +34 -0
- package/node_modules/refractor/lang/tcl.d.ts +7 -0
- package/node_modules/refractor/lang/tcl.js +59 -0
- package/node_modules/refractor/lang/textile.d.ts +7 -0
- package/node_modules/refractor/lang/textile.js +304 -0
- package/node_modules/refractor/lang/toml.d.ts +7 -0
- package/node_modules/refractor/lang/toml.js +70 -0
- package/node_modules/refractor/lang/tremor.d.ts +7 -0
- package/node_modules/refractor/lang/tremor.js +86 -0
- package/node_modules/refractor/lang/tsx.d.ts +7 -0
- package/node_modules/refractor/lang/tsx.js +32 -0
- package/node_modules/refractor/lang/tt2.d.ts +7 -0
- package/node_modules/refractor/lang/tt2.js +65 -0
- package/node_modules/refractor/lang/turtle.d.ts +7 -0
- package/node_modules/refractor/lang/turtle.js +64 -0
- package/node_modules/refractor/lang/twig.d.ts +7 -0
- package/node_modules/refractor/lang/twig.js +52 -0
- package/node_modules/refractor/lang/typescript.d.ts +7 -0
- package/node_modules/refractor/lang/typescript.js +71 -0
- package/node_modules/refractor/lang/typoscript.d.ts +7 -0
- package/node_modules/refractor/lang/typoscript.js +89 -0
- package/node_modules/refractor/lang/unrealscript.d.ts +7 -0
- package/node_modules/refractor/lang/unrealscript.js +53 -0
- package/node_modules/refractor/lang/uorazor.d.ts +7 -0
- package/node_modules/refractor/lang/uorazor.js +63 -0
- package/node_modules/refractor/lang/uri.d.ts +7 -0
- package/node_modules/refractor/lang/uri.js +105 -0
- package/node_modules/refractor/lang/v.d.ts +7 -0
- package/node_modules/refractor/lang/v.js +95 -0
- package/node_modules/refractor/lang/vala.d.ts +7 -0
- package/node_modules/refractor/lang/vala.js +100 -0
- package/node_modules/refractor/lang/vbnet.d.ts +7 -0
- package/node_modules/refractor/lang/vbnet.js +35 -0
- package/node_modules/refractor/lang/velocity.d.ts +7 -0
- package/node_modules/refractor/lang/velocity.js +83 -0
- package/node_modules/refractor/lang/verilog.d.ts +7 -0
- package/node_modules/refractor/lang/verilog.js +38 -0
- package/node_modules/refractor/lang/vhdl.d.ts +7 -0
- package/node_modules/refractor/lang/vhdl.js +38 -0
- package/node_modules/refractor/lang/vim.d.ts +7 -0
- package/node_modules/refractor/lang/vim.js +23 -0
- package/node_modules/refractor/lang/visual-basic.d.ts +7 -0
- package/node_modules/refractor/lang/visual-basic.js +42 -0
- package/node_modules/refractor/lang/warpscript.d.ts +7 -0
- package/node_modules/refractor/lang/warpscript.js +35 -0
- package/node_modules/refractor/lang/wasm.d.ts +7 -0
- package/node_modules/refractor/lang/wasm.js +43 -0
- package/node_modules/refractor/lang/web-idl.d.ts +7 -0
- package/node_modules/refractor/lang/web-idl.js +120 -0
- package/node_modules/refractor/lang/wgsl.d.ts +7 -0
- package/node_modules/refractor/lang/wgsl.js +112 -0
- package/node_modules/refractor/lang/wiki.d.ts +7 -0
- package/node_modules/refractor/lang/wiki.js +90 -0
- package/node_modules/refractor/lang/wolfram.d.ts +7 -0
- package/node_modules/refractor/lang/wolfram.js +42 -0
- package/node_modules/refractor/lang/wren.d.ts +7 -0
- package/node_modules/refractor/lang/wren.js +105 -0
- package/node_modules/refractor/lang/xeora.d.ts +7 -0
- package/node_modules/refractor/lang/xeora.js +131 -0
- package/node_modules/refractor/lang/xml-doc.d.ts +7 -0
- package/node_modules/refractor/lang/xml-doc.js +47 -0
- package/node_modules/refractor/lang/xojo.d.ts +7 -0
- package/node_modules/refractor/lang/xojo.js +30 -0
- package/node_modules/refractor/lang/xquery.d.ts +7 -0
- package/node_modules/refractor/lang/xquery.js +205 -0
- package/node_modules/refractor/lang/yaml.d.ts +7 -0
- package/node_modules/refractor/lang/yaml.js +129 -0
- package/node_modules/refractor/lang/yang.d.ts +7 -0
- package/node_modules/refractor/lang/yang.js +30 -0
- package/node_modules/refractor/lang/zig.d.ts +7 -0
- package/node_modules/refractor/lang/zig.js +131 -0
- package/node_modules/refractor/lib/all.d.ts +3 -0
- package/node_modules/refractor/lib/all.d.ts.map +1 -0
- package/node_modules/refractor/lib/all.js +602 -0
- package/node_modules/refractor/lib/common.d.ts +3 -0
- package/node_modules/refractor/lib/common.d.ts.map +1 -0
- package/node_modules/refractor/lib/common.js +80 -0
- package/node_modules/refractor/lib/core.d.ts +125 -0
- package/node_modules/refractor/lib/core.d.ts.map +1 -0
- package/node_modules/refractor/lib/core.js +316 -0
- package/node_modules/refractor/lib/prism-core.d.ts +113 -0
- package/node_modules/refractor/lib/prism-core.d.ts.map +1 -0
- package/node_modules/refractor/lib/prism-core.js +768 -0
- package/node_modules/refractor/license +23 -0
- package/node_modules/refractor/package.json +140 -0
- package/node_modules/refractor/readme.md +828 -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/oclif.manifest.json +821 -602
- package/package.json +2 -2
- package/dist/server/infra/http/review-api-handler.d.ts +0 -13
- package/dist/server/infra/http/review-api-handler.js +0 -286
- package/dist/server/infra/http/review-ui.d.ts +0 -7
- package/dist/server/infra/http/review-ui.js +0 -606
- package/dist/webui/assets/index-B9JmEFOK.js +0 -130
- package/dist/webui/assets/index-CMIKsBMr.css +0 -1
- package/dist/webui/assets/qoder-connector-D9_pSbd_.svg +0 -1
|
@@ -0,0 +1,2313 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Diff = {}));
|
|
5
|
+
})(this, (function (exports) { 'use strict';
|
|
6
|
+
|
|
7
|
+
class Diff {
|
|
8
|
+
diff(oldStr, newStr,
|
|
9
|
+
// Type below is not accurate/complete - see above for full possibilities - but it compiles
|
|
10
|
+
options = {}) {
|
|
11
|
+
let callback;
|
|
12
|
+
if (typeof options === 'function') {
|
|
13
|
+
callback = options;
|
|
14
|
+
options = {};
|
|
15
|
+
}
|
|
16
|
+
else if ('callback' in options) {
|
|
17
|
+
callback = options.callback;
|
|
18
|
+
}
|
|
19
|
+
// Allow subclasses to massage the input prior to running
|
|
20
|
+
const oldString = this.castInput(oldStr, options);
|
|
21
|
+
const newString = this.castInput(newStr, options);
|
|
22
|
+
const oldTokens = this.removeEmpty(this.tokenize(oldString, options));
|
|
23
|
+
const newTokens = this.removeEmpty(this.tokenize(newString, options));
|
|
24
|
+
return this.diffWithOptionsObj(oldTokens, newTokens, options, callback);
|
|
25
|
+
}
|
|
26
|
+
diffWithOptionsObj(oldTokens, newTokens, options, callback) {
|
|
27
|
+
var _a;
|
|
28
|
+
const done = (value) => {
|
|
29
|
+
value = this.postProcess(value, options);
|
|
30
|
+
if (callback) {
|
|
31
|
+
setTimeout(function () { callback(value); }, 0);
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const newLen = newTokens.length, oldLen = oldTokens.length;
|
|
39
|
+
let editLength = 1;
|
|
40
|
+
let maxEditLength = newLen + oldLen;
|
|
41
|
+
if (options.maxEditLength != null) {
|
|
42
|
+
maxEditLength = Math.min(maxEditLength, options.maxEditLength);
|
|
43
|
+
}
|
|
44
|
+
const maxExecutionTime = (_a = options.timeout) !== null && _a !== void 0 ? _a : Infinity;
|
|
45
|
+
const abortAfterTimestamp = Date.now() + maxExecutionTime;
|
|
46
|
+
const bestPath = [{ oldPos: -1, lastComponent: undefined }];
|
|
47
|
+
// Seed editLength = 0, i.e. the content starts with the same values
|
|
48
|
+
let newPos = this.extractCommon(bestPath[0], newTokens, oldTokens, 0, options);
|
|
49
|
+
if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
|
|
50
|
+
// Identity per the equality and tokenizer
|
|
51
|
+
return done(this.buildValues(bestPath[0].lastComponent, newTokens, oldTokens));
|
|
52
|
+
}
|
|
53
|
+
// Once we hit the right edge of the edit graph on some diagonal k, we can
|
|
54
|
+
// definitely reach the end of the edit graph in no more than k edits, so
|
|
55
|
+
// there's no point in considering any moves to diagonal k+1 any more (from
|
|
56
|
+
// which we're guaranteed to need at least k+1 more edits).
|
|
57
|
+
// Similarly, once we've reached the bottom of the edit graph, there's no
|
|
58
|
+
// point considering moves to lower diagonals.
|
|
59
|
+
// We record this fact by setting minDiagonalToConsider and
|
|
60
|
+
// maxDiagonalToConsider to some finite value once we've hit the edge of
|
|
61
|
+
// the edit graph.
|
|
62
|
+
// This optimization is not faithful to the original algorithm presented in
|
|
63
|
+
// Myers's paper, which instead pointlessly extends D-paths off the end of
|
|
64
|
+
// the edit graph - see page 7 of Myers's paper which notes this point
|
|
65
|
+
// explicitly and illustrates it with a diagram. This has major performance
|
|
66
|
+
// implications for some common scenarios. For instance, to compute a diff
|
|
67
|
+
// where the new text simply appends d characters on the end of the
|
|
68
|
+
// original text of length n, the true Myers algorithm will take O(n+d^2)
|
|
69
|
+
// time while this optimization needs only O(n+d) time.
|
|
70
|
+
let minDiagonalToConsider = -Infinity, maxDiagonalToConsider = Infinity;
|
|
71
|
+
// Main worker method. checks all permutations of a given edit length for acceptance.
|
|
72
|
+
const execEditLength = () => {
|
|
73
|
+
for (let diagonalPath = Math.max(minDiagonalToConsider, -editLength); diagonalPath <= Math.min(maxDiagonalToConsider, editLength); diagonalPath += 2) {
|
|
74
|
+
let basePath;
|
|
75
|
+
const removePath = bestPath[diagonalPath - 1], addPath = bestPath[diagonalPath + 1];
|
|
76
|
+
if (removePath) {
|
|
77
|
+
// No one else is going to attempt to use this value, clear it
|
|
78
|
+
// @ts-expect-error - perf optimisation. This type-violating value will never be read.
|
|
79
|
+
bestPath[diagonalPath - 1] = undefined;
|
|
80
|
+
}
|
|
81
|
+
let canAdd = false;
|
|
82
|
+
if (addPath) {
|
|
83
|
+
// what newPos will be after we do an insertion:
|
|
84
|
+
const addPathNewPos = addPath.oldPos - diagonalPath;
|
|
85
|
+
canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;
|
|
86
|
+
}
|
|
87
|
+
const canRemove = removePath && removePath.oldPos + 1 < oldLen;
|
|
88
|
+
if (!canAdd && !canRemove) {
|
|
89
|
+
// If this path is a terminal then prune
|
|
90
|
+
// @ts-expect-error - perf optimisation. This type-violating value will never be read.
|
|
91
|
+
bestPath[diagonalPath] = undefined;
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
// Select the diagonal that we want to branch from. We select the prior
|
|
95
|
+
// path whose position in the old string is the farthest from the origin
|
|
96
|
+
// and does not pass the bounds of the diff graph
|
|
97
|
+
if (!canRemove || (canAdd && removePath.oldPos < addPath.oldPos)) {
|
|
98
|
+
basePath = this.addToPath(addPath, true, false, 0, options);
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
basePath = this.addToPath(removePath, false, true, 1, options);
|
|
102
|
+
}
|
|
103
|
+
newPos = this.extractCommon(basePath, newTokens, oldTokens, diagonalPath, options);
|
|
104
|
+
if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
|
|
105
|
+
// If we have hit the end of both strings, then we are done
|
|
106
|
+
return done(this.buildValues(basePath.lastComponent, newTokens, oldTokens)) || true;
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
bestPath[diagonalPath] = basePath;
|
|
110
|
+
if (basePath.oldPos + 1 >= oldLen) {
|
|
111
|
+
maxDiagonalToConsider = Math.min(maxDiagonalToConsider, diagonalPath - 1);
|
|
112
|
+
}
|
|
113
|
+
if (newPos + 1 >= newLen) {
|
|
114
|
+
minDiagonalToConsider = Math.max(minDiagonalToConsider, diagonalPath + 1);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
editLength++;
|
|
119
|
+
};
|
|
120
|
+
// Performs the length of edit iteration. Is a bit fugly as this has to support the
|
|
121
|
+
// sync and async mode which is never fun. Loops over execEditLength until a value
|
|
122
|
+
// is produced, or until the edit length exceeds options.maxEditLength (if given),
|
|
123
|
+
// in which case it will return undefined.
|
|
124
|
+
if (callback) {
|
|
125
|
+
(function exec() {
|
|
126
|
+
setTimeout(function () {
|
|
127
|
+
if (editLength > maxEditLength || Date.now() > abortAfterTimestamp) {
|
|
128
|
+
return callback(undefined);
|
|
129
|
+
}
|
|
130
|
+
if (!execEditLength()) {
|
|
131
|
+
exec();
|
|
132
|
+
}
|
|
133
|
+
}, 0);
|
|
134
|
+
}());
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
while (editLength <= maxEditLength && Date.now() <= abortAfterTimestamp) {
|
|
138
|
+
const ret = execEditLength();
|
|
139
|
+
if (ret) {
|
|
140
|
+
return ret;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
addToPath(path, added, removed, oldPosInc, options) {
|
|
146
|
+
const last = path.lastComponent;
|
|
147
|
+
if (last && !options.oneChangePerToken && last.added === added && last.removed === removed) {
|
|
148
|
+
return {
|
|
149
|
+
oldPos: path.oldPos + oldPosInc,
|
|
150
|
+
lastComponent: { count: last.count + 1, added: added, removed: removed, previousComponent: last.previousComponent }
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
return {
|
|
155
|
+
oldPos: path.oldPos + oldPosInc,
|
|
156
|
+
lastComponent: { count: 1, added: added, removed: removed, previousComponent: last }
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
extractCommon(basePath, newTokens, oldTokens, diagonalPath, options) {
|
|
161
|
+
const newLen = newTokens.length, oldLen = oldTokens.length;
|
|
162
|
+
let oldPos = basePath.oldPos, newPos = oldPos - diagonalPath, commonCount = 0;
|
|
163
|
+
while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(oldTokens[oldPos + 1], newTokens[newPos + 1], options)) {
|
|
164
|
+
newPos++;
|
|
165
|
+
oldPos++;
|
|
166
|
+
commonCount++;
|
|
167
|
+
if (options.oneChangePerToken) {
|
|
168
|
+
basePath.lastComponent = { count: 1, previousComponent: basePath.lastComponent, added: false, removed: false };
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
if (commonCount && !options.oneChangePerToken) {
|
|
172
|
+
basePath.lastComponent = { count: commonCount, previousComponent: basePath.lastComponent, added: false, removed: false };
|
|
173
|
+
}
|
|
174
|
+
basePath.oldPos = oldPos;
|
|
175
|
+
return newPos;
|
|
176
|
+
}
|
|
177
|
+
equals(left, right, options) {
|
|
178
|
+
if (options.comparator) {
|
|
179
|
+
return options.comparator(left, right);
|
|
180
|
+
}
|
|
181
|
+
else {
|
|
182
|
+
return left === right
|
|
183
|
+
|| (!!options.ignoreCase && left.toLowerCase() === right.toLowerCase());
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
removeEmpty(array) {
|
|
187
|
+
const ret = [];
|
|
188
|
+
for (let i = 0; i < array.length; i++) {
|
|
189
|
+
if (array[i]) {
|
|
190
|
+
ret.push(array[i]);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
return ret;
|
|
194
|
+
}
|
|
195
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
196
|
+
castInput(value, options) {
|
|
197
|
+
return value;
|
|
198
|
+
}
|
|
199
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
200
|
+
tokenize(value, options) {
|
|
201
|
+
return Array.from(value);
|
|
202
|
+
}
|
|
203
|
+
join(chars) {
|
|
204
|
+
// Assumes ValueT is string, which is the case for most subclasses.
|
|
205
|
+
// When it's false, e.g. in diffArrays, this method needs to be overridden (e.g. with a no-op)
|
|
206
|
+
// Yes, the casts are verbose and ugly, because this pattern - of having the base class SORT OF
|
|
207
|
+
// assume tokens and values are strings, but not completely - is weird and janky.
|
|
208
|
+
return chars.join('');
|
|
209
|
+
}
|
|
210
|
+
postProcess(changeObjects,
|
|
211
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
212
|
+
options) {
|
|
213
|
+
return changeObjects;
|
|
214
|
+
}
|
|
215
|
+
get useLongestToken() {
|
|
216
|
+
return false;
|
|
217
|
+
}
|
|
218
|
+
buildValues(lastComponent, newTokens, oldTokens) {
|
|
219
|
+
// First we convert our linked list of components in reverse order to an
|
|
220
|
+
// array in the right order:
|
|
221
|
+
const components = [];
|
|
222
|
+
let nextComponent;
|
|
223
|
+
while (lastComponent) {
|
|
224
|
+
components.push(lastComponent);
|
|
225
|
+
nextComponent = lastComponent.previousComponent;
|
|
226
|
+
delete lastComponent.previousComponent;
|
|
227
|
+
lastComponent = nextComponent;
|
|
228
|
+
}
|
|
229
|
+
components.reverse();
|
|
230
|
+
const componentLen = components.length;
|
|
231
|
+
let componentPos = 0, newPos = 0, oldPos = 0;
|
|
232
|
+
for (; componentPos < componentLen; componentPos++) {
|
|
233
|
+
const component = components[componentPos];
|
|
234
|
+
if (!component.removed) {
|
|
235
|
+
if (!component.added && this.useLongestToken) {
|
|
236
|
+
let value = newTokens.slice(newPos, newPos + component.count);
|
|
237
|
+
value = value.map(function (value, i) {
|
|
238
|
+
const oldValue = oldTokens[oldPos + i];
|
|
239
|
+
return oldValue.length > value.length ? oldValue : value;
|
|
240
|
+
});
|
|
241
|
+
component.value = this.join(value);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
component.value = this.join(newTokens.slice(newPos, newPos + component.count));
|
|
245
|
+
}
|
|
246
|
+
newPos += component.count;
|
|
247
|
+
// Common case
|
|
248
|
+
if (!component.added) {
|
|
249
|
+
oldPos += component.count;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
component.value = this.join(oldTokens.slice(oldPos, oldPos + component.count));
|
|
254
|
+
oldPos += component.count;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
return components;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
class CharacterDiff extends Diff {
|
|
262
|
+
}
|
|
263
|
+
const characterDiff = new CharacterDiff();
|
|
264
|
+
function diffChars(oldStr, newStr, options) {
|
|
265
|
+
return characterDiff.diff(oldStr, newStr, options);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
function longestCommonPrefix(str1, str2) {
|
|
269
|
+
let i;
|
|
270
|
+
for (i = 0; i < str1.length && i < str2.length; i++) {
|
|
271
|
+
if (str1[i] != str2[i]) {
|
|
272
|
+
return str1.slice(0, i);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
return str1.slice(0, i);
|
|
276
|
+
}
|
|
277
|
+
function longestCommonSuffix(str1, str2) {
|
|
278
|
+
let i;
|
|
279
|
+
// Unlike longestCommonPrefix, we need a special case to handle all scenarios
|
|
280
|
+
// where we return the empty string since str1.slice(-0) will return the
|
|
281
|
+
// entire string.
|
|
282
|
+
if (!str1 || !str2 || str1[str1.length - 1] != str2[str2.length - 1]) {
|
|
283
|
+
return '';
|
|
284
|
+
}
|
|
285
|
+
for (i = 0; i < str1.length && i < str2.length; i++) {
|
|
286
|
+
if (str1[str1.length - (i + 1)] != str2[str2.length - (i + 1)]) {
|
|
287
|
+
return str1.slice(-i);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
return str1.slice(-i);
|
|
291
|
+
}
|
|
292
|
+
function replacePrefix(string, oldPrefix, newPrefix) {
|
|
293
|
+
if (string.slice(0, oldPrefix.length) != oldPrefix) {
|
|
294
|
+
throw Error(`string ${JSON.stringify(string)} doesn't start with prefix ${JSON.stringify(oldPrefix)}; this is a bug`);
|
|
295
|
+
}
|
|
296
|
+
return newPrefix + string.slice(oldPrefix.length);
|
|
297
|
+
}
|
|
298
|
+
function replaceSuffix(string, oldSuffix, newSuffix) {
|
|
299
|
+
if (!oldSuffix) {
|
|
300
|
+
return string + newSuffix;
|
|
301
|
+
}
|
|
302
|
+
if (string.slice(-oldSuffix.length) != oldSuffix) {
|
|
303
|
+
throw Error(`string ${JSON.stringify(string)} doesn't end with suffix ${JSON.stringify(oldSuffix)}; this is a bug`);
|
|
304
|
+
}
|
|
305
|
+
return string.slice(0, -oldSuffix.length) + newSuffix;
|
|
306
|
+
}
|
|
307
|
+
function removePrefix(string, oldPrefix) {
|
|
308
|
+
return replacePrefix(string, oldPrefix, '');
|
|
309
|
+
}
|
|
310
|
+
function removeSuffix(string, oldSuffix) {
|
|
311
|
+
return replaceSuffix(string, oldSuffix, '');
|
|
312
|
+
}
|
|
313
|
+
function maximumOverlap(string1, string2) {
|
|
314
|
+
return string2.slice(0, overlapCount(string1, string2));
|
|
315
|
+
}
|
|
316
|
+
// Nicked from https://stackoverflow.com/a/60422853/1709587
|
|
317
|
+
function overlapCount(a, b) {
|
|
318
|
+
// Deal with cases where the strings differ in length
|
|
319
|
+
let startA = 0;
|
|
320
|
+
if (a.length > b.length) {
|
|
321
|
+
startA = a.length - b.length;
|
|
322
|
+
}
|
|
323
|
+
let endB = b.length;
|
|
324
|
+
if (a.length < b.length) {
|
|
325
|
+
endB = a.length;
|
|
326
|
+
}
|
|
327
|
+
// Create a back-reference for each index
|
|
328
|
+
// that should be followed in case of a mismatch.
|
|
329
|
+
// We only need B to make these references:
|
|
330
|
+
const map = Array(endB);
|
|
331
|
+
let k = 0; // Index that lags behind j
|
|
332
|
+
map[0] = 0;
|
|
333
|
+
for (let j = 1; j < endB; j++) {
|
|
334
|
+
if (b[j] == b[k]) {
|
|
335
|
+
map[j] = map[k]; // skip over the same character (optional optimisation)
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
map[j] = k;
|
|
339
|
+
}
|
|
340
|
+
while (k > 0 && b[j] != b[k]) {
|
|
341
|
+
k = map[k];
|
|
342
|
+
}
|
|
343
|
+
if (b[j] == b[k]) {
|
|
344
|
+
k++;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
// Phase 2: use these references while iterating over A
|
|
348
|
+
k = 0;
|
|
349
|
+
for (let i = startA; i < a.length; i++) {
|
|
350
|
+
while (k > 0 && a[i] != b[k]) {
|
|
351
|
+
k = map[k];
|
|
352
|
+
}
|
|
353
|
+
if (a[i] == b[k]) {
|
|
354
|
+
k++;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
return k;
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Returns true if the string consistently uses Windows line endings.
|
|
361
|
+
*/
|
|
362
|
+
function hasOnlyWinLineEndings(string) {
|
|
363
|
+
return string.includes('\r\n') && !string.startsWith('\n') && !string.match(/[^\r]\n/);
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* Returns true if the string consistently uses Unix line endings.
|
|
367
|
+
*/
|
|
368
|
+
function hasOnlyUnixLineEndings(string) {
|
|
369
|
+
return !string.includes('\r\n') && string.includes('\n');
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Split a string into segments using a word segmenter, merging consecutive
|
|
373
|
+
* segments if they are both whitespace segments. Whitespace segments can
|
|
374
|
+
* appear adjacent to one another for two reasons:
|
|
375
|
+
* - newlines always get their own segment
|
|
376
|
+
* - where a diacritic is attached to a whitespace character in the text, the
|
|
377
|
+
* segment ends after the diacritic, so e.g. " \u0300 " becomes two segments.
|
|
378
|
+
* This function therefore runs the segmenter's .segment() method and then
|
|
379
|
+
* merges consecutive segments of whitespace into a single part.
|
|
380
|
+
*/
|
|
381
|
+
function segment(string, segmenter) {
|
|
382
|
+
const parts = [];
|
|
383
|
+
for (const segmentObj of Array.from(segmenter.segment(string))) {
|
|
384
|
+
const segment = segmentObj.segment;
|
|
385
|
+
if (parts.length && (/\s/).test(parts[parts.length - 1]) && (/\s/).test(segment)) {
|
|
386
|
+
parts[parts.length - 1] += segment;
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
parts.push(segment);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
return parts;
|
|
393
|
+
}
|
|
394
|
+
// The functions below take a `segmenter` argument so that, when called from
|
|
395
|
+
// diffWords when it is using a segmenter, they can use a notion of what
|
|
396
|
+
// constitutes "whitespace" that is consistent with the segmenter.
|
|
397
|
+
//
|
|
398
|
+
// USUALLY this will be identical to the result of the non-segmenter-based
|
|
399
|
+
// logic, but it differs in at least one case: when whitespace characters are
|
|
400
|
+
// modified by diacritics. A word segmenter considers these diacritics to be
|
|
401
|
+
// part of the whitespace, whereas our non-segmenter-based logic does not.
|
|
402
|
+
//
|
|
403
|
+
// Because the segmenter-based approach necessarily requires segmenting the
|
|
404
|
+
// entire string, we offer a leadingAndTrailingWs function to allow getting the
|
|
405
|
+
// whitespace prefix AND whitespace suffix with a single call to the segmenter,
|
|
406
|
+
// for efficiency's sake.
|
|
407
|
+
function trailingWs(string, segmenter) {
|
|
408
|
+
if (segmenter) {
|
|
409
|
+
return leadingAndTrailingWs(string, segmenter)[1];
|
|
410
|
+
}
|
|
411
|
+
// Yes, this looks overcomplicated and dumb - why not replace the whole function with
|
|
412
|
+
// return string.match(/\s*$/)[0]
|
|
413
|
+
// you ask? Because:
|
|
414
|
+
// 1. the trap described at https://markamery.com/blog/quadratic-time-regexes/ would mean doing
|
|
415
|
+
// this would cause this function to take O(n²) time in the worst case (specifically when
|
|
416
|
+
// there is a massive run of NON-TRAILING whitespace in `string`), and
|
|
417
|
+
// 2. the fix proposed in the same blog post, of using a negative lookbehind, is incompatible
|
|
418
|
+
// with old Safari versions that we'd like to not break if possible (see
|
|
419
|
+
// https://github.com/kpdecker/jsdiff/pull/550)
|
|
420
|
+
// It feels absurd to do this with an explicit loop instead of a regex, but I really can't see a
|
|
421
|
+
// better way that doesn't result in broken behaviour.
|
|
422
|
+
let i;
|
|
423
|
+
for (i = string.length - 1; i >= 0; i--) {
|
|
424
|
+
if (!string[i].match(/\s/)) {
|
|
425
|
+
break;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
return string.substring(i + 1);
|
|
429
|
+
}
|
|
430
|
+
function leadingWs(string, segmenter) {
|
|
431
|
+
if (segmenter) {
|
|
432
|
+
return leadingAndTrailingWs(string, segmenter)[0];
|
|
433
|
+
}
|
|
434
|
+
// Thankfully the annoying considerations described in trailingWs don't apply here:
|
|
435
|
+
const match = string.match(/^\s*/);
|
|
436
|
+
return match ? match[0] : '';
|
|
437
|
+
}
|
|
438
|
+
function leadingAndTrailingWs(string, segmenter) {
|
|
439
|
+
if (!segmenter) {
|
|
440
|
+
return [leadingWs(string), trailingWs(string)];
|
|
441
|
+
}
|
|
442
|
+
if (segmenter.resolvedOptions().granularity != 'word') {
|
|
443
|
+
throw new Error('The segmenter passed must have a granularity of "word"');
|
|
444
|
+
}
|
|
445
|
+
const segments = segment(string, segmenter);
|
|
446
|
+
const firstSeg = segments[0];
|
|
447
|
+
const lastSeg = segments[segments.length - 1];
|
|
448
|
+
const head = (/\s/).test(firstSeg) ? firstSeg : '';
|
|
449
|
+
const tail = (/\s/).test(lastSeg) ? lastSeg : '';
|
|
450
|
+
return [head, tail];
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
// Based on https://en.wikipedia.org/wiki/Latin_script_in_Unicode
|
|
454
|
+
//
|
|
455
|
+
// Chars/ranges counted as "word" characters by this regex are as follows:
|
|
456
|
+
//
|
|
457
|
+
// + U+00AD Soft hyphen
|
|
458
|
+
// + 00C0–00FF (letters with diacritics from the Latin-1 Supplement), except:
|
|
459
|
+
// - U+00D7 × Multiplication sign
|
|
460
|
+
// - U+00F7 ÷ Division sign
|
|
461
|
+
// + Latin Extended-A, 0100–017F
|
|
462
|
+
// + Latin Extended-B, 0180–024F
|
|
463
|
+
// + IPA Extensions, 0250–02AF
|
|
464
|
+
// + Spacing Modifier Letters, 02B0–02FF, except:
|
|
465
|
+
// - U+02C7 ˇ ˇ Caron
|
|
466
|
+
// - U+02D8 ˘ ˘ Breve
|
|
467
|
+
// - U+02D9 ˙ ˙ Dot Above
|
|
468
|
+
// - U+02DA ˚ ˚ Ring Above
|
|
469
|
+
// - U+02DB ˛ ˛ Ogonek
|
|
470
|
+
// - U+02DC ˜ ˜ Small Tilde
|
|
471
|
+
// - U+02DD ˝ ˝ Double Acute Accent
|
|
472
|
+
// + Latin Extended Additional, 1E00–1EFF
|
|
473
|
+
const extendedWordChars = 'a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}';
|
|
474
|
+
// Each token is one of the following:
|
|
475
|
+
// - A punctuation mark plus the surrounding whitespace
|
|
476
|
+
// - A word plus the surrounding whitespace
|
|
477
|
+
// - Pure whitespace (but only in the special case where the entire text
|
|
478
|
+
// is just whitespace)
|
|
479
|
+
//
|
|
480
|
+
// We have to include surrounding whitespace in the tokens because the two
|
|
481
|
+
// alternative approaches produce horribly broken results:
|
|
482
|
+
// * If we just discard the whitespace, we can't fully reproduce the original
|
|
483
|
+
// text from the sequence of tokens and any attempt to render the diff will
|
|
484
|
+
// get the whitespace wrong.
|
|
485
|
+
// * If we have separate tokens for whitespace, then in a typical text every
|
|
486
|
+
// second token will be a single space character. But this often results in
|
|
487
|
+
// the optimal diff between two texts being a perverse one that preserves
|
|
488
|
+
// the spaces between words but deletes and reinserts actual common words.
|
|
489
|
+
// See https://github.com/kpdecker/jsdiff/issues/160#issuecomment-1866099640
|
|
490
|
+
// for an example.
|
|
491
|
+
//
|
|
492
|
+
// Keeping the surrounding whitespace of course has implications for .equals
|
|
493
|
+
// and .join, not just .tokenize.
|
|
494
|
+
// This regex does NOT fully implement the tokenization rules described above.
|
|
495
|
+
// Instead, it gives runs of whitespace their own "token". The tokenize method
|
|
496
|
+
// then handles stitching whitespace tokens onto adjacent word or punctuation
|
|
497
|
+
// tokens.
|
|
498
|
+
const tokenizeIncludingWhitespace = new RegExp(`[${extendedWordChars}]+|\\s+|[^${extendedWordChars}]`, 'ug');
|
|
499
|
+
class WordDiff extends Diff {
|
|
500
|
+
equals(left, right, options) {
|
|
501
|
+
if (options.ignoreCase) {
|
|
502
|
+
left = left.toLowerCase();
|
|
503
|
+
right = right.toLowerCase();
|
|
504
|
+
}
|
|
505
|
+
return left.trim() === right.trim();
|
|
506
|
+
}
|
|
507
|
+
tokenize(value, options = {}) {
|
|
508
|
+
let parts;
|
|
509
|
+
if (options.intlSegmenter) {
|
|
510
|
+
const segmenter = options.intlSegmenter;
|
|
511
|
+
if (segmenter.resolvedOptions().granularity != 'word') {
|
|
512
|
+
throw new Error('The segmenter passed must have a granularity of "word"');
|
|
513
|
+
}
|
|
514
|
+
// We want `parts` to be an array whose elements alternate between being
|
|
515
|
+
// pure whitespace and being pure non-whitespace. This is ALMOST what the
|
|
516
|
+
// segments returned by a word-based Intl.Segmenter already look like,
|
|
517
|
+
// but not quite - see explanation in the docs of our custom segment()
|
|
518
|
+
// function.
|
|
519
|
+
parts = segment(value, segmenter);
|
|
520
|
+
}
|
|
521
|
+
else {
|
|
522
|
+
parts = value.match(tokenizeIncludingWhitespace) || [];
|
|
523
|
+
}
|
|
524
|
+
const tokens = [];
|
|
525
|
+
let prevPart = null;
|
|
526
|
+
parts.forEach(part => {
|
|
527
|
+
if ((/\s/).test(part)) {
|
|
528
|
+
if (prevPart == null) {
|
|
529
|
+
tokens.push(part);
|
|
530
|
+
}
|
|
531
|
+
else {
|
|
532
|
+
tokens.push(tokens.pop() + part);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
else if (prevPart != null && (/\s/).test(prevPart)) {
|
|
536
|
+
if (tokens[tokens.length - 1] == prevPart) {
|
|
537
|
+
tokens.push(tokens.pop() + part);
|
|
538
|
+
}
|
|
539
|
+
else {
|
|
540
|
+
tokens.push(prevPart + part);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
else {
|
|
544
|
+
tokens.push(part);
|
|
545
|
+
}
|
|
546
|
+
prevPart = part;
|
|
547
|
+
});
|
|
548
|
+
return tokens;
|
|
549
|
+
}
|
|
550
|
+
join(tokens) {
|
|
551
|
+
// Tokens being joined here will always have appeared consecutively in the
|
|
552
|
+
// same text, so we can simply strip off the leading whitespace from all the
|
|
553
|
+
// tokens except the first (and except any whitespace-only tokens - but such
|
|
554
|
+
// a token will always be the first and only token anyway) and then join them
|
|
555
|
+
// and the whitespace around words and punctuation will end up correct.
|
|
556
|
+
return tokens.map((token, i) => {
|
|
557
|
+
if (i == 0) {
|
|
558
|
+
return token;
|
|
559
|
+
}
|
|
560
|
+
else {
|
|
561
|
+
return token.replace((/^\s+/), '');
|
|
562
|
+
}
|
|
563
|
+
}).join('');
|
|
564
|
+
}
|
|
565
|
+
postProcess(changes, options) {
|
|
566
|
+
if (!changes || options.oneChangePerToken) {
|
|
567
|
+
return changes;
|
|
568
|
+
}
|
|
569
|
+
let lastKeep = null;
|
|
570
|
+
// Change objects representing any insertion or deletion since the last
|
|
571
|
+
// "keep" change object. There can be at most one of each.
|
|
572
|
+
let insertion = null;
|
|
573
|
+
let deletion = null;
|
|
574
|
+
changes.forEach(change => {
|
|
575
|
+
if (change.added) {
|
|
576
|
+
insertion = change;
|
|
577
|
+
}
|
|
578
|
+
else if (change.removed) {
|
|
579
|
+
deletion = change;
|
|
580
|
+
}
|
|
581
|
+
else {
|
|
582
|
+
if (insertion || deletion) { // May be false at start of text
|
|
583
|
+
dedupeWhitespaceInChangeObjects(lastKeep, deletion, insertion, change, options.intlSegmenter);
|
|
584
|
+
}
|
|
585
|
+
lastKeep = change;
|
|
586
|
+
insertion = null;
|
|
587
|
+
deletion = null;
|
|
588
|
+
}
|
|
589
|
+
});
|
|
590
|
+
if (insertion || deletion) {
|
|
591
|
+
dedupeWhitespaceInChangeObjects(lastKeep, deletion, insertion, null, options.intlSegmenter);
|
|
592
|
+
}
|
|
593
|
+
return changes;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
const wordDiff = new WordDiff();
|
|
597
|
+
function diffWords(oldStr, newStr, options) {
|
|
598
|
+
// This option has never been documented and never will be (it's clearer to
|
|
599
|
+
// just call `diffWordsWithSpace` directly if you need that behavior), but
|
|
600
|
+
// has existed in jsdiff for a long time, so we retain support for it here
|
|
601
|
+
// for the sake of backwards compatibility.
|
|
602
|
+
if ((options === null || options === void 0 ? void 0 : options.ignoreWhitespace) != null && !options.ignoreWhitespace) {
|
|
603
|
+
return diffWordsWithSpace(oldStr, newStr, options);
|
|
604
|
+
}
|
|
605
|
+
return wordDiff.diff(oldStr, newStr, options);
|
|
606
|
+
}
|
|
607
|
+
function dedupeWhitespaceInChangeObjects(startKeep, deletion, insertion, endKeep, segmenter) {
|
|
608
|
+
// Before returning, we tidy up the leading and trailing whitespace of the
|
|
609
|
+
// change objects to eliminate cases where trailing whitespace in one object
|
|
610
|
+
// is repeated as leading whitespace in the next.
|
|
611
|
+
// Below are examples of the outcomes we want here to explain the code.
|
|
612
|
+
// I=insert, K=keep, D=delete
|
|
613
|
+
// 1. diffing 'foo bar baz' vs 'foo baz'
|
|
614
|
+
// Prior to cleanup, we have K:'foo ' D:' bar ' K:' baz'
|
|
615
|
+
// After cleanup, we want: K:'foo ' D:'bar ' K:'baz'
|
|
616
|
+
//
|
|
617
|
+
// 2. Diffing 'foo bar baz' vs 'foo qux baz'
|
|
618
|
+
// Prior to cleanup, we have K:'foo ' D:' bar ' I:' qux ' K:' baz'
|
|
619
|
+
// After cleanup, we want K:'foo ' D:'bar' I:'qux' K:' baz'
|
|
620
|
+
//
|
|
621
|
+
// 3. Diffing 'foo\nbar baz' vs 'foo baz'
|
|
622
|
+
// Prior to cleanup, we have K:'foo ' D:'\nbar ' K:' baz'
|
|
623
|
+
// After cleanup, we want K'foo' D:'\nbar' K:' baz'
|
|
624
|
+
//
|
|
625
|
+
// 4. Diffing 'foo baz' vs 'foo\nbar baz'
|
|
626
|
+
// Prior to cleanup, we have K:'foo\n' I:'\nbar ' K:' baz'
|
|
627
|
+
// After cleanup, we ideally want K'foo' I:'\nbar' K:' baz'
|
|
628
|
+
// but don't actually manage this currently (the pre-cleanup change
|
|
629
|
+
// objects don't contain enough information to make it possible).
|
|
630
|
+
//
|
|
631
|
+
// 5. Diffing 'foo bar baz' vs 'foo baz'
|
|
632
|
+
// Prior to cleanup, we have K:'foo ' D:' bar ' K:' baz'
|
|
633
|
+
// After cleanup, we want K:'foo ' D:' bar ' K:'baz'
|
|
634
|
+
//
|
|
635
|
+
// Our handling is unavoidably imperfect in the case where there's a single
|
|
636
|
+
// indel between keeps and the whitespace has changed. For instance, consider
|
|
637
|
+
// diffing 'foo\tbar\nbaz' vs 'foo baz'. Unless we create an extra change
|
|
638
|
+
// object to represent the insertion of the space character (which isn't even
|
|
639
|
+
// a token), we have no way to avoid losing information about the texts'
|
|
640
|
+
// original whitespace in the result we return. Still, we do our best to
|
|
641
|
+
// output something that will look sensible if we e.g. print it with
|
|
642
|
+
// insertions in green and deletions in red.
|
|
643
|
+
// Between two "keep" change objects (or before the first or after the last
|
|
644
|
+
// change object), we can have either:
|
|
645
|
+
// * A "delete" followed by an "insert"
|
|
646
|
+
// * Just an "insert"
|
|
647
|
+
// * Just a "delete"
|
|
648
|
+
// We handle the three cases separately.
|
|
649
|
+
if (deletion && insertion) {
|
|
650
|
+
const [oldWsPrefix, oldWsSuffix] = leadingAndTrailingWs(deletion.value, segmenter);
|
|
651
|
+
const [newWsPrefix, newWsSuffix] = leadingAndTrailingWs(insertion.value, segmenter);
|
|
652
|
+
if (startKeep) {
|
|
653
|
+
const commonWsPrefix = longestCommonPrefix(oldWsPrefix, newWsPrefix);
|
|
654
|
+
startKeep.value = replaceSuffix(startKeep.value, newWsPrefix, commonWsPrefix);
|
|
655
|
+
deletion.value = removePrefix(deletion.value, commonWsPrefix);
|
|
656
|
+
insertion.value = removePrefix(insertion.value, commonWsPrefix);
|
|
657
|
+
}
|
|
658
|
+
if (endKeep) {
|
|
659
|
+
const commonWsSuffix = longestCommonSuffix(oldWsSuffix, newWsSuffix);
|
|
660
|
+
endKeep.value = replacePrefix(endKeep.value, newWsSuffix, commonWsSuffix);
|
|
661
|
+
deletion.value = removeSuffix(deletion.value, commonWsSuffix);
|
|
662
|
+
insertion.value = removeSuffix(insertion.value, commonWsSuffix);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
else if (insertion) {
|
|
666
|
+
// The whitespaces all reflect what was in the new text rather than
|
|
667
|
+
// the old, so we essentially have no information about whitespace
|
|
668
|
+
// insertion or deletion. We just want to dedupe the whitespace.
|
|
669
|
+
// We do that by having each change object keep its trailing
|
|
670
|
+
// whitespace and deleting duplicate leading whitespace where
|
|
671
|
+
// present.
|
|
672
|
+
if (startKeep) {
|
|
673
|
+
const ws = leadingWs(insertion.value, segmenter);
|
|
674
|
+
insertion.value = insertion.value.substring(ws.length);
|
|
675
|
+
}
|
|
676
|
+
if (endKeep) {
|
|
677
|
+
const ws = leadingWs(endKeep.value, segmenter);
|
|
678
|
+
endKeep.value = endKeep.value.substring(ws.length);
|
|
679
|
+
}
|
|
680
|
+
// otherwise we've got a deletion and no insertion
|
|
681
|
+
}
|
|
682
|
+
else if (startKeep && endKeep) {
|
|
683
|
+
const newWsFull = leadingWs(endKeep.value, segmenter), [delWsStart, delWsEnd] = leadingAndTrailingWs(deletion.value, segmenter);
|
|
684
|
+
// Any whitespace that comes straight after startKeep in both the old and
|
|
685
|
+
// new texts, assign to startKeep and remove from the deletion.
|
|
686
|
+
const newWsStart = longestCommonPrefix(newWsFull, delWsStart);
|
|
687
|
+
deletion.value = removePrefix(deletion.value, newWsStart);
|
|
688
|
+
// Any whitespace that comes straight before endKeep in both the old and
|
|
689
|
+
// new texts, and hasn't already been assigned to startKeep, assign to
|
|
690
|
+
// endKeep and remove from the deletion.
|
|
691
|
+
const newWsEnd = longestCommonSuffix(removePrefix(newWsFull, newWsStart), delWsEnd);
|
|
692
|
+
deletion.value = removeSuffix(deletion.value, newWsEnd);
|
|
693
|
+
endKeep.value = replacePrefix(endKeep.value, newWsFull, newWsEnd);
|
|
694
|
+
// If there's any whitespace from the new text that HASN'T already been
|
|
695
|
+
// assigned, assign it to the start:
|
|
696
|
+
startKeep.value = replaceSuffix(startKeep.value, newWsFull, newWsFull.slice(0, newWsFull.length - newWsEnd.length));
|
|
697
|
+
}
|
|
698
|
+
else if (endKeep) {
|
|
699
|
+
// We are at the start of the text. Preserve all the whitespace on
|
|
700
|
+
// endKeep, and just remove whitespace from the end of deletion to the
|
|
701
|
+
// extent that it overlaps with the start of endKeep.
|
|
702
|
+
const endKeepWsPrefix = leadingWs(endKeep.value, segmenter);
|
|
703
|
+
const deletionWsSuffix = trailingWs(deletion.value, segmenter);
|
|
704
|
+
const overlap = maximumOverlap(deletionWsSuffix, endKeepWsPrefix);
|
|
705
|
+
deletion.value = removeSuffix(deletion.value, overlap);
|
|
706
|
+
}
|
|
707
|
+
else if (startKeep) {
|
|
708
|
+
// We are at the END of the text. Preserve all the whitespace on
|
|
709
|
+
// startKeep, and just remove whitespace from the start of deletion to
|
|
710
|
+
// the extent that it overlaps with the end of startKeep.
|
|
711
|
+
const startKeepWsSuffix = trailingWs(startKeep.value, segmenter);
|
|
712
|
+
const deletionWsPrefix = leadingWs(deletion.value, segmenter);
|
|
713
|
+
const overlap = maximumOverlap(startKeepWsSuffix, deletionWsPrefix);
|
|
714
|
+
deletion.value = removePrefix(deletion.value, overlap);
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
class WordsWithSpaceDiff extends Diff {
|
|
718
|
+
tokenize(value) {
|
|
719
|
+
// Slightly different to the tokenizeIncludingWhitespace regex used above in
|
|
720
|
+
// that this one treats each individual newline as a distinct token, rather
|
|
721
|
+
// than merging them into other surrounding whitespace. This was requested
|
|
722
|
+
// in https://github.com/kpdecker/jsdiff/issues/180 &
|
|
723
|
+
// https://github.com/kpdecker/jsdiff/issues/211
|
|
724
|
+
const regex = new RegExp(`(\\r?\\n)|[${extendedWordChars}]+|[^\\S\\n\\r]+|[^${extendedWordChars}]`, 'ug');
|
|
725
|
+
return value.match(regex) || [];
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
const wordsWithSpaceDiff = new WordsWithSpaceDiff();
|
|
729
|
+
function diffWordsWithSpace(oldStr, newStr, options) {
|
|
730
|
+
return wordsWithSpaceDiff.diff(oldStr, newStr, options);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
function generateOptions(options, defaults) {
|
|
734
|
+
if (typeof options === 'function') {
|
|
735
|
+
defaults.callback = options;
|
|
736
|
+
}
|
|
737
|
+
else if (options) {
|
|
738
|
+
for (const name in options) {
|
|
739
|
+
/* istanbul ignore else */
|
|
740
|
+
if (Object.prototype.hasOwnProperty.call(options, name)) {
|
|
741
|
+
defaults[name] = options[name];
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
return defaults;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
class LineDiff extends Diff {
|
|
749
|
+
constructor() {
|
|
750
|
+
super(...arguments);
|
|
751
|
+
this.tokenize = tokenize;
|
|
752
|
+
}
|
|
753
|
+
equals(left, right, options) {
|
|
754
|
+
// If we're ignoring whitespace, we need to normalise lines by stripping
|
|
755
|
+
// whitespace before checking equality. (This has an annoying interaction
|
|
756
|
+
// with newlineIsToken that requires special handling: if newlines get their
|
|
757
|
+
// own token, then we DON'T want to trim the *newline* tokens down to empty
|
|
758
|
+
// strings, since this would cause us to treat whitespace-only line content
|
|
759
|
+
// as equal to a separator between lines, which would be weird and
|
|
760
|
+
// inconsistent with the documented behavior of the options.)
|
|
761
|
+
if (options.ignoreWhitespace) {
|
|
762
|
+
if (!options.newlineIsToken || !left.includes('\n')) {
|
|
763
|
+
left = left.trim();
|
|
764
|
+
}
|
|
765
|
+
if (!options.newlineIsToken || !right.includes('\n')) {
|
|
766
|
+
right = right.trim();
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
else if (options.ignoreNewlineAtEof && !options.newlineIsToken) {
|
|
770
|
+
if (left.endsWith('\n')) {
|
|
771
|
+
left = left.slice(0, -1);
|
|
772
|
+
}
|
|
773
|
+
if (right.endsWith('\n')) {
|
|
774
|
+
right = right.slice(0, -1);
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
return super.equals(left, right, options);
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
const lineDiff = new LineDiff();
|
|
781
|
+
function diffLines(oldStr, newStr, options) {
|
|
782
|
+
return lineDiff.diff(oldStr, newStr, options);
|
|
783
|
+
}
|
|
784
|
+
function diffTrimmedLines(oldStr, newStr, options) {
|
|
785
|
+
options = generateOptions(options, { ignoreWhitespace: true });
|
|
786
|
+
return lineDiff.diff(oldStr, newStr, options);
|
|
787
|
+
}
|
|
788
|
+
// Exported standalone so it can be used from jsonDiff too.
|
|
789
|
+
function tokenize(value, options) {
|
|
790
|
+
if (options.stripTrailingCr) {
|
|
791
|
+
// remove one \r before \n to match GNU diff's --strip-trailing-cr behavior
|
|
792
|
+
value = value.replace(/\r\n/g, '\n');
|
|
793
|
+
}
|
|
794
|
+
const retLines = [], linesAndNewlines = value.split(/(\n|\r\n)/);
|
|
795
|
+
// Ignore the final empty token that occurs if the string ends with a new line
|
|
796
|
+
if (!linesAndNewlines[linesAndNewlines.length - 1]) {
|
|
797
|
+
linesAndNewlines.pop();
|
|
798
|
+
}
|
|
799
|
+
// Merge the content and line separators into single tokens
|
|
800
|
+
for (let i = 0; i < linesAndNewlines.length; i++) {
|
|
801
|
+
const line = linesAndNewlines[i];
|
|
802
|
+
if (i % 2 && !options.newlineIsToken) {
|
|
803
|
+
retLines[retLines.length - 1] += line;
|
|
804
|
+
}
|
|
805
|
+
else {
|
|
806
|
+
retLines.push(line);
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
return retLines;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
function isSentenceEndPunct(char) {
|
|
813
|
+
return char == '.' || char == '!' || char == '?';
|
|
814
|
+
}
|
|
815
|
+
class SentenceDiff extends Diff {
|
|
816
|
+
tokenize(value) {
|
|
817
|
+
var _a;
|
|
818
|
+
// If in future we drop support for environments that don't support lookbehinds, we can replace
|
|
819
|
+
// this entire function with:
|
|
820
|
+
// return value.split(/(?<=[.!?])(\s+|$)/);
|
|
821
|
+
// but until then, for similar reasons to the trailingWs function in string.ts, we are forced
|
|
822
|
+
// to do this verbosely "by hand" instead of using a regex.
|
|
823
|
+
const result = [];
|
|
824
|
+
let tokenStartI = 0;
|
|
825
|
+
for (let i = 0; i < value.length; i++) {
|
|
826
|
+
if (i == value.length - 1) {
|
|
827
|
+
result.push(value.slice(tokenStartI));
|
|
828
|
+
break;
|
|
829
|
+
}
|
|
830
|
+
if (isSentenceEndPunct(value[i]) && value[i + 1].match(/\s/)) {
|
|
831
|
+
// We've hit a sentence break - i.e. a punctuation mark followed by whitespace.
|
|
832
|
+
// We now want to push TWO tokens to the result:
|
|
833
|
+
// 1. the sentence
|
|
834
|
+
result.push(value.slice(tokenStartI, i + 1));
|
|
835
|
+
// 2. the whitespace
|
|
836
|
+
i = tokenStartI = i + 1;
|
|
837
|
+
while ((_a = value[i + 1]) === null || _a === void 0 ? void 0 : _a.match(/\s/)) {
|
|
838
|
+
i++;
|
|
839
|
+
}
|
|
840
|
+
result.push(value.slice(tokenStartI, i + 1));
|
|
841
|
+
// Then the next token (a sentence) starts on the character after the whitespace.
|
|
842
|
+
// (It's okay if this is off the end of the string - then the outer loop will terminate
|
|
843
|
+
// here anyway.)
|
|
844
|
+
tokenStartI = i + 1;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
return result;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
const sentenceDiff = new SentenceDiff();
|
|
851
|
+
function diffSentences(oldStr, newStr, options) {
|
|
852
|
+
return sentenceDiff.diff(oldStr, newStr, options);
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
class CssDiff extends Diff {
|
|
856
|
+
tokenize(value) {
|
|
857
|
+
return value.split(/([{}:;,]|\s+)/);
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
const cssDiff = new CssDiff();
|
|
861
|
+
function diffCss(oldStr, newStr, options) {
|
|
862
|
+
return cssDiff.diff(oldStr, newStr, options);
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
class JsonDiff extends Diff {
|
|
866
|
+
constructor() {
|
|
867
|
+
super(...arguments);
|
|
868
|
+
this.tokenize = tokenize;
|
|
869
|
+
}
|
|
870
|
+
get useLongestToken() {
|
|
871
|
+
// Discriminate between two lines of pretty-printed, serialized JSON where one of them has a
|
|
872
|
+
// dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:
|
|
873
|
+
return true;
|
|
874
|
+
}
|
|
875
|
+
castInput(value, options) {
|
|
876
|
+
const { undefinedReplacement, stringifyReplacer = (k, v) => typeof v === 'undefined' ? undefinedReplacement : v } = options;
|
|
877
|
+
return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), null, ' ');
|
|
878
|
+
}
|
|
879
|
+
equals(left, right, options) {
|
|
880
|
+
return super.equals(left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1'), options);
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
const jsonDiff = new JsonDiff();
|
|
884
|
+
function diffJson(oldStr, newStr, options) {
|
|
885
|
+
return jsonDiff.diff(oldStr, newStr, options);
|
|
886
|
+
}
|
|
887
|
+
// This function handles the presence of circular references by bailing out when encountering an
|
|
888
|
+
// object that is already on the "stack" of items being processed. Accepts an optional replacer
|
|
889
|
+
function canonicalize(obj, stack, replacementStack, replacer, key) {
|
|
890
|
+
stack = stack || [];
|
|
891
|
+
replacementStack = replacementStack || [];
|
|
892
|
+
if (replacer) {
|
|
893
|
+
obj = replacer(key === undefined ? '' : key, obj);
|
|
894
|
+
}
|
|
895
|
+
let i;
|
|
896
|
+
for (i = 0; i < stack.length; i += 1) {
|
|
897
|
+
if (stack[i] === obj) {
|
|
898
|
+
return replacementStack[i];
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
let canonicalizedObj;
|
|
902
|
+
if ('[object Array]' === Object.prototype.toString.call(obj)) {
|
|
903
|
+
stack.push(obj);
|
|
904
|
+
canonicalizedObj = new Array(obj.length);
|
|
905
|
+
replacementStack.push(canonicalizedObj);
|
|
906
|
+
for (i = 0; i < obj.length; i += 1) {
|
|
907
|
+
canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, String(i));
|
|
908
|
+
}
|
|
909
|
+
stack.pop();
|
|
910
|
+
replacementStack.pop();
|
|
911
|
+
return canonicalizedObj;
|
|
912
|
+
}
|
|
913
|
+
if (obj && obj.toJSON) {
|
|
914
|
+
obj = obj.toJSON();
|
|
915
|
+
}
|
|
916
|
+
if (typeof obj === 'object' && obj !== null) {
|
|
917
|
+
stack.push(obj);
|
|
918
|
+
canonicalizedObj = {};
|
|
919
|
+
replacementStack.push(canonicalizedObj);
|
|
920
|
+
const sortedKeys = [];
|
|
921
|
+
let key;
|
|
922
|
+
for (key in obj) {
|
|
923
|
+
/* istanbul ignore else */
|
|
924
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
925
|
+
sortedKeys.push(key);
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
sortedKeys.sort();
|
|
929
|
+
for (i = 0; i < sortedKeys.length; i += 1) {
|
|
930
|
+
key = sortedKeys[i];
|
|
931
|
+
canonicalizedObj[key] = canonicalize(obj[key], stack, replacementStack, replacer, key);
|
|
932
|
+
}
|
|
933
|
+
stack.pop();
|
|
934
|
+
replacementStack.pop();
|
|
935
|
+
}
|
|
936
|
+
else {
|
|
937
|
+
canonicalizedObj = obj;
|
|
938
|
+
}
|
|
939
|
+
return canonicalizedObj;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
class ArrayDiff extends Diff {
|
|
943
|
+
tokenize(value) {
|
|
944
|
+
return value.slice();
|
|
945
|
+
}
|
|
946
|
+
join(value) {
|
|
947
|
+
return value;
|
|
948
|
+
}
|
|
949
|
+
removeEmpty(value) {
|
|
950
|
+
return value;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
const arrayDiff = new ArrayDiff();
|
|
954
|
+
function diffArrays(oldArr, newArr, options) {
|
|
955
|
+
return arrayDiff.diff(oldArr, newArr, options);
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
function unixToWin(patch) {
|
|
959
|
+
if (Array.isArray(patch)) {
|
|
960
|
+
// It would be cleaner if instead of the line below we could just write
|
|
961
|
+
// return patch.map(unixToWin)
|
|
962
|
+
// but mysteriously TypeScript (v5.7.3 at the time of writing) does not like this and it will
|
|
963
|
+
// refuse to compile, thinking that unixToWin could then return StructuredPatch[][] and the
|
|
964
|
+
// result would be incompatible with the overload signatures.
|
|
965
|
+
// See bug report at https://github.com/microsoft/TypeScript/issues/61398.
|
|
966
|
+
return patch.map(p => unixToWin(p));
|
|
967
|
+
}
|
|
968
|
+
return Object.assign(Object.assign({}, patch), { hunks: patch.hunks.map(hunk => (Object.assign(Object.assign({}, hunk), { lines: hunk.lines.map((line, i) => {
|
|
969
|
+
var _a;
|
|
970
|
+
return (line.startsWith('\\') || line.endsWith('\r') || ((_a = hunk.lines[i + 1]) === null || _a === void 0 ? void 0 : _a.startsWith('\\')))
|
|
971
|
+
? line
|
|
972
|
+
: line + '\r';
|
|
973
|
+
}) }))) });
|
|
974
|
+
}
|
|
975
|
+
function winToUnix(patch) {
|
|
976
|
+
if (Array.isArray(patch)) {
|
|
977
|
+
// (See comment above equivalent line in unixToWin)
|
|
978
|
+
return patch.map(p => winToUnix(p));
|
|
979
|
+
}
|
|
980
|
+
return Object.assign(Object.assign({}, patch), { hunks: patch.hunks.map(hunk => (Object.assign(Object.assign({}, hunk), { lines: hunk.lines.map(line => line.endsWith('\r') ? line.substring(0, line.length - 1) : line) }))) });
|
|
981
|
+
}
|
|
982
|
+
/**
|
|
983
|
+
* Returns true if the patch consistently uses Unix line endings (or only involves one line and has
|
|
984
|
+
* no line endings).
|
|
985
|
+
*/
|
|
986
|
+
function isUnix(patch) {
|
|
987
|
+
if (!Array.isArray(patch)) {
|
|
988
|
+
patch = [patch];
|
|
989
|
+
}
|
|
990
|
+
return !patch.some(index => index.hunks.some(hunk => hunk.lines.some(line => !line.startsWith('\\') && line.endsWith('\r'))));
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
* Returns true if the patch uses Windows line endings and only Windows line endings.
|
|
994
|
+
*/
|
|
995
|
+
function isWin(patch) {
|
|
996
|
+
if (!Array.isArray(patch)) {
|
|
997
|
+
patch = [patch];
|
|
998
|
+
}
|
|
999
|
+
return patch.some(index => index.hunks.some(hunk => hunk.lines.some(line => line.endsWith('\r'))))
|
|
1000
|
+
&& patch.every(index => index.hunks.every(hunk => hunk.lines.every((line, i) => { var _a; return line.startsWith('\\') || line.endsWith('\r') || ((_a = hunk.lines[i + 1]) === null || _a === void 0 ? void 0 : _a.startsWith('\\')); })));
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Parses a unified diff format patch into a structured patch object.
|
|
1005
|
+
*
|
|
1006
|
+
* `parsePatch` has some understanding of Git's particular dialect of unified diff format.
|
|
1007
|
+
* When parsing a Git patch, each index in the result may contain additional
|
|
1008
|
+
* fields (`isRename`, `isBinary`, etc) not included in the data structure returned by
|
|
1009
|
+
* `structuredPatch`; see the `StructuredPatch` interface for a full list.
|
|
1010
|
+
*
|
|
1011
|
+
* @return a JSON object representation of the patch, suitable for use with the `applyPatch`
|
|
1012
|
+
* method. This parses to the same structure returned by `structuredPatch`, except that
|
|
1013
|
+
* `oldFileName` and `newFileName` may be `undefined` if the patch doesn't contain enough
|
|
1014
|
+
* information to determine them (e.g. a hunk-only patch with no file headers).
|
|
1015
|
+
*/
|
|
1016
|
+
function parsePatch(uniDiff) {
|
|
1017
|
+
const diffstr = uniDiff.split(/\n/), list = [];
|
|
1018
|
+
let i = 0;
|
|
1019
|
+
// These helper functions identify line types that can appear between files
|
|
1020
|
+
// in a multi-file patch. Keeping them in one place avoids subtle
|
|
1021
|
+
// inconsistencies from having the same regexes duplicated in multiple places.
|
|
1022
|
+
// Matches `diff --git ...` lines specifically.
|
|
1023
|
+
function isGitDiffHeader(line) {
|
|
1024
|
+
return (/^diff --git /).test(line);
|
|
1025
|
+
}
|
|
1026
|
+
// Matches lines that denote the start of a new diff's section in a
|
|
1027
|
+
// multi-file patch: `diff --git ...`, `Index: ...`, or `diff -r ...`.
|
|
1028
|
+
function isDiffHeader(line) {
|
|
1029
|
+
return isGitDiffHeader(line)
|
|
1030
|
+
|| (/^Index:\s/).test(line)
|
|
1031
|
+
|| (/^diff(?: -r \w+)+\s/).test(line);
|
|
1032
|
+
}
|
|
1033
|
+
// Matches `--- ...` and `+++ ...` file header lines.
|
|
1034
|
+
function isFileHeader(line) {
|
|
1035
|
+
return (/^(---|\+\+\+)\s/).test(line);
|
|
1036
|
+
}
|
|
1037
|
+
// Matches `@@ ...` hunk header lines.
|
|
1038
|
+
function isHunkHeader(line) {
|
|
1039
|
+
return (/^@@\s/).test(line);
|
|
1040
|
+
}
|
|
1041
|
+
function parseIndex() {
|
|
1042
|
+
var _a;
|
|
1043
|
+
const index = {};
|
|
1044
|
+
index.hunks = [];
|
|
1045
|
+
list.push(index);
|
|
1046
|
+
// Parse diff metadata
|
|
1047
|
+
let seenDiffHeader = false;
|
|
1048
|
+
while (i < diffstr.length) {
|
|
1049
|
+
const line = diffstr[i];
|
|
1050
|
+
// File header (---, +++) or hunk header (@@) found; end parsing diff metadata
|
|
1051
|
+
if (isFileHeader(line) || isHunkHeader(line)) {
|
|
1052
|
+
break;
|
|
1053
|
+
}
|
|
1054
|
+
// The next two branches handle recognized diff headers. Note that
|
|
1055
|
+
// isDiffHeader deliberately does NOT match arbitrary `diff`
|
|
1056
|
+
// commands like `diff -u -p -r1.1 -r1.2`, because in some
|
|
1057
|
+
// formats (e.g. CVS diffs) such lines appear as metadata within
|
|
1058
|
+
// a single file's header section, after an `Index:` line. See the
|
|
1059
|
+
// diffx documentation (https://diffx.org) for examples.
|
|
1060
|
+
//
|
|
1061
|
+
// In both branches: if we've already seen a diff header for *this*
|
|
1062
|
+
// file and now we encounter another one, it must belong to the
|
|
1063
|
+
// next file, so break.
|
|
1064
|
+
if (isGitDiffHeader(line)) {
|
|
1065
|
+
if (seenDiffHeader) {
|
|
1066
|
+
return;
|
|
1067
|
+
}
|
|
1068
|
+
seenDiffHeader = true;
|
|
1069
|
+
index.isGit = true;
|
|
1070
|
+
// Parse the old and new filenames from the `diff --git` header and
|
|
1071
|
+
// tentatively set oldFileName and newFileName from them. These may
|
|
1072
|
+
// be overridden below by `rename from` / `rename to` or `copy from` /
|
|
1073
|
+
// `copy to` extended headers, or by --- and +++ lines. But for Git
|
|
1074
|
+
// diffs that lack all of those (e.g. mode-only changes, binary
|
|
1075
|
+
// file changes without rename), these are the only filenames we
|
|
1076
|
+
// get.
|
|
1077
|
+
// parseGitDiffHeader returns null if the header can't be parsed
|
|
1078
|
+
// (e.g. unterminated quoted filename, or unexpected format). In
|
|
1079
|
+
// that case we skip setting filenames here; they may still be
|
|
1080
|
+
// set from --- / +++ or rename from / rename to lines below.
|
|
1081
|
+
const paths = parseGitDiffHeader(line);
|
|
1082
|
+
if (paths) {
|
|
1083
|
+
index.oldFileName = paths.oldFileName;
|
|
1084
|
+
index.newFileName = paths.newFileName;
|
|
1085
|
+
}
|
|
1086
|
+
// Consume Git extended headers (`old mode`, `new mode`, `rename from`,
|
|
1087
|
+
// `rename to`, `similarity index`, `index`, `Binary files ... differ`,
|
|
1088
|
+
// etc.)
|
|
1089
|
+
i++;
|
|
1090
|
+
while (i < diffstr.length) {
|
|
1091
|
+
const extLine = diffstr[i];
|
|
1092
|
+
// Stop consuming extended headers if we hit a file header,
|
|
1093
|
+
// hunk header, or another diff header.
|
|
1094
|
+
if (isFileHeader(extLine) || isHunkHeader(extLine) || isDiffHeader(extLine)) {
|
|
1095
|
+
break;
|
|
1096
|
+
}
|
|
1097
|
+
// Parse `rename from` / `rename to` lines - these give us
|
|
1098
|
+
// unambiguous filenames. These lines don't include the
|
|
1099
|
+
// a/ and b/ prefixes that appear in the `diff --git` header
|
|
1100
|
+
// and --- / +++ lines, so we add them for consistency.
|
|
1101
|
+
// Git C-style quotes filenames containing special characters
|
|
1102
|
+
// (tabs, newlines, backslashes, double quotes), so we must
|
|
1103
|
+
// unquote them when present.
|
|
1104
|
+
const renameFromMatch = (/^rename from (.*)/).exec(extLine);
|
|
1105
|
+
if (renameFromMatch) {
|
|
1106
|
+
index.oldFileName = 'a/' + unquoteIfQuoted(renameFromMatch[1]);
|
|
1107
|
+
index.isRename = true;
|
|
1108
|
+
}
|
|
1109
|
+
const renameToMatch = (/^rename to (.*)/).exec(extLine);
|
|
1110
|
+
if (renameToMatch) {
|
|
1111
|
+
index.newFileName = 'b/' + unquoteIfQuoted(renameToMatch[1]);
|
|
1112
|
+
index.isRename = true;
|
|
1113
|
+
}
|
|
1114
|
+
// Parse copy from / copy to lines similarly
|
|
1115
|
+
const copyFromMatch = (/^copy from (.*)/).exec(extLine);
|
|
1116
|
+
if (copyFromMatch) {
|
|
1117
|
+
index.oldFileName = 'a/' + unquoteIfQuoted(copyFromMatch[1]);
|
|
1118
|
+
index.isCopy = true;
|
|
1119
|
+
}
|
|
1120
|
+
const copyToMatch = (/^copy to (.*)/).exec(extLine);
|
|
1121
|
+
if (copyToMatch) {
|
|
1122
|
+
index.newFileName = 'b/' + unquoteIfQuoted(copyToMatch[1]);
|
|
1123
|
+
index.isCopy = true;
|
|
1124
|
+
}
|
|
1125
|
+
const newFileModeMatch = (/^new file mode (\d+)/).exec(extLine);
|
|
1126
|
+
if (newFileModeMatch) {
|
|
1127
|
+
index.isCreate = true;
|
|
1128
|
+
index.newMode = newFileModeMatch[1];
|
|
1129
|
+
}
|
|
1130
|
+
const deletedFileModeMatch = (/^deleted file mode (\d+)/).exec(extLine);
|
|
1131
|
+
if (deletedFileModeMatch) {
|
|
1132
|
+
index.isDelete = true;
|
|
1133
|
+
index.oldMode = deletedFileModeMatch[1];
|
|
1134
|
+
}
|
|
1135
|
+
const oldModeMatch = (/^old mode (\d+)/).exec(extLine);
|
|
1136
|
+
if (oldModeMatch) {
|
|
1137
|
+
index.oldMode = oldModeMatch[1];
|
|
1138
|
+
}
|
|
1139
|
+
const newModeMatch = (/^new mode (\d+)/).exec(extLine);
|
|
1140
|
+
if (newModeMatch) {
|
|
1141
|
+
index.newMode = newModeMatch[1];
|
|
1142
|
+
}
|
|
1143
|
+
if ((/^Binary files /).test(extLine)) {
|
|
1144
|
+
index.isBinary = true;
|
|
1145
|
+
}
|
|
1146
|
+
i++;
|
|
1147
|
+
}
|
|
1148
|
+
continue;
|
|
1149
|
+
}
|
|
1150
|
+
else if (isDiffHeader(line)) {
|
|
1151
|
+
if (seenDiffHeader) {
|
|
1152
|
+
return;
|
|
1153
|
+
}
|
|
1154
|
+
seenDiffHeader = true;
|
|
1155
|
+
// For Mercurial-style headers like
|
|
1156
|
+
// diff -r 9117c6561b0b -r 273ce12ad8f1 .hgignore
|
|
1157
|
+
// or Index: headers like
|
|
1158
|
+
// Index: something with multiple words
|
|
1159
|
+
// we extract the trailing filename as the index.
|
|
1160
|
+
//
|
|
1161
|
+
// TODO: It seems awkward that we indiscriminately trim off
|
|
1162
|
+
// trailing whitespace here. Theoretically, couldn't that
|
|
1163
|
+
// be meaningful - e.g. if the patch represents a diff of a
|
|
1164
|
+
// file whose name ends with a space? Seems wrong to nuke
|
|
1165
|
+
// it. But this behaviour has been around since v2.2.1 in
|
|
1166
|
+
// 2015, so if it's going to change, it should be done
|
|
1167
|
+
// cautiously and in a new major release, for
|
|
1168
|
+
// backwards-compat reasons.
|
|
1169
|
+
// -- ExplodingCabbage
|
|
1170
|
+
const headerMatch = (/^(?:Index:|diff(?: -r \w+)+)\s+/).exec(line);
|
|
1171
|
+
if (headerMatch) {
|
|
1172
|
+
index.index = line.substring(headerMatch[0].length).trim();
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
i++;
|
|
1176
|
+
}
|
|
1177
|
+
// Parse file headers if they are defined. Unified diff requires them, but
|
|
1178
|
+
// there's no technical issues to have an isolated hunk without file header
|
|
1179
|
+
parseFileHeader(index);
|
|
1180
|
+
parseFileHeader(index);
|
|
1181
|
+
// If we got one file header but not the other, that's a malformed patch.
|
|
1182
|
+
if ((index.oldFileName === undefined) !== (index.newFileName === undefined)) {
|
|
1183
|
+
throw new Error('Missing ' + (index.oldFileName !== undefined ? '"+++ ..."' : '"--- ..."')
|
|
1184
|
+
+ ' file header for ' + ((_a = index.oldFileName) !== null && _a !== void 0 ? _a : index.newFileName));
|
|
1185
|
+
}
|
|
1186
|
+
while (i < diffstr.length) {
|
|
1187
|
+
const line = diffstr[i];
|
|
1188
|
+
if (isDiffHeader(line) || isFileHeader(line) || (/^===================================================================/).test(line)) {
|
|
1189
|
+
break;
|
|
1190
|
+
}
|
|
1191
|
+
else if (isHunkHeader(line)) {
|
|
1192
|
+
index.hunks.push(parseHunk());
|
|
1193
|
+
}
|
|
1194
|
+
else {
|
|
1195
|
+
// Skip blank lines and any other unrecognized content between
|
|
1196
|
+
// or after hunks. Real-world examples of such content include:
|
|
1197
|
+
// - `Only in <dir>: <file>` from GNU `diff -r`
|
|
1198
|
+
// - `Property changes on:` sections from `svn diff`
|
|
1199
|
+
// - Trailing prose or commentary in email patches
|
|
1200
|
+
// GNU `patch` tolerates all of these, and so do we.
|
|
1201
|
+
i++;
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
/**
|
|
1206
|
+
* Parses the old and new filenames from a `diff --git` header line.
|
|
1207
|
+
*
|
|
1208
|
+
* The format is:
|
|
1209
|
+
* diff --git a/<old-path> b/<new-path>
|
|
1210
|
+
*
|
|
1211
|
+
* When filenames contain special characters (including newlines, tabs,
|
|
1212
|
+
* backslashes, or double quotes), Git quotes them with C-style escaping:
|
|
1213
|
+
* diff --git "a/file\twith\ttabs.txt" "b/file\twith\ttabs.txt"
|
|
1214
|
+
*
|
|
1215
|
+
* When filenames don't contain special characters and the old and new names
|
|
1216
|
+
* are the same, we can unambiguously split on ` b/` by finding where the
|
|
1217
|
+
* two halves (including their a/ and b/ prefixes) yield matching bare names.
|
|
1218
|
+
*
|
|
1219
|
+
* A pathological case exists in which we cannot reliably determine the paths
|
|
1220
|
+
* from the `diff --git` header. This case is when the following are true:
|
|
1221
|
+
* - the old and new file paths differ
|
|
1222
|
+
* - they are both unquoted (i.e. contain no special characters)
|
|
1223
|
+
* - at least one of the underlying file paths includes the substring ` b/`
|
|
1224
|
+
* In this scenario, we do not know which occurrence of ` b/` indicates the
|
|
1225
|
+
* start of the new file path, so the header is inherently ambiguous. We thus
|
|
1226
|
+
* select a possible interpretation arbitrarily and return that.
|
|
1227
|
+
*
|
|
1228
|
+
* Fortunately, this ambiguity should never matter, because in any patch
|
|
1229
|
+
* genuinely output by Git in which this pathological scenario occurs, there
|
|
1230
|
+
* must also be `rename from`/`rename to` or `copy from`/`copy to` extended
|
|
1231
|
+
* headers present below the `diff --git` header. `parseIndex` will parse
|
|
1232
|
+
* THOSE headers, from which we CAN unambiguously determine the filenames,
|
|
1233
|
+
* and will discard the result returned by this function.
|
|
1234
|
+
*
|
|
1235
|
+
* Returns null if the header can't be parsed at all — e.g. a quoted filename
|
|
1236
|
+
* has an unterminated quote, or if the unquoted header doesn't match the
|
|
1237
|
+
* expected `a/... b/...` format. In that case, the caller (parseIndex)
|
|
1238
|
+
* skips setting oldFileName/newFileName from this header, but they may
|
|
1239
|
+
* still be set later from `---`/`+++` lines or `rename from`/`rename to`
|
|
1240
|
+
* extended headers; if none of those are present either, they'll remain
|
|
1241
|
+
* undefined in the output.
|
|
1242
|
+
*/
|
|
1243
|
+
function parseGitDiffHeader(line) {
|
|
1244
|
+
// Strip the "diff --git " prefix
|
|
1245
|
+
const rest = line.substring('diff --git '.length);
|
|
1246
|
+
// Handle quoted paths: "a/path" "b/path"
|
|
1247
|
+
// Git quotes paths when they contain characters like newlines, tabs,
|
|
1248
|
+
// backslashes, or double quotes (but notably not spaces).
|
|
1249
|
+
if (rest.startsWith('"')) {
|
|
1250
|
+
const oldPath = parseQuotedFileName(rest);
|
|
1251
|
+
if (oldPath === null) {
|
|
1252
|
+
return null;
|
|
1253
|
+
}
|
|
1254
|
+
const afterOld = rest.substring(oldPath.rawLength + 1); // +1 for space
|
|
1255
|
+
let newFileName;
|
|
1256
|
+
if (afterOld.startsWith('"')) {
|
|
1257
|
+
const newPath = parseQuotedFileName(afterOld);
|
|
1258
|
+
if (newPath === null) {
|
|
1259
|
+
return null;
|
|
1260
|
+
}
|
|
1261
|
+
newFileName = newPath.fileName;
|
|
1262
|
+
}
|
|
1263
|
+
else {
|
|
1264
|
+
newFileName = afterOld;
|
|
1265
|
+
}
|
|
1266
|
+
return {
|
|
1267
|
+
oldFileName: oldPath.fileName,
|
|
1268
|
+
newFileName
|
|
1269
|
+
};
|
|
1270
|
+
}
|
|
1271
|
+
// Check if the second path is quoted
|
|
1272
|
+
// e.g. diff --git a/simple "b/renamed\nnewline.txt"
|
|
1273
|
+
const quoteIdx = rest.indexOf('"');
|
|
1274
|
+
if (quoteIdx > 0) {
|
|
1275
|
+
const oldFileName = rest.substring(0, quoteIdx - 1);
|
|
1276
|
+
const newPath = parseQuotedFileName(rest.substring(quoteIdx));
|
|
1277
|
+
if (newPath === null) {
|
|
1278
|
+
return null;
|
|
1279
|
+
}
|
|
1280
|
+
return {
|
|
1281
|
+
oldFileName,
|
|
1282
|
+
newFileName: newPath.fileName
|
|
1283
|
+
};
|
|
1284
|
+
}
|
|
1285
|
+
// Unquoted paths. Try to find the split point.
|
|
1286
|
+
// The format is: a/<old-path> b/<new-path>
|
|
1287
|
+
//
|
|
1288
|
+
// Note the potential ambiguity caused by the possibility of the file paths
|
|
1289
|
+
// themselves containing the substring ` b/`, plus the pathological case
|
|
1290
|
+
// described in the comment above.
|
|
1291
|
+
//
|
|
1292
|
+
// Strategy: find all occurrences of " b/" and split on the middle
|
|
1293
|
+
// one. When old and new names are the same (which is the only case where
|
|
1294
|
+
// we can't rely on extended headers later in the patch so HAVE to get
|
|
1295
|
+
// this right), this will always be the correct split.
|
|
1296
|
+
if (rest.startsWith('a/')) {
|
|
1297
|
+
const splits = [];
|
|
1298
|
+
let idx = 0;
|
|
1299
|
+
while (true) {
|
|
1300
|
+
idx = rest.indexOf(' b/', idx + 1);
|
|
1301
|
+
if (idx === -1) {
|
|
1302
|
+
break;
|
|
1303
|
+
}
|
|
1304
|
+
splits.push(idx);
|
|
1305
|
+
}
|
|
1306
|
+
if (splits.length > 0) {
|
|
1307
|
+
const mid = splits[Math.floor(splits.length / 2)];
|
|
1308
|
+
return {
|
|
1309
|
+
oldFileName: rest.substring(0, mid),
|
|
1310
|
+
newFileName: rest.substring(mid + 1)
|
|
1311
|
+
};
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
// Fallback: can't parse, return null
|
|
1315
|
+
return null;
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
* If `s` starts with a double quote, unquotes it using C-style escape
|
|
1319
|
+
* rules (as used by Git). Otherwise returns `s` as-is.
|
|
1320
|
+
*/
|
|
1321
|
+
function unquoteIfQuoted(s) {
|
|
1322
|
+
if (s.startsWith('"')) {
|
|
1323
|
+
const parsed = parseQuotedFileName(s);
|
|
1324
|
+
if (parsed) {
|
|
1325
|
+
return parsed.fileName;
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
return s;
|
|
1329
|
+
}
|
|
1330
|
+
/**
|
|
1331
|
+
* Parses a C-style quoted filename as used by Git or GNU `diff -u`.
|
|
1332
|
+
* Returns the unescaped filename and the raw length consumed (including quotes).
|
|
1333
|
+
*/
|
|
1334
|
+
function parseQuotedFileName(s) {
|
|
1335
|
+
if (!s.startsWith('"')) {
|
|
1336
|
+
return null;
|
|
1337
|
+
}
|
|
1338
|
+
let result = '';
|
|
1339
|
+
let j = 1; // skip opening quote
|
|
1340
|
+
while (j < s.length) {
|
|
1341
|
+
if (s[j] === '"') {
|
|
1342
|
+
return { fileName: result, rawLength: j + 1 };
|
|
1343
|
+
}
|
|
1344
|
+
if (s[j] === '\\' && j + 1 < s.length) {
|
|
1345
|
+
j++;
|
|
1346
|
+
switch (s[j]) {
|
|
1347
|
+
case 'a':
|
|
1348
|
+
result += '\x07';
|
|
1349
|
+
break;
|
|
1350
|
+
case 'b':
|
|
1351
|
+
result += '\b';
|
|
1352
|
+
break;
|
|
1353
|
+
case 'f':
|
|
1354
|
+
result += '\f';
|
|
1355
|
+
break;
|
|
1356
|
+
case 'n':
|
|
1357
|
+
result += '\n';
|
|
1358
|
+
break;
|
|
1359
|
+
case 'r':
|
|
1360
|
+
result += '\r';
|
|
1361
|
+
break;
|
|
1362
|
+
case 't':
|
|
1363
|
+
result += '\t';
|
|
1364
|
+
break;
|
|
1365
|
+
case 'v':
|
|
1366
|
+
result += '\v';
|
|
1367
|
+
break;
|
|
1368
|
+
case '\\':
|
|
1369
|
+
result += '\\';
|
|
1370
|
+
break;
|
|
1371
|
+
case '"':
|
|
1372
|
+
result += '"';
|
|
1373
|
+
break;
|
|
1374
|
+
case '0':
|
|
1375
|
+
case '1':
|
|
1376
|
+
case '2':
|
|
1377
|
+
case '3':
|
|
1378
|
+
case '4':
|
|
1379
|
+
case '5':
|
|
1380
|
+
case '6':
|
|
1381
|
+
case '7': {
|
|
1382
|
+
// C-style octal escapes represent raw bytes. Collect
|
|
1383
|
+
// consecutive octal-escaped bytes and decode as UTF-8.
|
|
1384
|
+
// Validate that we have a full 3-digit octal escape
|
|
1385
|
+
if (j + 2 >= s.length || s[j + 1] < '0' || s[j + 1] > '7' || s[j + 2] < '0' || s[j + 2] > '7') {
|
|
1386
|
+
return null;
|
|
1387
|
+
}
|
|
1388
|
+
const bytes = [parseInt(s.substring(j, j + 3), 8)];
|
|
1389
|
+
j += 3;
|
|
1390
|
+
while (s[j] === '\\' && s[j + 1] >= '0' && s[j + 1] <= '7') {
|
|
1391
|
+
if (j + 3 >= s.length || s[j + 2] < '0' || s[j + 2] > '7' || s[j + 3] < '0' || s[j + 3] > '7') {
|
|
1392
|
+
return null;
|
|
1393
|
+
}
|
|
1394
|
+
bytes.push(parseInt(s.substring(j + 1, j + 4), 8));
|
|
1395
|
+
j += 4;
|
|
1396
|
+
}
|
|
1397
|
+
result += new TextDecoder('utf-8').decode(new Uint8Array(bytes));
|
|
1398
|
+
continue; // j already points at the next character
|
|
1399
|
+
}
|
|
1400
|
+
// Note that in C, there are also three kinds of hex escape sequences:
|
|
1401
|
+
// - \xhh
|
|
1402
|
+
// - \uhhhh
|
|
1403
|
+
// - \Uhhhhhhhh
|
|
1404
|
+
// We do not bother to parse them here because, so far as we know,
|
|
1405
|
+
// they are never emitted by any tools that generate unified diff
|
|
1406
|
+
// format diffs, and so for now jsdiff does not consider them legal.
|
|
1407
|
+
default: return null;
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
else {
|
|
1411
|
+
result += s[j];
|
|
1412
|
+
}
|
|
1413
|
+
j++;
|
|
1414
|
+
}
|
|
1415
|
+
// Unterminated quote
|
|
1416
|
+
return null;
|
|
1417
|
+
}
|
|
1418
|
+
// Parses the --- and +++ headers, if none are found, no lines
|
|
1419
|
+
// are consumed.
|
|
1420
|
+
function parseFileHeader(index) {
|
|
1421
|
+
const fileHeaderMatch = (/^(---|\+\+\+)\s+/).exec(diffstr[i]);
|
|
1422
|
+
if (fileHeaderMatch) {
|
|
1423
|
+
const prefix = fileHeaderMatch[1], data = diffstr[i].substring(3).trim().split('\t', 2), header = (data[1] || '').trim();
|
|
1424
|
+
let fileName = data[0];
|
|
1425
|
+
if (fileName.startsWith('"')) {
|
|
1426
|
+
fileName = unquoteIfQuoted(fileName);
|
|
1427
|
+
}
|
|
1428
|
+
else {
|
|
1429
|
+
fileName = fileName.replace(/\\\\/g, '\\');
|
|
1430
|
+
}
|
|
1431
|
+
if (prefix === '---') {
|
|
1432
|
+
index.oldFileName = fileName;
|
|
1433
|
+
index.oldHeader = header;
|
|
1434
|
+
}
|
|
1435
|
+
else {
|
|
1436
|
+
index.newFileName = fileName;
|
|
1437
|
+
index.newHeader = header;
|
|
1438
|
+
}
|
|
1439
|
+
i++;
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
// Parses a hunk
|
|
1443
|
+
// This assumes that we are at the start of a hunk.
|
|
1444
|
+
function parseHunk() {
|
|
1445
|
+
var _a;
|
|
1446
|
+
const chunkHeaderIndex = i, chunkHeaderLine = diffstr[i++], chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);
|
|
1447
|
+
const hunk = {
|
|
1448
|
+
oldStart: +chunkHeader[1],
|
|
1449
|
+
oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],
|
|
1450
|
+
newStart: +chunkHeader[3],
|
|
1451
|
+
newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],
|
|
1452
|
+
lines: []
|
|
1453
|
+
};
|
|
1454
|
+
// Unified Diff Format quirk: If the chunk size is 0,
|
|
1455
|
+
// the first number is one lower than one would expect.
|
|
1456
|
+
// https://www.artima.com/weblogs/viewpost.jsp?thread=164293
|
|
1457
|
+
if (hunk.oldLines === 0) {
|
|
1458
|
+
hunk.oldStart += 1;
|
|
1459
|
+
}
|
|
1460
|
+
if (hunk.newLines === 0) {
|
|
1461
|
+
hunk.newStart += 1;
|
|
1462
|
+
}
|
|
1463
|
+
let addCount = 0, removeCount = 0;
|
|
1464
|
+
for (; i < diffstr.length && (removeCount < hunk.oldLines || addCount < hunk.newLines || ((_a = diffstr[i]) === null || _a === void 0 ? void 0 : _a.startsWith('\\'))); i++) {
|
|
1465
|
+
const operation = (diffstr[i].length == 0 && i != (diffstr.length - 1)) ? ' ' : diffstr[i][0];
|
|
1466
|
+
if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') {
|
|
1467
|
+
hunk.lines.push(diffstr[i]);
|
|
1468
|
+
if (operation === '+') {
|
|
1469
|
+
addCount++;
|
|
1470
|
+
}
|
|
1471
|
+
else if (operation === '-') {
|
|
1472
|
+
removeCount++;
|
|
1473
|
+
}
|
|
1474
|
+
else if (operation === ' ') {
|
|
1475
|
+
addCount++;
|
|
1476
|
+
removeCount++;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
else {
|
|
1480
|
+
throw new Error(`Hunk at line ${chunkHeaderIndex + 1} contained invalid line ${diffstr[i]}`);
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
// Handle the empty block count case
|
|
1484
|
+
if (!addCount && hunk.newLines === 1) {
|
|
1485
|
+
hunk.newLines = 0;
|
|
1486
|
+
}
|
|
1487
|
+
if (!removeCount && hunk.oldLines === 1) {
|
|
1488
|
+
hunk.oldLines = 0;
|
|
1489
|
+
}
|
|
1490
|
+
// Perform sanity checking
|
|
1491
|
+
if (addCount !== hunk.newLines) {
|
|
1492
|
+
throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
|
|
1493
|
+
}
|
|
1494
|
+
if (removeCount !== hunk.oldLines) {
|
|
1495
|
+
throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
|
|
1496
|
+
}
|
|
1497
|
+
// Check for extra hunk-body-like lines after the declared line counts
|
|
1498
|
+
// were exhausted. If the very next line starts with ' ', '+', or '-',
|
|
1499
|
+
// the hunk's line counts were probably wrong — unless it's a file
|
|
1500
|
+
// header (--- or +++), which legitimately appears immediately after a
|
|
1501
|
+
// hunk in multi-file diffs without Index lines.
|
|
1502
|
+
if (i < diffstr.length && diffstr[i] && (/^[+ -]/).test(diffstr[i])
|
|
1503
|
+
&& !isFileHeader(diffstr[i])) {
|
|
1504
|
+
throw new Error('Hunk at line ' + (chunkHeaderIndex + 1)
|
|
1505
|
+
+ ' has more lines than expected (expected '
|
|
1506
|
+
+ hunk.oldLines + ' old lines and ' + hunk.newLines + ' new lines)');
|
|
1507
|
+
}
|
|
1508
|
+
return hunk;
|
|
1509
|
+
}
|
|
1510
|
+
while (i < diffstr.length) {
|
|
1511
|
+
parseIndex();
|
|
1512
|
+
}
|
|
1513
|
+
return list;
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
// Iterator that traverses in the range of [min, max], stepping
|
|
1517
|
+
// by distance from a given start position. I.e. for [0, 4], with
|
|
1518
|
+
// start of 2, this will iterate 2, 3, 1, 4, 0.
|
|
1519
|
+
function distanceIterator (start, minLine, maxLine) {
|
|
1520
|
+
let wantForward = true, backwardExhausted = false, forwardExhausted = false, localOffset = 1;
|
|
1521
|
+
return function iterator() {
|
|
1522
|
+
if (wantForward && !forwardExhausted) {
|
|
1523
|
+
if (backwardExhausted) {
|
|
1524
|
+
localOffset++;
|
|
1525
|
+
}
|
|
1526
|
+
else {
|
|
1527
|
+
wantForward = false;
|
|
1528
|
+
}
|
|
1529
|
+
// Check if trying to fit beyond text length, and if not, check it fits
|
|
1530
|
+
// after offset location (or desired location on first iteration)
|
|
1531
|
+
if (start + localOffset <= maxLine) {
|
|
1532
|
+
return start + localOffset;
|
|
1533
|
+
}
|
|
1534
|
+
forwardExhausted = true;
|
|
1535
|
+
}
|
|
1536
|
+
if (!backwardExhausted) {
|
|
1537
|
+
if (!forwardExhausted) {
|
|
1538
|
+
wantForward = true;
|
|
1539
|
+
}
|
|
1540
|
+
// Check if trying to fit before text beginning, and if not, check it fits
|
|
1541
|
+
// before offset location
|
|
1542
|
+
if (minLine <= start - localOffset) {
|
|
1543
|
+
return start - localOffset++;
|
|
1544
|
+
}
|
|
1545
|
+
backwardExhausted = true;
|
|
1546
|
+
return iterator();
|
|
1547
|
+
}
|
|
1548
|
+
// We tried to fit hunk before text beginning and beyond text length, then
|
|
1549
|
+
// hunk can't fit on the text. Return undefined
|
|
1550
|
+
return undefined;
|
|
1551
|
+
};
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* attempts to apply a unified diff patch.
|
|
1556
|
+
*
|
|
1557
|
+
* Hunks are applied first to last.
|
|
1558
|
+
* `applyPatch` first tries to apply the first hunk at the line number specified in the hunk header, and with all context lines matching exactly.
|
|
1559
|
+
* If that fails, it tries scanning backwards and forwards, one line at a time, to find a place to apply the hunk where the context lines match exactly.
|
|
1560
|
+
* If that still fails, and `fuzzFactor` is greater than zero, it increments the maximum number of mismatches (missing, extra, or changed context lines) that there can be between the hunk context and a region where we are trying to apply the patch such that the hunk will still be considered to match.
|
|
1561
|
+
* Regardless of `fuzzFactor`, lines to be deleted in the hunk *must* be present for a hunk to match, and the context lines *immediately* before and after an insertion must match exactly.
|
|
1562
|
+
*
|
|
1563
|
+
* Once a hunk is successfully fitted, the process begins again with the next hunk.
|
|
1564
|
+
* Regardless of `fuzzFactor`, later hunks must be applied later in the file than earlier hunks.
|
|
1565
|
+
*
|
|
1566
|
+
* If a hunk cannot be successfully fitted *anywhere* with fewer than `fuzzFactor` mismatches, `applyPatch` fails and returns `false`.
|
|
1567
|
+
*
|
|
1568
|
+
* If a hunk is successfully fitted but not at the line number specified by the hunk header, all subsequent hunks have their target line number adjusted accordingly.
|
|
1569
|
+
* (e.g. if the first hunk is applied 10 lines below where the hunk header said it should fit, `applyPatch` will *start* looking for somewhere to apply the second hunk 10 lines below where its hunk header says it goes.)
|
|
1570
|
+
*
|
|
1571
|
+
* If the patch was applied successfully, returns a string containing the patched text.
|
|
1572
|
+
* If the patch could not be applied (because some hunks in the patch couldn't be fitted to the text in `source`), `applyPatch` returns false.
|
|
1573
|
+
*
|
|
1574
|
+
* @param patch a string diff or the output from the `parsePatch` or `structuredPatch` methods.
|
|
1575
|
+
*/
|
|
1576
|
+
function applyPatch(source, patch, options = {}) {
|
|
1577
|
+
let patches;
|
|
1578
|
+
if (typeof patch === 'string') {
|
|
1579
|
+
patches = parsePatch(patch);
|
|
1580
|
+
}
|
|
1581
|
+
else if (Array.isArray(patch)) {
|
|
1582
|
+
patches = patch;
|
|
1583
|
+
}
|
|
1584
|
+
else {
|
|
1585
|
+
patches = [patch];
|
|
1586
|
+
}
|
|
1587
|
+
if (patches.length > 1) {
|
|
1588
|
+
throw new Error('applyPatch only works with a single input.');
|
|
1589
|
+
}
|
|
1590
|
+
return applyStructuredPatch(source, patches[0], options);
|
|
1591
|
+
}
|
|
1592
|
+
function applyStructuredPatch(source, patch, options = {}) {
|
|
1593
|
+
if (options.autoConvertLineEndings || options.autoConvertLineEndings == null) {
|
|
1594
|
+
if (hasOnlyWinLineEndings(source) && isUnix(patch)) {
|
|
1595
|
+
patch = unixToWin(patch);
|
|
1596
|
+
}
|
|
1597
|
+
else if (hasOnlyUnixLineEndings(source) && isWin(patch)) {
|
|
1598
|
+
patch = winToUnix(patch);
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
// Apply the diff to the input
|
|
1602
|
+
const lines = source.split('\n'), hunks = patch.hunks, compareLine = options.compareLine || ((lineNumber, line, operation, patchContent) => line === patchContent), fuzzFactor = options.fuzzFactor || 0;
|
|
1603
|
+
let minLine = 0;
|
|
1604
|
+
if (fuzzFactor < 0 || !Number.isInteger(fuzzFactor)) {
|
|
1605
|
+
throw new Error('fuzzFactor must be a non-negative integer');
|
|
1606
|
+
}
|
|
1607
|
+
// Special case for empty patch.
|
|
1608
|
+
if (!hunks.length) {
|
|
1609
|
+
return source;
|
|
1610
|
+
}
|
|
1611
|
+
// Before anything else, handle EOFNL insertion/removal. If the patch tells us to make a change
|
|
1612
|
+
// to the EOFNL that is redundant/impossible - i.e. to remove a newline that's not there, or add a
|
|
1613
|
+
// newline that already exists - then we either return false and fail to apply the patch (if
|
|
1614
|
+
// fuzzFactor is 0) or simply ignore the problem and do nothing (if fuzzFactor is >0).
|
|
1615
|
+
// If we do need to remove/add a newline at EOF, this will always be in the final hunk:
|
|
1616
|
+
let prevLine = '', removeEOFNL = false, addEOFNL = false;
|
|
1617
|
+
for (let i = 0; i < hunks[hunks.length - 1].lines.length; i++) {
|
|
1618
|
+
const line = hunks[hunks.length - 1].lines[i];
|
|
1619
|
+
if (line[0] == '\\') {
|
|
1620
|
+
if (prevLine[0] == '+') {
|
|
1621
|
+
removeEOFNL = true;
|
|
1622
|
+
}
|
|
1623
|
+
else if (prevLine[0] == '-') {
|
|
1624
|
+
addEOFNL = true;
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
prevLine = line;
|
|
1628
|
+
}
|
|
1629
|
+
if (removeEOFNL) {
|
|
1630
|
+
if (addEOFNL) {
|
|
1631
|
+
// This means the final line gets changed but doesn't have a trailing newline in either the
|
|
1632
|
+
// original or patched version. In that case, we do nothing if fuzzFactor > 0, and if
|
|
1633
|
+
// fuzzFactor is 0, we simply validate that the source file has no trailing newline.
|
|
1634
|
+
if (!fuzzFactor && lines[lines.length - 1] == '') {
|
|
1635
|
+
return false;
|
|
1636
|
+
}
|
|
1637
|
+
}
|
|
1638
|
+
else if (lines[lines.length - 1] == '') {
|
|
1639
|
+
lines.pop();
|
|
1640
|
+
}
|
|
1641
|
+
else if (!fuzzFactor) {
|
|
1642
|
+
return false;
|
|
1643
|
+
}
|
|
1644
|
+
}
|
|
1645
|
+
else if (addEOFNL) {
|
|
1646
|
+
if (lines[lines.length - 1] != '') {
|
|
1647
|
+
lines.push('');
|
|
1648
|
+
}
|
|
1649
|
+
else if (!fuzzFactor) {
|
|
1650
|
+
return false;
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
/**
|
|
1654
|
+
* Checks if the hunk can be made to fit at the provided location with at most `maxErrors`
|
|
1655
|
+
* insertions, substitutions, or deletions, while ensuring also that:
|
|
1656
|
+
* - lines deleted in the hunk match exactly, and
|
|
1657
|
+
* - wherever an insertion operation or block of insertion operations appears in the hunk, the
|
|
1658
|
+
* immediately preceding and following lines of context match exactly
|
|
1659
|
+
*
|
|
1660
|
+
* `toPos` should be set such that lines[toPos] is meant to match hunkLines[0].
|
|
1661
|
+
*
|
|
1662
|
+
* If the hunk can be applied, returns an object with properties `oldLineLastI` and
|
|
1663
|
+
* `replacementLines`. Otherwise, returns null.
|
|
1664
|
+
*/
|
|
1665
|
+
function applyHunk(hunkLines, toPos, maxErrors, hunkLinesI = 0, lastContextLineMatched = true, patchedLines = [], patchedLinesLength = 0) {
|
|
1666
|
+
let nConsecutiveOldContextLines = 0;
|
|
1667
|
+
let nextContextLineMustMatch = false;
|
|
1668
|
+
for (; hunkLinesI < hunkLines.length; hunkLinesI++) {
|
|
1669
|
+
const hunkLine = hunkLines[hunkLinesI], operation = (hunkLine.length > 0 ? hunkLine[0] : ' '), content = (hunkLine.length > 0 ? hunkLine.substr(1) : hunkLine);
|
|
1670
|
+
if (operation === '-') {
|
|
1671
|
+
if (compareLine(toPos + 1, lines[toPos], operation, content)) {
|
|
1672
|
+
toPos++;
|
|
1673
|
+
nConsecutiveOldContextLines = 0;
|
|
1674
|
+
}
|
|
1675
|
+
else {
|
|
1676
|
+
if (!maxErrors || lines[toPos] == null) {
|
|
1677
|
+
return null;
|
|
1678
|
+
}
|
|
1679
|
+
patchedLines[patchedLinesLength] = lines[toPos];
|
|
1680
|
+
return applyHunk(hunkLines, toPos + 1, maxErrors - 1, hunkLinesI, false, patchedLines, patchedLinesLength + 1);
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
if (operation === '+') {
|
|
1684
|
+
if (!lastContextLineMatched) {
|
|
1685
|
+
return null;
|
|
1686
|
+
}
|
|
1687
|
+
patchedLines[patchedLinesLength] = content;
|
|
1688
|
+
patchedLinesLength++;
|
|
1689
|
+
nConsecutiveOldContextLines = 0;
|
|
1690
|
+
nextContextLineMustMatch = true;
|
|
1691
|
+
}
|
|
1692
|
+
if (operation === ' ') {
|
|
1693
|
+
nConsecutiveOldContextLines++;
|
|
1694
|
+
patchedLines[patchedLinesLength] = lines[toPos];
|
|
1695
|
+
if (compareLine(toPos + 1, lines[toPos], operation, content)) {
|
|
1696
|
+
patchedLinesLength++;
|
|
1697
|
+
lastContextLineMatched = true;
|
|
1698
|
+
nextContextLineMustMatch = false;
|
|
1699
|
+
toPos++;
|
|
1700
|
+
}
|
|
1701
|
+
else {
|
|
1702
|
+
if (nextContextLineMustMatch || !maxErrors) {
|
|
1703
|
+
return null;
|
|
1704
|
+
}
|
|
1705
|
+
// Consider 3 possibilities in sequence:
|
|
1706
|
+
// 1. lines contains a *substitution* not included in the patch context, or
|
|
1707
|
+
// 2. lines contains an *insertion* not included in the patch context, or
|
|
1708
|
+
// 3. lines contains a *deletion* not included in the patch context
|
|
1709
|
+
// The first two options are of course only possible if the line from lines is non-null -
|
|
1710
|
+
// i.e. only option 3 is possible if we've overrun the end of the old file.
|
|
1711
|
+
return (lines[toPos] && (applyHunk(hunkLines, toPos + 1, maxErrors - 1, hunkLinesI + 1, false, patchedLines, patchedLinesLength + 1) || applyHunk(hunkLines, toPos + 1, maxErrors - 1, hunkLinesI, false, patchedLines, patchedLinesLength + 1)) || applyHunk(hunkLines, toPos, maxErrors - 1, hunkLinesI + 1, false, patchedLines, patchedLinesLength));
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
// Before returning, trim any unmodified context lines off the end of patchedLines and reduce
|
|
1716
|
+
// toPos (and thus oldLineLastI) accordingly. This allows later hunks to be applied to a region
|
|
1717
|
+
// that starts in this hunk's trailing context.
|
|
1718
|
+
patchedLinesLength -= nConsecutiveOldContextLines;
|
|
1719
|
+
toPos -= nConsecutiveOldContextLines;
|
|
1720
|
+
patchedLines.length = patchedLinesLength;
|
|
1721
|
+
return {
|
|
1722
|
+
patchedLines,
|
|
1723
|
+
oldLineLastI: toPos - 1
|
|
1724
|
+
};
|
|
1725
|
+
}
|
|
1726
|
+
const resultLines = [];
|
|
1727
|
+
// Search best fit offsets for each hunk based on the previous ones
|
|
1728
|
+
let prevHunkOffset = 0;
|
|
1729
|
+
for (let i = 0; i < hunks.length; i++) {
|
|
1730
|
+
const hunk = hunks[i];
|
|
1731
|
+
let hunkResult;
|
|
1732
|
+
const maxLine = lines.length - hunk.oldLines + fuzzFactor;
|
|
1733
|
+
let toPos;
|
|
1734
|
+
for (let maxErrors = 0; maxErrors <= fuzzFactor; maxErrors++) {
|
|
1735
|
+
toPos = hunk.oldStart + prevHunkOffset - 1;
|
|
1736
|
+
const iterator = distanceIterator(toPos, minLine, maxLine);
|
|
1737
|
+
for (; toPos !== undefined; toPos = iterator()) {
|
|
1738
|
+
hunkResult = applyHunk(hunk.lines, toPos, maxErrors);
|
|
1739
|
+
if (hunkResult) {
|
|
1740
|
+
break;
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
if (hunkResult) {
|
|
1744
|
+
break;
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
if (!hunkResult) {
|
|
1748
|
+
return false;
|
|
1749
|
+
}
|
|
1750
|
+
// Copy everything from the end of where we applied the last hunk to the start of this hunk
|
|
1751
|
+
for (let i = minLine; i < toPos; i++) {
|
|
1752
|
+
resultLines.push(lines[i]);
|
|
1753
|
+
}
|
|
1754
|
+
// Add the lines produced by applying the hunk:
|
|
1755
|
+
for (let i = 0; i < hunkResult.patchedLines.length; i++) {
|
|
1756
|
+
const line = hunkResult.patchedLines[i];
|
|
1757
|
+
resultLines.push(line);
|
|
1758
|
+
}
|
|
1759
|
+
// Set lower text limit to end of the current hunk, so next ones don't try
|
|
1760
|
+
// to fit over already patched text
|
|
1761
|
+
minLine = hunkResult.oldLineLastI + 1;
|
|
1762
|
+
// Note the offset between where the patch said the hunk should've applied and where we
|
|
1763
|
+
// applied it, so we can adjust future hunks accordingly:
|
|
1764
|
+
prevHunkOffset = toPos + 1 - hunk.oldStart;
|
|
1765
|
+
}
|
|
1766
|
+
// Copy over the rest of the lines from the old text
|
|
1767
|
+
for (let i = minLine; i < lines.length; i++) {
|
|
1768
|
+
resultLines.push(lines[i]);
|
|
1769
|
+
}
|
|
1770
|
+
return resultLines.join('\n');
|
|
1771
|
+
}
|
|
1772
|
+
/**
|
|
1773
|
+
* applies one or more patches.
|
|
1774
|
+
*
|
|
1775
|
+
* `patch` may be either an array of structured patch objects, or a string representing a patch in unified diff format (which may patch one or more files).
|
|
1776
|
+
*
|
|
1777
|
+
* This method will iterate over the contents of the patch and apply to data provided through callbacks. The general flow for each patch index is:
|
|
1778
|
+
*
|
|
1779
|
+
* - `options.loadFile(index, callback)` is called. The caller should then load the contents of the file and then pass that to the `callback(err, data)` callback. Passing an `err` will terminate further patch execution.
|
|
1780
|
+
* - `options.patched(index, content, callback)` is called once the patch has been applied. `content` will be the return value from `applyPatch`. When it's ready, the caller should call `callback(err)` callback. Passing an `err` will terminate further patch execution.
|
|
1781
|
+
*
|
|
1782
|
+
* Once all patches have been applied or an error occurs, the `options.complete(err)` callback is made.
|
|
1783
|
+
*/
|
|
1784
|
+
function applyPatches(uniDiff, options) {
|
|
1785
|
+
const spDiff = typeof uniDiff === 'string' ? parsePatch(uniDiff) : uniDiff;
|
|
1786
|
+
let currentIndex = 0;
|
|
1787
|
+
function processIndex() {
|
|
1788
|
+
const index = spDiff[currentIndex++];
|
|
1789
|
+
if (!index) {
|
|
1790
|
+
return options.complete();
|
|
1791
|
+
}
|
|
1792
|
+
options.loadFile(index, function (err, data) {
|
|
1793
|
+
if (err) {
|
|
1794
|
+
return options.complete(err);
|
|
1795
|
+
}
|
|
1796
|
+
const updatedContent = applyPatch(data, index, options);
|
|
1797
|
+
options.patched(index, updatedContent, function (err) {
|
|
1798
|
+
if (err) {
|
|
1799
|
+
return options.complete(err);
|
|
1800
|
+
}
|
|
1801
|
+
processIndex();
|
|
1802
|
+
});
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
processIndex();
|
|
1806
|
+
}
|
|
1807
|
+
|
|
1808
|
+
function swapPrefix(fileName) {
|
|
1809
|
+
if (fileName === undefined || fileName === '/dev/null') {
|
|
1810
|
+
return fileName;
|
|
1811
|
+
}
|
|
1812
|
+
if (fileName.startsWith('a/')) {
|
|
1813
|
+
return 'b/' + fileName.slice(2);
|
|
1814
|
+
}
|
|
1815
|
+
if (fileName.startsWith('b/')) {
|
|
1816
|
+
return 'a/' + fileName.slice(2);
|
|
1817
|
+
}
|
|
1818
|
+
return fileName;
|
|
1819
|
+
}
|
|
1820
|
+
function reversePatch(structuredPatch) {
|
|
1821
|
+
if (Array.isArray(structuredPatch)) {
|
|
1822
|
+
// (See comment in unixToWin for why we need the pointless-looking anonymous function here)
|
|
1823
|
+
return structuredPatch.map(patch => reversePatch(patch)).reverse();
|
|
1824
|
+
}
|
|
1825
|
+
const reversed = Object.assign(Object.assign({}, structuredPatch), { oldFileName: structuredPatch.isGit ? swapPrefix(structuredPatch.newFileName) : structuredPatch.newFileName, oldHeader: structuredPatch.newHeader, newFileName: structuredPatch.isGit ? swapPrefix(structuredPatch.oldFileName) : structuredPatch.oldFileName, newHeader: structuredPatch.oldHeader, oldMode: structuredPatch.newMode, newMode: structuredPatch.oldMode, isCreate: structuredPatch.isDelete, isDelete: structuredPatch.isCreate, hunks: structuredPatch.hunks.map(hunk => {
|
|
1826
|
+
return {
|
|
1827
|
+
oldLines: hunk.newLines,
|
|
1828
|
+
oldStart: hunk.newStart,
|
|
1829
|
+
newLines: hunk.oldLines,
|
|
1830
|
+
newStart: hunk.oldStart,
|
|
1831
|
+
lines: hunk.lines.map(l => {
|
|
1832
|
+
if (l.startsWith('-')) {
|
|
1833
|
+
return `+${l.slice(1)}`;
|
|
1834
|
+
}
|
|
1835
|
+
if (l.startsWith('+')) {
|
|
1836
|
+
return `-${l.slice(1)}`;
|
|
1837
|
+
}
|
|
1838
|
+
return l;
|
|
1839
|
+
})
|
|
1840
|
+
};
|
|
1841
|
+
}) });
|
|
1842
|
+
if (structuredPatch.isCopy) {
|
|
1843
|
+
// Reversing a copy means deleting the file that was created by the copy.
|
|
1844
|
+
// The "old" file in the reversed patch is the copy destination (which
|
|
1845
|
+
// exists and should be removed), and the "new" file is /dev/null.
|
|
1846
|
+
//
|
|
1847
|
+
// Note: we clear the hunks because the original copy's hunks describe
|
|
1848
|
+
// the diff between the source and destination, not the full content of
|
|
1849
|
+
// the destination file, so they can't be meaningfully reversed into a
|
|
1850
|
+
// deletion hunk. This means the resulting patch is not something
|
|
1851
|
+
// `git apply` will accept (it requires deletion patches to include a
|
|
1852
|
+
// hunk removing every line). Producing a correct deletion hunk would
|
|
1853
|
+
// require knowing the full content of the copy destination, which we
|
|
1854
|
+
// don't have. Consumers that need a `git apply`-compatible patch will
|
|
1855
|
+
// need to resolve the full file content themselves.
|
|
1856
|
+
reversed.newFileName = '/dev/null';
|
|
1857
|
+
reversed.newHeader = undefined;
|
|
1858
|
+
reversed.isDelete = true;
|
|
1859
|
+
delete reversed.isCreate;
|
|
1860
|
+
delete reversed.isCopy;
|
|
1861
|
+
delete reversed.isRename;
|
|
1862
|
+
reversed.hunks = [];
|
|
1863
|
+
}
|
|
1864
|
+
// Reversing a rename is just a rename in the opposite direction;
|
|
1865
|
+
// isRename stays set and the filenames are already swapped above.
|
|
1866
|
+
return reversed;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* Returns true if the filename contains characters that require C-style
|
|
1871
|
+
* quoting (as used by Git and GNU diffutils in diff output).
|
|
1872
|
+
*/
|
|
1873
|
+
function needsQuoting(s) {
|
|
1874
|
+
for (let i = 0; i < s.length; i++) {
|
|
1875
|
+
if (s[i] < '\x20' || s[i] > '\x7e' || s[i] === '"' || s[i] === '\\') {
|
|
1876
|
+
return true;
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
return false;
|
|
1880
|
+
}
|
|
1881
|
+
/**
|
|
1882
|
+
* C-style quotes a filename, encoding special characters as escape sequences
|
|
1883
|
+
* and non-ASCII bytes as octal escapes. This is the inverse of
|
|
1884
|
+
* `parseQuotedFileName` in parse.ts.
|
|
1885
|
+
*
|
|
1886
|
+
* Non-ASCII bytes are encoded as UTF-8 before being emitted as octal escapes.
|
|
1887
|
+
* This matches the behaviour of both Git and GNU diffutils, which always emit
|
|
1888
|
+
* UTF-8 octal escapes regardless of the underlying filesystem encoding (e.g.
|
|
1889
|
+
* Git for Windows converts from NTFS's UTF-16 to UTF-8 internally).
|
|
1890
|
+
*
|
|
1891
|
+
* If the filename doesn't need quoting, returns it as-is.
|
|
1892
|
+
*/
|
|
1893
|
+
function quoteFileNameIfNeeded(s) {
|
|
1894
|
+
if (!needsQuoting(s)) {
|
|
1895
|
+
return s;
|
|
1896
|
+
}
|
|
1897
|
+
let result = '"';
|
|
1898
|
+
const bytes = new TextEncoder().encode(s);
|
|
1899
|
+
let i = 0;
|
|
1900
|
+
while (i < bytes.length) {
|
|
1901
|
+
const b = bytes[i];
|
|
1902
|
+
// See https://en.wikipedia.org/wiki/Escape_sequences_in_C#Escape_sequences
|
|
1903
|
+
if (b === 0x07) {
|
|
1904
|
+
result += '\\a';
|
|
1905
|
+
}
|
|
1906
|
+
else if (b === 0x08) {
|
|
1907
|
+
result += '\\b';
|
|
1908
|
+
}
|
|
1909
|
+
else if (b === 0x09) {
|
|
1910
|
+
result += '\\t';
|
|
1911
|
+
}
|
|
1912
|
+
else if (b === 0x0a) {
|
|
1913
|
+
result += '\\n';
|
|
1914
|
+
}
|
|
1915
|
+
else if (b === 0x0b) {
|
|
1916
|
+
result += '\\v';
|
|
1917
|
+
}
|
|
1918
|
+
else if (b === 0x0c) {
|
|
1919
|
+
result += '\\f';
|
|
1920
|
+
}
|
|
1921
|
+
else if (b === 0x0d) {
|
|
1922
|
+
result += '\\r';
|
|
1923
|
+
}
|
|
1924
|
+
else if (b === 0x22) {
|
|
1925
|
+
result += '\\"';
|
|
1926
|
+
}
|
|
1927
|
+
else if (b === 0x5c) {
|
|
1928
|
+
result += '\\\\';
|
|
1929
|
+
}
|
|
1930
|
+
else if (b >= 0x20 && b <= 0x7e) {
|
|
1931
|
+
// Just a printable ASCII character that is neither a double quote nor a
|
|
1932
|
+
// backslash; no need to escape it.
|
|
1933
|
+
result += String.fromCharCode(b);
|
|
1934
|
+
}
|
|
1935
|
+
else {
|
|
1936
|
+
// Either part of a non-ASCII character or a control character without a
|
|
1937
|
+
// special escape sequence; needs escaping as a 3-digit octal escape
|
|
1938
|
+
result += '\\' + b.toString(8).padStart(3, '0');
|
|
1939
|
+
}
|
|
1940
|
+
i++;
|
|
1941
|
+
}
|
|
1942
|
+
result += '"';
|
|
1943
|
+
return result;
|
|
1944
|
+
}
|
|
1945
|
+
const INCLUDE_HEADERS = {
|
|
1946
|
+
includeIndex: true,
|
|
1947
|
+
includeUnderline: true,
|
|
1948
|
+
includeFileHeaders: true
|
|
1949
|
+
};
|
|
1950
|
+
const FILE_HEADERS_ONLY = {
|
|
1951
|
+
includeIndex: false,
|
|
1952
|
+
includeUnderline: false,
|
|
1953
|
+
includeFileHeaders: true
|
|
1954
|
+
};
|
|
1955
|
+
const OMIT_HEADERS = {
|
|
1956
|
+
includeIndex: false,
|
|
1957
|
+
includeUnderline: false,
|
|
1958
|
+
includeFileHeaders: false
|
|
1959
|
+
};
|
|
1960
|
+
function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
|
|
1961
|
+
let optionsObj;
|
|
1962
|
+
if (!options) {
|
|
1963
|
+
optionsObj = {};
|
|
1964
|
+
}
|
|
1965
|
+
else if (typeof options === 'function') {
|
|
1966
|
+
optionsObj = { callback: options };
|
|
1967
|
+
}
|
|
1968
|
+
else {
|
|
1969
|
+
optionsObj = options;
|
|
1970
|
+
}
|
|
1971
|
+
if (typeof optionsObj.context === 'undefined') {
|
|
1972
|
+
optionsObj.context = 4;
|
|
1973
|
+
}
|
|
1974
|
+
// We copy this into its own variable to placate TypeScript, which thinks
|
|
1975
|
+
// optionsObj.context might be undefined in the callbacks below.
|
|
1976
|
+
const context = optionsObj.context;
|
|
1977
|
+
// @ts-expect-error (runtime check for something that is correctly a static type error)
|
|
1978
|
+
if (optionsObj.newlineIsToken) {
|
|
1979
|
+
throw new Error('newlineIsToken may not be used with patch-generation functions, only with diffing functions');
|
|
1980
|
+
}
|
|
1981
|
+
if (!optionsObj.callback) {
|
|
1982
|
+
return diffLinesResultToPatch(diffLines(oldStr, newStr, optionsObj));
|
|
1983
|
+
}
|
|
1984
|
+
else {
|
|
1985
|
+
const { callback } = optionsObj;
|
|
1986
|
+
diffLines(oldStr, newStr, Object.assign(Object.assign({}, optionsObj), { callback: (diff) => {
|
|
1987
|
+
const patch = diffLinesResultToPatch(diff);
|
|
1988
|
+
// TypeScript is unhappy without the cast because it does not understand that `patch` may
|
|
1989
|
+
// be undefined here only if `callback` is StructuredPatchCallbackAbortable:
|
|
1990
|
+
callback(patch);
|
|
1991
|
+
} }));
|
|
1992
|
+
}
|
|
1993
|
+
function diffLinesResultToPatch(diff) {
|
|
1994
|
+
// STEP 1: Build up the patch with no "" lines and with the arrays
|
|
1995
|
+
// of lines containing trailing newline characters. We'll tidy up later...
|
|
1996
|
+
if (!diff) {
|
|
1997
|
+
return;
|
|
1998
|
+
}
|
|
1999
|
+
diff.push({ value: '', lines: [] }); // Append an empty value to make cleanup easier
|
|
2000
|
+
function contextLines(lines) {
|
|
2001
|
+
return lines.map(function (entry) { return ' ' + entry; });
|
|
2002
|
+
}
|
|
2003
|
+
const hunks = [];
|
|
2004
|
+
let oldRangeStart = 0, newRangeStart = 0, curRange = [], oldLine = 1, newLine = 1;
|
|
2005
|
+
for (let i = 0; i < diff.length; i++) {
|
|
2006
|
+
const current = diff[i], lines = current.lines || splitLines(current.value);
|
|
2007
|
+
current.lines = lines;
|
|
2008
|
+
if (current.added || current.removed) {
|
|
2009
|
+
// If we have previous context, start with that
|
|
2010
|
+
if (!oldRangeStart) {
|
|
2011
|
+
const prev = diff[i - 1];
|
|
2012
|
+
oldRangeStart = oldLine;
|
|
2013
|
+
newRangeStart = newLine;
|
|
2014
|
+
if (prev) {
|
|
2015
|
+
curRange = context > 0 ? contextLines(prev.lines.slice(-context)) : [];
|
|
2016
|
+
oldRangeStart -= curRange.length;
|
|
2017
|
+
newRangeStart -= curRange.length;
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
// Output our changes
|
|
2021
|
+
for (const line of lines) {
|
|
2022
|
+
curRange.push((current.added ? '+' : '-') + line);
|
|
2023
|
+
}
|
|
2024
|
+
// Track the updated file position
|
|
2025
|
+
if (current.added) {
|
|
2026
|
+
newLine += lines.length;
|
|
2027
|
+
}
|
|
2028
|
+
else {
|
|
2029
|
+
oldLine += lines.length;
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
else {
|
|
2033
|
+
// Identical context lines. Track line changes
|
|
2034
|
+
if (oldRangeStart) {
|
|
2035
|
+
// Close out any changes that have been output (or join overlapping)
|
|
2036
|
+
if (lines.length <= context * 2 && i < diff.length - 2) {
|
|
2037
|
+
// Overlapping
|
|
2038
|
+
for (const line of contextLines(lines)) {
|
|
2039
|
+
curRange.push(line);
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
else {
|
|
2043
|
+
// end the range and output
|
|
2044
|
+
const contextSize = Math.min(lines.length, context);
|
|
2045
|
+
for (const line of contextLines(lines.slice(0, contextSize))) {
|
|
2046
|
+
curRange.push(line);
|
|
2047
|
+
}
|
|
2048
|
+
const hunk = {
|
|
2049
|
+
oldStart: oldRangeStart,
|
|
2050
|
+
oldLines: (oldLine - oldRangeStart + contextSize),
|
|
2051
|
+
newStart: newRangeStart,
|
|
2052
|
+
newLines: (newLine - newRangeStart + contextSize),
|
|
2053
|
+
lines: curRange
|
|
2054
|
+
};
|
|
2055
|
+
hunks.push(hunk);
|
|
2056
|
+
oldRangeStart = 0;
|
|
2057
|
+
newRangeStart = 0;
|
|
2058
|
+
curRange = [];
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
oldLine += lines.length;
|
|
2062
|
+
newLine += lines.length;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
// Step 2: eliminate the trailing `\n` from each line of each hunk, and, where needed, add
|
|
2066
|
+
// "".
|
|
2067
|
+
for (const hunk of hunks) {
|
|
2068
|
+
for (let i = 0; i < hunk.lines.length; i++) {
|
|
2069
|
+
if (hunk.lines[i].endsWith('\n')) {
|
|
2070
|
+
hunk.lines[i] = hunk.lines[i].slice(0, -1);
|
|
2071
|
+
}
|
|
2072
|
+
else {
|
|
2073
|
+
hunk.lines.splice(i + 1, 0, '\');
|
|
2074
|
+
i++; // Skip the line we just added, then continue iterating
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
return {
|
|
2079
|
+
oldFileName: oldFileName, newFileName: newFileName,
|
|
2080
|
+
oldHeader: oldHeader, newHeader: newHeader,
|
|
2081
|
+
hunks: hunks
|
|
2082
|
+
};
|
|
2083
|
+
}
|
|
2084
|
+
}
|
|
2085
|
+
/**
|
|
2086
|
+
* creates a unified diff patch.
|
|
2087
|
+
*
|
|
2088
|
+
* @param patch either a single structured patch object (as returned by `structuredPatch`) or an
|
|
2089
|
+
* array of them (as returned by `parsePatch`).
|
|
2090
|
+
* @param headerOptions behaves the same as the `headerOptions` option of `createTwoFilesPatch`.
|
|
2091
|
+
* Ignored for patches where `isGit` is `true`.
|
|
2092
|
+
*
|
|
2093
|
+
* When a patch has `isGit: true`, `formatPatch` output is changed to more closely match Git's
|
|
2094
|
+
* output: it emits a `diff --git` header, emits Git extended headers as appropriate based on
|
|
2095
|
+
* properties like `isRename`, `isCreate`, `newMode`, etc, and will omit `---`/`+++` file
|
|
2096
|
+
* headers for patches with no hunks (e.g. renames without content changes).
|
|
2097
|
+
*/
|
|
2098
|
+
function formatPatch(patch, headerOptions) {
|
|
2099
|
+
var _a, _b, _c, _d, _e, _f;
|
|
2100
|
+
if (!headerOptions) {
|
|
2101
|
+
headerOptions = INCLUDE_HEADERS;
|
|
2102
|
+
}
|
|
2103
|
+
if (Array.isArray(patch)) {
|
|
2104
|
+
if (patch.length > 1 && !headerOptions.includeFileHeaders && !patch.every(p => p.isGit)) {
|
|
2105
|
+
throw new Error('Cannot omit file headers on a multi-file patch. '
|
|
2106
|
+
+ '(The result would be unparseable; how would a tool trying to apply '
|
|
2107
|
+
+ 'the patch know which changes are to which file?)');
|
|
2108
|
+
}
|
|
2109
|
+
return patch.map(p => formatPatch(p, headerOptions)).join('\n');
|
|
2110
|
+
}
|
|
2111
|
+
const ret = [];
|
|
2112
|
+
// Git patches have a fixed header format (diff --git, extended headers,
|
|
2113
|
+
// and ---/+++ when hunks are present), so headerOptions is ignored.
|
|
2114
|
+
if (patch.isGit) {
|
|
2115
|
+
headerOptions = INCLUDE_HEADERS;
|
|
2116
|
+
// Emit Git-style diff --git header and extended headers.
|
|
2117
|
+
// Git never puts /dev/null in the "diff --git" line; for file
|
|
2118
|
+
// creations/deletions it uses the real filename on both sides.
|
|
2119
|
+
if (!patch.oldFileName) {
|
|
2120
|
+
throw new Error('oldFileName must be specified for Git patches');
|
|
2121
|
+
}
|
|
2122
|
+
if (!patch.newFileName) {
|
|
2123
|
+
throw new Error('newFileName must be specified for Git patches');
|
|
2124
|
+
}
|
|
2125
|
+
let gitOldName = patch.oldFileName;
|
|
2126
|
+
let gitNewName = patch.newFileName;
|
|
2127
|
+
if (patch.isCreate && gitOldName === '/dev/null') {
|
|
2128
|
+
gitOldName = gitNewName.replace(/^b\//, 'a/');
|
|
2129
|
+
}
|
|
2130
|
+
else if (patch.isDelete && gitNewName === '/dev/null') {
|
|
2131
|
+
gitNewName = gitOldName.replace(/^a\//, 'b/');
|
|
2132
|
+
}
|
|
2133
|
+
ret.push('diff --git ' + quoteFileNameIfNeeded(gitOldName) + ' ' + quoteFileNameIfNeeded(gitNewName));
|
|
2134
|
+
if (patch.isDelete) {
|
|
2135
|
+
ret.push('deleted file mode ' + ((_a = patch.oldMode) !== null && _a !== void 0 ? _a : '100644'));
|
|
2136
|
+
}
|
|
2137
|
+
if (patch.isCreate) {
|
|
2138
|
+
ret.push('new file mode ' + ((_b = patch.newMode) !== null && _b !== void 0 ? _b : '100644'));
|
|
2139
|
+
}
|
|
2140
|
+
if (patch.oldMode && patch.newMode && !patch.isDelete && !patch.isCreate) {
|
|
2141
|
+
ret.push('old mode ' + patch.oldMode);
|
|
2142
|
+
ret.push('new mode ' + patch.newMode);
|
|
2143
|
+
}
|
|
2144
|
+
if (patch.isRename) {
|
|
2145
|
+
ret.push('rename from ' + quoteFileNameIfNeeded(((_c = patch.oldFileName) !== null && _c !== void 0 ? _c : '').replace(/^a\//, '')));
|
|
2146
|
+
ret.push('rename to ' + quoteFileNameIfNeeded(((_d = patch.newFileName) !== null && _d !== void 0 ? _d : '').replace(/^b\//, '')));
|
|
2147
|
+
}
|
|
2148
|
+
if (patch.isCopy) {
|
|
2149
|
+
ret.push('copy from ' + quoteFileNameIfNeeded(((_e = patch.oldFileName) !== null && _e !== void 0 ? _e : '').replace(/^a\//, '')));
|
|
2150
|
+
ret.push('copy to ' + quoteFileNameIfNeeded(((_f = patch.newFileName) !== null && _f !== void 0 ? _f : '').replace(/^b\//, '')));
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
else {
|
|
2154
|
+
if (headerOptions.includeIndex && patch.oldFileName == patch.newFileName && patch.oldFileName !== undefined) {
|
|
2155
|
+
ret.push('Index: ' + patch.oldFileName);
|
|
2156
|
+
}
|
|
2157
|
+
if (headerOptions.includeUnderline) {
|
|
2158
|
+
ret.push('===================================================================');
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
// Emit --- / +++ file headers. For Git patches with no hunks (e.g.
|
|
2162
|
+
// pure renames, mode-only changes), Git omits these, so we do too.
|
|
2163
|
+
const hasHunks = patch.hunks.length > 0;
|
|
2164
|
+
if (headerOptions.includeFileHeaders && patch.oldFileName !== undefined && patch.newFileName !== undefined
|
|
2165
|
+
&& (!patch.isGit || hasHunks)) {
|
|
2166
|
+
ret.push('--- ' + quoteFileNameIfNeeded(patch.oldFileName) + (patch.oldHeader ? '\t' + patch.oldHeader : ''));
|
|
2167
|
+
ret.push('+++ ' + quoteFileNameIfNeeded(patch.newFileName) + (patch.newHeader ? '\t' + patch.newHeader : ''));
|
|
2168
|
+
}
|
|
2169
|
+
for (let i = 0; i < patch.hunks.length; i++) {
|
|
2170
|
+
const hunk = patch.hunks[i];
|
|
2171
|
+
// Unified Diff Format quirk: If the chunk size is 0,
|
|
2172
|
+
// the first number is one lower than one would expect.
|
|
2173
|
+
// https://www.artima.com/weblogs/viewpost.jsp?thread=164293
|
|
2174
|
+
const oldStart = hunk.oldLines === 0 ? hunk.oldStart - 1 : hunk.oldStart;
|
|
2175
|
+
const newStart = hunk.newLines === 0 ? hunk.newStart - 1 : hunk.newStart;
|
|
2176
|
+
ret.push('@@ -' + oldStart + ',' + hunk.oldLines
|
|
2177
|
+
+ ' +' + newStart + ',' + hunk.newLines
|
|
2178
|
+
+ ' @@');
|
|
2179
|
+
for (const line of hunk.lines) {
|
|
2180
|
+
ret.push(line);
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
return ret.join('\n') + '\n';
|
|
2184
|
+
}
|
|
2185
|
+
function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
|
|
2186
|
+
if (typeof options === 'function') {
|
|
2187
|
+
options = { callback: options };
|
|
2188
|
+
}
|
|
2189
|
+
if (!(options === null || options === void 0 ? void 0 : options.callback)) {
|
|
2190
|
+
const patchObj = structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options);
|
|
2191
|
+
if (!patchObj) {
|
|
2192
|
+
return;
|
|
2193
|
+
}
|
|
2194
|
+
return formatPatch(patchObj, options === null || options === void 0 ? void 0 : options.headerOptions);
|
|
2195
|
+
}
|
|
2196
|
+
else {
|
|
2197
|
+
const { callback } = options;
|
|
2198
|
+
structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, Object.assign(Object.assign({}, options), { callback: patchObj => {
|
|
2199
|
+
if (!patchObj) {
|
|
2200
|
+
callback(undefined);
|
|
2201
|
+
}
|
|
2202
|
+
else {
|
|
2203
|
+
callback(formatPatch(patchObj, options.headerOptions));
|
|
2204
|
+
}
|
|
2205
|
+
} }));
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {
|
|
2209
|
+
return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);
|
|
2210
|
+
}
|
|
2211
|
+
/**
|
|
2212
|
+
* Split `text` into an array of lines, including the trailing newline character (where present)
|
|
2213
|
+
*/
|
|
2214
|
+
function splitLines(text) {
|
|
2215
|
+
const hasTrailingNl = text.endsWith('\n');
|
|
2216
|
+
const result = text.split('\n').map(line => line + '\n');
|
|
2217
|
+
if (hasTrailingNl) {
|
|
2218
|
+
result.pop();
|
|
2219
|
+
}
|
|
2220
|
+
else {
|
|
2221
|
+
result.push(result.pop().slice(0, -1));
|
|
2222
|
+
}
|
|
2223
|
+
return result;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* converts a list of change objects to the format returned by Google's [diff-match-patch](https://github.com/google/diff-match-patch) library
|
|
2228
|
+
*/
|
|
2229
|
+
function convertChangesToDMP(changes) {
|
|
2230
|
+
const ret = [];
|
|
2231
|
+
let change, operation;
|
|
2232
|
+
for (let i = 0; i < changes.length; i++) {
|
|
2233
|
+
change = changes[i];
|
|
2234
|
+
if (change.added) {
|
|
2235
|
+
operation = 1;
|
|
2236
|
+
}
|
|
2237
|
+
else if (change.removed) {
|
|
2238
|
+
operation = -1;
|
|
2239
|
+
}
|
|
2240
|
+
else {
|
|
2241
|
+
operation = 0;
|
|
2242
|
+
}
|
|
2243
|
+
ret.push([operation, change.value]);
|
|
2244
|
+
}
|
|
2245
|
+
return ret;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
/**
|
|
2249
|
+
* converts a list of change objects to a serialized XML format
|
|
2250
|
+
*/
|
|
2251
|
+
function convertChangesToXML(changes) {
|
|
2252
|
+
const ret = [];
|
|
2253
|
+
for (let i = 0; i < changes.length; i++) {
|
|
2254
|
+
const change = changes[i];
|
|
2255
|
+
if (change.added) {
|
|
2256
|
+
ret.push('<ins>');
|
|
2257
|
+
}
|
|
2258
|
+
else if (change.removed) {
|
|
2259
|
+
ret.push('<del>');
|
|
2260
|
+
}
|
|
2261
|
+
ret.push(escapeHTML(change.value));
|
|
2262
|
+
if (change.added) {
|
|
2263
|
+
ret.push('</ins>');
|
|
2264
|
+
}
|
|
2265
|
+
else if (change.removed) {
|
|
2266
|
+
ret.push('</del>');
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
return ret.join('');
|
|
2270
|
+
}
|
|
2271
|
+
function escapeHTML(s) {
|
|
2272
|
+
let n = s;
|
|
2273
|
+
n = n.replace(/&/g, '&');
|
|
2274
|
+
n = n.replace(/</g, '<');
|
|
2275
|
+
n = n.replace(/>/g, '>');
|
|
2276
|
+
n = n.replace(/"/g, '"');
|
|
2277
|
+
return n;
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2280
|
+
exports.Diff = Diff;
|
|
2281
|
+
exports.FILE_HEADERS_ONLY = FILE_HEADERS_ONLY;
|
|
2282
|
+
exports.INCLUDE_HEADERS = INCLUDE_HEADERS;
|
|
2283
|
+
exports.OMIT_HEADERS = OMIT_HEADERS;
|
|
2284
|
+
exports.applyPatch = applyPatch;
|
|
2285
|
+
exports.applyPatches = applyPatches;
|
|
2286
|
+
exports.arrayDiff = arrayDiff;
|
|
2287
|
+
exports.canonicalize = canonicalize;
|
|
2288
|
+
exports.characterDiff = characterDiff;
|
|
2289
|
+
exports.convertChangesToDMP = convertChangesToDMP;
|
|
2290
|
+
exports.convertChangesToXML = convertChangesToXML;
|
|
2291
|
+
exports.createPatch = createPatch;
|
|
2292
|
+
exports.createTwoFilesPatch = createTwoFilesPatch;
|
|
2293
|
+
exports.cssDiff = cssDiff;
|
|
2294
|
+
exports.diffArrays = diffArrays;
|
|
2295
|
+
exports.diffChars = diffChars;
|
|
2296
|
+
exports.diffCss = diffCss;
|
|
2297
|
+
exports.diffJson = diffJson;
|
|
2298
|
+
exports.diffLines = diffLines;
|
|
2299
|
+
exports.diffSentences = diffSentences;
|
|
2300
|
+
exports.diffTrimmedLines = diffTrimmedLines;
|
|
2301
|
+
exports.diffWords = diffWords;
|
|
2302
|
+
exports.diffWordsWithSpace = diffWordsWithSpace;
|
|
2303
|
+
exports.formatPatch = formatPatch;
|
|
2304
|
+
exports.jsonDiff = jsonDiff;
|
|
2305
|
+
exports.lineDiff = lineDiff;
|
|
2306
|
+
exports.parsePatch = parsePatch;
|
|
2307
|
+
exports.reversePatch = reversePatch;
|
|
2308
|
+
exports.sentenceDiff = sentenceDiff;
|
|
2309
|
+
exports.structuredPatch = structuredPatch;
|
|
2310
|
+
exports.wordDiff = wordDiff;
|
|
2311
|
+
exports.wordsWithSpaceDiff = wordsWithSpaceDiff;
|
|
2312
|
+
|
|
2313
|
+
}));
|