{"_id":"immutable-json-patch","_rev":"4537949","name":"immutable-json-patch","description":"Immutable JSON patch with support for reverting operations","dist-tags":{"latest":"6.0.2"},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"time":{"modified":"2026-04-09T15:03:14.000Z","created":"2020-11-30T13:55:34.585Z","6.0.2":"2025-07-31T15:23:51.074Z","6.0.1":"2024-01-19T14:27:12.630Z","6.0.0":"2023-12-13T15:51:09.433Z","5.1.3":"2023-07-07T09:16:41.777Z","5.1.2":"2023-01-12T15:04:45.317Z","5.1.1":"2022-11-17T15:17:21.686Z","5.1.0":"2022-09-28T15:32:11.793Z","5.0.0":"2022-09-13T09:05:59.581Z","4.0.1":"2022-09-09T06:51:30.276Z","4.0.0":"2022-08-22T09:45:31.047Z","3.0.0":"2022-07-01T10:12:42.636Z","2.0.1":"2022-06-27T14:23:05.451Z","2.0.0":"2022-06-27T14:16:38.793Z","1.1.2":"2021-07-23T09:34:29.264Z","1.1.1":"2021-01-27T14:45:41.628Z","1.1.0":"2021-01-20T15:45:57.386Z","1.0.0":"2020-11-30T13:55:34.585Z"},"users":{},"author":{"name":"Jos de Jong"},"repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"versions":{"6.0.2":{"name":"immutable-json-patch","version":"6.0.2","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/umd/immutableJSONPatch.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/umd/immutableJSONPatch.js","browser":"./lib/umd/immutableJSONPatch.js","types":"./lib/types/index.d.ts"}},"sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name immutableJSONPatch --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","build:test":"mocha test-lib/*.test.*","lint":"biome check","format":"biome check --write","build-and-test":"npm run lint && npm run build","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.28.0","@babel/core":"7.28.0","@babel/plugin-transform-typescript":"7.28.0","@babel/preset-env":"7.28.0","@babel/preset-typescript":"7.27.1","@biomejs/biome":"2.1.3","@types/mocha":"10.0.10","@types/node":"24.1.0","cpy-cli":"5.0.0","del-cli":"6.0.0","expect-type":"1.2.2","mocha":"11.7.1","npm-run-all":"4.1.5","rollup":"4.46.2","ts-node":"10.9.2","typescript":"5.8.3","uglify-js":"3.19.3"},"_id":"immutable-json-patch@6.0.2","gitHead":"8907cd4bb3db8e79f55f17ed63795ddad0278a5b","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_nodeVersion":"24.1.0","_npmVersion":"11.4.2","dist":{"shasum":"23bcc8a7861c05adf87523982fe6cd35ea21c9b9","size":43002,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-6.0.2.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/immutable-json-patch_6.0.2_1753975430737_0.24285829685968707"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-31T15:23:51.074Z","publish_time":1753975431074,"_source_registry_name":"default","_cnpm_publish_time":1753975431074},"6.0.1":{"name":"immutable-json-patch","version":"6.0.1","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/umd/immutableJSONPatch.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/umd/immutableJSONPatch.js","browser":"./lib/umd/immutableJSONPatch.js","types":"./lib/types/index.d.ts"}},"sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name immutableJSONPatch --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","build:test":"mocha test-lib/*.test.*","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","build-and-test":"npm run lint && npm run build","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.23.4","@babel/core":"7.23.7","@babel/plugin-transform-typescript":"7.23.6","@babel/preset-env":"7.23.8","@babel/preset-typescript":"7.23.3","@types/mocha":"10.0.6","@types/node":"20.11.5","@typescript-eslint/eslint-plugin":"6.19.0","@typescript-eslint/parser":"6.19.0","cpy-cli":"5.0.0","del-cli":"5.1.0","eslint":"8.56.0","eslint-config-standard":"17.1.0","eslint-plugin-import":"2.29.1","eslint-plugin-n":"16.6.2","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","expect-type":"0.17.3","mocha":"10.2.0","npm-run-all":"4.1.5","rollup":"4.9.5","ts-node":"10.9.2","typescript":"5.3.3","uglify-js":"3.17.4"},"_id":"immutable-json-patch@6.0.1","gitHead":"1ea98e93932aee20825869ed883c9e0508548384","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"shasum":"b60b609633e97bb2bc7c74726ff607729e61fd5b","size":43316,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-6.0.1.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_6.0.1_1705674432462_0.08078852555973492"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-19T14:27:12.630Z","publish_time":1705674432630,"_source_registry_name":"default","_cnpm_publish_time":1705674432630},"6.0.0":{"name":"immutable-json-patch","version":"6.0.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/umd/immutableJSONPatch.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/umd/immutableJSONPatch.js","browser":"./lib/umd/immutableJSONPatch.js","types":"./lib/types/index.d.ts"}},"sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name immutableJSONPatch --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","build:test":"mocha test-lib/*.test.*","lint":"eslint src/**/*.ts","format":"eslint src/**/*.ts --fix","build-and-test":"npm run lint && npm run build","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.23.4","@babel/core":"7.23.6","@babel/plugin-transform-typescript":"7.23.6","@babel/preset-env":"7.23.6","@babel/preset-typescript":"7.23.3","@types/mocha":"10.0.6","@types/node":"20.10.4","@typescript-eslint/eslint-plugin":"6.14.0","@typescript-eslint/parser":"6.14.0","cpy-cli":"5.0.0","del-cli":"5.1.0","eslint":"8.55.0","eslint-config-standard":"17.1.0","eslint-plugin-import":"2.29.0","eslint-plugin-n":"16.4.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","expect-type":"0.17.3","mocha":"10.2.0","npm-run-all":"4.1.5","rollup":"4.9.0","ts-node":"10.9.2","typescript":"5.3.3","uglify-js":"3.17.4"},"_id":"immutable-json-patch@6.0.0","gitHead":"705e21acbbb5c34954d181ffc481d98470625f1b","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"shasum":"a3155e379be8a9ec5d3d3867f5f7a6850c50f8a8","size":43132,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-6.0.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_6.0.0_1702482669183_0.7062310215282663"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-13T15:51:09.433Z","publish_time":1702482669433,"_source_registry_name":"default","_cnpm_publish_time":1702482669433},"5.1.3":{"name":"immutable-json-patch","version":"5.1.3","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/umd/immutableJSONPatch.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/umd/immutableJSONPatch.js","browser":"./lib/umd/immutableJSONPatch.js","types":"./lib/types/index.d.ts"}},"sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name immutableJSONPatch --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","lint":"eslint src/**/*.ts","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.22.6","@babel/core":"7.22.8","@babel/plugin-transform-typescript":"7.22.5","@babel/preset-env":"7.22.7","@babel/preset-typescript":"7.22.5","@types/mocha":"10.0.1","@types/node":"20.4.0","@typescript-eslint/eslint-plugin":"5.61.0","@typescript-eslint/parser":"5.61.0","cpy-cli":"5.0.0","del-cli":"5.0.0","eslint":"8.44.0","eslint-config-standard":"17.1.0","eslint-plugin-import":"2.27.5","eslint-plugin-n":"16.0.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","mocha":"10.2.0","npm-run-all":"4.1.5","rollup":"3.26.2","ts-node":"10.9.1","typescript":"5.1.6","uglify-js":"3.17.4"},"gitHead":"7697ef318667d668f0c5e47d70ee43a79ff7e7a9","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@5.1.3","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"shasum":"84449ad80ae1f00eb04fd6bf5f200a659bbb0654","size":49580,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-5.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-5.1.3.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_5.1.3_1688721401574_0.9949253335088823"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-07T09:16:41.777Z","publish_time":1688721401777,"_source_registry_name":"default","_cnpm_publish_time":1688721401777},"5.1.2":{"name":"immutable-json-patch","version":"5.1.2","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/esm/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","exports":{".":{"import":"./lib/esm/index.js","require":"./lib/umd/immutableJSONPatch.js","browser":"./lib/umd/immutableJSONPatch.js","types":"./lib/types/index.d.ts"}},"sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","lint":"eslint src/**/*.ts","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.20.7","@babel/core":"7.20.12","@babel/plugin-transform-typescript":"7.20.7","@babel/preset-env":"7.20.2","@babel/preset-typescript":"7.18.6","@types/mocha":"10.0.1","@types/node":"18.11.18","@typescript-eslint/eslint-plugin":"5.48.1","@typescript-eslint/parser":"5.48.1","cpy-cli":"4.2.0","del-cli":"5.0.0","eslint":"8.31.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.27.4","eslint-plugin-n":"15.6.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","mocha":"10.2.0","npm-run-all":"4.1.5","rollup":"3.10.0","ts-node":"10.9.1","typescript":"4.9.4","uglify-js":"3.17.4"},"gitHead":"5504a7c98abf6d9f29cf669778c4dd032a278ac5","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@5.1.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"3db06df435557d99e01a2351d6e50fb6eee92089","size":47464,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-5.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-5.1.2.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_5.1.2_1673535885166_0.013052298341093671"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-12T15:04:45.317Z","publish_time":1673535885317,"_cnpm_publish_time":1673535885317},"5.1.1":{"name":"immutable-json-patch","version":"5.1.1","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/esm/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","lint":"eslint src/**/*.ts","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.19.3","@babel/core":"7.20.2","@babel/plugin-transform-typescript":"7.20.2","@babel/preset-env":"7.20.2","@babel/preset-typescript":"7.18.6","@types/mocha":"10.0.0","@types/node":"18.11.9","@typescript-eslint/eslint-plugin":"5.43.0","@typescript-eslint/parser":"5.43.0","cpy-cli":"4.2.0","del-cli":"5.0.0","eslint":"8.27.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.5.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.1.1","mocha":"10.1.0","npm-run-all":"4.1.5","rollup":"2.79.1","ts-node":"10.9.1","typescript":"4.9.3","uglify-js":"3.17.4"},"gitHead":"7d94836eff13e5666693cc899da5a9e7d2bd4860","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@5.1.1","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"shasum":"c6b8e40f3a730f0a90a2b424bfbd985e2ae9ecfa","size":46628,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-5.1.1.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_5.1.1_1668698241497_0.7026540708234394"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-17T15:18:19.035Z","publish_time":1668698241686,"_cnpm_publish_time":1668698241686},"5.1.0":{"name":"immutable-json-patch","version":"5.1.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/esm/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","lint":"eslint src/**/*.ts","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.19.3","@babel/core":"7.19.3","@babel/plugin-transform-typescript":"7.19.3","@babel/preset-env":"7.19.3","@babel/preset-typescript":"7.18.6","@types/mocha":"10.0.0","@types/node":"18.7.23","@typescript-eslint/eslint-plugin":"5.38.1","@typescript-eslint/parser":"5.38.1","cpy-cli":"4.2.0","del-cli":"5.0.0","eslint":"8.24.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.3.0","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.1","mocha":"10.0.0","npm-run-all":"4.1.5","rollup":"2.79.1","ts-node":"10.9.1","typescript":"4.8.4","uglify-js":"3.17.2"},"gitHead":"bd8c0ea507d9380e1c514d4768b5088807ff2cbb","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@5.1.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"95c6988ea98acbc86e3656927529a2dab6c565d0","size":48263,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-5.1.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_5.1.0_1664379131568_0.4985211287690652"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-28T16:12:17.660Z","publish_time":1664379131793,"_cnpm_publish_time":1664379131793},"5.0.0":{"name":"immutable-json-patch","version":"5.0.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/esm/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","lint":"eslint src/**/*.ts","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.18.10","@babel/core":"7.19.0","@babel/plugin-transform-typescript":"7.19.0","@babel/preset-env":"7.19.0","@babel/preset-typescript":"7.18.6","@types/mocha":"9.1.1","@types/node":"18.7.17","@typescript-eslint/eslint-plugin":"5.37.0","@typescript-eslint/parser":"5.37.0","cpy-cli":"4.2.0","del-cli":"5.0.0","eslint":"8.22.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.2.5","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.1","mocha":"10.0.0","npm-run-all":"4.1.5","rollup":"2.79.0","ts-node":"10.9.1","typescript":"4.8.3","uglify-js":"3.17.0"},"gitHead":"3a649bc4566b4dc7702b4a250521657bb55fe84a","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@5.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"ae8a5a77480d4d03bcfab534b370f5a60d2360d8","size":47409,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-5.0.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_5.0.0_1663059959366_0.8142370271563835"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-13T09:30:10.996Z","publish_time":1663059959581,"_cnpm_publish_time":1663059959581},"4.0.1":{"name":"immutable-json-patch","version":"4.0.1","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/esm/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","sideEffects":false,"keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","lint":"eslint src/**/*.ts","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.18.10","@babel/core":"7.19.0","@babel/plugin-transform-typescript":"7.19.0","@babel/preset-env":"7.19.0","@babel/preset-typescript":"7.18.6","@types/mocha":"9.1.1","@types/node":"18.7.16","@typescript-eslint/eslint-plugin":"5.36.2","@typescript-eslint/parser":"5.36.2","cpy-cli":"4.2.0","del-cli":"5.0.0","eslint":"8.23.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.2.5","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.1","mocha":"10.0.0","npm-run-all":"4.1.5","rollup":"2.79.0","ts-node":"10.9.1","typescript":"4.8.3","uglify-js":"3.17.0"},"gitHead":"c12f94981b4a86b4c7b76fce536e98c0ae0a9a3f","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@4.0.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"0cbc584e18f13776713bd52143bc938f581c03c1","size":46552,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-4.0.1.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_4.0.1_1662706290122_0.6818736631529689"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-09T10:19:05.160Z","publish_time":1662706290276,"_cnpm_publish_time":1662706290276},"4.0.0":{"name":"immutable-json-patch","version":"4.0.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/esm/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/types/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm-run-all build:**","clean":"del-cli lib","build:esm":"babel src --out-dir lib/esm --extensions \".ts\" --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --extensions \".ts\" --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","build:types":"tsc --project tsconfig-types.json","lint":"eslint src/**/*.ts","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.18.10","@babel/core":"7.18.10","@babel/plugin-transform-typescript":"7.18.12","@babel/preset-env":"7.18.10","@babel/preset-typescript":"7.18.6","@types/mocha":"9.1.1","@types/node":"18.7.9","@typescript-eslint/eslint-plugin":"5.33.1","@typescript-eslint/parser":"5.33.1","cpy-cli":"4.1.0","del-cli":"5.0.0","eslint":"8.22.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.2.5","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.0","mocha":"10.0.0","npm-run-all":"4.1.5","rollup":"2.78.1","ts-node":"10.9.1","typescript":"4.7.4","uglify-js":"3.17.0"},"gitHead":"f36501ffe9c54c92b25d0f36add7159b1a29806d","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@4.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.16.0","dist":{"shasum":"4e4c29ab62501067f5bc75f18421b8ebdce70d31","size":46553,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-4.0.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_4.0.0_1661161530854_0.12199027275555663"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-22T10:05:27.183Z","publish_time":1661161531047,"_cnpm_publish_time":1661161531047},"3.0.0":{"name":"immutable-json-patch","version":"3.0.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm run build:ts && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","clean":"del-cli lib","build:ts":"cpy src/index.d.ts lib --flat","build:esm":"babel src --out-dir lib/esm --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","link":"npm run build","lint":"eslint src/**/*.js","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.18.6","@babel/core":"7.18.6","@babel/preset-env":"7.18.6","cpy-cli":"4.1.0","del-cli":"4.0.1","eslint":"8.18.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.2.3","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.0","mocha":"10.0.0","rollup":"2.75.7","uglify-js":"3.16.1"},"gitHead":"51a0a1eb49037664815c080d9f8371db570029c7","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@3.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"0d1f06c181f80e2466563f1327cf6066b9e5b2f4","size":39874,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-3.0.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_3.0.0_1656670362387_0.07981539134732096"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-02T03:30:00.379Z","publish_time":1656670362636,"_cnpm_publish_time":1656670362636},"2.0.1":{"name":"immutable-json-patch","version":"2.0.1","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm run build:ts && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","clean":"del-cli lib","build:ts":"cpy src/index.d.ts lib --flat","build:esm":"babel src --out-dir lib/esm --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","link":"npm run build","lint":"eslint src/**/*.js","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.17.10","@babel/core":"7.18.5","@babel/preset-env":"7.18.2","cpy-cli":"4.1.0","del-cli":"4.0.1","eslint":"8.18.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.2.3","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.0","mocha":"10.0.0","rollup":"2.75.7","uglify-js":"3.16.1"},"gitHead":"b155301e1c19276d8fbf6b001b80ef5cb145a8dc","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@2.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"758e1b73189f12eea5b9ae7d01995bfc02789c90","size":39186,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-2.0.1.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_2.0.1_1656339785232_0.5948161447010596"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-27T14:43:00.026Z","publish_time":1656339785451,"_cnpm_publish_time":1656339785451},"2.0.0":{"name":"immutable-json-patch","version":"2.0.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm run build:ts && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","clean":"del-cli lib","build:ts":"cpy src/index.d.ts lib","build:esm":"babel src --out-dir lib/esm --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs/package.json lib/cjs --flat","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd --flat","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","link":"npm run build","lint":"eslint src/**/*.js","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.17.10","@babel/core":"7.18.5","@babel/preset-env":"7.18.2","cpy-cli":"4.1.0","del-cli":"4.0.1","eslint":"8.18.0","eslint-config-standard":"17.0.0","eslint-plugin-import":"2.26.0","eslint-plugin-n":"15.2.3","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"6.0.0","mocha":"10.0.0","rollup":"2.75.7","uglify-js":"3.16.1"},"gitHead":"c25b478e4549afa1c4cfe8127601fb805d0122d7","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@2.0.0","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"b1e1666820f52ddfc9c82e46f311c47ac2bb9645","size":39185,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-2.0.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_2.0.0_1656339398574_0.7774994989285684"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-27T14:42:58.944Z","publish_time":1656339398793,"_cnpm_publish_time":1656339398793},"1.1.2":{"name":"immutable-json-patch","version":"1.1.2","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm run build:ts && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","clean":"del-cli lib","build:ts":"cpy src/index.d.ts lib","build:esm":"babel src --out-dir lib/esm --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","link":"npm run build","lint":"eslint src/**/*.js","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.14.8","@babel/core":"7.14.8","@babel/preset-env":"7.14.8","cpy-cli":"3.1.1","del-cli":"4.0.1","eslint":"7.31.0","eslint-config-standard":"16.0.3","eslint-plugin-import":"2.23.4","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"5.1.0","mocha":"9.0.2","rollup":"2.53.3","uglify-js":"3.14.0"},"dependencies":{},"gitHead":"a66049b43fe46119e223b8b2c1b065b3181fe7d2","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@1.1.2","_nodeVersion":"16.4.0","_npmVersion":"7.18.1","dist":{"shasum":"7031f73018543061c8bf1c23489015a3e00acc60","size":35377,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-1.1.2.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_1.1.2_1627032869091_0.2849078911712768"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T20:08:45.544Z","publish_time":1627032869264,"_cnpm_publish_time":1627032869264},"1.1.1":{"name":"immutable-json-patch","version":"1.1.1","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm run build:ts && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","clean":"del-cli lib","build:ts":"cpy src/index.d.ts lib","build:esm":"babel src --out-dir lib/esm --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","link":"npm run build","lint":"eslint src/**/*.js","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.12.10","@babel/core":"7.12.10","@babel/preset-env":"7.12.11","cpy-cli":"3.1.1","del-cli":"3.0.1","eslint":"7.18.0","eslint-config-standard":"16.0.2","eslint-plugin-import":"2.22.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"4.2.1","mocha":"8.2.1","rollup":"2.38.0","uglify-js":"3.12.5"},"dependencies":{},"gitHead":"172fb609952bf529f0c450485013716627b056b8","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@1.1.1","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"0a23dc82fe453e66bfe4eb3fb607a3d19d884cb5","size":35797,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-1.1.1.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_1.1.1_1611758741350_0.1726870151497817"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T20:08:45.445Z","publish_time":1611758741628,"_cnpm_publish_time":1611758741628},"1.1.0":{"name":"immutable-json-patch","version":"1.1.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm run build:ts && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","clean":"del-cli lib","build:ts":"cpy src/index.d.ts lib","build:esm":"babel src --out-dir lib/esm --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","link":"npm run build","lint":"eslint src/**/*.js","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.12.10","@babel/core":"7.12.10","@babel/preset-env":"7.12.11","cpy-cli":"3.1.1","del-cli":"3.0.1","eslint":"7.18.0","eslint-config-standard":"16.0.2","eslint-plugin-import":"2.22.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"4.2.1","mocha":"8.2.1","rollup":"2.37.1","uglify-js":"3.12.5"},"dependencies":{},"gitHead":"f48a22fb6e5eff2ab56360cf0db9a200222ebb04","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@1.1.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"c21d6a880baba3bcff406789a1f68371b5351b14","size":33854,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-1.1.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_1.1.0_1611157557152_0.8208166915758426"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T20:08:44.357Z","publish_time":1611157557386,"_cnpm_publish_time":1611157557386},"1.0.0":{"name":"immutable-json-patch","version":"1.0.0","description":"Immutable JSON patch with support for reverting operations","repository":{"type":"git","url":"git+https://github.com/josdejong/immutable-json-patch.git"},"type":"module","main":"lib/cjs/index.js","module":"lib/esm/index.js","browser":"lib/umd/immutableJSONPatch.js","types":"lib/index.d.ts","keywords":["json","patch","immutable","revert","inverse"],"scripts":{"test":"mocha","test:lib":"mocha test-lib/*.test.*","build":"npm run clean && npm run build:ts && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min","clean":"del-cli lib","build:ts":"cpy src/index.d.ts lib","build:esm":"babel src --out-dir lib/esm --source-maps --config-file ./babel.config.json","build:cjs":"babel src --out-dir lib/cjs --source-maps --config-file ./babel-cjs.config.json && cpy tools/cjs lib/cjs","build:umd":"rollup lib/esm/index.js --format umd --name 'immutableJSONPatch' --sourcemap --output.file lib/umd/immutableJSONPatch.js && cpy tools/cjs/package.json lib/umd","build:umd:min":"uglifyjs --compress --mangle --source-map --comments --output lib/umd/immutableJSONPatch.min.js -- lib/umd/immutableJSONPatch.js","link":"npm run build","lint":"eslint src/**/*.js","build-and-test":"npm run lint && npm run build && npm run test:lib","prepublishOnly":"npm run build-and-test"},"author":{"name":"Jos de Jong"},"license":"ISC","devDependencies":{"@babel/cli":"7.12.1","@babel/core":"7.12.3","@babel/preset-env":"7.12.1","cpy-cli":"3.1.1","del-cli":"3.0.1","eslint":"7.12.1","eslint-config-standard":"16.0.1","eslint-plugin-import":"2.22.1","eslint-plugin-node":"11.1.0","eslint-plugin-promise":"4.2.1","mocha":"8.2.0","rollup":"2.33.1","uglify-js":"3.11.5"},"dependencies":{},"gitHead":"106475e92934fdd01a9843d9e0270d779afc3cfa","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","_id":"immutable-json-patch@1.0.0","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"c9fb39f5140a79df3314d0bf466873d9d28b88bf","size":33121,"noattachment":false,"key":"/immutable-json-patch/-/immutable-json-patch-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/immutable-json-patch/download/immutable-json-patch-1.0.0.tgz"},"_npmUser":{"name":"josdejong","email":"wjosdejong@gmail.com"},"directories":{},"maintainers":[{"name":"josdejong","email":"wjosdejong@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/immutable-json-patch_1.0.0_1606744534468_0.13763269966766423"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-21T20:08:43.243Z","publish_time":1606744534585,"_cnpm_publish_time":1606744534585}},"readme":"# immutable-json-patch\n\nImmutable JSON patch with support for reverting operations.\n\nFeatures:\n\n- Apply JSON patch operations on a JSON document in an immutable way.\n- Create inverse of the JSON patch operations to fully revert applied operations.\n- Hook into the operations right before and after they are executed.\n\nTry it out on a playground: https://josdejong.github.io/immutable-json-patch/\n\nSee http://jsonpatch.com/ for a clear description of the JSONPatch standard itself.\n\n\n## Install\n\n```\n$ npm install immutable-json-patch\n```\n\nNote that in the `lib` folder, there are builds for ESM, UMD, and CommonJs.\n\n## Load\n\nESM:\n\n```js\nimport { immutableJSONPatch, revertJSONPatch } from 'immutable-json-patch'\n```\n\nCommonJs:\n\n```js\nconst { immutableJSONPatch, revertJSONPatch } = require('immutable-json-patch')\n```\n\n\n## Use\n\nExample from http://jsonpatch.com/#simple-example, using `immutable-json-patch`:\n\n```js\nimport { immutableJSONPatch, revertJSONPatch } from 'immutable-json-patch'\n\nconst document = {\n  baz: 'qux',\n  foo: 'bar'\n}\nconsole.log('document', document)\n\nconst operations = [\n  { op: 'replace', path: '/baz', value: 'boo' },\n  { op: 'add', path: '/hello', value: ['world'] },\n  { op: 'remove', path: '/foo' }\n]\nconsole.log('operations', operations)\n\nconst updatedDocument = immutableJSONPatch(document, operations)\nconsole.log('updatedDocument', updatedDocument)\n// updatedDocument = {\n//   \"baz\": \"boo\",\n//   \"hello\": [\"world\"]\n// }\n\nconst reverseOperations = revertJSONPatch(document, operations)\nconsole.log('reverseOperations', reverseOperations)\n// reverseOperations = [\n//   { op: 'add', path: '/foo', value: 'bar' },\n//   { op: 'remove', path: '/hello' },\n//   { op: 'replace', path: '/baz', value: 'qux' }\n// ]\n\nconst revertedDocument = immutableJSONPatch(updatedJsonupdatedDocument, reverseOperations)\nconsole.log('revertedDocument', revertedJsonrevertedDocument)\n// revertedDocument = {\n//   \"baz\": \"qux\",\n//   \"foo\": \"bar\"\n// }\n```\n\n\n### API\n\n#### immutableJSONPatch(document, operations [, options]) => updatedDocument\n\nApply a list with JSON Patch operations to a JSON document.\n\n```ts\ndeclare function immutableJSONPatch<T, U = unknown> (document: T, operations: JSONPatchDocument, options?: JSONPatchOptions) : U\n```\n\nWhere:\n\n-   `document: T` is a JSON document\n-   `operations: JSONPatchDocument` is an array with JSONPatch operations\n-   `options: JSONPatchOptions` is an optional object allowing passing hooks `before` and `after`. With those hooks it is possible to alter the JSON document and/or applied operation before and after this is applied. This allows for example to instantiate classes or additional data structures when applying a JSON patch operation. Or you can keep certain data stats up to date. For example, it is possible to have an array with `Customer` class instances, and instantiate a `new Customer` when an `add` operation is performed. And in this library itself, the `before` callback is used to create inverse operations whilst applying the actual operations on the document.\n \n    The callbacks look like:\n\n    ```ts\n    const options = {\n      before: (document: unknown, operation: JSONPatchOperation) => {\n        console.log('before operation', { document, operation })\n        // return { document?: unknown, operation?: JSONPatchOperation } | undefined\n      },\n    \n      after: (document: unknown, operation: JSONPatchOperation, previousDocument: unknown) => {\n        console.log('after operation', { document, operation, previousDocument })\n        // return document | undefined\n      }\n    }\n    ```\n    \n    When the `before` or `after` callback returns an object with altered `document`, this will be used to apply the operation. When and altered `operation` is returned from `before` in an object, this operation will be applied instead of the original operation. \n    \nThe function returns an updated JSON document where the JSON patch operations are applied. The original JSON document is not changed.\n\n#### revertJSONPatch(document, operations, options) => reverseOperations\n\nGenerate the JSON patch operations that will revert the provided list with JSON Patch operations when applied to the provided JSON document.\n\n```ts\ndeclare function revertJSONPatch<T, U> (document: T, operations: JSONPatchDocument, options?: RevertJSONPatchOptions) : JSONPatchDocument\n```\n\nWhere:\n\n-   `document: T` is a JSON document\n-   `operations: JSONPatchDocument` is an array with JSONPatch operations\n-   `options: JSONPatchOptions` is an optional object allowing passing a hook `before`. With this hook it is possible to alter the JSON document and/or generated `reverseOperations` before this is applied.\n\nThe function returns a list with the reverse JSON Patch operations. These operations can be applied to the updated JSON document (the output of `immutableJSONPatch`) to restore the original JSON document.\n\n#### util functions\n\nThe library exposes a set of utility functions and typeguards to work with JSON pointers and to do immutable operations on JSON data:\n\n```ts\ndeclare function parsePath<T>(document: T, path: JSONPointer): JSONPath\ndeclare function parseFrom(path: JSONPointer): JSONPath\n\ndeclare function parseJSONPointer (pointer: JSONPointer) : JSONPath\ndeclare function compileJSONPointer (path: JSONPath) : JSONPointer\ndeclare function compileJSONPointerProp (pathProp: string | number) : JSONPointer\ndeclare function appendToJSONPointer (pointer: JSONPointer, pathProp: string | number) : JSONPointer\ndeclare function startsWithJSONPointer (pointer: JSONPointer, searchPointer: JSONPointer) : boolean\n\ndeclare function isJSONPatchOperation(operation: unknown): operation is JSONPatchOperation\ndeclare function isJSONPatchAdd(operation: unknown): operation is JSONPatchAdd\ndeclare function isJSONPatchRemove(operation: unknown): operation is JSONPatchRemove\ndeclare function isJSONPatchReplace(operation: unknown): operation is JSONPatchReplace\ndeclare function isJSONPatchCopy(operation: unknown): operation is JSONPatchCopy\ndeclare function isJSONPatchMove(operation: unknown): operation is JSONPatchMove\ndeclare function isJSONPatchTest(operation: unknown): operation is JSONPatchTest\n\ndeclare function getIn<T, U = unknown>(object: U, path: JSONPath) : T | undefined\ndeclare function setIn<T, U = unknown, V = unknown> (object: U, path: JSONPath, value: V, createPath = false) : T\ndeclare function updateIn<T, U = unknown, V = unknown> (object: T, path: JSONPath, transform: (value: U) => V) : T\ndeclare function deleteIn<T, U = unknown> (object: U, path: JSONPath) : T\ndeclare function existsIn<T> (document: T, path: JSONPath) : boolean\ndeclare function insertAt<T, U = unknown> (document: T, path: JSONPath, value: U) : T\ndeclare function transform <T, U = unknown, V = unknown, W = unknown> (\n  document: U, \n  callback: (document: V, path: JSONPath) => W, path: JSONPath = []\n) : T \n```\n\n### Develop\n\nTo build the library (ESM, CommonJs, and UMD output in the folder `lib`):\n\n```\n$ npm install \n$ npm run build\n```\n\nTo run the unit tests:\n\n```\n$ npm test\n```\n\nTo run the linter (biomejs):\n\n```\n$ npm run lint\n```\n\nTo run the linter, build all, and run unit tests and integration tests:\n\n```\n$ npm run build-and-test\n```\n\n\n## License\n\nReleased under the [ISC license](LICENSE.md).\n","_attachments":{},"homepage":"https://github.com/josdejong/immutable-json-patch#readme","bugs":{"url":"https://github.com/josdejong/immutable-json-patch/issues"},"license":"ISC"}