mirror of https://github.com/YunYouJun/valaxy
fix: timezone date display
This commit is contained in:
parent
8a13c4223c
commit
5d62073c9b
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Date test
|
||||
date: 2023-07-19 18:55:53
|
||||
# updated: 2023-07-19 18:55:53
|
||||
---
|
|
@ -80,6 +80,15 @@ export default defineConfig({
|
|||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' },
|
||||
],
|
||||
|
||||
search: {
|
||||
provider: 'algolia',
|
||||
options: {
|
||||
appId: '8J64VVRP8K',
|
||||
apiKey: 'a18e2f4cc5665f6602c5631fd868adfd',
|
||||
indexName: 'vitepress',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
vite: {
|
||||
|
|
|
@ -27,12 +27,16 @@ hero:
|
|||
# todo, rewrite with valaxy
|
||||
features:
|
||||
- title: "Vite: The DX that can't be beat"
|
||||
icon: 🚀
|
||||
details: Feel the speed of Vite. Instant server start and lightning fast HMR that stays fast regardless of the app size.
|
||||
- title: Designed to be simplicity first
|
||||
icon: 📖
|
||||
details: With Markdown-centered content, it's built to help you focus on writing and deployed with minimum configuration.
|
||||
- title: Power of Vue meets Markdown
|
||||
icon: 💡
|
||||
details: Enhance your content with all the features of Vue in Markdown, while being able to customize your site with Vue.
|
||||
- title: Fully static yet still dynamic
|
||||
icon: ⚡
|
||||
details: Go wild with true SSG + SPA architecture. Static on page load, but engage users with 100% interactivity from there.
|
||||
---
|
||||
|
||||
|
|
|
@ -80,6 +80,8 @@ export default defineValaxyConfig<ThemeConfig>({
|
|||
|
||||
## Site Config {lang="en"}
|
||||
|
||||
> 更多详细配置可参见 [types/config.ts](https://github.com/YunYouJun/valaxy/blob/main/packages/valaxy/types/config.ts)。
|
||||
|
||||
::: zh-CN
|
||||
站点**信息**配置,这部分内容面向站点展示且在任何主题也是通用的格式。
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "@valaxyjs/monorepo",
|
||||
"version": "0.14.40",
|
||||
"private": true,
|
||||
"packageManager": "pnpm@8.6.8",
|
||||
"packageManager": "pnpm@8.6.9",
|
||||
"description": "📄 Vite & Vue powered static blog generator.",
|
||||
"author": {
|
||||
"email": "me@yunyoujun.cn",
|
||||
|
@ -45,7 +45,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.39.8",
|
||||
"@microsoft/api-extractor": "^7.36.2",
|
||||
"@microsoft/api-extractor": "^7.36.3",
|
||||
"@types/debug": "^4.1.8",
|
||||
"@types/node": "^20.4.2",
|
||||
"@types/prompts": "^2.4.4",
|
||||
|
|
|
@ -30,14 +30,14 @@ const siteConfig = useSiteConfig()
|
|||
flex="~ col" justify="center" items="center" text="sm" py="1"
|
||||
>
|
||||
<div v-if="frontmatter.date" class="post-time flex items-center">
|
||||
<span class="inline-flex-center" :title="t('post.posted')">
|
||||
<span class="inline-flex-center" :title="t('post.posted') + frontmatter.date">
|
||||
<div class="inline-block" i-ri-calendar-line />
|
||||
<time m="l-1">{{ formatDate(frontmatter.date) }}</time>
|
||||
</span>
|
||||
|
||||
<span
|
||||
v-if="frontmatter.updated && frontmatter.updated !== frontmatter.date"
|
||||
class="inline-flex-center" :title="t('post.edited')"
|
||||
class="inline-flex-center" :title="t('post.edited') + frontmatter.updated"
|
||||
>
|
||||
<span m="x-2">-</span>
|
||||
<div i-ri-calendar-2-line />
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"types": "types/index.d.ts",
|
||||
"dependencies": {
|
||||
"@iconify-json/ant-design": "^1.1.6",
|
||||
"@iconify-json/simple-icons": "^1.1.60",
|
||||
"@iconify-json/simple-icons": "^1.1.61",
|
||||
"animejs": "^3.2.1",
|
||||
"valaxy-addon-waline": "workspace:*"
|
||||
},
|
||||
|
|
|
@ -3,6 +3,7 @@ import type { ViteSSGContext } from 'vite-ssg'
|
|||
|
||||
import dayjs from 'dayjs'
|
||||
import relativeTime from 'dayjs/plugin/relativeTime'
|
||||
import utc from 'dayjs/plugin/utc'
|
||||
import timezone from 'dayjs/plugin/timezone'
|
||||
|
||||
import { install as installValaxy } from '../modules/valaxy'
|
||||
|
@ -24,6 +25,7 @@ export default function setupMain(ctx: ViteSSGContext) {
|
|||
|
||||
// dayjs
|
||||
dayjs.extend(relativeTime)
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
|
||||
/* __injections__ */
|
||||
|
|
|
@ -8,7 +8,7 @@ import type { Post } from '../..'
|
|||
* @returns
|
||||
*/
|
||||
export function formatDate(date: string | number | Date, template = 'YYYY-MM-DD') {
|
||||
const today = dayjs(date)
|
||||
const today = dayjs.tz(date)
|
||||
return today.format(template)
|
||||
}
|
||||
|
||||
|
|
|
@ -48,9 +48,6 @@ export const defaultSiteConfig: SiteConfig = {
|
|||
},
|
||||
social: [],
|
||||
|
||||
date: {
|
||||
format: '',
|
||||
},
|
||||
lastUpdated: true,
|
||||
|
||||
license: {
|
||||
|
|
|
@ -11,13 +11,13 @@ import Layouts from 'vite-plugin-vue-layouts'
|
|||
import Components from 'unplugin-vue-components/vite'
|
||||
import VueI18n from '@intlify/unplugin-vue-i18n/vite'
|
||||
|
||||
import dayjs from 'dayjs'
|
||||
import { convert } from 'html-to-text'
|
||||
import type { PageFrontMatter } from 'valaxy/types'
|
||||
import { isDate } from '@antfu/utils'
|
||||
import type { ValaxyExtendConfig } from '../types'
|
||||
import type { ResolvedValaxyOptions, ValaxyServerOptions } from '../options'
|
||||
import { setupMarkdownPlugins } from '../markdown'
|
||||
|
||||
// import { formatMdDate } from '../utils/date'
|
||||
import { EXCERPT_SEPARATOR } from '../constants'
|
||||
import { createUnocssPlugin } from './unocss'
|
||||
import { createConfigPlugin } from './extendConfig'
|
||||
|
@ -161,29 +161,25 @@ export async function ViteValaxyPlugins(
|
|||
const { data, excerpt, content } = matter(md, {
|
||||
excerpt_separator: EXCERPT_SEPARATOR,
|
||||
})
|
||||
const mdFm = data as PageFrontMatter
|
||||
|
||||
// todo, optimize it to cache or on demand
|
||||
// https://github.com/hannoeru/vite-plugin-pages/issues/257
|
||||
// returned route not be awaited
|
||||
// await formatMdDate(
|
||||
// data,
|
||||
// path,
|
||||
// options.config.date.format,
|
||||
// options.config.lastUpdated,
|
||||
// )
|
||||
const lastUpdated = options.config.siteConfig.lastUpdated
|
||||
const format = options.config.siteConfig.date?.format
|
||||
|
||||
if (!data.date)
|
||||
data.date = fs.statSync(path).mtime
|
||||
|
||||
// format
|
||||
data.date = dayjs(data.date).format(format)
|
||||
|
||||
if (lastUpdated) {
|
||||
if (!data.updated)
|
||||
data.updated = fs.statSync(path).ctime
|
||||
}
|
||||
data.updated = dayjs(data.updated).format(format)
|
||||
|
||||
if (!isDate(mdFm.date))
|
||||
mdFm.date = new Date(mdFm.date)
|
||||
if (!isDate(mdFm.updated))
|
||||
mdFm.updated = new Date(mdFm.updated)
|
||||
|
||||
// set route meta
|
||||
route.meta = Object.assign(route.meta, {
|
||||
|
|
|
@ -9,7 +9,7 @@ import type { Author, FeedOptions, Item } from 'feed'
|
|||
import { Feed } from 'feed'
|
||||
import consola from 'consola'
|
||||
import type { ResolvedValaxyOptions } from './options'
|
||||
import { formatMdDate } from './utils/date'
|
||||
import { getCreatedTime, getUpdatedTime } from './utils/date'
|
||||
import { ensurePrefix, isExternal } from './utils'
|
||||
import { EXCERPT_SEPARATOR } from './constants'
|
||||
|
||||
|
@ -77,7 +77,13 @@ export async function build(options: ResolvedValaxyOptions) {
|
|||
if (data.hide)
|
||||
continue
|
||||
|
||||
await formatMdDate(data, i, siteConfig.date?.format, siteConfig.lastUpdated)
|
||||
const path = i
|
||||
if (!data.date)
|
||||
data.date = await getCreatedTime(path)
|
||||
if (siteConfig.lastUpdated) {
|
||||
if (!data.updated)
|
||||
data.updated = await getUpdatedTime(path)
|
||||
}
|
||||
|
||||
// todo i18n
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import dayjs from 'dayjs'
|
||||
import fs from 'fs-extra'
|
||||
import { getGitTimestamp } from './getGitTimestamp'
|
||||
|
||||
|
@ -19,18 +18,3 @@ export async function getCreatedTime(file: string): Promise<Date | number> {
|
|||
export async function getUpdatedTime(file: string): Promise<Date | number> {
|
||||
return (await getGitTimestamp(file, 'created')) || (await fs.stat(file)).mtime
|
||||
}
|
||||
|
||||
export async function formatMdDate(data: any, path: string, format = 'YYYY-MM-DD HH:mm:ss', lastUpdated = true) {
|
||||
if (!data.date)
|
||||
data.date = await getCreatedTime(path)
|
||||
|
||||
// format
|
||||
data.date = dayjs(data.date).format(format)
|
||||
|
||||
if (lastUpdated) {
|
||||
if (!data.updated)
|
||||
data.updated = await getUpdatedTime(path)
|
||||
|
||||
data.updated = dayjs(data.updated).format(format)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
"open": "8.4.2",
|
||||
"pascal-case": "^3.1.2",
|
||||
"pinia": "^2.1.4",
|
||||
"sass": "^1.63.6",
|
||||
"sass": "^1.64.0",
|
||||
"shiki": "^0.14.3",
|
||||
"star-markdown-css": "^0.4.2",
|
||||
"unconfig": "^0.3.9",
|
||||
|
@ -108,7 +108,7 @@
|
|||
"vite": "^4.4.4",
|
||||
"vite-plugin-pages": "^0.31.0",
|
||||
"vite-plugin-vue-layouts": "^0.8.0",
|
||||
"vite-ssg": "0.23.0",
|
||||
"vite-ssg": "0.23.1",
|
||||
"vite-ssg-sitemap": "0.5.1",
|
||||
"vue": "^3.3.4",
|
||||
"vue-i18n": "^9.2.2",
|
||||
|
|
|
@ -90,13 +90,6 @@ export interface SiteConfig {
|
|||
}
|
||||
}
|
||||
|
||||
date: {
|
||||
/**
|
||||
* The format of date
|
||||
* @default '' as 'YYYY-MM-DD HH:mm:ss'
|
||||
*/
|
||||
format: string
|
||||
}
|
||||
/**
|
||||
* show last updated time by git/mtime
|
||||
*/
|
||||
|
|
406
pnpm-lock.yaml
406
pnpm-lock.yaml
|
@ -12,8 +12,8 @@ importers:
|
|||
specifier: ^0.39.8
|
||||
version: 0.39.8(eslint@8.45.0)(typescript@5.1.6)
|
||||
'@microsoft/api-extractor':
|
||||
specifier: ^7.36.2
|
||||
version: 7.36.2(@types/node@20.4.2)
|
||||
specifier: ^7.36.3
|
||||
version: 7.36.3(@types/node@20.4.2)
|
||||
'@types/debug':
|
||||
specifier: ^4.1.8
|
||||
version: 4.1.8
|
||||
|
@ -150,7 +150,7 @@ importers:
|
|||
version: 3.0.1
|
||||
vite:
|
||||
specifier: ^4.4.4
|
||||
version: 4.4.4(@types/node@20.4.2)
|
||||
version: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
vitepress:
|
||||
specifier: 1.0.0-beta.5
|
||||
version: 1.0.0-beta.5(@types/node@20.4.2)(search-insights@2.7.0)
|
||||
|
@ -308,8 +308,8 @@ importers:
|
|||
specifier: ^2.1.4
|
||||
version: 2.1.4(typescript@5.1.6)(vue@3.3.4)
|
||||
sass:
|
||||
specifier: ^1.63.6
|
||||
version: 1.63.6
|
||||
specifier: ^1.64.0
|
||||
version: 1.64.0
|
||||
shiki:
|
||||
specifier: ^0.14.3
|
||||
version: 0.14.3
|
||||
|
@ -327,7 +327,7 @@ importers:
|
|||
version: 0.25.1(vue@3.3.4)
|
||||
vite:
|
||||
specifier: ^4.4.4
|
||||
version: 4.4.4(@types/node@20.4.2)(sass@1.63.6)
|
||||
version: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
vite-plugin-pages:
|
||||
specifier: ^0.31.0
|
||||
version: 0.31.0(vite@4.4.4)
|
||||
|
@ -335,8 +335,8 @@ importers:
|
|||
specifier: ^0.8.0
|
||||
version: 0.8.0(vite@4.4.4)(vue-router@4.2.4)(vue@3.3.4)
|
||||
vite-ssg:
|
||||
specifier: 0.23.0
|
||||
version: 0.23.0(@unhead/vue@1.1.30)(critters@0.0.18)(vite@4.4.4)(vue-router@4.2.4)(vue@3.3.4)
|
||||
specifier: 0.23.1
|
||||
version: 0.23.1(@unhead/vue@1.1.30)(critters@0.0.18)(vite@4.4.4)(vue-router@4.2.4)(vue@3.3.4)
|
||||
vite-ssg-sitemap:
|
||||
specifier: 0.5.1
|
||||
version: 0.5.1
|
||||
|
@ -462,8 +462,8 @@ importers:
|
|||
specifier: ^1.1.6
|
||||
version: 1.1.6
|
||||
'@iconify-json/simple-icons':
|
||||
specifier: ^1.1.60
|
||||
version: 1.1.60
|
||||
specifier: ^1.1.61
|
||||
version: 1.1.61
|
||||
animejs:
|
||||
specifier: ^3.2.1
|
||||
version: 3.2.1
|
||||
|
@ -2034,22 +2034,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-arm64@0.18.11:
|
||||
resolution: {integrity: sha512-snieiq75Z1z5LJX9cduSAjUr7vEI1OdlzFPMw0HH5YI7qQHDd3qs+WZoMrWYDsfRJSq36lIA6mfZBkvL46KoIw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-j7NhycJUoUAG5kAzGf4fPWfd17N6SM3o1X6MlXVqfHvs2buFraCJzos9vbeWjLxOyBKHyPOnuCuipbhvbYtTAg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-arm@0.17.19:
|
||||
|
@ -2061,22 +2051,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-arm@0.18.11:
|
||||
resolution: {integrity: sha512-q4qlUf5ucwbUJZXF5tEQ8LF7y0Nk4P58hOsGk3ucY0oCwgQqAnqXVbUuahCddVHfrxmpyewRpiTHwVHIETYu7Q==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-arm@0.18.13:
|
||||
resolution: {integrity: sha512-KwqFhxRFMKZINHzCqf8eKxE0XqWlAVPRxwy6rc7CbVFxzUWB2sA/s3hbMZeemPdhN3fKBkqOaFhTbS8xJXYIWQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-x64@0.17.19:
|
||||
|
@ -2088,22 +2068,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-x64@0.18.11:
|
||||
resolution: {integrity: sha512-iPuoxQEV34+hTF6FT7om+Qwziv1U519lEOvekXO9zaMMlT9+XneAhKL32DW3H7okrCOBQ44BMihE8dclbZtTuw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/android-x64@0.18.13:
|
||||
resolution: {integrity: sha512-M2eZkRxR6WnWfVELHmv6MUoHbOqnzoTVSIxgtsyhm/NsgmL+uTmag/VVzdXvmahak1I6sOb1K/2movco5ikDJg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [android]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-arm64@0.17.19:
|
||||
|
@ -2115,22 +2085,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-arm64@0.18.11:
|
||||
resolution: {integrity: sha512-Gm0QkI3k402OpfMKyQEEMG0RuW2LQsSmI6OeO4El2ojJMoF5NLYb3qMIjvbG/lbMeLOGiW6ooU8xqc+S0fgz2w==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-f5goG30YgR1GU+fxtaBRdSW3SBG9pZW834Mmhxa6terzcboz7P2R0k4lDxlkP7NYRIIdBbWp+VgwQbmMH4yV7w==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-x64@0.17.19:
|
||||
|
@ -2142,22 +2102,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-x64@0.18.11:
|
||||
resolution: {integrity: sha512-N15Vzy0YNHu6cfyDOjiyfJlRJCB/ngKOAvoBf1qybG3eOq0SL2Lutzz9N7DYUbb7Q23XtHPn6lMDF6uWbGv9Fw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/darwin-x64@0.18.13:
|
||||
resolution: {integrity: sha512-RIrxoKH5Eo+yE5BtaAIMZaiKutPhZjw+j0OCh8WdvKEKJQteacq0myZvBDLU+hOzQOZWJeDnuQ2xgSScKf1Ovw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-arm64@0.17.19:
|
||||
|
@ -2169,22 +2119,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-arm64@0.18.11:
|
||||
resolution: {integrity: sha512-atEyuq6a3omEY5qAh5jIORWk8MzFnCpSTUruBgeyN9jZq1K/QI9uke0ATi3MHu4L8c59CnIi4+1jDKMuqmR71A==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [freebsd]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-AfRPhHWmj9jGyLgW/2FkYERKmYR+IjYxf2rtSLmhOrPGFh0KCETFzSjx/JX/HJnvIqHt/DRQD/KAaVsUKoI3Xg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [freebsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-x64@0.17.19:
|
||||
|
@ -2196,22 +2136,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-x64@0.18.11:
|
||||
resolution: {integrity: sha512-XtuPrEfBj/YYYnAAB7KcorzzpGTvOr/dTtXPGesRfmflqhA4LMF0Gh/n5+a9JBzPuJ+CGk17CA++Hmr1F/gI0Q==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [freebsd]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/freebsd-x64@0.18.13:
|
||||
resolution: {integrity: sha512-pGzWWZJBInhIgdEwzn8VHUBang8UvFKsvjDkeJ2oyY5gZtAM6BaxK0QLCuZY+qoj/nx/lIaItH425rm/hloETA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [freebsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm64@0.17.19:
|
||||
|
@ -2223,22 +2153,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm64@0.18.11:
|
||||
resolution: {integrity: sha512-c6Vh2WS9VFKxKZ2TvJdA7gdy0n6eSy+yunBvv4aqNCEhSWVor1TU43wNRp2YLO9Vng2G+W94aRz+ILDSwAiYog==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-hCzZbVJEHV7QM77fHPv2qgBcWxgglGFGCxk6KfQx6PsVIdi1u09X7IvgE9QKqm38OpkzaAkPnnPqwRsltvLkIQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm@0.17.19:
|
||||
|
@ -2250,22 +2170,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm@0.18.11:
|
||||
resolution: {integrity: sha512-Idipz+Taso/toi2ETugShXjQ3S59b6m62KmLHkJlSq/cBejixmIydqrtM2XTvNCywFl3VC7SreSf6NV0i6sRyg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-arm@0.18.13:
|
||||
resolution: {integrity: sha512-4iMxLRMCxGyk7lEvkkvrxw4aJeC93YIIrfbBlUJ062kilUUnAiMb81eEkVvCVoh3ON283ans7+OQkuy1uHW+Hw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ia32@0.17.19:
|
||||
|
@ -2277,22 +2187,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ia32@0.18.11:
|
||||
resolution: {integrity: sha512-S3hkIF6KUqRh9n1Q0dSyYcWmcVa9Cg+mSoZEfFuzoYXXsk6196qndrM+ZiHNwpZKi3XOXpShZZ+9dfN5ykqjjw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ia32]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ia32@0.18.13:
|
||||
resolution: {integrity: sha512-I3OKGbynl3AAIO6onXNrup/ttToE6Rv2XYfFgLK/wnr2J+1g+7k4asLrE+n7VMhaqX+BUnyWkCu27rl+62Adug==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ia32]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-loong64@0.17.19:
|
||||
|
@ -2304,22 +2204,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-loong64@0.18.11:
|
||||
resolution: {integrity: sha512-MRESANOoObQINBA+RMZW+Z0TJWpibtE7cPFnahzyQHDCA9X9LOmGh68MVimZlM9J8n5Ia8lU773te6O3ILW8kw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [loong64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-loong64@0.18.13:
|
||||
resolution: {integrity: sha512-8pcKDApAsKc6WW51ZEVidSGwGbebYw2qKnO1VyD8xd6JN0RN6EUXfhXmDk9Vc4/U3Y4AoFTexQewQDJGsBXBpg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [loong64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-mips64el@0.17.19:
|
||||
|
@ -2331,22 +2221,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-mips64el@0.18.11:
|
||||
resolution: {integrity: sha512-qVyPIZrXNMOLYegtD1u8EBccCrBVshxMrn5MkuFc3mEVsw7CCQHaqZ4jm9hbn4gWY95XFnb7i4SsT3eflxZsUg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [mips64el]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-mips64el@0.18.13:
|
||||
resolution: {integrity: sha512-6GU+J1PLiVqWx8yoCK4Z0GnfKyCGIH5L2KQipxOtbNPBs+qNDcMJr9euxnyJ6FkRPyMwaSkjejzPSISD9hb+gg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [mips64el]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ppc64@0.17.19:
|
||||
|
@ -2358,22 +2238,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ppc64@0.18.11:
|
||||
resolution: {integrity: sha512-T3yd8vJXfPirZaUOoA9D2ZjxZX4Gr3QuC3GztBJA6PklLotc/7sXTOuuRkhE9W/5JvJP/K9b99ayPNAD+R+4qQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-ppc64@0.18.13:
|
||||
resolution: {integrity: sha512-pfn/OGZ8tyR8YCV7MlLl5hAit2cmS+j/ZZg9DdH0uxdCoJpV7+5DbuXrR+es4ayRVKIcfS9TTMCs60vqQDmh+w==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ppc64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-riscv64@0.17.19:
|
||||
|
@ -2385,22 +2255,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-riscv64@0.18.11:
|
||||
resolution: {integrity: sha512-evUoRPWiwuFk++snjH9e2cAjF5VVSTj+Dnf+rkO/Q20tRqv+644279TZlPK8nUGunjPAtQRCj1jQkDAvL6rm2w==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-riscv64@0.18.13:
|
||||
resolution: {integrity: sha512-aIbhU3LPg0lOSCfVeGHbmGYIqOtW6+yzO+Nfv57YblEK01oj0mFMtvDJlOaeAZ6z0FZ9D13oahi5aIl9JFphGg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [riscv64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-s390x@0.17.19:
|
||||
|
@ -2412,22 +2272,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-s390x@0.18.11:
|
||||
resolution: {integrity: sha512-/SlRJ15XR6i93gRWquRxYCfhTeC5PdqEapKoLbX63PLCmAkXZHY2uQm2l9bN0oPHBsOw2IswRZctMYS0MijFcg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-s390x@0.18.13:
|
||||
resolution: {integrity: sha512-Pct1QwF2sp+5LVi4Iu5Y+6JsGaV2Z2vm4O9Dd7XZ5tKYxEHjFtb140fiMcl5HM1iuv6xXO8O1Vrb1iJxHlv8UA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [s390x]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-x64@0.17.19:
|
||||
|
@ -2439,22 +2289,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-x64@0.18.11:
|
||||
resolution: {integrity: sha512-xcncej+wF16WEmIwPtCHi0qmx1FweBqgsRtEL1mSHLFR6/mb3GEZfLQnx+pUDfRDEM4DQF8dpXIW7eDOZl1IbA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/linux-x64@0.18.13:
|
||||
resolution: {integrity: sha512-zTrIP0KzYP7O0+3ZnmzvUKgGtUvf4+piY8PIO3V8/GfmVd3ZyHJGz7Ht0np3P1wz+I8qJ4rjwJKqqEAbIEPngA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/netbsd-x64@0.17.19:
|
||||
|
@ -2466,22 +2306,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/netbsd-x64@0.18.11:
|
||||
resolution: {integrity: sha512-aSjMHj/F7BuS1CptSXNg6S3M4F3bLp5wfFPIJM+Km2NfIVfFKhdmfHF9frhiCLIGVzDziggqWll0B+9AUbud/Q==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [netbsd]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/netbsd-x64@0.18.13:
|
||||
resolution: {integrity: sha512-I6zs10TZeaHDYoGxENuksxE1sxqZpCp+agYeW039yqFwh3MgVvdmXL5NMveImOC6AtpLvE4xG5ujVic4NWFIDQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [netbsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/openbsd-x64@0.17.19:
|
||||
|
@ -2493,22 +2323,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/openbsd-x64@0.18.11:
|
||||
resolution: {integrity: sha512-tNBq+6XIBZtht0xJGv7IBB5XaSyvYPCm1PxJ33zLQONdZoLVM0bgGqUrXnJyiEguD9LU4AHiu+GCXy/Hm9LsdQ==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [openbsd]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/openbsd-x64@0.18.13:
|
||||
resolution: {integrity: sha512-W5C5nczhrt1y1xPG5bV+0M12p2vetOGlvs43LH8SopQ3z2AseIROu09VgRqydx5qFN7y9qCbpgHLx0kb0TcW7g==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [openbsd]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/sunos-x64@0.17.19:
|
||||
|
@ -2520,22 +2340,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/sunos-x64@0.18.11:
|
||||
resolution: {integrity: sha512-kxfbDOrH4dHuAAOhr7D7EqaYf+W45LsAOOhAet99EyuxxQmjbk8M9N4ezHcEiCYPaiW8Dj3K26Z2V17Gt6p3ng==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [sunos]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/sunos-x64@0.18.13:
|
||||
resolution: {integrity: sha512-X/xzuw4Hzpo/yq3YsfBbIsipNgmsm8mE/QeWbdGdTTeZ77fjxI2K0KP3AlhZ6gU3zKTw1bKoZTuKLnqcJ537qw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [sunos]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-arm64@0.17.19:
|
||||
|
@ -2547,22 +2357,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-arm64@0.18.11:
|
||||
resolution: {integrity: sha512-Sh0dDRyk1Xi348idbal7lZyfSkjhJsdFeuC13zqdipsvMetlGiFQNdO+Yfp6f6B4FbyQm7qsk16yaZk25LChzg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-arm64@0.18.13:
|
||||
resolution: {integrity: sha512-4CGYdRQT/ILd+yLLE5i4VApMPfGE0RPc/wFQhlluDQCK09+b4JDbxzzjpgQqTPrdnP7r5KUtGVGZYclYiPuHrw==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-ia32@0.17.19:
|
||||
|
@ -2574,22 +2374,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-ia32@0.18.11:
|
||||
resolution: {integrity: sha512-o9JUIKF1j0rqJTFbIoF4bXj6rvrTZYOrfRcGyL0Vm5uJ/j5CkBD/51tpdxe9lXEDouhRgdr/BYzUrDOvrWwJpg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-ia32@0.18.13:
|
||||
resolution: {integrity: sha512-D+wKZaRhQI+MUGMH+DbEr4owC2D7XnF+uyGiZk38QbgzLcofFqIOwFs7ELmIeU45CQgfHNy9Q+LKW3cE8g37Kg==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [ia32]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-x64@0.17.19:
|
||||
|
@ -2601,22 +2391,12 @@ packages:
|
|||
dev: true
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-x64@0.18.11:
|
||||
resolution: {integrity: sha512-rQI4cjLHd2hGsM1LqgDI7oOCYbQ6IBOVsX9ejuRMSze0GqXUG2ekwiKkiBU1pRGSeCqFFHxTrcEydB2Hyoz9CA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/@esbuild/win32-x64@0.18.13:
|
||||
resolution: {integrity: sha512-iVl6lehAfJS+VmpF3exKpNQ8b0eucf5VWfzR8S7xFve64NBNz2jPUgx1X93/kfnkfgP737O+i1k54SVQS7uVZA==}
|
||||
engines: {node: '>=12'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@eslint-community/eslint-utils@4.4.0(eslint@8.45.0):
|
||||
|
@ -2694,8 +2474,8 @@ packages:
|
|||
'@iconify/types': 2.0.0
|
||||
dev: false
|
||||
|
||||
/@iconify-json/simple-icons@1.1.60:
|
||||
resolution: {integrity: sha512-/5ZU9nbHTOhhqdTDcTsN2iZBqfBzVHcpaWmt381wh+LmWXghYTLrYpFb/E3Vkb+TmuvKtpk/8zaBIgv+gGurKA==}
|
||||
/@iconify-json/simple-icons@1.1.61:
|
||||
resolution: {integrity: sha512-n1UWME41sSm7AexhVLAfuPwwmjHXiNsHU88KhJBwrZGL47s4GzmADbGobms7EmKwehC8RlMJq3hj7j8jYNqWjQ==}
|
||||
dependencies:
|
||||
'@iconify/types': 2.0.0
|
||||
dev: false
|
||||
|
@ -2943,30 +2723,30 @@ packages:
|
|||
resolution: {integrity: sha512-mrC4y8n88BYvgcgzq9bvTlDgFyi2zuvzmPilRvRc3Uz1iIvq8mDhxJ0rHKFUNzPEScpDvJdIujqiDrulMqiudA==}
|
||||
dev: true
|
||||
|
||||
/@microsoft/api-extractor-model@7.27.4(@types/node@20.4.2):
|
||||
resolution: {integrity: sha512-HjqQFmuGPOS20rtnu+9Jj0QrqZyR59E+piUWXPMZTTn4jaZI+4UmsHSf3Id8vyueAhOBH2cgwBuRTE5R+MfSMw==}
|
||||
/@microsoft/api-extractor-model@7.27.5(@types/node@20.4.2):
|
||||
resolution: {integrity: sha512-9/tBzYMJitR+o+zkPr1lQh2+e8ClcaTF6eZo7vZGDqRt2O5XmXWPbYJZmxyM3wb5at6lfJNEeGZrQXLjsQ0Nbw==}
|
||||
dependencies:
|
||||
'@microsoft/tsdoc': 0.14.2
|
||||
'@microsoft/tsdoc-config': 0.16.2
|
||||
'@rushstack/node-core-library': 3.59.5(@types/node@20.4.2)
|
||||
'@rushstack/node-core-library': 3.59.6(@types/node@20.4.2)
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
dev: true
|
||||
|
||||
/@microsoft/api-extractor@7.36.2(@types/node@20.4.2):
|
||||
resolution: {integrity: sha512-ONe/jOmTZtR3OjTkWKHmeSV1P5ozbHDxHr6FV3KoWyIl1AcPk2B3dmvVBM5eOlZB5bgM66nxcWQTZ6msQo2hHg==}
|
||||
/@microsoft/api-extractor@7.36.3(@types/node@20.4.2):
|
||||
resolution: {integrity: sha512-u0H6362AQq+r55X8drHx4npgkrCfJnMzRRHfQo8PMNKB8TcBnrTLfXhXWi+xnTM6CzlU/netEN8c4bq581Rnrg==}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@microsoft/api-extractor-model': 7.27.4(@types/node@20.4.2)
|
||||
'@microsoft/api-extractor-model': 7.27.5(@types/node@20.4.2)
|
||||
'@microsoft/tsdoc': 0.14.2
|
||||
'@microsoft/tsdoc-config': 0.16.2
|
||||
'@rushstack/node-core-library': 3.59.5(@types/node@20.4.2)
|
||||
'@rushstack/node-core-library': 3.59.6(@types/node@20.4.2)
|
||||
'@rushstack/rig-package': 0.4.0
|
||||
'@rushstack/ts-command-line': 4.15.1
|
||||
colors: 1.2.5
|
||||
lodash: 4.17.21
|
||||
resolve: 1.22.2
|
||||
semver: 7.3.8
|
||||
semver: 7.5.4
|
||||
source-map: 0.6.1
|
||||
typescript: 5.0.4
|
||||
transitivePeerDependencies:
|
||||
|
@ -3087,8 +2867,8 @@ packages:
|
|||
picomatch: 2.3.1
|
||||
rollup: 2.79.1
|
||||
|
||||
/@rushstack/node-core-library@3.59.5(@types/node@20.4.2):
|
||||
resolution: {integrity: sha512-1IpV7LufrI1EoVO8hYsb3t6L8L+yp40Sa0OaOV2CIu1zx4e6ZeVNaVIEXFgMXBKdGXkAh21MnCaIzlDNpG6ZQw==}
|
||||
/@rushstack/node-core-library@3.59.6(@types/node@20.4.2):
|
||||
resolution: {integrity: sha512-bMYJwNFfWXRNUuHnsE9wMlW/mOB4jIwSUkRKtu02CwZhQdmzMsUbxE0s1xOLwTpNIwlzfW/YT7OnOHgDffLgYg==}
|
||||
peerDependencies:
|
||||
'@types/node': '*'
|
||||
peerDependenciesMeta:
|
||||
|
@ -3101,7 +2881,7 @@ packages:
|
|||
import-lazy: 4.0.0
|
||||
jju: 1.4.0
|
||||
resolve: 1.22.2
|
||||
semver: 7.3.8
|
||||
semver: 7.5.4
|
||||
z-schema: 5.0.5
|
||||
dev: true
|
||||
|
||||
|
@ -3539,6 +3319,13 @@ packages:
|
|||
'@unhead/shared': 1.1.30
|
||||
dev: false
|
||||
|
||||
/@unhead/dom@1.1.32:
|
||||
resolution: {integrity: sha512-AMpHlKEKcm1dxSAvm6GPXhjoZHzXh7ZeR8DAnXVH7Sd9a48xaJhQjmxETweFAcNBSnAn9e7TxTPZVrUcW0ej2w==}
|
||||
dependencies:
|
||||
'@unhead/schema': 1.1.32
|
||||
'@unhead/shared': 1.1.32
|
||||
dev: false
|
||||
|
||||
/@unhead/schema-org-vue@0.6.0(@unhead/vue@1.1.30):
|
||||
resolution: {integrity: sha512-2zTVczJ8iI8jDOzaz2md8fr8j+jWqkmMdo89OI/VVPYWpA6Cy2BFCMvDqrptBZ2h3ieOZ/lhA/y+cTobBZEvaQ==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
|
@ -3562,6 +3349,13 @@ packages:
|
|||
zhead: 2.0.9
|
||||
dev: false
|
||||
|
||||
/@unhead/schema@1.1.32:
|
||||
resolution: {integrity: sha512-XxrNazZEO9T+r1ORduy6gnKA9rDzRgxr/p5UEPRM+TZVuM8ZEFzYr2/aE5bMgTCXp20z0pjv/2rewpVSXp4pFQ==}
|
||||
dependencies:
|
||||
hookable: 5.5.3
|
||||
zhead: 2.0.9
|
||||
dev: false
|
||||
|
||||
/@unhead/shared@1.1.26:
|
||||
resolution: {integrity: sha512-gnUfNrl8w7hQHke9P0au7klcG9bHVOXqbDvya2uARA/8TyxNz87i0uakraO+P6/+zf484dw3b3MYkXq0thK2eg==}
|
||||
dependencies:
|
||||
|
@ -3574,6 +3368,12 @@ packages:
|
|||
'@unhead/schema': 1.1.30
|
||||
dev: false
|
||||
|
||||
/@unhead/shared@1.1.32:
|
||||
resolution: {integrity: sha512-oguyfbwbG4+wNphXQjQ3YrEe4NzabocpTQKNCKdTUPtpK9HYNiI+dffEoSiM3tWcwlG3iYrXj5WvREq3FoACWQ==}
|
||||
dependencies:
|
||||
'@unhead/schema': 1.1.32
|
||||
dev: false
|
||||
|
||||
/@unhead/ssr@1.1.26:
|
||||
resolution: {integrity: sha512-KYJDGgVNtU2i+NHu17o2zFXqsoLukOFEz81XrWQ8nQdY5+VNjy7IiTLp1dlx3umn1ohZjHySz4LXQCT4zUApSw==}
|
||||
dependencies:
|
||||
|
@ -3789,7 +3589,7 @@ packages:
|
|||
chokidar: 3.5.3
|
||||
fast-glob: 3.3.0
|
||||
magic-string: 0.30.1
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.63.6)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
dev: false
|
||||
|
@ -3812,7 +3612,7 @@ packages:
|
|||
vite: ^4.0.0
|
||||
vue: ^3.2.25
|
||||
dependencies:
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.63.6)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
vue: 3.3.4
|
||||
dev: false
|
||||
|
||||
|
@ -5477,36 +5277,6 @@ packages:
|
|||
'@esbuild/win32-x64': 0.17.19
|
||||
dev: true
|
||||
|
||||
/esbuild@0.18.11:
|
||||
resolution: {integrity: sha512-i8u6mQF0JKJUlGR3OdFLKldJQMMs8OqM9Cc3UCi9XXziJ9WERM5bfkHaEAy0YAvPRMgqSW55W7xYn84XtEFTtA==}
|
||||
engines: {node: '>=12'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@esbuild/android-arm': 0.18.11
|
||||
'@esbuild/android-arm64': 0.18.11
|
||||
'@esbuild/android-x64': 0.18.11
|
||||
'@esbuild/darwin-arm64': 0.18.11
|
||||
'@esbuild/darwin-x64': 0.18.11
|
||||
'@esbuild/freebsd-arm64': 0.18.11
|
||||
'@esbuild/freebsd-x64': 0.18.11
|
||||
'@esbuild/linux-arm': 0.18.11
|
||||
'@esbuild/linux-arm64': 0.18.11
|
||||
'@esbuild/linux-ia32': 0.18.11
|
||||
'@esbuild/linux-loong64': 0.18.11
|
||||
'@esbuild/linux-mips64el': 0.18.11
|
||||
'@esbuild/linux-ppc64': 0.18.11
|
||||
'@esbuild/linux-riscv64': 0.18.11
|
||||
'@esbuild/linux-s390x': 0.18.11
|
||||
'@esbuild/linux-x64': 0.18.11
|
||||
'@esbuild/netbsd-x64': 0.18.11
|
||||
'@esbuild/openbsd-x64': 0.18.11
|
||||
'@esbuild/sunos-x64': 0.18.11
|
||||
'@esbuild/win32-arm64': 0.18.11
|
||||
'@esbuild/win32-ia32': 0.18.11
|
||||
'@esbuild/win32-x64': 0.18.11
|
||||
dev: false
|
||||
|
||||
/esbuild@0.18.13:
|
||||
resolution: {integrity: sha512-vhg/WR/Oiu4oUIkVhmfcc23G6/zWuEQKFS+yiosSHe4aN6+DQRXIfeloYGibIfVhkr4wyfuVsGNLr+sQU1rWWw==}
|
||||
engines: {node: '>=12'}
|
||||
|
@ -5535,7 +5305,6 @@ packages:
|
|||
'@esbuild/win32-arm64': 0.18.13
|
||||
'@esbuild/win32-ia32': 0.18.13
|
||||
'@esbuild/win32-x64': 0.18.13
|
||||
dev: true
|
||||
|
||||
/escalade@3.1.1:
|
||||
resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==}
|
||||
|
@ -6781,7 +6550,6 @@ packages:
|
|||
|
||||
/immutable@4.3.0:
|
||||
resolution: {integrity: sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg==}
|
||||
dev: false
|
||||
|
||||
/import-fresh@3.3.0:
|
||||
resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==}
|
||||
|
@ -8291,9 +8059,9 @@ packages:
|
|||
engines: {node: '>= 0.8.0'}
|
||||
dev: true
|
||||
|
||||
/prettier@2.8.8:
|
||||
resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==}
|
||||
engines: {node: '>=10.13.0'}
|
||||
/prettier@3.0.0:
|
||||
resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
||||
|
@ -8636,6 +8404,7 @@ packages:
|
|||
hasBin: true
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
|
||||
/rollup@3.26.3:
|
||||
resolution: {integrity: sha512-7Tin0C8l86TkpcMtXvQu6saWH93nhG3dGQ1/+l5V2TDMceTxO7kDiK6GzbfLWNNxqJXm591PcEZUozZm51ogwQ==}
|
||||
|
@ -8643,7 +8412,6 @@ packages:
|
|||
hasBin: true
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
|
||||
/rrweb-cssom@0.6.0:
|
||||
resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==}
|
||||
|
@ -8696,15 +8464,14 @@ packages:
|
|||
/safer-buffer@2.1.2:
|
||||
resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==}
|
||||
|
||||
/sass@1.63.6:
|
||||
resolution: {integrity: sha512-MJuxGMHzaOW7ipp+1KdELtqKbfAWbH7OLIdoSMnVe3EXPMTmxTmlaZDCTsgIpPCs3w99lLo9/zDKkOrJuT5byw==}
|
||||
/sass@1.64.0:
|
||||
resolution: {integrity: sha512-m7YtAGmQta9uANIUJwXesAJMSncqH+3INc8kdVXs6eV6GUC8Qu2IYKQSN8PRLgiQfpca697G94klm2leYMxSHw==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
chokidar: 3.5.3
|
||||
immutable: 4.3.0
|
||||
source-map-js: 1.0.2
|
||||
dev: false
|
||||
|
||||
/sax@1.2.4:
|
||||
resolution: {integrity: sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==}
|
||||
|
@ -8753,14 +8520,6 @@ packages:
|
|||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/semver@7.3.8:
|
||||
resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==}
|
||||
engines: {node: '>=10'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
lru-cache: 6.0.0
|
||||
dev: true
|
||||
|
||||
/semver@7.5.4:
|
||||
resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==}
|
||||
engines: {node: '>=10'}
|
||||
|
@ -9815,7 +9574,7 @@ packages:
|
|||
mlly: 1.4.0
|
||||
pathe: 1.1.1
|
||||
picocolors: 1.0.0
|
||||
vite: 4.4.4(@types/node@20.4.2)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
transitivePeerDependencies:
|
||||
- '@types/node'
|
||||
- less
|
||||
|
@ -9840,7 +9599,7 @@ packages:
|
|||
open: 9.1.0
|
||||
picocolors: 1.0.0
|
||||
sirv: 2.0.3
|
||||
vite: 4.4.4(@types/node@20.4.2)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
transitivePeerDependencies:
|
||||
- rollup
|
||||
- supports-color
|
||||
|
@ -9863,7 +9622,7 @@ packages:
|
|||
json5: 2.2.3
|
||||
local-pkg: 0.4.3
|
||||
picocolors: 1.0.0
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.63.6)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
yaml: 2.3.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
@ -9880,7 +9639,7 @@ packages:
|
|||
debug: 4.3.4(supports-color@8.1.1)
|
||||
fast-glob: 3.2.12
|
||||
pretty-bytes: 6.1.0
|
||||
vite: 4.4.4(@types/node@20.4.2)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
workbox-build: 7.0.0
|
||||
workbox-window: 7.0.0
|
||||
transitivePeerDependencies:
|
||||
|
@ -9897,7 +9656,7 @@ packages:
|
|||
'@vue/compiler-sfc': 3.2.47
|
||||
debug: 4.3.4(supports-color@8.1.1)
|
||||
fast-glob: 3.2.12
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.63.6)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
vue: 3.3.4
|
||||
vue-router: 4.2.4(vue@3.3.4)
|
||||
transitivePeerDependencies:
|
||||
|
@ -9908,8 +9667,8 @@ packages:
|
|||
resolution: {integrity: sha512-X3ZImSVpFMypBTIhaTqEOdKj7tO9n7Puzd8vsxuQluFUyu6x/e2Dzv8qk5qZsC34ZR6iHt0wa2sPhDu1OjdOsA==}
|
||||
dev: false
|
||||
|
||||
/vite-ssg@0.23.0(@unhead/vue@1.1.30)(critters@0.0.18)(vite@4.4.4)(vue-router@4.2.4)(vue@3.3.4):
|
||||
resolution: {integrity: sha512-15hH++eI98dNVuIu1ZaziL24arFsUWDepII6DPWe4dq6DPO6iDo0qW1BjdKz4htXu3CTbNaJzBqsL9PwZBOL8g==}
|
||||
/vite-ssg@0.23.1(@unhead/vue@1.1.30)(critters@0.0.18)(vite@4.4.4)(vue-router@4.2.4)(vue@3.3.4):
|
||||
resolution: {integrity: sha512-xISST4s5uDvysfQ0oN8QpnpKDGF7WF48/pnxCy801lVz1re7f2y8xLbHk44qPWdXh2gFqyv4rhZEVa1KrAuzqw==}
|
||||
engines: {node: '>=14.0.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
|
@ -9924,7 +9683,7 @@ packages:
|
|||
vue-router:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@unhead/dom': 1.1.30
|
||||
'@unhead/dom': 1.1.32
|
||||
'@unhead/vue': 1.1.30(vue@3.3.4)
|
||||
critters: 0.0.18
|
||||
fs-extra: 11.1.1
|
||||
|
@ -9932,8 +9691,8 @@ packages:
|
|||
html5parser: 2.0.2
|
||||
jsdom: 22.1.0
|
||||
kolorist: 1.8.0
|
||||
prettier: 2.8.8
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.63.6)
|
||||
prettier: 3.0.0
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
vue: 3.3.4
|
||||
vue-router: 4.2.4(vue@3.3.4)
|
||||
yargs: 17.7.2
|
||||
|
@ -9980,7 +9739,7 @@ packages:
|
|||
fsevents: 2.3.2
|
||||
dev: true
|
||||
|
||||
/vite@4.4.4(@types/node@20.4.2):
|
||||
/vite@4.4.4(@types/node@20.4.2)(sass@1.64.0):
|
||||
resolution: {integrity: sha512-4mvsTxjkveWrKDJI70QmelfVqTm+ihFAb6+xf4sjEU2TmUCTlVX87tmg/QooPEMQb/lM9qGHT99ebqPziEd3wg==}
|
||||
engines: {node: ^14.18.0 || >=16.0.0}
|
||||
hasBin: true
|
||||
|
@ -10012,46 +9771,9 @@ packages:
|
|||
esbuild: 0.18.13
|
||||
postcss: 8.4.26
|
||||
rollup: 3.26.3
|
||||
sass: 1.64.0
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: true
|
||||
|
||||
/vite@4.4.4(@types/node@20.4.2)(sass@1.63.6):
|
||||
resolution: {integrity: sha512-4mvsTxjkveWrKDJI70QmelfVqTm+ihFAb6+xf4sjEU2TmUCTlVX87tmg/QooPEMQb/lM9qGHT99ebqPziEd3wg==}
|
||||
engines: {node: ^14.18.0 || >=16.0.0}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
'@types/node': '>= 14'
|
||||
less: '*'
|
||||
lightningcss: ^1.21.0
|
||||
sass: '*'
|
||||
stylus: '*'
|
||||
sugarss: '*'
|
||||
terser: ^5.4.0
|
||||
peerDependenciesMeta:
|
||||
'@types/node':
|
||||
optional: true
|
||||
less:
|
||||
optional: true
|
||||
lightningcss:
|
||||
optional: true
|
||||
sass:
|
||||
optional: true
|
||||
stylus:
|
||||
optional: true
|
||||
sugarss:
|
||||
optional: true
|
||||
terser:
|
||||
optional: true
|
||||
dependencies:
|
||||
'@types/node': 20.4.2
|
||||
esbuild: 0.18.11
|
||||
postcss: 8.4.25
|
||||
rollup: 3.26.2
|
||||
sass: 1.63.6
|
||||
optionalDependencies:
|
||||
fsevents: 2.3.2
|
||||
dev: false
|
||||
|
||||
/vitepress@1.0.0-beta.5(@types/node@20.4.2)(search-insights@2.7.0):
|
||||
resolution: {integrity: sha512-/RjqqRsSEKkzF6HhK5e5Ij+bZ7ETb9jNCRRgIMm10gJ+ZLC3D1OqkE465lEqCeJUgt2HZ6jmWjDqIBfrJSpv7w==}
|
||||
|
@ -10149,7 +9871,7 @@ packages:
|
|||
strip-literal: 1.0.1
|
||||
tinybench: 2.5.0
|
||||
tinypool: 0.6.0
|
||||
vite: 4.4.4(@types/node@20.4.2)
|
||||
vite: 4.4.4(@types/node@20.4.2)(sass@1.64.0)
|
||||
vite-node: 0.33.0(@types/node@20.4.2)
|
||||
why-is-node-running: 2.2.2
|
||||
transitivePeerDependencies:
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
// import { resolve } from 'path'
|
||||
import { describe, expect, it } from 'vitest'
|
||||
import dayjs from 'dayjs'
|
||||
import utc from 'dayjs/plugin/utc'
|
||||
import timezone from 'dayjs/plugin/timezone'
|
||||
|
||||
const cnTimezone = 'Asia/Shanghai'
|
||||
|
||||
dayjs.extend(utc)
|
||||
dayjs.extend(timezone)
|
||||
dayjs.tz.setDefault(cnTimezone)
|
||||
|
||||
// const mdDir = resolve(__dirname, 'fixtures/markdown')
|
||||
|
||||
describe('frontmatter parse', async () => {
|
||||
it('page:time', () => {
|
||||
const date = new Date('2023-07-19 18:55:53')
|
||||
const formattedDate = dayjs(date).format('YYYY-MM-DD')
|
||||
|
||||
expect(formattedDate).toBe('2023-07-19')
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue