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.18 to 1.0.0-alpha.19

7

index.js
const { path } = require('@vuepress/shared-utils')
module.exports = {
module.exports = (options, context) => ({
define: {
SELECTOR: options.selector || '.content img'
},
clientRootMixin: path.resolve(__dirname, 'mixin.js')
}
})

@@ -0,1 +1,3 @@

/* global SELECTOR */
import './style.css'

@@ -7,5 +9,5 @@ import zoom from 'medium-zoom'

setTimeout(() => {
zoom('.content img')
zoom(SELECTOR)
}, 1000)
}
}
{
"name": "@vuepress/plugin-medium-zoom",
"version": "1.0.0-alpha.18",
"version": "1.0.0-alpha.19",
"description": "medium-zoom plugin for vuepress",

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

# @vuepress/plugin-medium-zoom
> medium-zoom plugin for vuepress
## Usage
```javascript
module.exports = {
plugins: ['@vuepress/medium-zoom']
}
```
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