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

fast-equals

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-equals - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

6

CHANGELOG.md
# fast-equals CHANGELOG
## 5.0.1
### Bugfixes
- Fix reference to `metaOverride` in typings and documentation (holdover from temporary API in v5 beta)
## 5.0.0

@@ -4,0 +10,0 @@

8

index.d.ts

@@ -49,7 +49,7 @@ import type { CustomEqualCreatorOptions } from './src/internalTypes';

* where the standard methods are not performant enough, but can also be used to provide
* support for legacy environments that do not support expected features like
* `RegExp.prototype.flags` out of the box.
* support for legacy environments that cannot polyfill for modern features expected by
* `fast-equals`, such as `WeakMap` or `RegExp.prototype.flags`.
*/
export declare function createCustomEqual<Meta>(
export declare function createCustomEqual<Meta = undefined>(
options?: CustomEqualCreatorOptions<Meta>,
): <A, B>(a: A, b: B, metaOverride?: Meta) => boolean;
): <A, B>(a: A, b: B) => boolean;

@@ -14,14 +14,14 @@ {

"@rollup/plugin-typescript": "^11.0.0",
"@types/jest": "^29.2.5",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.184",
"@types/node": "^18.14.6",
"@types/node": "^18.15.3",
"@types/ramda": "^0.28.23",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"decircularize": "^1.0.0",
"deep-eql": "^4.1.0",
"deep-equal": "^2.0.5",
"eslint": "^8.35.0",
"eslint": "^8.36.0",
"eslint-friendly-formatter": "^4.0.1",

@@ -32,4 +32,4 @@ "eslint-webpack-plugin": "^4.0.0",

"in-publish": "^2.0.0",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-expect-message": "^1.1.3",

@@ -41,5 +41,5 @@ "lodash": "^4.17.21",

"react-dom": "^18.2.0",
"react-fast-compare": "^3.2.0",
"release-it": "^15.7.0",
"rollup": "^3.18.0",
"react-fast-compare": "^3.2.1",
"release-it": "^15.9.0",
"rollup": "^3.19.1",
"shallow-equal-fuzzy": "^0.0.2",

@@ -51,5 +51,5 @@ "tinybench": "^2.4.0",

"underscore": "^1.13.4",
"webpack": "^5.75.0",
"webpack": "^5.76.2",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
"webpack-dev-server": "^4.13.0"
},

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

"types": "./index.d.ts",
"version": "5.0.0"
"version": "5.0.1"
}

@@ -313,3 +313,3 @@ # fast-equals

strict?: boolean;
}): <A, B>(a: A, b: B, metaOverride?: Meta) => boolean;
}): <A, B>(a: A, b: B) => boolean;
```

@@ -385,2 +385,3 @@

- `Map`s, `Promise`s, and `Set`s were excluded from the benchmark entirely because no library other than `deep-eql` fully supported their comparison
- `fast-deep-equal`, `react-fast-compare` and `nano-equal` throw on objects with `null` as prototype (`Object.create(null)`)
- `assert.deepStrictEqual` does not support `NaN` or `SameValueZero` equality for dates

@@ -387,0 +388,0 @@ - `deep-eql` does not support `SameValueZero` equality for zero equality (positive and negative zero are not equal)

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