Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

immutable-class

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

immutable-class - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

6

build/immutable-class.d.ts

@@ -22,8 +22,8 @@ // Generated by dts-bundle v0.4.3

export function immutableArraysEqual<T extends Equalable>(arrayA: T[], arrayB: T[]): boolean;
export function immutableLookupsEqual(lookupA: {
[k: string]: Equalable;
export function immutableLookupsEqual<T extends Equalable>(lookupA: {
[k: string]: T;
}, lookupB: {
[k: string]: Equalable;
[k: string]: T;
}): boolean;
}

@@ -19,6 +19,6 @@ export interface Instance<ValueType, JSType> {

export declare function immutableArraysEqual<T extends Equalable>(arrayA: T[], arrayB: T[]): boolean;
export declare function immutableLookupsEqual(lookupA: {
[k: string]: Equalable;
export declare function immutableLookupsEqual<T extends Equalable>(lookupA: {
[k: string]: T;
}, lookupB: {
[k: string]: Equalable;
[k: string]: T;
}): boolean;
{
"name": "immutable-class",
"version": "0.4.2",
"version": "0.4.3",
"description": "A template for creating immutable classes",

@@ -5,0 +5,0 @@ "keywords": [

@@ -107,3 +107,3 @@ /**

*/
export function immutableLookupsEqual(lookupA: { [k: string]: Equalable }, lookupB: { [k: string]: Equalable }): boolean {
export function immutableLookupsEqual<T extends Equalable>(lookupA: { [k: string]: T }, lookupB: { [k: string]: T }): boolean {
if (lookupA === lookupB) return true;

@@ -110,0 +110,0 @@ if (!lookupA !== !lookupB) return false;

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