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

vue-qrious

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-qrious - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

12

dist/vue-qrious.browser.js
/*!
* vue-qrious a vue component of generating qrcode with `qrious`
* Version 1.0.0
* Version 1.0.1
* Copyright (C) 2017 JounQin <admin@1stg.me>

@@ -50,3 +50,3 @@ * Released under the MIT license

qr: qr,
src: this.getSrc(qr)
src: qr.toDataURL(this.mime)
};

@@ -60,12 +60,6 @@ },

_this.qr[key] = _this[key];
_this.src = _this.getSrc();
_this.src = _this.qr.toDataURL(_this.mime);
});
});
},
methods: {
getSrc: function getSrc(qr) {
return (this.qr || qr).toDataURL(this.mime);
}
},
render: function render() {

@@ -72,0 +66,0 @@ var h = arguments[0];

/*!
* vue-qrious a vue component of generating qrcode with `qrious`
* Version 1.0.0
* Version 1.0.1
* Copyright (C) 2017 JounQin <admin@1stg.me>

@@ -9,2 +9,2 @@ * Released under the MIT license

*/
!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("qrious")):"function"==typeof define&&define.amd?define("vue-qrious",["qrious"],t):r.VueQrious=t(r.QRious)}(this,function(r){"use strict";r="default"in r?r.default:r;var t=["L","M","Q","H"],e={type:[Number,String],validator:function(r){return!isNaN(+r)}};return{props:{value:{type:String,required:!0},background:String,backgroundAlpha:e,foreground:String,foregroundAlpha:e,level:{type:String,validator:function(r){return t.indexOf(r)+1}},mime:String,padding:e,size:e},data:function(){var t=new r(this.$options.propsData);return{qr:t,src:this.getSrc(t)}},created:function(){var r=this;this.$options._propKeys.forEach(function(t){return r.$watch(t,function(){r.qr[t]=r[t],r.src=r.getSrc()})})},methods:{getSrc:function(r){return(this.qr||r).toDataURL(this.mime)}},render:function(){return(0,arguments[0])("img",{attrs:{src:this.src}},[])}}});
!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("qrious")):"function"==typeof define&&define.amd?define("vue-qrious",["qrious"],t):r.VueQrious=t(r.QRious)}(this,function(r){"use strict";r="default"in r?r.default:r;var t=["L","M","Q","H"],e={type:[Number,String],validator:function(r){return!isNaN(+r)}};return{props:{value:{type:String,required:!0},background:String,backgroundAlpha:e,foreground:String,foregroundAlpha:e,level:{type:String,validator:function(r){return t.indexOf(r)+1}},mime:String,padding:e,size:e},data:function(){var t=new r(this.$options.propsData);return{qr:t,src:t.toDataURL(this.mime)}},created:function(){var r=this;this.$options._propKeys.forEach(function(t){return r.$watch(t,function(){r.qr[t]=r[t],r.src=r.qr.toDataURL(r.mime)})})},render:function(){return(0,arguments[0])("img",{attrs:{src:this.src}},[])}}});
/*!
* vue-qrious a vue component of generating qrcode with `qrious`
* Version 1.0.0
* Version 1.0.1
* Copyright (C) 2017 JounQin <admin@1stg.me>

@@ -50,3 +50,3 @@ * Released under the MIT license

qr: qr,
src: this.getSrc(qr)
src: qr.toDataURL(this.mime)
};

@@ -60,12 +60,6 @@ },

_this.qr[key] = _this[key];
_this.src = _this.getSrc();
_this.src = _this.qr.toDataURL(_this.mime);
});
});
},
methods: {
getSrc: function getSrc(qr) {
return (this.qr || qr).toDataURL(this.mime);
}
},
render: function render() {

@@ -72,0 +66,0 @@ var h = arguments[0];

/*!
* vue-qrious a vue component of generating qrcode with `qrious`
* Version 1.0.0
* Version 1.0.1
* Copyright (C) 2017 JounQin <admin@1stg.me>

@@ -9,2 +9,2 @@ * Released under the MIT license

*/
!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("node-qrious")):"function"==typeof define&&define.amd?define("vue-qrious",["node-qrious"],t):r.VueQrious=t(r.QRious)}(this,function(r){"use strict";r="default"in r?r.default:r;var t=["L","M","Q","H"],e={type:[Number,String],validator:function(r){return!isNaN(+r)}};return{props:{value:{type:String,required:!0},background:String,backgroundAlpha:e,foreground:String,foregroundAlpha:e,level:{type:String,validator:function(r){return t.indexOf(r)+1}},mime:String,padding:e,size:e},data:function(){var t=new r(this.$options.propsData);return{qr:t,src:this.getSrc(t)}},created:function(){var r=this;this.$options._propKeys.forEach(function(t){return r.$watch(t,function(){r.qr[t]=r[t],r.src=r.getSrc()})})},methods:{getSrc:function(r){return(this.qr||r).toDataURL(this.mime)}},render:function(){return(0,arguments[0])("img",{attrs:{src:this.src}},[])}}});
!function(r,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("node-qrious")):"function"==typeof define&&define.amd?define("vue-qrious",["node-qrious"],t):r.VueQrious=t(r.QRious)}(this,function(r){"use strict";r="default"in r?r.default:r;var t=["L","M","Q","H"],e={type:[Number,String],validator:function(r){return!isNaN(+r)}};return{props:{value:{type:String,required:!0},background:String,backgroundAlpha:e,foreground:String,foregroundAlpha:e,level:{type:String,validator:function(r){return t.indexOf(r)+1}},mime:String,padding:e,size:e},data:function(){var t=new r(this.$options.propsData);return{qr:t,src:t.toDataURL(this.mime)}},created:function(){var r=this;this.$options._propKeys.forEach(function(t){return r.$watch(t,function(){r.qr[t]=r[t],r.src=r.qr.toDataURL(r.mime)})})},render:function(){return(0,arguments[0])("img",{attrs:{src:this.src}},[])}}});

