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

@akad/design-system

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akad/design-system - npm Package Compare versions

Comparing version 0.1.0-beta.2 to 0.1.0-beta.3

2

package.json
{
"name": "@akad/design-system",
"version": "0.1.0-beta.2",
"version": "0.1.0-beta.3",
"main": "react/react.js",

@@ -5,0 +5,0 @@ "types": "react/main.d.ts",

@@ -58,1 +58,24 @@ import { FormSchema } from '../types/hooks/types';

export declare const getInputTypeByFormat: (definition: object) => string;
/**
* Performs a deep equality comparison between two values.
*
* @template T - The type of the values being compared.
* @param {T} value - The first value to compare.
* @param {T} other - The second value to compare.
* @param {WeakSet} [visited=new WeakSet()] - A WeakSet to keep track of visited objects to handle circular references.
* @returns {boolean} Returns `true` if the values are deeply equal, `false` otherwise.
*
* @description
* The `isEqual` function performs a deep equality comparison between two values of any type.
* It handles primitive types, `null`, arrays, and objects.
*
* - If both values are primitives, it uses `Object.is()` for comparison.
* - If both values are `null`, it returns `true`.
* - If the values have different types, it returns `false`.
* - If the values are the same reference, it returns `true`.
* - If the values are arrays, it compares their lengths and recursively compares each element.
* - If the values are objects, it compares the number of keys and recursively compares each key-value pair.
* - It handles circular references by keeping track of visited objects using a `WeakSet`.
*
*/
export declare function isEqual<T>(value: T, other: T, visited?: WeakSet<object>): boolean;

@@ -30,3 +30,3 @@ import { DsStepProps } from '../types/types';

disableSteps: (stepNameParam: string | Array<string>) => DsStepProps[];
disableStepsAfter: (stepNameParam: string) => DsStepProps[];
disableStepsAfter: (stepNameParam: string) => void;
}[];

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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