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.4.2 to 1.4.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [1.4.3](https://github.com/rx-ts/vue/compare/vue-qrious@1.4.2...vue-qrious@1.4.3) (2020-01-17)
### Bug Fixes
* dataUrl initialize value should be empty string ([846220d](https://github.com/rx-ts/vue/commit/846220ddf5bc47416e144e02ff559f35edc17789))
## [1.4.2](https://github.com/rx-ts/vue/compare/vue-qrious@1.4.1...vue-qrious@1.4.2) (2019-09-23)

@@ -8,0 +19,0 @@

16

lib/cjs.min.js

@@ -1,1 +0,15 @@

"use strict";function _interopDefault(t){return t&&"object"==typeof t&&"default"in t?t.default:t}Object.defineProperty(exports,"__esModule",{value:!0});var QRious=_interopDefault(require("qrious")),__assign=function(){return(__assign=Object.assign||function(t){for(var r,e=1,i=arguments.length;e<i;e++)for(var n in r=arguments[e])Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}).apply(this,arguments)},LEVELS=["L","M","Q","H"],index={props:{value:{type:String,required:!0},background:String,backgroundAlpha:Number,foreground:String,foregroundAlpha:Number,level:{type:String,validator:function(t){return LEVELS.includes(t)}},mime:String,padding:Number,size:Number},data:function(){var t=new QRious(this.$props);return{qrious:t,dataUrl:t.toDataURL(this.mime)}},watch:{$props:{deep:!0,handler:function(){this.qrious.set(this.$props),this.dataUrl=this.qrious.toDataURL(this.mime)}}},render:function(){return this.$createElement("img",{domProps:__assign(__assign({},this.$attrs),{src:this.dataUrl})})}};exports.LEVELS=LEVELS,exports.default=index;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r,t=(r=require("qrious"))&&"object"==typeof r&&"default"in r?r.default:r,e=function(){return(e=Object.assign||function(r){for(var t,e=1,i=arguments.length;e<i;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}).apply(this,arguments)},i=["L","M","Q","H"],n={props:{value:{type:String,required:!0},background:String,backgroundAlpha:Number,foreground:String,foregroundAlpha:Number,level:{type:String,validator:function(r){return i.includes(r)}},mime:String,padding:Number,size:Number},data:function(){var r=new t(this.$props);return{qrious:r,dataUrl:r.toDataURL(this.mime)}},watch:{$props:{deep:!0,handler:function(){this.qrious.set(this.$props),this.dataUrl=this.qrious.toDataURL(this.mime)}}},render:function(){return this.$createElement("img",{domProps:e(e({},this.$attrs),{src:this.dataUrl})})}};
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */exports.LEVELS=i,exports.default=n;

@@ -1,1 +0,15 @@

import r from"qrious";var t=function(){return(t=Object.assign||function(r){for(var t,e=1,i=arguments.length;e<i;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}).apply(this,arguments)},e=["L","M","Q","H"],i={props:{value:{type:String,required:!0},background:String,backgroundAlpha:Number,foreground:String,foregroundAlpha:Number,level:{type:String,validator:function(r){return e.includes(r)}},mime:String,padding:Number,size:Number},data:function(){var t=new r(this.$props);return{qrious:t,dataUrl:t.toDataURL(this.mime)}},watch:{$props:{deep:!0,handler:function(){this.qrious.set(this.$props),this.dataUrl=this.qrious.toDataURL(this.mime)}}},render:function(){return this.$createElement("img",{domProps:t(t({},this.$attrs),{src:this.dataUrl})})}};export default i;export{e as LEVELS};
import r from"qrious";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var t=function(){return(t=Object.assign||function(r){for(var t,e=1,i=arguments.length;e<i;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}).apply(this,arguments)},e=["L","M","Q","H"],i={props:{value:{type:String,required:!0},background:String,backgroundAlpha:Number,foreground:String,foregroundAlpha:Number,level:{type:String,validator:function(r){return e.includes(r)}},mime:String,padding:Number,size:Number},data:function(){var t=new r(this.$props);return{qrious:t,dataUrl:t.toDataURL(this.mime)}},watch:{$props:{deep:!0,handler:function(){this.qrious.set(this.$props),this.dataUrl=this.qrious.toDataURL(this.mime)}}},render:function(){return this.$createElement("img",{domProps:t(t({},this.$attrs),{src:this.dataUrl})})}};export default i;export{e as LEVELS};

3

lib/index.d.ts
import QRious from 'qrious';
import Vue from 'vue';
export declare const LEVELS: readonly ["L", "M", "Q", "H"];
export declare type Level = (typeof LEVELS)[number];
export declare type Level = typeof LEVELS[number];
declare const _default: {

@@ -46,2 +46,1 @@ props: {

export default _default;
//# sourceMappingURL=index.d.ts.map

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.VueQrious = {}, global.QRious));
}(this, function (exports, QRious) { 'use strict';
}(this, (function (exports, QRious) { 'use strict';

@@ -83,2 +83,2 @@ QRious = QRious && QRious.hasOwnProperty('default') ? QRious['default'] : QRious;

}));
})));

@@ -1,1 +0,16 @@

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("qrious")):"function"==typeof define&&define.amd?define(["exports","qrious"],t):t((e=e||self).VueQrious={},e.QRious)}(this,(function(e,t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var r=function(){return(r=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},i=["L","M","Q","H"],n={props:{value:{type:String,required:!0},background:String,backgroundAlpha:Number,foreground:String,foregroundAlpha:Number,level:{type:String,validator:function(e){return i.includes(e)}},mime:String,padding:Number,size:Number},data:function(){var e=new t(this.$props);return{qrious:e,dataUrl:e.toDataURL(this.mime)}},watch:{$props:{deep:!0,handler:function(){this.qrious.set(this.$props),this.dataUrl=this.qrious.toDataURL(this.mime)}}},render:function(){return this.$createElement("img",{domProps:r(r({},this.$attrs),{src:this.dataUrl})})}};e.LEVELS=i,e.default=n,Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("qrious")):"function"==typeof define&&define.amd?define(["exports","qrious"],t):t((e=e||self).VueQrious={},e.QRious)}(this,(function(e,t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var r=function(){return(r=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},i=["L","M","Q","H"],n={props:{value:{type:String,required:!0},background:String,backgroundAlpha:Number,foreground:String,foregroundAlpha:Number,level:{type:String,validator:function(e){return i.includes(e)}},mime:String,padding:Number,size:Number},data:function(){var e=new t(this.$props);return{qrious:e,dataUrl:e.toDataURL(this.mime)}},watch:{$props:{deep:!0,handler:function(){this.qrious.set(this.$props),this.dataUrl=this.qrious.toDataURL(this.mime)}}},render:function(){return this.$createElement("img",{domProps:r(r({},this.$attrs),{src:this.dataUrl})})}};e.LEVELS=i,e.default=n,Object.defineProperty(e,"__esModule",{value:!0})}));
{
"name": "vue-qrious",
"version": "1.4.2",
"version": "1.4.3",
"description": "🤳 A Vue component for QR code generation with qrious",

@@ -34,4 +34,3 @@ "repository": "git@github.com:rx-ts/vue.git",

},
"sideEffects": false,
"gitHead": "ec6462b435ed6b6f6393256f7bb33dc32afe41cf"
"sideEffects": false
}

@@ -7,3 +7,3 @@ import QRious, { QRiousOptions } from 'qrious'

// eslint-disable-next-line @typescript-eslint/no-type-alias
export type Level = (typeof LEVELS)[number]
export type Level = typeof LEVELS[number]

@@ -10,0 +10,0 @@ export default {

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