@thi.ng/equiv
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.0.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/equiv@1.0.11...@thi.ng/equiv@1.0.12) (2020-01-24) | ||
**Note:** Version bump only for package @thi.ng/equiv | ||
## [1.0.11](https://github.com/thi-ng/umbrella/compare/@thi.ng/equiv@1.0.10...@thi.ng/equiv@1.0.11) (2019-11-30) | ||
@@ -8,0 +16,0 @@ |
@@ -6,1 +6,2 @@ export declare const equiv: (a: any, b: any) => boolean; | ||
export declare const equivObject: (a: any, b: any, _equiv?: (a: any, b: any) => boolean) => boolean; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e=e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.equiv={}))}(this,(function(e){"use strict";const t=Object.getPrototypeOf({}),n="function",i=(e,i)=>{let u;return e===i||(null==e?e==i:typeof e.equiv===n?e.equiv(i):null==i?e==i:typeof i.equiv===n?i.equiv(e):"string"!=typeof e&&"string"!=typeof i&&(null!=(u=Object.getPrototypeOf(e))&&u!==t||null!=(u=Object.getPrototypeOf(i))&&u!==t?typeof e!==n&&void 0!==e.length&&typeof i!==n&&void 0!==i.length?o(e,i):e instanceof Set&&i instanceof Set?f(e,i):e instanceof Map&&i instanceof Map?r(e,i):e instanceof Date&&i instanceof Date?e.getTime()===i.getTime():e instanceof RegExp&&i instanceof RegExp?e.toString()===i.toString():e!=e&&i!=i:s(e,i)))},o=(e,t,n=i)=>{let o=e.length;if(o===t.length)for(;--o>=0&&n(e[o],t[o]););return o<0},f=(e,t,n=i)=>e.size===t.size&&n([...e.keys()].sort(),[...t.keys()].sort()),r=(e,t,n=i)=>e.size===t.size&&n([...e].sort(),[...t].sort()),s=(e,t,n=i)=>{if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(!t.hasOwnProperty(i)||!n(e[i],t[i]))return!1;return!0};e.equiv=i,e.equivArrayLike=o,e.equivMap=r,e.equivObject=s,e.equivSet=f,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((e=e||self).thi=e.thi||{},e.thi.ng=e.thi.ng||{},e.thi.ng.equiv={}))}(this,(function(e){"use strict";const t=Object.getPrototypeOf({}),n="function",i=(e,i)=>{let u;return e===i||(null==e?e==i:typeof e.equiv===n?e.equiv(i):null==i?e==i:typeof i.equiv===n?i.equiv(e):"string"!=typeof e&&"string"!=typeof i&&(u=Object.getPrototypeOf(e),null!=u&&u!==t||(u=Object.getPrototypeOf(i),null!=u&&u!==t)?typeof e!==n&&void 0!==e.length&&typeof i!==n&&void 0!==i.length?o(e,i):e instanceof Set&&i instanceof Set?f(e,i):e instanceof Map&&i instanceof Map?r(e,i):e instanceof Date&&i instanceof Date?e.getTime()===i.getTime():e instanceof RegExp&&i instanceof RegExp?e.toString()===i.toString():e!=e&&i!=i:s(e,i)))},o=(e,t,n=i)=>{let o=e.length;if(o===t.length)for(;--o>=0&&n(e[o],t[o]););return o<0},f=(e,t,n=i)=>e.size===t.size&&n([...e.keys()].sort(),[...t.keys()].sort()),r=(e,t,n=i)=>e.size===t.size&&n([...e].sort(),[...t].sort()),s=(e,t,n=i)=>{if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let i in e)if(!t.hasOwnProperty(i)||!n(e[i],t[i]))return!1;return!0};e.equiv=i,e.equivArrayLike=o,e.equivMap=r,e.equivObject=s,e.equivSet=f,Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "@thi.ng/equiv", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "Extensible deep value equivalence checking for any data types", | ||
@@ -26,14 +26,16 @@ "module": "./index.js", | ||
"doc": "node_modules/.bin/typedoc --mode modules --out doc src", | ||
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose", | ||
"pub": "yarn build:release && yarn publish --access public" | ||
}, | ||
"devDependencies": { | ||
"@istanbuljs/nyc-config-typescript": "^0.1.3", | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^12.12.11", | ||
"@istanbuljs/nyc-config-typescript": "^1.0.1", | ||
"@microsoft/api-extractor": "^7.7.7", | ||
"@types/mocha": "^5.2.7", | ||
"@types/node": "^13.5.0", | ||
"benchmark": "^2.1.4", | ||
"mocha": "^6.2.2", | ||
"nyc": "^14.0.0", | ||
"ts-node": "^8.5.2", | ||
"typedoc": "^0.15.2", | ||
"typescript": "^3.7.2" | ||
"mocha": "^7.0.0", | ||
"nyc": "^15.0.0", | ||
"ts-node": "^8.6.2", | ||
"typedoc": "^0.16.8", | ||
"typescript": "^3.7.5" | ||
}, | ||
@@ -58,3 +60,3 @@ "keywords": [ | ||
"sideEffects": false, | ||
"gitHead": "36c4d9e967bd80ccdbfa0f4a42f594080f95f105" | ||
"gitHead": "93d8af817724c1c5b06d80ffa2492fe5b4fb7bc4" | ||
} |
@@ -34,3 +34,3 @@ <!-- This file is generated - DO NOT EDIT! --> | ||
- Types with | ||
[IEquiv](https://github.com/thi-ng/umbrella/tree/master/packages/api/src/api/equiv.ts) | ||
[IEquiv](https://github.com/thi-ng/umbrella/tree/develop/packages/api/src/api/equiv.ts) | ||
implementation | ||
@@ -48,2 +48,4 @@ | ||
Package sizes (gzipped): ESM: 0.5KB / CJS: 0.5KB / UMD: 0.6KB | ||
## Dependencies | ||
@@ -106,2 +108,2 @@ | ||
© 2016 - 2019 Karsten Schmidt // Apache Software License 2.0 | ||
© 2016 - 2020 Karsten Schmidt // Apache Software License 2.0 |
@@ -25,3 +25,3 @@ # ${pkg.name} | ||
- Types with | ||
[IEquiv](https://github.com/thi-ng/umbrella/tree/master/packages/api/src/api/equiv.ts) | ||
[IEquiv](https://github.com/thi-ng/umbrella/tree/develop/packages/api/src/api/equiv.ts) | ||
implementation | ||
@@ -43,2 +43,4 @@ | ||
${pkg.size} | ||
## Dependencies | ||
@@ -45,0 +47,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
107
32673
10
11
157