@vuepress/plugin-medium-zoom
Advanced tools
Comparing version 2.0.0-beta.50-pre.1 to 2.0.0-rc.0
@@ -12,2 +12,2 @@ import type { Zoom } from 'medium-zoom'; | ||
*/ | ||
export declare const useMediumZoom: () => Zoom; | ||
export declare const useMediumZoom: () => Zoom | null; |
@@ -7,2 +7,5 @@ import { inject } from 'vue'; | ||
export const useMediumZoom = () => { | ||
if (__VUEPRESS_SSR__) { | ||
return null; | ||
} | ||
const zoom = inject(mediumZoomSymbol); | ||
@@ -9,0 +12,0 @@ if (!zoom) { |
import { defineClientConfig } from '@vuepress/client'; | ||
import { default as mediumZoom } from 'medium-zoom'; | ||
import mediumZoom from 'medium-zoom'; | ||
import { mediumZoomSymbol } from './composables/index.js'; | ||
@@ -4,0 +4,0 @@ import './styles/vars.css'; |
{ | ||
"name": "@vuepress/plugin-medium-zoom", | ||
"version": "2.0.0-beta.50-pre.1", | ||
"version": "2.0.0-rc.0", | ||
"description": "VuePress plugin - medium-zoom", | ||
@@ -35,7 +35,7 @@ "keywords": [ | ||
"dependencies": { | ||
"@vuepress/client": "2.0.0-beta.50-pre.1", | ||
"@vuepress/core": "2.0.0-beta.50-pre.1", | ||
"@vuepress/utils": "2.0.0-beta.50-pre.1", | ||
"medium-zoom": "^1.0.6", | ||
"vue": "^3.2.37" | ||
"medium-zoom": "^1.1.0", | ||
"vue": "^3.3.8", | ||
"@vuepress/client": "2.0.0-rc.0", | ||
"@vuepress/core": "2.0.0-rc.0", | ||
"@vuepress/utils": "2.0.0-rc.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "publishConfig": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
5874
118
0
+ Added@mdit-vue/plugin-component@1.0.0(transitive)
+ Added@mdit-vue/plugin-frontmatter@1.0.0(transitive)
+ Added@mdit-vue/plugin-headers@1.0.0(transitive)
+ Added@mdit-vue/plugin-sfc@1.0.0(transitive)
+ Added@mdit-vue/plugin-title@1.0.0(transitive)
+ Added@mdit-vue/plugin-toc@1.0.0(transitive)
+ Added@mdit-vue/shared@1.0.0(transitive)
+ Added@mdit-vue/types@1.0.0(transitive)
+ Added@sindresorhus/merge-streams@2.3.0(transitive)
+ Added@types/fs-extra@11.0.4(transitive)
+ Added@types/jsonfile@6.1.4(transitive)
+ Added@types/linkify-it@3.0.5(transitive)
+ Added@types/markdown-it@13.0.9(transitive)
+ Added@types/mdurl@1.0.5(transitive)
+ Added@types/web-bluetooth@0.0.20(transitive)
+ Added@vuepress/client@2.0.0-rc.0(transitive)
+ Added@vuepress/core@2.0.0-rc.0(transitive)
+ Added@vuepress/markdown@2.0.0-rc.0(transitive)
+ Added@vuepress/shared@2.0.0-rc.0(transitive)
+ Added@vuepress/utils@2.0.0-rc.0(transitive)
+ Added@vueuse/core@10.11.1(transitive)
+ Added@vueuse/metadata@10.11.1(transitive)
+ Added@vueuse/shared@10.11.1(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@10.4.0(transitive)
+ Addedfs-extra@11.2.0(transitive)
+ Addedglobby@14.0.2(transitive)
+ Addedora@7.0.1(transitive)
+ Addedpath-type@5.0.0(transitive)
+ Addedslash@5.1.0(transitive)
+ Addedstring-width@6.1.0(transitive)
+ Addedunicorn-magic@0.1.0(transitive)
+ Addedvue-demi@0.14.10(transitive)
- Removed@mdit-vue/plugin-component@0.9.4(transitive)
- Removed@mdit-vue/plugin-frontmatter@0.9.2(transitive)
- Removed@mdit-vue/plugin-headers@0.9.3(transitive)
- Removed@mdit-vue/plugin-sfc@0.9.2(transitive)
- Removed@mdit-vue/plugin-title@0.9.3(transitive)
- Removed@mdit-vue/plugin-toc@0.9.2(transitive)
- Removed@mdit-vue/shared@0.9.2(transitive)
- Removed@mdit-vue/types@0.9.2(transitive)
- Removed@types/fs-extra@9.0.13(transitive)
- Removed@types/linkify-it@5.0.0(transitive)
- Removed@types/markdown-it@12.2.3(transitive)
- Removed@types/mdurl@2.0.0(transitive)
- Removed@vuepress/client@2.0.0-beta.50-pre.1(transitive)
- Removed@vuepress/core@2.0.0-beta.50-pre.1(transitive)
- Removed@vuepress/markdown@2.0.0-beta.50-pre.1(transitive)
- Removed@vuepress/shared@2.0.0-beta.50-pre.1(transitive)
- Removed@vuepress/utils@2.0.0-beta.50-pre.1(transitive)
- Removedclone@1.0.4(transitive)
- Removeddefaults@1.0.4(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removedfs-extra@10.1.0(transitive)
- Removedglobby@13.2.2(transitive)
- Removedora@6.3.1(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedslash@4.0.0(transitive)
- Removedwcwidth@1.0.1(transitive)
Updated@vuepress/client@2.0.0-rc.0
Updated@vuepress/core@2.0.0-rc.0
Updated@vuepress/utils@2.0.0-rc.0
Updatedmedium-zoom@^1.1.0
Updatedvue@^3.3.8