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 2.0.0 to 2.0.1

4

CHANGELOG.md
# fast-equals CHANGELOG
## 2.0.1
- Fix [#41](https://github.com/planttheidea/fast-equals/pull/41) - prevent `.rpt2_cache` directory from being published for better CI environment support (thanks [@herberttn](https://github.com/herberttn))
## 2.0.0

@@ -4,0 +8,0 @@

18

package.json

@@ -11,3 +11,3 @@ {

"@types/lodash": "^4.14.121",
"@types/node": "^11.13.8",
"@types/node": "^12.6.9",
"@types/ramda": "^0.26.8",

@@ -22,3 +22,3 @@ "@types/react": "^16.8.3",

"deep-equal": "^1.0.1",
"eslint": "^5.12.1",
"eslint": "^6.1.0",
"eslint-config-airbnb": "^17.1.0",

@@ -30,3 +30,3 @@ "eslint-loader": "^2.1.2",

"fast-deep-equal": "^2.0.1",
"fs-extra": "^7.0.1",
"fs-extra": "^8.1.0",
"html-webpack-plugin": "^3.2.0",

@@ -43,9 +43,9 @@ "in-publish": "^2.0.0",

"rollup": "^1.1.2",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-terser": "^4.0.2",
"rollup-plugin-typescript2": "^0.21.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.22.1",
"shallow-equal-fuzzy": "^0.0.2",
"sinon": "^7.2.3",
"sinon": "^7.4.0",
"ts-jest": "^24.0.2",
"ts-loader": "^5.4.4",
"ts-loader": "^6.0.4",
"typescript": "^3.4.5",

@@ -91,3 +91,3 @@ "underscore": "^1.9.1",

"types": "index.d.ts",
"version": "2.0.0"
"version": "2.0.1"
}

@@ -174,11 +174,9 @@ # fast-equals

const isDeepEqualOrFooMatchesMeta = createCustomEqual(deepEqual => {
return (objectA, objectB, meta) => {
return (
objectA.foo === meta ||
objectB.foo === meta ||
deepEqual(objectA, objectB, meta)
);
};
});
const isDeepEqualOrFooMatchesMeta = createCustomEqual(
(deepEqual) => (objectA, objectB, meta) => (
objectA.foo === meta ||
objectB.foo === meta ||
deepEqual(objectA, objectB, meta)
)
);

@@ -189,3 +187,3 @@ const objectA = { foo: 'bar' };

console.log(isDeepEqualOrFooMatchesMeta(objectA, objectB)); // true
console.log(isDeepEqualOrFooMatchesMeta(objectA, objectB, meta)); // true
```

@@ -192,0 +190,0 @@

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