@@ -32,3 +32,3 @@ import QRious from 'qrious'

qr,
src: this.getSrc(qr)
src: qr.toDataURL(this.mime)
}

@@ -39,10 +39,5 @@ },

this.qr[key] = this[key]
this.src = this.getSrc()
this.src = this.qr.toDataURL(this.mime)
}))
},
methods: {
getSrc(qr) {
return (this.qr || qr).toDataURL(this.mime)
}
},
render() {

@@ -49,0 +44,0 @@ return <img src={this.src}/>

{
"name": "vue-qrious",
"version": "1.0.0",
"version": "1.0.1",
"description": "a vue component of generating qrcode with `qrious`",

@@ -13,3 +13,3 @@ "browser": "dist/vue-qrious.browser",

"scripts": {
"dev": "yarn client --watch",
"dev": "yarn client -- --watch",
"client": "rollup -c",

@@ -16,0 +16,0 @@ "server": "cross-env ENV=server rollup -c",

# vue-qrious
[![peerDependencies status](https://david-dm.org/JounQin/vue-qrious/peer-status.svg)](https://david-dm.org/JounQin/vue-qrious?type=peer)
[![dependency Status](https://david-dm.org/JounQin/vue-qrious/status.svg)](https://david-dm.org/JounQin/vue-qrious)
[![devDependency Status](https://david-dm.org/JounQin/vue-qrious/dev-status.svg)](https://david-dm.org/JounQin/vue-qrious?type=dev)

@@ -10,3 +11,3 @@

Since qrious has been split into multiple modules from 4.0.0 (https://github.com/neocotic/qrious/issues/53), so if your are using es module with webpack or rollup, remember add an alias/replacement-plugin from module `qrious` to `node-qrious` on node/server environment.
Since qrious has been split into multiple modules from 4.0.0 (https://github.com/neocotic/qrious/issues/53), so if your are using es module with webpack or rollup, remember to add an alias/replacement-plugin from module `qrious` to `node-qrious` on node/server environment.

@@ -13,0 +14,0 @@ Or you can manually choosing files in `vue-qrious/dist` folder as following.

Sorry, the diff of this file is not supported yet

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