Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Feb 5, 2024
1 parent 8cf21ff commit 033ee12
Show file tree
Hide file tree
Showing 12 changed files with 786 additions and 524 deletions.
15 changes: 8 additions & 7 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,16 @@
},
"devDependencies": {
"@fancyapps/ui": "5.0.33",
"@vuepress/bundler-vite": "2.0.0-rc.2",
"@vuepress/plugin-docsearch": "2.0.0-rc.7",
"@vuepress/bundler-vite": "2.0.0-rc.5",
"@vuepress/helper": "2.0.0-rc.10",
"@vuepress/plugin-docsearch": "2.0.0-rc.10",
"@vuepress/plugin-redirect": "2.0.0-rc.10",
"@waline/client": "workspace:*",
"marked": "11.2.0",
"marked": "12.0.0",
"mathjax-full": "3.2.2",
"vue": "3.4.15",
"vuepress": "2.0.0-rc.2",
"vuepress-plugin-redirect": "2.0.0-rc.19",
"vuepress-shared": "2.0.0-rc.19",
"vuepress-theme-hope": "2.0.0-rc.19"
"vuepress": "2.0.0-rc.5",
"vuepress-shared": "2.0.0-rc.21",
"vuepress-theme-hope": "2.0.0-rc.21"
}
}
2 changes: 1 addition & 1 deletion docs/src/.vuepress/components/MigrationTool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
</form>
</template>
<script setup lang="ts">
import { useLocaleConfig } from '@vuepress/helper/client';
import { ref } from 'vue';
import { useLocaleConfig } from 'vuepress-shared/client';
import {
type OriginalType,
Expand Down
3 changes: 2 additions & 1 deletion docs/src/.vuepress/components/NormalPage.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { hasGlobalComponent } from '@vuepress/helper/client';
import { usePageFrontmatter } from 'vuepress/client';
import {
type ComponentOptions,
Expand All @@ -7,7 +8,7 @@ import {
h,
resolveComponent,
} from 'vue';
import { RenderDefault, hasGlobalComponent } from 'vuepress-shared/client';
import { RenderDefault } from 'vuepress-shared/client';

import BreadCrumb from '@theme-hope/components/BreadCrumb';
import MarkdownContent from '@theme-hope/components/MarkdownContent';
Expand Down
4 changes: 2 additions & 2 deletions docs/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { addViteSsrNoExternal } from '@vuepress/helper';
import { redirectPlugin } from '@vuepress/plugin-redirect';
import { type UserConfig, defineUserConfig } from 'vuepress';
import { path } from 'vuepress/utils';
import { redirectPlugin } from 'vuepress-plugin-redirect';
import { addViteSsrNoExternal } from 'vuepress-shared';

import theme from './theme.js';

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"markdownlint-cli2": "0.12.1",
"nano-staged": "0.8.0",
"postcss": "8.4.33",
"prettier": "3.2.4",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"rollup": "4.9.6",
"rollup-plugin-dts": "6.1.0",
Expand All @@ -85,7 +85,7 @@
"typescript": "5.3.3",
"vercel": "33.4.1",
"vite": "5.0.12",
"vite-plugin-css-injected-by-js": "3.3.1",
"vite-plugin-css-injected-by-js": "3.4.0",
"vite-plugin-svgr": "4.2.0",
"vitest": "1.2.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"qrcode.react": "3.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "14.0.1",
"react-i18next": "14.0.3",
"react-redux": "9.1.0",
"react-router-dom": "6.22.0",
"redux": "5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/client/__tests__/wordCount.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest';

import { getWords, getChinese, getWordNumber } from '../src/utils/wordCount';
import { getWords, getChinese, getWordNumber } from '../src/utils/wordCount.js';

describe('Words test', () => {
it('Should count empty content correctly', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@vueuse/core": "^10.7.2",
"@waline/api": "^1.0.0-alpha.5",
"autosize": "^6.0.1",
"marked": "^11.2.0",
"marked": "^12.0.0",
"marked-highlight": "^2.1.0",
"recaptcha-v3": "^1.10.0",
"vue": "^3.4.15"
Expand Down
5 changes: 2 additions & 3 deletions packages/client/src/utils/date.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { WalineDateLocale } from '../typings';

import { isString } from '.';
import { isString } from './type.js';
import { WalineDateLocale } from '../typings/index.js';

const padWithZeros = (vNumber: number, width: number): string => {
let numAsString = vNumber.toString();
Expand Down
Loading

0 comments on commit 033ee12

Please sign in to comment.