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

vue-masonry

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-masonry - npm Package Compare versions

Comparing version 0.11.2 to 0.11.3

dist/vue-masonry-plugin-umd.js

3

package.json
{
"name": "vue-masonry",
"version": "0.11.2",
"version": "0.11.3",
"description": "masonry layout for vue.js",
"main": "src/masonry.plugin.js",
"browser": "dist/vue-masonry-plugin-window.js",
"scripts": {

@@ -7,0 +8,0 @@ "test": "echo \"Error: no test specified\" && exit 1",

# vue-masonry
**Current version: 0.11.2**
**Current version: 0.11.3**

@@ -23,3 +23,8 @@ Vue.js directive for masonry blocks layouting. Original [masonry library](http://masonry.desandro.com/).

import Vue from 'vue'
// import es6 style
import {VueMasonryPlugin} from 'vue-masonry';
// or using CJS
// const VueMasonryPlugin = require('vue-masonry').VueMasonryPlugin

@@ -35,3 +40,16 @@ Vue.use(VueMasonryPlugin)

### Usage directly in the browser
Since v 0.11.3 in-browser usage is available using a direct script inclusion on the page like so:
```
<script src="https://unpkg.com/vue-masonry@0.11.3/dist/vue-masonry-plugin-window.js"></script>
```
```
var VueMasonryPlugin = window["vue-masonry-plugin"]
Vue.use(VueMasonryPlugin)
```
Properties currently available reproduce most of those on the [original masonry plugin](http://masonry.desandro.com/options.html):

@@ -38,0 +56,0 @@

@@ -5,3 +5,4 @@ const UglifyEsPlugin = require('uglify-es-webpack-plugin');

const libraryName = 'vue-masonry-plugin';
const outputFile = libraryName + '.js';
const buildTarget = process.env.TARGET === 'umd' ? 'umd' : 'window';
const outputFile = `${libraryName}-${buildTarget}.js`;

@@ -28,3 +29,3 @@ module.exports = {

library: libraryName,
libraryTarget: 'umd',
libraryTarget: buildTarget,
umdNamedDefine: true

@@ -31,0 +32,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