@git-diff-view/vue
Advanced tools
+1
-0
@@ -213,2 +213,3 @@ // Generated by dts-bundle-generator v9.5.1 | ||
| _getTheme: () => "light" | "dark"; | ||
| _getIsCloned: () => boolean; | ||
| _addClonedInstance: (instance: DiffFile) => void; | ||
@@ -215,0 +216,0 @@ _notifyOthers: (instance: DiffFile) => void; |
+2
-2
@@ -6,3 +6,3 @@ { | ||
| "license": "MIT", | ||
| "version": "0.0.39", | ||
| "version": "0.0.40", | ||
| "main": "./dist/vue-git-diff-view.mjs", | ||
@@ -38,3 +38,3 @@ "type": "module", | ||
| "dependencies": { | ||
| "@git-diff-view/core": "^0.0.39", | ||
| "@git-diff-view/core": "^0.0.40", | ||
| "@types/hast": "^3.0.0", | ||
@@ -41,0 +41,0 @@ "highlight.js": "^11.11.0", |
@@ -1,2 +0,2 @@ | ||
| import { DiffFile, _cacheMap, SplitSide } from "@git-diff-view/core"; | ||
| import { DiffFile, _cacheMap, SplitSide, highlighter as buildInHighlighter } from "@git-diff-view/core"; | ||
| import { diffFontSizeName, DiffModeEnum } from "@git-diff-view/utils"; | ||
@@ -177,6 +177,9 @@ import { defineComponent, provide, ref, watch, watchEffect, computed, onUnmounted } from "vue"; | ||
| instance.notifyAll(); | ||
| } else if (instance._getHighlighterType() !== "class") { | ||
| instance.initSyntax({}); | ||
| instance.notifyAll(); | ||
| } | ||
| } else if ( | ||
| (!instance._getIsCloned() && instance._getHighlighterName() !== buildInHighlighter.name) || | ||
| instance._getHighlighterType() !== "class" | ||
| ) { | ||
| instance.initSyntax({}); | ||
| instance.notifyAll(); | ||
| } | ||
@@ -183,0 +186,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1031696
0.08%11847
0.03%+ Added
+ Added
- Removed
- Removed
Updated