Socket
Socket
Sign inDemoInstall

angular2-qrcode

Package Overview
Dependencies
4
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

.npmignore

2

angular2-qrcode.js

@@ -26,3 +26,3 @@ "use strict";

this.qr.make();
var imgTagString = this.qr.createImageTag(this.type, 0);
var imgTagString = this.qr.createImgTag(this.type, 0);
var el = this.elementRef.nativeElement;

@@ -29,0 +29,0 @@ el.innerHTML = imgTagString;

@@ -10,8 +10,8 @@ import {Component, Input, ElementRef, OnInit} from '@angular/core';

@Input() public data: string = '';
@Input() public size: number = 128;
@Input() public type: number = 4;
@Input() public level: string = 'M';
@Input() data: string = '';
@Input() size: number = 128;
@Input() type: number = 4;
@Input() level: string = 'M';
public qr: QRCode;
private qr: QRCode;

@@ -28,3 +28,3 @@ constructor(

let imgTagString = this.qr.createImageTag(this.type, 0);
let imgTagString = this.qr.createImgTag(this.type, 0);
let el: HTMLElement = this.elementRef.nativeElement;

@@ -31,0 +31,0 @@ el.innerHTML = imgTagString;

{
"name": "angular2-qrcode",
"version": "1.0.0",
"description": "An Angular 2 component that displays a QR Code.",
"version": "1.0.1",
"description": "An Angular 2 component that generates a QR Code.",
"main": "angular2-qrcode.js",
"scripts": {},
"repository": {
"type": "git",
"url": "git+https://github.com/SuperiorJT/angular2-qrcode.git"
},
"scripts": {
"preinstall": "npm i typings -g",
"prepublish": "typings install && tsc",
"postinstall": "typings install"
},
"keywords": [

@@ -17,4 +25,6 @@ "qrcode",

"dependencies": {
"qrcode-generator": "^1.0.0"
},
"peerDependencies": {
"@angular/core": "2.0.0-rc.4",
"qrcode-generator": "^1.0.0",
"rxjs": "5.0.0-beta.6",

@@ -28,4 +38,5 @@ "zone.js": "0.6.12"

},
"typings": "angular2-qrcode.d.ts",
"author": "superiorjt <superiorjt@gmail.com>",
"license": "MIT"
}

@@ -6,5 +6,4 @@ {

"es6-collections": "registry:dt/es6-collections#0.5.1+20160316155526",
"es6-promise": "registry:dt/es6-promise#0.0.0+20160614011821",
"qrcode-generator": "registry:dt/qrcode-generator#0.0.0+20160412152159"
"es6-promise": "registry:dt/es6-promise#0.0.0+20160614011821"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc