{"_id":"smob","_rev":"3303317","name":"smob","description":"Zero dependency library to safe merge objects.","dist-tags":{"alpha":"1.3.0-alpha.2","latest":"1.5.0"},"maintainers":[{"name":"tada5hi","email":""}],"time":{"modified":"2024-05-31T08:23:25.000Z","created":"2022-09-16T08:29:31.600Z","1.5.0":"2024-03-29T11:21:32.170Z","1.4.1":"2023-09-20T07:34:08.408Z","1.4.0":"2023-05-29T07:41:12.533Z","1.3.0":"2023-05-28T16:22:46.460Z","1.3.0-alpha.2":"2023-05-28T15:38:38.418Z","1.3.0-alpha.1":"2023-05-28T12:50:33.522Z","1.2.0":"2023-05-28T07:52:51.423Z","1.1.1":"2023-05-20T11:36:36.382Z","1.1.0":"2023-05-19T16:47:26.987Z","1.0.0":"2023-03-20T10:43:12.645Z","0.1.0":"2023-01-27T17:28:59.144Z","0.0.7":"2023-01-11T11:24:00.845Z","0.0.6":"2022-10-19T13:50:20.453Z","0.0.5":"2022-10-19T08:53:31.845Z","0.0.3":"2022-09-17T09:28:16.089Z","0.0.2":"2022-09-16T10:51:57.643Z","0.0.1":"2022-09-16T08:29:31.600Z"},"users":{},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"versions":{"1.5.0":{"name":"smob","version":"1.5.0","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.2.3","@swc/core":"^1.4.11","@swc/jest":"^0.2.29","@tada5hi/commitlint-config":"^1.2.0","@tada5hi/eslint-config-typescript":"^1.2.10","@tada5hi/semantic-release":"^0.3.1","@tada5hi/tsconfig":"^0.5.1","@types/jest":"^29.5.3","@types/node":"^20.10.4","cross-env":"^7.0.3","eslint":"^8.57.0","husky":"^9.0.11","jest":"^29.6.1","rollup":"^4.13.2","semantic-release":"^23.0.6","typescript":"^5.4.3"},"_id":"smob@1.5.0","gitHead":"89f53746d5af25cdcaeb70d16ba7f36f12a70288","_nodeVersion":"20.11.1","_npmVersion":"10.5.0","dist":{"shasum":"85d79a1403abf128d24d3ebc1cdc5e1a9548d3ab","size":12921,"noattachment":false,"key":"/smob/-/smob-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.5.0.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.5.0_1711711291993_0.9099412050831717"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-29T11:21:32.170Z","publish_time":1711711292170,"_source_registry_name":"default","_cnpm_publish_time":1711711292170},"1.4.1":{"name":"smob","version":"1.4.1","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.1.0","@swc/core":"^1.3.70","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.3","@types/node":"^20.2.5","cross-env":"^7.0.3","eslint":"^8.49.0","husky":"^8.0.3","jest":"^29.6.1","rollup":"^3.23.0","semantic-release":"^21.0.7","typescript":"^5.1.6"},"_id":"smob@1.4.1","gitHead":"315c23d048d80b2056599f58d7e336a0dd362a0d","_nodeVersion":"18.17.1","_npmVersion":"9.8.1","dist":{"shasum":"66270e7df6a7527664816c5b577a23f17ba6f5b5","size":12155,"noattachment":false,"key":"/smob/-/smob-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.4.1.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.4.1_1695195248181_0.7237696813120589"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-20T07:34:08.408Z","publish_time":1695195248408,"_source_registry_name":"default","_cnpm_publish_time":1695195248408},"1.4.0":{"name":"smob","version":"1.4.0","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@swc/core":"^1.3.60","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.1","@types/node":"^20.2.4","cross-env":"^7.0.3","eslint":"^8.41.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.23.0","semantic-release":"^19.0.5","typescript":"^5.0.4"},"gitHead":"9c570735d922094b5f6fe1aed96b007545efdae2","_id":"smob@1.4.0","_nodeVersion":"18.16.0","_npmVersion":"8.19.2","dist":{"shasum":"ac9751fe54b1fc1fc8286a628d4e7f824273b95a","size":12943,"noattachment":false,"key":"/smob/-/smob-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.4.0.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.4.0_1685346072374_0.877323745460026"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-29T07:41:12.533Z","publish_time":1685346072533,"_source_registry_name":"default","_cnpm_publish_time":1685346072533},"1.3.0":{"name":"smob","version":"1.3.0","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@swc/core":"^1.3.60","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.1","@types/node":"^20.2.4","cross-env":"^7.0.3","eslint":"^8.41.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.23.0","semantic-release":"^19.0.5","typescript":"^5.0.4"},"gitHead":"f32116345cd945b9bd325955d9a9cbab20e90ffb","_id":"smob@1.3.0","_nodeVersion":"18.16.0","_npmVersion":"8.19.2","dist":{"shasum":"ffc8ed08846a1ad18e8fd9ee58e3f27772329bfe","size":12269,"noattachment":false,"key":"/smob/-/smob-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.3.0.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.3.0_1685290966302_0.4170337498132657"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-28T16:22:46.460Z","publish_time":1685290966460,"_source_registry_name":"default","_cnpm_publish_time":1685290966460},"1.3.0-alpha.2":{"name":"smob","version":"1.3.0-alpha.2","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@swc/core":"^1.3.60","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.1","@types/node":"^20.2.4","cross-env":"^7.0.3","eslint":"^8.41.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.23.0","semantic-release":"^19.0.5","typescript":"^5.0.4"},"readmeFilename":"README.MD","gitHead":"e4e8f3ea3565bd421d27561b596fe6d037614d75","_id":"smob@1.3.0-alpha.2","_nodeVersion":"18.16.0","_npmVersion":"8.19.2","dist":{"shasum":"fe1673ec57841abe819eea9d35d0477aad1c0226","size":11991,"noattachment":false,"key":"/smob/-/smob-1.3.0-alpha.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.3.0-alpha.2.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.3.0-alpha.2_1685288318256_0.10450834350959037"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-28T15:38:38.418Z","publish_time":1685288318418,"_source_registry_name":"default","_cnpm_publish_time":1685288318418},"1.3.0-alpha.1":{"name":"smob","version":"1.3.0-alpha.1","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@swc/core":"^1.3.60","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.1","@types/node":"^20.2.4","cross-env":"^7.0.3","eslint":"^8.41.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.23.0","semantic-release":"^19.0.5","typescript":"^5.0.4"},"readmeFilename":"README.MD","gitHead":"f2ffa8353a177b32d7a0a9e1b9d61efe719bc99b","_id":"smob@1.3.0-alpha.1","_nodeVersion":"18.16.0","_npmVersion":"8.19.2","dist":{"shasum":"74c14e1cf4df018905646731d807950779593174","size":10847,"noattachment":false,"key":"/smob/-/smob-1.3.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.3.0-alpha.1.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.3.0-alpha.1_1685278233327_0.5740225242220347"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-28T12:50:33.522Z","publish_time":1685278233522,"_source_registry_name":"default","_cnpm_publish_time":1685278233522},"1.2.0":{"name":"smob","version":"1.2.0","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.3","@swc/core":"^1.3.60","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.1","@types/node":"^20.2.4","cross-env":"^7.0.3","eslint":"^8.41.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.23.0","semantic-release":"^19.0.5","typescript":"^5.0.4"},"gitHead":"e0770f2faab579970a00ec1ba8129ba0aeb42fe2","_id":"smob@1.2.0","_nodeVersion":"18.16.0","_npmVersion":"8.19.2","dist":{"shasum":"4fad601d9cb004f6e69ebd5d6a8146a05669bbe6","size":8947,"noattachment":false,"key":"/smob/-/smob-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.2.0.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.2.0_1685260371268_0.981146592771502"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-28T07:52:51.423Z","publish_time":1685260371423,"_source_registry_name":"default","_cnpm_publish_time":1685260371423},"1.1.1":{"name":"smob","version":"1.1.1","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.3","@swc/core":"^1.3.59","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.1","@types/node":"^20.2.1","cross-env":"^7.0.3","eslint":"^8.40.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.22.0","semantic-release":"^19.0.5","typescript":"^5.0.4"},"gitHead":"44c8f7583bffbe4879b6d16877a3a83add6edf42","_id":"smob@1.1.1","_nodeVersion":"18.16.0","_npmVersion":"8.19.2","dist":{"shasum":"6cdd7ab45980252df92c315a7375a053e4ffb950","size":8851,"noattachment":false,"key":"/smob/-/smob-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.1.1.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.1.1_1684582596234_0.5162094140195654"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-20T11:36:36.382Z","publish_time":1684582596382,"_source_registry_name":"default","_cnpm_publish_time":1684582596382},"1.1.0":{"name":"smob","version":"1.1.0","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.3","@swc/core":"^1.3.59","@swc/jest":"^0.2.26","@tada5hi/commitlint-config":"^1.0.2","@tada5hi/eslint-config-typescript":"^1.1.9","@tada5hi/semantic-release":"^0.1.0","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.1","@types/node":"^20.2.1","cross-env":"^7.0.3","eslint":"^8.40.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.22.0","semantic-release":"^19.0.5","typescript":"^5.0.4"},"gitHead":"d59c647bf1d7a6718b95a2c68106707448c20e75","_id":"smob@1.1.0","_nodeVersion":"18.16.0","_npmVersion":"8.19.2","dist":{"shasum":"eb07011f0bf293965a108b6d1265759ef5013d69","size":8642,"noattachment":false,"key":"/smob/-/smob-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.1.0.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.1.0_1684514846745_0.4709968749213378"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-19T16:47:26.987Z","publish_time":1684514846987,"_source_registry_name":"default","_cnpm_publish_time":1684514846987},"1.0.0":{"name":"smob","version":"1.0.0","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","object-merge","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.4.0","@semantic-release/changelog":"^6.0.2","@semantic-release/git":"^10.0.1","@swc/core":"^1.3.41","@swc/jest":"^0.2.24","@tada5hi/commitlint-config":"^1.0.0","@tada5hi/eslint-config-typescript":"^1.1.5","@tada5hi/tsconfig":"^0.4.0","@types/jest":"^29.5.0","@types/node":"^18.15.3","cross-env":"^7.0.3","eslint":"^8.36.0","husky":"^8.0.3","jest":"^29.5.0","rollup":"^3.20.0","semantic-release":"^19.0.5","typescript":"^5.0.2"},"gitHead":"4c3113c308b16b47bb382c4eb2326e4a32fbca3e","_id":"smob@1.0.0","_nodeVersion":"18.15.0","_npmVersion":"8.19.2","dist":{"shasum":"f4e7df1292dce83981ffc651b49a7823c4a4f77c","size":7932,"noattachment":false,"key":"/smob/-/smob-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-1.0.0.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_1.0.0_1679308992463_0.7265745478154575"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-20T10:43:12.645Z","publish_time":1679308992645,"_cnpm_publish_time":1679308992645},"0.1.0":{"name":"smob","version":"0.1.0","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@commitlint/cli":"^17.4.2","@commitlint/config-angular":"^17.4.2","@commitlint/config-conventional":"^17.4.2","@commitlint/cz-commitlint":"^17.4.2","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.4.0","@semantic-release/changelog":"^6.0.2","@semantic-release/git":"^10.0.1","@swc/core":"^1.3.29","@tada5hi/eslint-config-typescript":"^1.1.1","@types/jest":"^29.4.0","@types/node":"^18.11.18","cross-env":"^7.0.3","eslint":"^8.32.0","husky":"^8.0.3","jest":"^29.4.1","rollup":"^3.11.0","semantic-release":"^19.0.5","ts-jest":"^29.0.5","typescript":"^4.9.4"},"config":{"commitizen":{"path":"@commitlint/cz-commitlint"}},"gitHead":"69f0dcb0d1fd3d56cb779dea67a18fed5ed13fbe","_id":"smob@0.1.0","_nodeVersion":"18.13.0","_npmVersion":"8.19.2","dist":{"shasum":"d61b307208d2510b3faf98c166ffe4e9e94f17a2","size":7548,"noattachment":false,"key":"/smob/-/smob-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-0.1.0.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_0.1.0_1674840538990_0.4799669353836924"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-27T17:28:59.144Z","publish_time":1674840539144,"_cnpm_publish_time":1674840539144},"0.0.7":{"name":"smob","version":"0.0.7","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.browser.js","unpkg":"dist/index.iife.js","types":"dist/types/index.d.ts","scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@babel/core":"^7.20.12","@babel/plugin-proposal-class-properties":"7.18.6","@babel/plugin-proposal-object-rest-spread":"7.20.7","@babel/preset-env":"^7.20.2","@babel/preset-typescript":"^7.18.6","@commitlint/cli":"^17.4.1","@commitlint/config-angular":"^17.4.0","@commitlint/config-conventional":"^17.4.0","@commitlint/cz-commitlint":"^17.4.1","@semantic-release/changelog":"^6.0.2","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.7","@semantic-release/npm":"^9.0.1","@semantic-release/release-notes-generator":"^10.0.3","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^24.0.0","@rollup/plugin-node-resolve":"^15.0.1","@rollup/plugin-terser":"^0.3.0","@tada5hi/eslint-config-typescript":"^1.1.0","@types/jest":"^27.5.0","@types/node":"^18.11.18","cross-env":"^7.0.3","eslint":"^8.31.0","husky":"^8.0.3","jest":"^27.5.1","rollup":"^3.9.1","semantic-release":"^19.0.5","ts-jest":"^27.1.4","typescript":"^4.9.4"},"config":{"commitizen":{"path":"@commitlint/cz-commitlint"}},"gitHead":"d924cf897d486523436eaf669c1eb183f140b3c1","_id":"smob@0.0.7","_nodeVersion":"18.13.0","_npmVersion":"8.19.2","dist":{"shasum":"99166e107b516c06fec0d6005a3e8a5bd2c6e18b","size":5976,"noattachment":false,"key":"/smob/-/smob-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-0.0.7.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_0.0.7_1673436240658_0.6530380037381209"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-11T11:24:00.845Z","publish_time":1673436240845,"_cnpm_publish_time":1673436240845},"0.0.6":{"name":"smob","version":"0.0.6","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.browser.js","unpkg":"dist/index.iife.js","types":"dist/types/index.d.ts","scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@babel/core":"^7.19.3","@babel/plugin-proposal-class-properties":"7.18.6","@babel/plugin-proposal-object-rest-spread":"7.19.4","@babel/preset-env":"^7.19.4","@babel/preset-typescript":"^7.18.6","@commitlint/cli":"^17.1.2","@commitlint/config-angular":"^17.1.0","@commitlint/config-conventional":"^17.1.0","@commitlint/cz-commitlint":"^17.1.2","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.6","@semantic-release/npm":"^9.0.1","@semantic-release/release-notes-generator":"^10.0.3","@rollup/plugin-babel":"^6.0.0","@rollup/plugin-commonjs":"^23.0.0","@rollup/plugin-node-resolve":"^15.0.0","@tada5hi/eslint-config-typescript":"^1.0.8","@types/jest":"^27.5.0","@types/node":"^18.11.0","cross-env":"^7.0.3","eslint":"^8.25.0","husky":"^8.0.1","jest":"^27.5.1","rollup":"^2.79.1","rollup-plugin-terser":"^7.0.2","ts-jest":"^27.1.4","typescript":"^4.8.4"},"config":{"commitizen":{"path":"@commitlint/cz-commitlint"}},"gitHead":"c26e01f880004e87cc0a6504571b38a5f33d9348","_id":"smob@0.0.6","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"09b268fea916158a2781c152044c6155adbb8aa1","size":5935,"noattachment":false,"key":"/smob/-/smob-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-0.0.6.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_0.0.6_1666187420257_0.9309702959659145"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-19T14:29:48.413Z","publish_time":1666187420453,"_cnpm_publish_time":1666187420453},"0.0.5":{"name":"smob","version":"0.0.5","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.browser.js","unpkg":"dist/index.iife.js","types":"dist/types/index.d.ts","scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","commit":"npx git-cz","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepare":"npx husky install","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@babel/core":"^7.19.3","@babel/plugin-proposal-class-properties":"7.18.6","@babel/plugin-proposal-object-rest-spread":"7.19.4","@babel/preset-env":"^7.19.4","@babel/preset-typescript":"^7.18.6","@commitlint/cli":"^17.1.2","@commitlint/config-angular":"^17.1.0","@commitlint/config-conventional":"^17.1.0","@commitlint/cz-commitlint":"^17.1.2","@semantic-release/changelog":"^6.0.1","@semantic-release/commit-analyzer":"^9.0.2","@semantic-release/git":"^10.0.1","@semantic-release/github":"^8.0.6","@semantic-release/npm":"^9.0.1","@semantic-release/release-notes-generator":"^10.0.3","@rollup/plugin-babel":"^6.0.0","@rollup/plugin-commonjs":"^23.0.0","@rollup/plugin-node-resolve":"^15.0.0","@tada5hi/eslint-config-typescript":"^1.0.8","@types/jest":"^27.5.0","@types/node":"^18.8.5","cross-env":"^7.0.3","eslint":"^8.25.0","husky":"^8.0.1","jest":"^27.5.1","rollup":"^2.79.1","rollup-plugin-terser":"^7.0.2","ts-jest":"^27.1.4","typescript":"^4.8.4"},"config":{"commitizen":{"path":"@commitlint/cz-commitlint"}},"gitHead":"dd33c01f48566cb40b923a1526886ee7ab8550e4","_id":"smob@0.0.5","_nodeVersion":"18.10.0","_npmVersion":"8.19.2","dist":{"shasum":"67c0513f7c67306d3b504b75e38f072d32e7abee","size":5934,"noattachment":false,"key":"/smob/-/smob-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-0.0.5.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_0.0.5_1666169611705_0.6040889575483384"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-19T09:58:09.177Z","publish_time":1666169611845,"_cnpm_publish_time":1666169611845},"0.0.3":{"name":"smob","version":"0.0.3","description":"Zero dependency library to safe merge objects.","main":"dist/index.cjs.js","module":"dist/index.esm.js","browser":"dist/index.browser.js","unpkg":"dist/index.iife.js","types":"dist/types/index.d.ts","scripts":{"build:types":"tsc --emitDeclarationOnly","build:js":"rollup -c","build":"rimraf dist && npm run build:types && npm run build:js","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@babel/core":"^7.18.10","@babel/plugin-proposal-class-properties":"7.18.6","@babel/plugin-proposal-object-rest-spread":"7.18.9","@babel/preset-env":"^7.18.10","@babel/preset-typescript":"^7.18.6","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^13.3.0","@tada5hi/eslint-config-typescript":"^1.0.7","@types/jest":"^27.5.0","@types/node":"^18.7.17","cross-env":"^7.0.3","eslint":"^8.23.1","jest":"^27.5.1","np":"^7.6.2","rollup":"^2.78.1","rollup-plugin-terser":"^7.0.2","ts-jest":"^27.1.4","typescript":"^4.8.3"},"gitHead":"8c79d37d74b80e14794e9ab9a65907f955df8510","_id":"smob@0.0.3","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"43506828e36539496b3f5b2995c5374989a8aa50","size":5568,"noattachment":false,"key":"/smob/-/smob-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-0.0.3.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_0.0.3_1663406895938_0.79561225935993"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-17T09:28:31.736Z","publish_time":1663406896089,"_cnpm_publish_time":1663406896089},"0.0.2":{"name":"smob","version":"0.0.2","description":"Safe merge objects.","main":"./dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"rm -rf ./dist && tsc","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@tada5hi/eslint-config-typescript":"^1.0.7","@types/jest":"^27.5.0","@types/node":"^18.7.17","cross-env":"^7.0.3","eslint":"^8.23.1","jest":"^27.5.1","np":"^7.6.2","ts-jest":"^27.1.4","typescript":"^4.8.3"},"gitHead":"22069b4a6da3d8f999fd93a98c13b42ba3040d49","_id":"smob@0.0.2","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"6cb458f5c5e818cba54d9a762e35a875f43d4bba","size":5785,"noattachment":false,"key":"/smob/-/smob-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-0.0.2.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_0.0.2_1663325517491_0.9466173886639762"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-16T11:24:05.884Z","publish_time":1663325517643,"_cnpm_publish_time":1663325517643},"0.0.1":{"name":"smob","version":"0.0.1","description":"Safe merge objects.","main":"./dist/index.js","typings":"dist/index.d.ts","scripts":{"build":"rm -rf ./dist && tsc","lint":"eslint --ext .js,.ts ./src","lint:fix":"npm run lint -- --fix","test":"cross-env NODE_ENV=test jest --config ./test/jest.config.js","test:coverage":"npm run test -- --coverage","prepublishOnly":"npm run build"},"author":{"name":"Peter Placzek","email":"contact@tada5hi.net","url":"https://github.com/tada5hi"},"license":"MIT","keywords":["object","merge","safe","deep-merge","merge-deep"],"repository":{"type":"git","url":"git+https://github.com/Tada5hi/smob.git"},"bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"homepage":"https://github.com/Tada5hi/smob#readme","devDependencies":{"@tada5hi/eslint-config-typescript":"^1.0.7","@types/jest":"^27.5.0","@types/node":"^18.7.17","cross-env":"^7.0.3","eslint":"^8.23.1","jest":"^27.5.1","np":"^7.6.2","ts-jest":"^27.1.4","typescript":"^4.8.3"},"gitHead":"f033c21abff1e0563d76142d67a70e6453fe4068","_id":"smob@0.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"d7c51d2ae9282c9ca9dc859c8f3284c59d6b51c2","size":5846,"noattachment":false,"key":"/smob/-/smob-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/smob/download/smob-0.0.1.tgz"},"_npmUser":{"name":"tada5hi","email":"peter.placzek1996@gmail.com"},"directories":{},"maintainers":[{"name":"tada5hi","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/smob_0.0.1_1663316971451_0.9252921404558672"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-16T09:07:54.778Z","publish_time":1663316971600,"_cnpm_publish_time":1663316971600}},"readme":"# SMOB ????\n\n[![npm version](https://badge.fury.io/js/smob.svg)](https://badge.fury.io/js/smob)\n[![main](https://github.com/tada5hi/smob/actions/workflows/main.yml/badge.svg)](https://github.com/tada5hi/smob/actions/workflows/main.yml)\n[![codecov](https://codecov.io/gh/tada5hi/smob/branch/master/graph/badge.svg?token=0VL41WO0CG)](https://codecov.io/gh/tada5hi/smob)\n[![Known Vulnerabilities](https://snyk.io/test/github/Tada5hi/smob/badge.svg?targetFile=package.json)](https://snyk.io/test/github/Tada5hi/smob?targetFile=package.json)\n[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)\n\nA zero dependency library to **s**afe **m**erge **ob**jects and arrays with customizable behavior.\n\n**Table of Contents**\n\n- [Installation](#installation)\n- [Usage](#usage)\n  - [Merger](#merger)\n  - [Utils](#utils)\n- [License](#license)\n\n## Installation\n\n```bash\nnpm install smob --save\n```\n\n## Usage\n\n```typescript\nimport { merge } from \"smob\";\n\nconst output = merge(...sources);\n```\n\nThe following merge options are set by default:\n- **array**: `true` Merge object array properties.\n- **arrayDistinct**: `false` Remove duplicates, when merging array elements.\n- **arrayPriority**: `left` (options.priority) The source aka leftmost array has by **default** the highest priority.\n- **clone**: `false` Deep clone input sources.\n- **inPlace**: `false` Merge sources in place.\n- **priority**: `left` The source aka leftmost object has by **default** the highest priority.\n\nThe merge behaviour can be changed by creating a custom [merger](#merger).\n\n**Arguments**\n- sources `(any[] | Record<string, any>)[]`: The source arrays/objects.\n\n```typescript\nimport { merge } from 'smob';\n\nmerge({ a: 1 }, { b: 2 }, { c: 3 });\n// { a: 1, b: 2, c: 3 }\n\nmerge(['foo'], ['bar']);\n// ['foo', 'bar']\n\n```\n\n### Merger\n\nA custom merger can simply be created by using the `createMerger` method.\n\n**Array**\n```typescript\nimport { createMerger } from 'smob';\n\nconst merge = createMerger({ array: false });\n\nmerge({ a: [1,2,3] }, { a: [4,5,6] });\n// { a: [1,2,3] }\n```\n\n**ArrayDistinct**\n```typescript\nimport { createMerger } from 'smob';\n\nconst merge = createMerger({ arrayDistinct: true });\n\nmerge({ a: [1,2,3] }, { a: [3,4,5] });\n// { a: [1,2,3,4,5] }\n```\n\n**Priority**\n```typescript\nimport { createMerger } from 'smob';\n\nconst merge = createMerger({ priority: 'right' });\n\nmerge({ a: 1 }, { a: 2 }, { a: 3 })\n// { a: 3 }\n```\n\n**Strategy**\n```typescript\nimport { createMerger } from 'smob';\n\nconst merge = createMerger({\n    strategy: (target, key, value) => {\n        if (\n            typeof target[key] === 'number' &&\n            typeof value === 'number'\n        ) {\n            target[key] += value;\n            return target;\n        }\n    }\n});\n\nmerge({ a: 1 }, { a: 2 }, { a: 3 });\n// { a: 6 }\n```\n\nA returned value indicates that the strategy has been applied.\n\n## Utils\n\n### distinctArray\n\n```typescript\nimport { distinctArray } from 'smob';\n\ndistnctArray(['foo', 'bar', 'foo']);\n// ['foo', 'bar']\n```\n\nThe function also removes non-primitive\nelements that are identical by value or reference.\n\n**Objects**\n```typescript\nimport { distinctArray } from 'smob';\n\ndistinctArray([{ foo: 'bar' }, { foo: 'bar' }]);\n// [{ foo: 'bar' }]\n```\n\n**Arrays**\n```typescript\nimport { distinctArray } from 'smob';\n\ndistinctArray([['foo', 'bar'], ['foo', 'bar']]);\n// [['foo', 'bar']]\n```\n\n### isEqual\n\nChecks if two (non-primitive) elements\nare identical by value or reference.\n\n````typescript\nimport { isEqual } from 'smob';\n\nisEqual({foo: 'bar'}, {foo: 'bar'});\n// true\n\nisEqual(['foo', 'bar'], ['foo', 'bar']);\n// true\n````\n\n## License\n\nMade with ????\n\nPublished under [MIT License](./LICENSE).\n","_attachments":{},"homepage":"https://github.com/Tada5hi/smob#readme","bugs":{"url":"https://github.com/Tada5hi/smob/issues"},"license":"MIT"}