valaxy 1.3.3 → 1.3.4
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/client/components/AppLink.vue +2 -2
- package/client/components/ValaxyDecrypt.vue +5 -3
- package/client/components/ValaxyMd.vue +2 -3
- package/client/composables/app/useValaxyHead.ts +11 -3
- package/client/composables/features/copy-code.ts +64 -38
- package/client/composables/features/copy-markdown.ts +2 -6
- package/client/composables/search/useFuseSearch.ts +38 -4
- package/client/composables/search/useLocalSearch.ts +47 -13
- package/client/utils/router.ts +83 -37
- package/dist/node/cli/index.d.mts +1 -1
- package/dist/node/cli/index.mjs +5 -5
- package/dist/node/index.d.mts +22 -6
- package/dist/node/index.mjs +5 -5
- package/dist/shared/{valaxy.aOnvqwjo.mjs → valaxy.DQnMfBEN.mjs} +919 -322
- package/package.json +3 -3
- package/shared/utils/index.ts +2 -0
- package/shared/utils/sanitize.ts +82 -0
- package/shared/utils/uri.ts +93 -0
package/dist/node/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ALL_ROUTE, E as EXCERPT_SEPARATOR, G as GLOBAL_STATE, P as PATHNAME_PROTOCOL_RE, S as StateManager, V as ViteValaxyPlugins, b as build, c as
|
|
1
|
+
export { A as ALL_ROUTE, E as EXCERPT_SEPARATOR, G as GLOBAL_STATE, P as PATHNAME_PROTOCOL_RE, S as StateManager, V as ViteValaxyPlugins, b as build, c as clearGitTimestampCache, a as createCli, d as createContentService, e as createMemoryReleasePlugin, f as createServer, g as createValaxyNode, h as createValaxyPlugin, i as customElements, j as defaultSiteConfig, k as defaultValaxyConfig, l as defaultViteConfig, m as defineAddon, n as defineConfig, o as defineSiteConfig, p as defineTheme, q as defineValaxyAddon, r as defineValaxyConfig, s as defineValaxyTheme, t as desktopRuntimeVersion, u as encryptContent, v as execBuild, w as generateClientRedirects, x as getGitTimestamp, y as getGitTimestampCache, z as getIndexHtml, B as getServerInfoText, C as isExternal, D as isInstalledGlobally, F as isKatexEnabled, H as isKatexPluginNeeded, I as isMathJaxEnabled, J as isPath, K as loadAllContent, L as loadConfigFromFile, M as mergeValaxyConfig, N as mergeViteConfigs, O as postProcessForSSG, Q as processValaxyOptions, R as registerDevCommand, T as resolveAddonsConfig, U as resolveImportPath, W as resolveImportUrl, X as resolveOptions, Y as resolveSiteConfig, Z as resolveSiteConfigFromRoot, _ as resolveThemeConfigFromRoot, $ as resolveThemeValaxyConfig, a0 as resolveUserThemeConfig, a1 as resolveValaxyConfig, a2 as resolveValaxyConfigFromRoot, a3 as run, a4 as ssgBuild, a5 as startValaxyDev, a6 as toAtFS, a7 as transformObject, a8 as version } from '../shared/valaxy.DQnMfBEN.mjs';
|
|
2
2
|
import 'node:path';
|
|
3
3
|
import 'consola';
|
|
4
4
|
import 'fs-extra';
|
|
@@ -24,12 +24,15 @@ import 'mlly';
|
|
|
24
24
|
import 'resolve-global';
|
|
25
25
|
import '@valaxyjs/utils';
|
|
26
26
|
import 'node:fs';
|
|
27
|
+
import 'p-map';
|
|
27
28
|
import 'picomatch';
|
|
28
29
|
import 'node:fs/promises';
|
|
29
30
|
import 'dayjs';
|
|
30
31
|
import 'feed';
|
|
31
32
|
import 'markdown-exit';
|
|
32
33
|
import 'table';
|
|
34
|
+
import 'htmlparser2';
|
|
35
|
+
import 'magic-string';
|
|
33
36
|
import 'hookable';
|
|
34
37
|
import '@unhead/bundler/vite';
|
|
35
38
|
import 'vitepress-plugin-group-icons';
|
|
@@ -38,8 +41,6 @@ import 'chokidar';
|
|
|
38
41
|
import 'unplugin';
|
|
39
42
|
import 'unplugin-utils';
|
|
40
43
|
import 'obug';
|
|
41
|
-
import 'magic-string';
|
|
42
|
-
import 'p-map';
|
|
43
44
|
import 'pascalcase';
|
|
44
45
|
import '@intlify/unplugin-vue-i18n/vite';
|
|
45
46
|
import 'minisearch';
|
|
@@ -53,7 +54,6 @@ import 'markdown-it-emoji';
|
|
|
53
54
|
import 'markdown-it-footnote';
|
|
54
55
|
import 'markdown-it-image-figures';
|
|
55
56
|
import 'markdown-it-task-lists';
|
|
56
|
-
import 'node:url';
|
|
57
57
|
import 'markdown-it-container';
|
|
58
58
|
import 'katex';
|
|
59
59
|
import 'katex/contrib/mhchem';
|
|
@@ -62,8 +62,8 @@ import 'jiti';
|
|
|
62
62
|
import 'unocss';
|
|
63
63
|
import 'html-to-text';
|
|
64
64
|
import 'vue-router/vite';
|
|
65
|
+
import 'node:url';
|
|
65
66
|
import '@unhead/vue/server';
|
|
66
|
-
import 'htmlparser2';
|
|
67
67
|
import 'escape-html';
|
|
68
68
|
import 'vue-router/unplugin';
|
|
69
69
|
import 'node:child_process';
|