Socket
Book a DemoInstallSign in
Socket

@matchlighter/common_library

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matchlighter/common_library - npm Package Compare versions

Comparing version

to
1.6.18

3

cjs/components/Block.js

@@ -26,2 +26,3 @@ "use strict";

transitionBlock(id, transaction) {
var _a, _b;
const current_block = this.activeBlock(id);

@@ -31,3 +32,3 @@ transaction();

if (current_block != new_block) {
this.blockSubscriptions[id](new_block);
(_b = (_a = this.blockSubscriptions)[id]) === null || _b === void 0 ? void 0 : _b.call(_a, new_block);
this.emitter.emit('block_switched', [id]);

@@ -34,0 +35,0 @@ }

@@ -12,2 +12,3 @@ import React, { PureComponent, memo, useContext, useEffect, useLayoutEffect, useRef } from "react";

transitionBlock(id, transaction) {
var _a, _b;
const current_block = this.activeBlock(id);

@@ -17,3 +18,3 @@ transaction();

if (current_block != new_block) {
this.blockSubscriptions[id](new_block);
(_b = (_a = this.blockSubscriptions)[id]) === null || _b === void 0 ? void 0 : _b.call(_a, new_block);
this.emitter.emit('block_switched', [id]);

@@ -20,0 +21,0 @@ }

{
"name": "@matchlighter/common_library",
"version": "1.6.17",
"version": "1.6.18",
"description": "Shared Functions, Helpers, Patterns & Utilities for Apps and Libraries",

@@ -5,0 +5,0 @@ "author": "Matchlighter",

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