New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-zoomer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-zoomer - npm Package Compare versions

Comparing version 0.3.9 to 0.4.0-beta.1

dist/assets/index.5d4e73af.css

38

package.json
{
"name": "vue-zoomer",
"version": "0.3.9",
"version": "0.4.0-beta.1",
"description": "Zoom the image or other thing with mouse or touch",
"main": "dist/vue-zoomer.min.js",
"module": "dist/vue-zoomer.esm.js",
"main": "src/index.js",
"module": "src/index.js",
"scripts": {
"dev-basic": "parcel demo/basic/index.html --port 5100",
"dev-gallery": "parcel demo/gallery/index.html --port 5100",
"clean": "rm -rf .cache && rm -rf dist",
"build-basic": "parcel build demo/basic/index.html --public-url . --out-dir dist/demo --out-file basic.html",
"build-gallery": "parcel build demo/gallery/index.html --public-url . --out-dir dist/demo --out-file gallery.html",
"build-lib": "rollup -c",
"build": "npm run clean && npm run build-basic && npm run build-gallery && npm run build-lib"
"dev": "vite",
"build": "vite build --base .",
"serve": "http-server dist -c-1"
},

@@ -25,21 +21,13 @@ "keywords": [

"license": "MIT",
"peerDependencies": {
"vue": "^3.0.0"
},
"devDependencies": {
"@vue/component-compiler-utils": "^2.6.0",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"parcel-bundler": "^1.12.4",
"rollup": "^1.20.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-stylus-compiler": "^1.0.1",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-vue": "^5.0.1",
"stylus": "^0.54.5",
"vue": "^2.6.7",
"vue-hot-reload-api": "^2.3.3",
"vue-template-compiler": "^2.6.7"
"@vitejs/plugin-vue": "^1.0.4",
"vite": "^2.0.0-beta.5"
},
"files": [
"dist/**/*"
"dist/**/*",
"src/**/*"
]
}

@@ -1,11 +0,10 @@

# vue-zoomer
# vue-zoomer @next for Vue 3
> Zoom the image or other thing with mouse or touch
## Demo
## Usage (Vue 3 Differences)
- [Single Image](https://unpkg.com/vue-zoomer/dist/demo/basic.html)
- [Gallery](https://unpkg.com/vue-zoomer/dist/demo/gallery.html)
Demo (built with [Vite](https://vitejs.dev/) 2):
## Usage
[Gallery](https://unpkg.com/vue-zoomer@next/dist/index.html)

@@ -15,2 +14,21 @@ Install:

```bash
npm install vue-zoomer@next
```
Import:
```js
import { createApp } from 'vue'
import VueZoomer from 'vue-zoomer'
const app = createApp(App)
app.use(VueZoomer)
app.mount('#app')
```
## Usage ( Below are Vue 2)
Install:
```bash
npm install vue-zoomer

@@ -17,0 +35,0 @@ ```

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