Socket
Socket
Sign inDemoInstall

@bearei/react-util

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bearei/react-util - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

2

lib/commonjs/array.d.ts

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

export declare const isEqual: <T, _>(a: T[], b: T[]) => boolean;
export declare const isEqual: <T>(a: T[], b: T[]) => boolean;

@@ -6,5 +6,5 @@ export type DefaultEvent = {

export interface HandleDefaultEvent {
<T extends DefaultEvent = {}>(callback?: (e: T) => void): (e: T) => void;
<T extends DefaultEvent = DefaultEvent>(callback?: (e: T) => void): (e: T) => void;
}
export declare const handleDefaultEvent: HandleDefaultEvent;
export declare const bindEvents: <T extends string, C = (e: unknown) => void>(names: T[], match: (key: T) => C) => Record<T, C>;

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

export declare const isEqual: <T, _>(a: T[], b: T[]) => boolean;
export declare const isEqual: <T>(a: T[], b: T[]) => boolean;

@@ -6,5 +6,5 @@ export type DefaultEvent = {

export interface HandleDefaultEvent {
<T extends DefaultEvent = {}>(callback?: (e: T) => void): (e: T) => void;
<T extends DefaultEvent = DefaultEvent>(callback?: (e: T) => void): (e: T) => void;
}
export declare const handleDefaultEvent: HandleDefaultEvent;
export declare const bindEvents: <T extends string, C = (e: unknown) => void>(names: T[], match: (key: T) => C) => Record<T, C>;
{
"name": "@bearei/react-util",
"version": "0.0.27",
"version": "0.0.28",
"main": "./lib/commonjs/index",

@@ -75,3 +75,3 @@ "module": "./lib/module/index",

"fix": "yarn lint --fix",
"publish": "yarn coverage && yarn build && yarn npm publish --access public"
"publish": "yarn lint && yarn coverage && yarn build && yarn npm publish --access public"
},

@@ -78,0 +78,0 @@ "engines": {

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