Socket
Socket
Sign inDemoInstall

@use-symbology-scanner/core

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@use-symbology-scanner/core - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

CHANGELOG.md
# @use-symbology-scanner/core
## 1.0.3
### Patch Changes
- 6436d5e: Support React strict mode.
## 1.0.2

@@ -4,0 +10,0 @@

2

dist/declarations/src/Controller.d.ts

@@ -44,3 +44,3 @@ import { Config, InternalConfig, InternalHandler } from './types';

*/
effect(): void;
effect(): () => void;
/**

@@ -47,0 +47,0 @@ * Cleans all side effects (listeners, timeouts). When the symbology scanner is

@@ -158,5 +158,6 @@ 'use strict';

this.bind();
return this.clean();
return () => this.clean();
}
clean() {
this.resetSequence();
if (this.listener) this.listener();

@@ -163,0 +164,0 @@ this.listener = undefined;

@@ -158,5 +158,6 @@ 'use strict';

this.bind();
return this.clean();
return () => this.clean();
}
clean() {
this.resetSequence();
if (this.listener) this.listener();

@@ -163,0 +164,0 @@ this.listener = undefined;

@@ -155,5 +155,6 @@ import { S as STANDARD_SYMBOLOGIES, a as STANDARD_SYMBOLOGY_KEYS, _ as _defineProperty, e as encodeKey } from './symbologies-d40d544d.esm.js';

this.bind();
return this.clean();
return () => this.clean();
}
clean() {
this.resetSequence();
if (this.listener) this.listener();

@@ -160,0 +161,0 @@ this.listener = undefined;

{
"name": "@use-symbology-scanner/core",
"version": "1.0.2",
"version": "1.0.3",
"main": "dist/use-symbology-scanner-core.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/use-symbology-scanner-core.esm.js",

@@ -84,2 +84,3 @@ import { configResolver, resolveWith } from './config'

private keyDown(event: KeyboardEvent) {
clearTimeout(this.timeout)

@@ -149,3 +150,3 @@

this.bind()
return this.clean()
return () => this.clean()
}

@@ -158,2 +159,3 @@

clean() {
this.resetSequence()
if (this.listener) this.listener()

@@ -160,0 +162,0 @@ this.listener = undefined

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