Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-zxing

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-zxing - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

1

index.js

@@ -298,2 +298,3 @@ import { Component, EventEmitter, Input, NgModule, Output, ViewChild } from '@angular/core';

this.codeReader.decodeFromInputVideoDevice(function (result) {
console.debug("ngx-zxing:", "result from scan:", result);
_this.scanSuccess(result);

@@ -300,0 +301,0 @@ }, deviceId, this.previewElem.nativeElement);

@@ -301,2 +301,3 @@ (function (global, factory) {

this.codeReader.decodeFromInputVideoDevice(function (result) {
console.debug("ngx-zxing:", "result from scan:", result);
_this.scanSuccess(result);

@@ -303,0 +304,0 @@ }, deviceId, this.previewElem.nativeElement);

2

package.json
{
"name": "ngx-zxing",
"version": "0.1.2",
"version": "0.1.3",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -22,2 +22,7 @@ # ngx-zxing

## Demo
* [Plunkr](https://plnkr.co/edit/U13ufJHexw2ugZbHx8kR?p=preview)
* [Example](https://werthdavid.github.io/ngx-zxing/index.html)
## Installation

@@ -29,2 +34,3 @@

$ npm install ngx-zxing --save
$ npm install zxing-typescript --save # Not sure if needed..
```

@@ -37,3 +43,2 @@

import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

@@ -43,3 +48,6 @@

import { NgxZxingModule } from 'ngx-zxing';
// Needed as well
import { FormsModule } from "@angular/forms";
@NgModule({

@@ -51,2 +59,3 @@ declarations: [

BrowserModule,
FormsModule,
NgxZxingModule.forRoot()

@@ -53,0 +62,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