@mr-hope/vuepress-shared
Advanced tools
Comparing version 2.0.0-beta.21 to 2.0.0-beta.22
{ | ||
"name": "@mr-hope/vuepress-shared", | ||
"version": "2.0.0-beta.21", | ||
"version": "2.0.0-beta.22", | ||
"description": "Shared files for vuepress-theme-hope", | ||
@@ -54,3 +54,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "1377caea66bc20f19de412e4d73cb4781b30d089" | ||
"gitHead": "0bedd8dd83dbbd4582ad151dcba71995956d23c8" | ||
} |
@@ -97,2 +97,3 @@ /** | ||
popperRef.contains(mouseDownTarget)); | ||
if ( | ||
@@ -99,0 +100,0 @@ isBound || |
@@ -7,2 +7,3 @@ import type { RouteLocationNormalizedLoaded } from "vue-router"; | ||
const match = HASH_REGEXP.exec(path); | ||
if (match) return match[0]; | ||
@@ -9,0 +10,0 @@ |
@@ -86,2 +86,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
} | ||
return { find, replacement }; | ||
@@ -112,4 +113,6 @@ } | ||
const merged: Record<string, any> = { ...a }; | ||
for (const key in b) { | ||
const value = b[key]; | ||
if (value == null) { | ||
@@ -120,2 +123,3 @@ continue; | ||
const existing = merged[key]; | ||
if (Array.isArray(existing) && Array.isArray(value)) { | ||
@@ -151,2 +155,3 @@ merged[key] = [...existing, ...value]; | ||
} | ||
return merged; | ||
@@ -153,0 +158,0 @@ } |
@@ -48,2 +48,3 @@ import { dayjs } from "./dayjs"; | ||
const { lang, timezone, type } = options; | ||
dayjs.locale(getLang(lang)); | ||
@@ -50,0 +51,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1104419