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

html5-qrcode

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html5-qrcode - npm Package Compare versions

Comparing version 2.3.5 to 2.3.6

5

cjs/html5-qrcode-scanner.js

@@ -493,4 +493,5 @@ "use strict";

switchContainer.style.textAlign = "center";
var switchScanTypeLink = base_1.BaseUiElementFactory.createElement("a", this.getDashboardSectionSwapLinkId());
var switchScanTypeLink = base_1.BaseUiElementFactory.createElement("span", this.getDashboardSectionSwapLinkId());
switchScanTypeLink.style.textDecoration = "underline";
switchScanTypeLink.style.cursor = "pointer";
switchScanTypeLink.innerText

@@ -606,2 +607,3 @@ = scan_type_selector_1.ScanTypeSelector.isCameraScanType(this.currentScanType)

this.cameraScanImage.src = image_assets_1.ASSET_CAMERA_SCAN;
this.cameraScanImage.alt = strings_1.Html5QrcodeScannerStrings.cameraScanAltText();
};

@@ -624,2 +626,3 @@ Html5QrcodeScanner.prototype.insertFileScanImageToScanRegion = function () {

this.fileScanImage.src = image_assets_1.ASSET_FILE_SCAN;
this.fileScanImage.alt = strings_1.Html5QrcodeScannerStrings.fileScanAltText();
};

@@ -626,0 +629,0 @@ Html5QrcodeScanner.prototype.clearScanRegion = function () {

2

cjs/strings.d.ts

@@ -38,2 +38,4 @@ export declare class Html5QrcodeStrings {

static loadingImage(): string;
static cameraScanAltText(): string;
static fileScanAltText(): string;
}

@@ -40,0 +42,0 @@ export declare class LibraryInfoStrings {

@@ -118,2 +118,8 @@ "use strict";

};
Html5QrcodeScannerStrings.cameraScanAltText = function () {
return "Camera based scan";
};
Html5QrcodeScannerStrings.fileScanAltText = function () {
return "Fule based scan";
};
return Html5QrcodeScannerStrings;

@@ -120,0 +126,0 @@ }());

@@ -487,4 +487,5 @@ import { Html5QrcodeConstants, Html5QrcodeScanType, Html5QrcodeErrorFactory, BaseLoggger, isNullOrUndefined, clip, } from "./core";

switchContainer.style.textAlign = "center";
const switchScanTypeLink = BaseUiElementFactory.createElement("a", this.getDashboardSectionSwapLinkId());
const switchScanTypeLink = BaseUiElementFactory.createElement("span", this.getDashboardSectionSwapLinkId());
switchScanTypeLink.style.textDecoration = "underline";
switchScanTypeLink.style.cursor = "pointer";
switchScanTypeLink.innerText

@@ -599,2 +600,3 @@ = ScanTypeSelector.isCameraScanType(this.currentScanType)

this.cameraScanImage.src = ASSET_CAMERA_SCAN;
this.cameraScanImage.alt = Html5QrcodeScannerStrings.cameraScanAltText();
}

@@ -617,2 +619,3 @@ insertFileScanImageToScanRegion() {

this.fileScanImage.src = ASSET_FILE_SCAN;
this.fileScanImage.alt = Html5QrcodeScannerStrings.fileScanAltText();
}

@@ -619,0 +622,0 @@ clearScanRegion() {

@@ -38,2 +38,4 @@ export declare class Html5QrcodeStrings {

static loadingImage(): string;
static cameraScanAltText(): string;
static fileScanAltText(): string;
}

@@ -40,0 +42,0 @@ export declare class LibraryInfoStrings {

@@ -109,2 +109,8 @@ export class Html5QrcodeStrings {

}
static cameraScanAltText() {
return "Camera based scan";
}
static fileScanAltText() {
return "Fule based scan";
}
}

@@ -111,0 +117,0 @@ export class LibraryInfoStrings {

@@ -490,4 +490,5 @@ import { Html5QrcodeConstants, Html5QrcodeScanType, Html5QrcodeErrorFactory, BaseLoggger, isNullOrUndefined, clip, } from "./core";

switchContainer.style.textAlign = "center";
var switchScanTypeLink = BaseUiElementFactory.createElement("a", this.getDashboardSectionSwapLinkId());
var switchScanTypeLink = BaseUiElementFactory.createElement("span", this.getDashboardSectionSwapLinkId());
switchScanTypeLink.style.textDecoration = "underline";
switchScanTypeLink.style.cursor = "pointer";
switchScanTypeLink.innerText

@@ -603,2 +604,3 @@ = ScanTypeSelector.isCameraScanType(this.currentScanType)

this.cameraScanImage.src = ASSET_CAMERA_SCAN;
this.cameraScanImage.alt = Html5QrcodeScannerStrings.cameraScanAltText();
};

@@ -621,2 +623,3 @@ Html5QrcodeScanner.prototype.insertFileScanImageToScanRegion = function () {

this.fileScanImage.src = ASSET_FILE_SCAN;
this.fileScanImage.alt = Html5QrcodeScannerStrings.fileScanAltText();
};

@@ -623,0 +626,0 @@ Html5QrcodeScanner.prototype.clearScanRegion = function () {

@@ -38,2 +38,4 @@ export declare class Html5QrcodeStrings {

static loadingImage(): string;
static cameraScanAltText(): string;
static fileScanAltText(): string;
}

@@ -40,0 +42,0 @@ export declare class LibraryInfoStrings {

@@ -115,2 +115,8 @@ var Html5QrcodeStrings = (function () {

};
Html5QrcodeScannerStrings.cameraScanAltText = function () {
return "Camera based scan";
};
Html5QrcodeScannerStrings.fileScanAltText = function () {
return "Fule based scan";
};
return Html5QrcodeScannerStrings;

@@ -117,0 +123,0 @@ }());

{
"name": "html5-qrcode",
"version": "2.3.5",
"version": "2.3.6",
"description": "A cross platform HTML5 QR Code & bar code scanner",

@@ -5,0 +5,0 @@ "main": "./cjs/index.js",

@@ -38,2 +38,4 @@ export declare class Html5QrcodeStrings {

static loadingImage(): string;
static cameraScanAltText(): string;
static fileScanAltText(): string;
}

@@ -40,0 +42,0 @@ export declare class LibraryInfoStrings {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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