Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vuepress/client

Package Overview
Dependencies
Maintainers
7
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/client - npm Package Compare versions

Comparing version 2.0.0-alpha.20 to 2.0.0-alpha.22

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.0.0-alpha.22](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2021-02-10)
### Bug Fixes
* **client:** only watch route path to update head ([3174f5a](https://github.com/vuepress/vuepress-next/commit/3174f5a676d95943df256b2be31227eb844d0144))
# [2.0.0-alpha.20](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2021-02-04)

@@ -8,0 +19,0 @@

4

lib/injections/updateHead.js
import { onMounted, ref, useSSRContext, watch } from 'vue';
import { useRoute } from 'vue-router';
import { isPlainObject, isString } from '@vuepress/shared';

@@ -55,2 +56,3 @@ import { usePageHead } from './pageHead';

export const useUpdateHead = () => {
const route = useRoute();
const head = usePageHead();

@@ -97,5 +99,5 @@ const lang = usePageLang();

updateHead();
watch([head, lang], () => updateHead());
watch(() => route.path, () => updateHead());
});
};
//# sourceMappingURL=updateHead.js.map
{
"name": "@vuepress/client",
"version": "2.0.0-alpha.20",
"version": "2.0.0-alpha.22",
"description": "Client package of VuePress",

@@ -38,3 +38,3 @@ "keywords": [

},
"gitHead": "5c80ff3d24e4303734c87626b862ea04ff441ffa"
"gitHead": "35b8d3f454cc99f57f5113357e06861d36414ca4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc