From 63bcef5e41ffe26e489cc16decb6f9e42e35408b Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 3 Aug 2022 19:38:13 +0800 Subject: [PATCH] chore: bump deps IMPORTANT: hexo-renderer-marked must be pinned at 0.3.x since we rely on syntax that only works with this version range. --- _config.yml | 3 +- package.json | 26 +- src/v2/guide/installation.md | 14 +- themes/vue/_config.yml | 38 +- themes/vue/source/js/vue.js | 7127 ++++++++++++++++--------------- themes/vue/source/js/vue.min.js | 6 +- yarn.lock | 2690 ++++-------- 7 files changed, 4505 insertions(+), 5399 deletions(-) diff --git a/_config.yml b/_config.yml index 375558d2bc..38ce868cd3 100644 --- a/_config.yml +++ b/_config.yml @@ -29,7 +29,8 @@ new_post_name: :title.md # File name of new posts default_layout: post auto_spacing: false # Add spaces between asian characters and western characters titlecase: false # Transform title into titlecase -external_link: true # Open external links in new tab +external_link: + enable: true # Open external links in new tab max_open_file: 100 multi_thread: true filename_case: 0 diff --git a/package.json b/package.json index b68a583fb8..ee3775e943 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "v2.vuejs.org", "private": true, "hexo": { - "version": "3.8.0" + "version": "6.2.0" }, "scripts": { "dev": "node _scripts/sync-sponsors.js && hexo server", @@ -14,20 +14,18 @@ }, "dependencies": { "axios": "^0.27.2", - "hexo": "^3.6.0", - "hexo-deployer-git": "0.3.1", + "hexo": "^6.2.0", "hexo-generator-alias": "git+https://github.com/chrisvfritz/vuejs.org-hexo-generator-alias.git", - "hexo-generator-archive": "^0.1.5", - "hexo-generator-category": "^0.1.3", - "hexo-generator-feed": "^1.2.2", - "hexo-generator-index": "^0.2.1", - "hexo-generator-tag": "^0.2.0", - "hexo-offline": "^1.0.0", - "hexo-renderer-ejs": "^0.3.1", - "hexo-renderer-marked": "^0.3.0", - "hexo-renderer-stylus": "^0.3.3", - "hexo-server": "^0.3.1", + "hexo-generator-archive": "^1.0.0", + "hexo-generator-category": "^1.0.0", + "hexo-generator-feed": "^3.0.0", + "hexo-generator-index": "^2.0.0", + "hexo-generator-tag": "^1.0.0", + "hexo-renderer-ejs": "^2.0.0", + "hexo-renderer-marked": "^0.3.2", + "hexo-renderer-stylus": "^2.1.0", + "hexo-server": "^3.0.0", "hoek": "^6.1.2", "js-yaml": "^4.1.0" } -} +} \ No newline at end of file diff --git a/src/v2/guide/installation.md b/src/v2/guide/installation.md index 30ef8d632a..50b7ab1c7e 100644 --- a/src/v2/guide/installation.md +++ b/src/v2/guide/installation.md @@ -2,8 +2,8 @@ title: Installation type: guide order: 1 -vue_version: 2.7.0 -gz_size: "36.75" +vue_version: 2.7.8 +gz_size: "37.32" --- ### Compatibility Note @@ -41,20 +41,20 @@ Simply download and include with a script tag. `Vue` will be registered as a glo For prototyping or learning purposes, you can use the latest version with: ``` html - + ``` For production, we recommend linking to a specific version number and build to avoid unexpected breakage from newer versions: ``` html - + ``` If you are using native ES Modules, there is also an ES Modules compatible build: ``` html ``` @@ -84,7 +84,7 @@ Vue provides an [official CLI](https://github.com/vuejs/vue-cli) for quickly sca ## Explanation of Different Builds -In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue@2.7.0/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them: +In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue@2.7.8/dist/) you will find many different builds of Vue.js. Here's an overview of the difference between them: | | UMD | CommonJS | ES Module (for bundlers) | ES Module (for browsers) | | --- | --- | --- | --- | --- | @@ -101,7 +101,7 @@ In the [`dist/` directory of the NPM package](https://cdn.jsdelivr.net/npm/vue@2 - **Runtime**: code that is responsible for creating Vue instances, rendering and patching virtual DOM, etc. Basically everything minus the compiler. -- **[UMD](https://github.com/umdjs/umd)**: UMD builds can be used directly in the browser via a `