Socket
Socket
Sign inDemoInstall

@vuepress/plugin-medium-zoom

Package Overview
Dependencies
Maintainers
2
Versions
205
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuepress/plugin-medium-zoom - npm Package Compare versions

Comparing version 1.0.0-alpha.20 to 1.0.0-alpha.21

21

mixin.js

@@ -7,7 +7,22 @@ /* global SELECTOR */

export default {
data: () => ({ zoom: null }),
mounted () {
setTimeout(() => {
zoom(SELECTOR)
}, 1000)
this.updateZoom()
},
updated () {
this.updateZoom()
},
methods: {
updateZoom () {
setTimeout(() => {
if (this.zoom) {
this.zoom.detach()
}
this.zoom = zoom(SELECTOR)
}, 1000)
}
}
}

2

package.json
{
"name": "@vuepress/plugin-medium-zoom",
"version": "1.0.0-alpha.20",
"version": "1.0.0-alpha.21",
"description": "medium-zoom plugin for vuepress",

@@ -5,0 +5,0 @@ "main": "index.js",

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