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

scandit-cordova-datacapture-barcode

Package Overview
Dependencies
Maintainers
4
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scandit-cordova-datacapture-barcode - npm Package Compare versions

Comparing version 6.3.1 to 6.4.0-beta.1

2

package.json
{
"name": "scandit-cordova-datacapture-barcode",
"version": "6.3.1",
"version": "6.4.0-beta.1",
"description": "Scandit Data Capture SDK for Cordova",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -281,8 +281,4 @@ /// <amd-module name="scandit-cordova-datacapture-barcode.Barcode"/>

barcode._frameID = json.frameId;
if (json.encodingRanges) {
barcode._encodingRanges = json.encodingRanges.map((EncodingRange as any as PrivateEncodingRange).fromJSON);
}
if (json.location) {
barcode._location = (Quadrilateral as any as PrivateQuadrilateral).fromJSON(json.location);
}
barcode._encodingRanges = json.encodingRanges.map((EncodingRange as any as PrivateEncodingRange).fromJSON);
barcode._location = (Quadrilateral as any as PrivateQuadrilateral).fromJSON(json.location);

@@ -289,0 +285,0 @@ return barcode;

@@ -68,2 +68,4 @@ /// <amd-module name="scandit-cordova-datacapture-barcode.BarcodeCapture"/>

private listenerProxy: Optional<BarcodeCaptureListenerProxy> = null;
@ignoreFromSerialization
private isInListenerCallback = false;

@@ -70,0 +72,0 @@

@@ -15,4 +15,9 @@ /// <amd-module name="scandit-cordova-datacapture-barcode.BarcodeCapture+Related"/>

import { Feedback } from 'Feedback';
import { DefaultSerializeable, nameForSerialization, serializationDefault } from 'Serializeable';
import { Brush, Viewfinder } from 'Viewfinder';
import {
DefaultSerializeable,
ignoreFromSerialization,
nameForSerialization,
serializationDefault,
} from 'Serializeable';
import { Brush, NoViewfinder, Viewfinder } from 'Viewfinder';

@@ -27,5 +32,7 @@ export class BarcodeCaptureSession {

}
public get newlyLocalizedBarcodes(): LocalizedOnlyBarcode[] {
return this._newlyLocalizedBarcodes;
}
public get frameSequenceID(): number {

@@ -70,8 +77,6 @@ return this._frameSequenceID;

// tslint:disable-next-line:variable-name
const NoViewfinder = { type: 'none' };
export class BarcodeCaptureOverlay extends DefaultSerializeable implements DataCaptureOverlay {
private type = 'barcodeCapture';
@ignoreFromSerialization
private barcodeCapture: BarcodeCapture;

@@ -109,4 +114,4 @@

public set shouldShowScanAreaGuides(newViewfinder: boolean) {
this._shouldShowScanAreaGuides = newViewfinder;
public set shouldShowScanAreaGuides(shouldShow: boolean) {
this._shouldShowScanAreaGuides = shouldShow;
(this.barcodeCapture as any as PrivateBarcodeCapture).didChange();

@@ -128,2 +133,6 @@ }

}
private constructor() {
super();
}
}

@@ -9,3 +9,3 @@ /// <amd-module name="scandit-cordova-datacapture-barcode.BarcodeCaptureSettings"/>

export class BarcodeCaptureSettings extends DefaultSerializeable {
public codeDuplicateFilter: number = 0;
public codeDuplicateFilter: number = Cordova.defaults.BarcodeCapture.BarcodeCaptureSettings.codeDuplicateFilter;

@@ -12,0 +12,0 @@ @serializationDefault(NoneLocationSelection)

@@ -80,6 +80,2 @@ /// <amd-module name="scandit-cordova-datacapture-barcode.BarcodeTracking"/>

public addListener(listener: BarcodeTrackingListener): void {
if (!listener) {
return;
}
if (this.listeners.includes(listener)) {

@@ -92,6 +88,2 @@ return;

public removeListener(listener: BarcodeTrackingListener): void {
if (!listener) {
return;
}
if (!this.listeners.includes(listener)) {

@@ -98,0 +90,0 @@ return;

@@ -132,4 +132,4 @@ /// <amd-module name="scandit-cordova-datacapture-barcode.BarcodeTracking+Related"/>

public set shouldShowScanAreaGuides(newViewfinder: boolean) {
this._shouldShowScanAreaGuides = newViewfinder;
public set shouldShowScanAreaGuides(shouldShow: boolean) {
this._shouldShowScanAreaGuides = shouldShow;
(this.barcodeTracking as any as PrivateBarcodeTracking).didChange();

@@ -156,2 +156,6 @@ }

private constructor() {
super();
}
public setBrushForTrackedBarcode(brush: Brush, trackedBarcode: TrackedBarcode): Promise<void> {

@@ -218,2 +222,6 @@ return this.proxy.setBrushForTrackedBarcode(brush, trackedBarcode);

private constructor() {
super();
}
public setViewForTrackedBarcode(

@@ -220,0 +228,0 @@ view: Promise<Optional<TrackedBarcodeView>>, trackedBarcode: TrackedBarcode): Promise<void> {

@@ -9,3 +9,3 @@ /// <amd-module name="scandit-cordova-datacapture-barcode.Defaults"/>

} from 'Barcode';
import { CameraSettings, PrivateCameraSettings } from 'Camera+Related';
import { CameraSettings } from 'Camera+Related';
import { Color, PrivateColor } from 'Common';

@@ -12,0 +12,0 @@ import { CameraSettingsDefaultsJSON, PrivateCameraSettingsDefaults } from 'CoreDefaults';

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 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

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