fast-equals
Advanced tools
Comparing version 2.0.0 to 2.0.1
# 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 @@ |
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
156110
17
245