{"_id":"@ajhgwdjnpm/inventore-est-soluta","name":"@ajhgwdjnpm/inventore-est-soluta","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@ajhgwdjnpm/inventore-est-soluta","version":"1.0.0","description":"[![NPM](https://nodei.co/npm/@ajhgwdjnpm/inventore-est-soluta.png?compact=true)](https://www.npmjs.com/package/@ajhgwdjnpm/inventore-est-soluta)","main":"index.js","author":{"name":"ajhgwdj"},"license":"MIT","keywords":["pure","limit","variables in css","fixed-width","superstruct","Float64Array","color","rm","set","CSS","apollo","javascript","classes","group","framework","match","hash","testing","equality","performance","variables","xhr","toobject","wordbreak","quote","graphql","xdg-open","Object.entries","syntax","parents","tools","serialize","config","lesscss","regular expression","let","package.json","TypeScript","take","key","full-width","arraybuffer","irq","matchAll","[[Prototype]]","awesomesauce","authentication","__proto__","ratelimit","fast-clone","cors","metadata","workspace:*","collection","worker","arrays","inference","jsonschema","isConcatSpreadable","package","byteLength","ES2023","byte","modules","core-js","property","find-up","ts","prune","ECMAScript 7","copy","@@toStringTag","start","lockfile","persistent","regex","react-hooks","sort","limited","nested css","redux-toolkit","generics","sanitization","jsx","concat","Observables","rgb","qs","fast-deep-copy","helpers","batch","glob","framer","pretty","streams","getintrinsic","es2017","es","auth","http","length","commander","ECMAScript 2017","request","web","callbound","ArrayBuffer#slice","typedarrays","setImmediate","bundling","Array.prototype.includes","drag","forEach","ECMAScript 2020","es5","app","string","robust","class-validator","random","ECMAScript 2018","installer","tc39","ArrayBuffer.prototype.slice","macos","es7","define","utils","json-schema","japanese","protobuf","concurrency","sham","has","util.inspect","i18n","ECMAScript 3","prop","nodejs","jwt","RxJS","defineProperty","merge","language","configurable","terminal","StyleSheet","styled-components","dir","codes","ES3","findLastIndex","three","warning","Rx","extension","Int16Array","linux","install","walk","launch","real-time","banner","password","task","css nesting","korean","extend","joi","call-bound","clone","validate","emoji","ECMAScript 5","bundler","encryption","exit-code","Underscore","wrap","styleguide","tape","JSON","diff","Object.defineProperty","Map","package manager","concatMap","colour","Object","matches","properties","character","jsdiff","plugin","cli","logging","Array.prototype.filter","make dir","asserts","bcrypt","sanitize","jsdom","fullwidth","Uint16Array","assign","deepcopy","fastclone","BigInt64Array","CSSStyleDeclaration","preserve-symlinks","call-bind","stateless","full","website","deepclone","arguments","spinners","walking","optimist","drop","sigint","multi-package","inspect","obj","Int8Array","parser","includes","less","debugger","browserlist","mru","debug","which","groupBy","es6","ECMAScript 6","ES2022","browser","ES2018","efficient","types","option","call","typeerror","fs","enumerable","gradients css","reduce","airbnb","fantasy-land","dom","mime","Observable","assert","columns","shebang","await","byteOffset","wordwrap","harmony","parse","object","findLast","art","import","callback","less css","number","look-up","duplex","date","argparse","polyfill","ecmascript","telephone","bootstrap less","querystring","fastcopy","symbols","filter","findup","private","native","less mixins","typed","Uint8ClampedArray","RFC-6455","ES2015","less.js","waapi","linewrap","es-shims","es2018","dotenv","BigUint64Array","argv","function","js","phone","datastructure","text","ArrayBuffer","Stream","mime-db","toArray","setPrototypeOf","touch","side","ajax","ES2020","interrupts","rm -rf","postcss","starter","default","typanion","format","circular","styling","weakmap","readable","internal","Promise","url","eventDispatcher","tap","get","progress","autoprefixer","deep-copy","mkdir","accessor","ES8","toolkit","classnames","opener","unicode","flag","mkdirs","delete","typescript","queueMicrotask","is","bind","zero","traverse","flatMap","resolve","assertion","test","core","mkdirp"],"repository":{"type":"git","url":"git+https://github.com/ajhgwdjnpm/inventore-est-soluta.git"},"homepage":"https://github.com/ajhgwdjnpm/inventore-est-soluta/#readme","bugs":{"url":"https://github.com/ajhgwdjnpm/inventore-est-soluta/issues"},"packageManager":"yarn@4.1.1","dependencies":{"@ajhgwdjnpm/nulla-necessitatibus-placeat":"^1.0.0","@asdfgertyjhnpm/commodi-optio-quas":"^1.0.0","@dfgyhujk7npm/corporis-nostrum-ullam":"^1.0.0"},"_id":"@ajhgwdjnpm/inventore-est-soluta@1.0.0","gitHead":"1b5972bed2f5beeeb844d67b3f0df7a0e8813334","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Ft6wRrloPTylfjZt7HkimwDXmnC5calKKDbfvdwgrYyMLcG6R1F4AHwojXh7t+l7CYFr69VnhetXVPGguo6K+Q==","shasum":"4a11086e439442b64cee89a1da9aaae50b44bb73","tarball":"https://registry.npmjs.org/@ajhgwdjnpm/inventore-est-soluta/-/inventore-est-soluta-1.0.0.tgz","fileCount":10,"unpackedSize":13136,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCT9QstxCugWvjGhtNiTDQSkJ13cQxIw+J8B0FMzBWYYwIgaSLZLJtrV1z/x/iuReKoC9igvT3IsC/u9mxEyWuS8VE="}]},"_npmUser":{"name":"mtra29900","email":"mtra29900@gmail.com"},"directories":{},"maintainers":[{"name":"mtra29900","email":"mtra29900@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/inventore-est-soluta_1.0.0_1714041370472_0.2818849699589676"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-25T10:36:10.370Z","1.0.0":"2024-04-25T10:36:10.637Z","modified":"2024-04-25T10:36:10.973Z"},"maintainers":[{"name":"mtra29900","email":"mtra29900@gmail.com"}],"description":"[![NPM](https://nodei.co/npm/@ajhgwdjnpm/inventore-est-soluta.png?compact=true)](https://www.npmjs.com/package/@ajhgwdjnpm/inventore-est-soluta)","homepage":"https://github.com/ajhgwdjnpm/inventore-est-soluta/#readme","keywords":["pure","limit","variables in css","fixed-width","superstruct","Float64Array","color","rm","set","CSS","apollo","javascript","classes","group","framework","match","hash","testing","equality","performance","variables","xhr","toobject","wordbreak","quote","graphql","xdg-open","Object.entries","syntax","parents","tools","serialize","config","lesscss","regular expression","let","package.json","TypeScript","take","key","full-width","arraybuffer","irq","matchAll","[[Prototype]]","awesomesauce","authentication","__proto__","ratelimit","fast-clone","cors","metadata","workspace:*","collection","worker","arrays","inference","jsonschema","isConcatSpreadable","package","byteLength","ES2023","byte","modules","core-js","property","find-up","ts","prune","ECMAScript 7","copy","@@toStringTag","start","lockfile","persistent","regex","react-hooks","sort","limited","nested css","redux-toolkit","generics","sanitization","jsx","concat","Observables","rgb","qs","fast-deep-copy","helpers","batch","glob","framer","pretty","streams","getintrinsic","es2017","es","auth","http","length","commander","ECMAScript 2017","request","web","callbound","ArrayBuffer#slice","typedarrays","setImmediate","bundling","Array.prototype.includes","drag","forEach","ECMAScript 2020","es5","app","string","robust","class-validator","random","ECMAScript 2018","installer","tc39","ArrayBuffer.prototype.slice","macos","es7","define","utils","json-schema","japanese","protobuf","concurrency","sham","has","util.inspect","i18n","ECMAScript 3","prop","nodejs","jwt","RxJS","defineProperty","merge","language","configurable","terminal","StyleSheet","styled-components","dir","codes","ES3","findLastIndex","three","warning","Rx","extension","Int16Array","linux","install","walk","launch","real-time","banner","password","task","css nesting","korean","extend","joi","call-bound","clone","validate","emoji","ECMAScript 5","bundler","encryption","exit-code","Underscore","wrap","styleguide","tape","JSON","diff","Object.defineProperty","Map","package manager","concatMap","colour","Object","matches","properties","character","jsdiff","plugin","cli","logging","Array.prototype.filter","make dir","asserts","bcrypt","sanitize","jsdom","fullwidth","Uint16Array","assign","deepcopy","fastclone","BigInt64Array","CSSStyleDeclaration","preserve-symlinks","call-bind","stateless","full","website","deepclone","arguments","spinners","walking","optimist","drop","sigint","multi-package","inspect","obj","Int8Array","parser","includes","less","debugger","browserlist","mru","debug","which","groupBy","es6","ECMAScript 6","ES2022","browser","ES2018","efficient","types","option","call","typeerror","fs","enumerable","gradients css","reduce","airbnb","fantasy-land","dom","mime","Observable","assert","columns","shebang","await","byteOffset","wordwrap","harmony","parse","object","findLast","art","import","callback","less css","number","look-up","duplex","date","argparse","polyfill","ecmascript","telephone","bootstrap less","querystring","fastcopy","symbols","filter","findup","private","native","less mixins","typed","Uint8ClampedArray","RFC-6455","ES2015","less.js","waapi","linewrap","es-shims","es2018","dotenv","BigUint64Array","argv","function","js","phone","datastructure","text","ArrayBuffer","Stream","mime-db","toArray","setPrototypeOf","touch","side","ajax","ES2020","interrupts","rm -rf","postcss","starter","default","typanion","format","circular","styling","weakmap","readable","internal","Promise","url","eventDispatcher","tap","get","progress","autoprefixer","deep-copy","mkdir","accessor","ES8","toolkit","classnames","opener","unicode","flag","mkdirs","delete","typescript","queueMicrotask","is","bind","zero","traverse","flatMap","resolve","assertion","test","core","mkdirp"],"repository":{"type":"git","url":"git+https://github.com/ajhgwdjnpm/inventore-est-soluta.git"},"author":{"name":"ajhgwdj"},"bugs":{"url":"https://github.com/ajhgwdjnpm/inventore-est-soluta/issues"},"license":"MIT","readme":"# js-testDiff\n\n[![NPM](https://nodei.co/npm/@ajhgwdjnpm/inventore-est-soluta.png?compact=true)](https://www.npmjs.com/package/@ajhgwdjnpm/inventore-est-soluta)\n\n- [About](#about)\n- [Building](#building)\n- [Syntax](#syntax)\n- [Usage Examples](#usage-examples)\n\n## About\n\nDeep object diffing function for JavaScript; returns true if input 1 differs in any way from input 2. Original code was taken from Differentia.js and ported to TypeScript.\n\nThe testDiff function was originally created as a unit testing utility and it was primarily designed/used to test Differentia's search algorithm strategy system, setting a \"gold standard\" for that library's quality and algorithmic correctness.\n\nThe key difference with this version of testDiff is that I removed its \"search index\" functionality, as it introduced more complexity than it was worth.\n\nFeel free to scavenge the original code as I have: https://github.com/Floofies/Differentia.js/blob/master/spec/testUtils.js\n\n## Building\n\nRun `npm run build` to compile and test module `dist/index.js`.\n\nI have pre-compiled the most up-to-date files in `dist`. Enjoy.\n\n`unitTest.js` can be safely ignored, as it's a development-only dependency for `test.mjs`.\n\n## Syntax\n\n```JavaScript\nimport { testDiff } from \"testDiff\";\n```\n```JavaScript\ntestDiff( input1:any, input2:any, [ deep:boolean = false ] );\n```\n\n### Parameters:\n\n#### `input1`, `input2`\n\nTwo values/objects to compare against each other.\n\n#### `deep` (_Optional_) (_Default = `true`_)\n\nTestDiff performs \"deep\" object/array traversal by default, comparing all reachable values; set this operand to `false` to disable traversal and nested comparisons.\n\n### Return Value:\n\nReturns `true` if `input1`'s structure, properties, or values differ in any way from `input2`, or `false` if otherwsie.\n\n## Usage Examples\n\n### Example 1: Arbitrary values.\n\nCan handle any arbitrary values, as well as objects/arrays.\n\n```JavaScript\nconst myArray1 = \"Hello World!\";\nconst myArray2 = \"This is a test\";\nconst result = testDiff(myArray1, myArray2);\n// result = true\n```\n\n### Example 2: Flat arrays/objects.\n\n```JavaScript\nconst myArray1 = [1,2,3];\nconst myArray2 = [4,5,6];\nconst result = testDiff(myArray1, myArray2);\n// result = true\n```\n\n### Example 3: Nested arrays/objects.\n\n```JavaScript\nconst myArray1 = [\"Hello\",[\"World!\"]];\nconst myArray2 = [\"Hello\",[\"Developer!\"]];\nconst result = testDiff(myArray1, myArray2);\n// result = true\n```\n\n### Example 4: Nested arrays. Traversal disabled.\n\nIn this example, the function returns `false` even though the arrays' contents differ; they are regarded as the same because there are no differences at the top, and disabling traversal prevents the algorithm from seeing deeper differences.\n\n```JavaScript\nconst myArray1 = [\"Hello\",[\"World!\"]];\nconst myArray2 = [\"Hello\",[\"Developer!\"]];\nconst result = testDiff(myArray1, myArray2, false);\n// result = false\n```","readmeFilename":"README.md"}