🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@git-diff-view/vue

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@git-diff-view/vue - npm Package Compare versions

Comparing version
0.0.39
to
0.0.40
+1
-0
index.d.ts

@@ -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