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

barcode-scan-js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barcode-scan-js - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

lib/index.js
"use strict";
class KeyScanElement extends HTMLElement {
class BarcodeScanElement extends HTMLElement {
config = {

@@ -87,2 +87,2 @@ minLength: 1,

}
customElements.define('key-scan', KeyScanElement);
customElements.define('barcode-scan', BarcodeScanElement);
{
"name": "barcode-scan-js",
"version": "0.0.2",
"version": "0.0.3",
"description": "JavaScript browser-based scanner keyboard input library for seamless integration of barcode and QR code scanning into web applications",

@@ -23,3 +23,2 @@ "scripts": {

"library",
"QR code",
"barcode scanning",

@@ -26,0 +25,0 @@ "JavaScript",

@@ -1,2 +0,2 @@

type KeyScanConfiguration = {
type BarcodeScanConfiguration = {
minLength?: number;

@@ -19,4 +19,4 @@ maxLength?: number;

class KeyScanElement extends HTMLElement {
private config: KeyScanConfiguration = {
class BarcodeScanElement extends HTMLElement {
private config: BarcodeScanConfiguration = {
minLength: 1,

@@ -134,3 +134,3 @@ maxLength: 14,

customElements.define('key-scan', KeyScanElement);
customElements.define('barcode-scan', BarcodeScanElement);
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