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

@cardano-sdk/util

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-sdk/util - npm Package Compare versions

Comparing version 0.13.2 to 0.14.0

1

dist/cjs/equals.d.ts
export declare const deepEquals: <T>(a: T, b: T) => boolean;
export declare const strictEquals: <T>(a: T, b: T) => boolean;
export declare const sameArrayItems: <T>(arrayA: T[], arrayB: T[], itemEquals: (a: T, b: T) => boolean) => boolean;
export declare const shallowArrayEquals: <T>(a: T[], b: T[]) => boolean;
//# sourceMappingURL=equals.d.ts.map

4

dist/cjs/equals.js

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.shallowArrayEquals = exports.sameArrayItems = exports.strictEquals = exports.deepEquals = void 0;
exports.sameArrayItems = exports.strictEquals = exports.deepEquals = void 0;
const isEqual_1 = __importDefault(require("lodash/isEqual"));

@@ -15,4 +15,2 @@ const deepEquals = (a, b) => (0, isEqual_1.default)(a, b);

exports.sameArrayItems = sameArrayItems;
const shallowArrayEquals = (a, b) => (0, exports.sameArrayItems)(a, b, exports.strictEquals);
exports.shallowArrayEquals = shallowArrayEquals;
//# sourceMappingURL=equals.js.map
export declare const deepEquals: <T>(a: T, b: T) => boolean;
export declare const strictEquals: <T>(a: T, b: T) => boolean;
export declare const sameArrayItems: <T>(arrayA: T[], arrayB: T[], itemEquals: (a: T, b: T) => boolean) => boolean;
export declare const shallowArrayEquals: <T>(a: T[], b: T[]) => boolean;
//# sourceMappingURL=equals.d.ts.map

@@ -5,3 +5,2 @@ import isEqual from 'lodash/isEqual';

export const sameArrayItems = (arrayA, arrayB, itemEquals) => arrayA.length === arrayB.length && arrayA.every((a) => arrayB.some((b) => itemEquals(a, b)));
export const shallowArrayEquals = (a, b) => sameArrayItems(a, b, strictEquals);
//# sourceMappingURL=equals.js.map
{
"name": "@cardano-sdk/util",
"version": "0.13.2",
"version": "0.14.0",
"description": "General, not cardano-specific utils",

@@ -65,3 +65,3 @@ "engines": {

],
"gitHead": "5f05daf2c6756dc6f084ffe47ff6ca63998cea39"
"gitHead": "dbc9d988cd4e7a9e5376a7713c2dff114407ab80"
}

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

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

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