@git-diff-view/core
Advanced tools
+2
-2
@@ -6,3 +6,3 @@ { | ||
| "license": "MIT", | ||
| "version": "0.1.0", | ||
| "version": "0.1.1", | ||
| "main": "index.js", | ||
@@ -54,3 +54,3 @@ "types": "index.d.ts", | ||
| "dependencies": { | ||
| "@git-diff-view/lowlight": "^0.1.0", | ||
| "@git-diff-view/lowlight": "^0.1.1", | ||
| "highlight.js": "^11.11.0", | ||
@@ -57,0 +57,0 @@ "lowlight": "^3.3.0", |
+4
-4
@@ -1174,3 +1174,3 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ | ||
| onSplitHunkExpand = (dir: "up" | "down" | "all" | "up-all" | "down-all", index: number, needTrigger = true) => { | ||
| if (this.getExpandEnabled()) return; | ||
| if (!this.getExpandEnabled()) return; | ||
@@ -1310,3 +1310,3 @@ const current = this.#splitHunksLines?.[index]; | ||
| onUnifiedHunkExpand = (dir: "up" | "down" | "all" | "up-all" | "down-all", index: number, needTrigger = true) => { | ||
| if (this.getExpandEnabled()) return; | ||
| if (!this.getExpandEnabled()) return; | ||
@@ -1413,3 +1413,3 @@ const current = this.#unifiedHunksLines?.[index]; | ||
| onAllExpand = (mode: "split" | "unified") => { | ||
| if (this.getExpandEnabled()) return; | ||
| if (!this.getExpandEnabled()) return; | ||
@@ -1440,3 +1440,3 @@ if (mode === "split") { | ||
| onAllCollapse = (mode: "split" | "unified") => { | ||
| if (this.getExpandEnabled()) return; | ||
| if (!this.getExpandEnabled()) return; | ||
@@ -1443,0 +1443,0 @@ if (mode === "split") { |
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
1181531
0.01%0
-100%