{"_id":"@types/json-patch","_rev":"388572","name":"@types/json-patch","description":"TypeScript definitions for json-patch","dist-tags":{"latest":"0.0.30","ts2.0":"0.0.30","ts2.1":"0.0.30","ts2.2":"0.0.30","ts2.3":"0.0.30","ts2.4":"0.0.30","ts2.5":"0.0.30","ts2.6":"0.0.30","ts2.7":"0.0.30","ts2.8":"0.0.30","ts2.9":"0.0.30","ts3.0":"0.0.30","ts3.1":"0.0.30","ts3.2":"0.0.30","ts3.3":"0.0.30","ts3.4":"0.0.30","ts3.5":"0.0.30","ts3.6":"0.0.30","ts3.7":"0.0.30","ts3.8":"0.0.30","ts3.9":"0.0.30","ts4.0":"0.0.30","ts4.1":"0.0.30","ts4.2":"0.0.30","ts4.3":"0.0.30","ts4.4":"0.0.30","ts4.5":"0.0.30","ts4.6":"0.0.30"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2021-11-18T20:11:12.000Z","created":"2016-05-17T05:25:19.462Z","0.0.30":"2017-08-21T21:56:53.275Z","0.0.29":"2017-04-10T21:51:38.164Z","0.0.28":"2016-09-19T17:44:37.839Z","0.0.27":"2016-07-14T15:10:05.799Z","0.0.26-alpha":"2016-07-08T20:35:35.199Z","0.0.25-alpha":"2016-07-04T00:36:50.823Z","0.0.24-alpha":"2016-07-02T02:46:19.023Z","0.0.23-alpha":"2016-07-01T23:12:49.385Z","0.0.22-alpha":"2016-07-01T19:53:23.540Z","0.0.21-alpha":"2016-05-25T05:17:51.670Z","0.0.20-alpha":"2016-05-20T19:59:43.309Z","0.0.15-alpha":"2016-05-19T21:27:57.174Z","0.0.14-alpha":"2016-05-17T05:25:19.462Z"},"users":{},"repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"versions":{"0.0.30":{"name":"@types/json-patch","version":"0.0.30","description":"TypeScript definitions for json-patch","license":"MIT","contributors":[{"name":"vvakame","url":"https://github.com/vvakame"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"8fe4b52972d95c538f682cb69fec3a734ad85fa7a73f9513bf97cc6995090bb8","typeScriptVersion":"2.0","_id":"@types/json-patch@0.0.30","dist":{"shasum":"7c562173216c50529e70126ceb8e7a533f865e9b","size":1719,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.30.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.30.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-patch-0.0.30.tgz_1503352613189_0.7488459907472134"},"directories":{},"publish_time":1503352613275,"_cnpm_publish_time":1503352613275,"_hasShrinkwrap":false},"0.0.29":{"name":"@types/json-patch","version":"0.0.29","description":"TypeScript definitions for json-patch","license":"MIT","contributors":[{"name":"vvakame","url":"https://github.com/vvakame/"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"73a234ee8984f05df1e65d6018e04158c7c9696e1be9abd316340be1efc004c2","typeScriptVersion":"2.0","_id":"@types/json-patch@0.0.29","dist":{"shasum":"b002bf6233b2bd104feba08bcb4c98b1adc9b90e","size":1048,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.29.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.29.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/json-patch-0.0.29.tgz_1491861096093_0.585268045309931"},"directories":{},"publish_time":1491861098164,"_cnpm_publish_time":1491861098164,"_hasShrinkwrap":false},"0.0.28":{"name":"@types/json-patch","version":"0.0.28","description":"TypeScript definitions for json-patch","license":"MIT","author":"vvakame <https://github.com/vvakame/>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typings":"index.d.ts","typesPublisherContentHash":"9c3c4d72dff94d8c5f5af335effb8ad68f8c84cc4919cb2e9fadf6d8e154503b","_id":"@types/json-patch@0.0.28","dist":{"shasum":"70e2ab0ffcb5c2cee607f2e4539eb30a0d9ecff5","size":1153,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.28.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.28.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-patch-0.0.28.tgz_1474307077611_0.11190079641528428"},"directories":{},"publish_time":1474307077839,"_cnpm_publish_time":1474307077839,"_hasShrinkwrap":false},"0.0.27":{"name":"@types/json-patch","version":"0.0.27","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.27","_shasum":"7c290b47ced23b3628b84a579302563cd310c131","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"dist":{"shasum":"7c290b47ced23b3628b84a579302563cd310c131","size":1135,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.27.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.27.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-patch-0.0.27.tgz_1468509003675_0.8907621277030557"},"directories":{},"publish_time":1468509005799,"_cnpm_publish_time":1468509005799,"_hasShrinkwrap":false},"0.0.26-alpha":{"name":"@types/json-patch","version":"0.0.26-alpha","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.26-alpha","_shasum":"610a640bad364d3ee8c45a7961718cdccfdd1fc6","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"610a640bad364d3ee8c45a7961718cdccfdd1fc6","size":1135,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.26-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.26-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-patch-0.0.26-alpha.tgz_1468010132319_0.8419299395754933"},"directories":{},"publish_time":1468010135199,"_cnpm_publish_time":1468010135199,"_hasShrinkwrap":false},"0.0.25-alpha":{"name":"@types/json-patch","version":"0.0.25-alpha","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.25-alpha","_shasum":"a81b882947f43459c3104bac860384376cb19e3c","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.7.2","_nodeVersion":"6.2.1","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"a81b882947f43459c3104bac860384376cb19e3c","size":1142,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.25-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.25-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-patch-0.0.25-alpha.tgz_1467592607590_0.34228321514092386"},"directories":{},"publish_time":1467592610823,"_cnpm_publish_time":1467592610823,"_hasShrinkwrap":false},"0.0.24-alpha":{"name":"@types/json-patch","version":"0.0.24-alpha","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.24-alpha","_shasum":"438fd5e1fe6af7865245efb83c273567d48fed5d","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.7.2","_nodeVersion":"6.2.1","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"438fd5e1fe6af7865245efb83c273567d48fed5d","size":1133,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.24-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.24-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-patch-0.0.24-alpha.tgz_1467427575568_0.3161476713139564"},"directories":{},"publish_time":1467427579023,"_cnpm_publish_time":1467427579023,"_hasShrinkwrap":false},"0.0.23-alpha":{"name":"@types/json-patch","version":"0.0.23-alpha","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.23-alpha","_shasum":"e41c130aa964ef5567356e35c55fea17e8bf430d","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.7.2","_nodeVersion":"6.2.1","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"e41c130aa964ef5567356e35c55fea17e8bf430d","size":1135,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.23-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.23-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-patch-0.0.23-alpha.tgz_1467414767118_0.009573616785928607"},"directories":{},"publish_time":1467414769385,"_cnpm_publish_time":1467414769385,"_hasShrinkwrap":false},"0.0.22-alpha":{"name":"@types/json-patch","version":"0.0.22-alpha","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.22-alpha","_shasum":"16f4cac3e0431da5717989b7e37f355c07ff8bf2","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"16f4cac3e0431da5717989b7e37f355c07ff8bf2","size":1135,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.22-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.22-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-patch-0.0.22-alpha.tgz_1467402801083_0.2753548240289092"},"directories":{},"publish_time":1467402803540,"_cnpm_publish_time":1467402803540,"_hasShrinkwrap":false},"0.0.21-alpha":{"name":"@types/json-patch","version":"0.0.21-alpha","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.21-alpha","_shasum":"1c462dbbe50a2c851e081692e09a67c6bb4d05eb","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.8.2","_nodeVersion":"5.5.0","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"1c462dbbe50a2c851e081692e09a67c6bb4d05eb","size":1114,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.21-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.21-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-patch-0.0.21-alpha.tgz_1464153471196_0.6278480703476816"},"directories":{},"publish_time":1464153471670,"_cnpm_publish_time":1464153471670,"_hasShrinkwrap":false},"0.0.20-alpha":{"name":"@types/json-patch","version":"0.0.20-alpha","description":"TypeScript definitions for json-patch","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.20-alpha","_shasum":"00efde27854afebcdb1ac2729314128101ae489a","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.8.2","_nodeVersion":"5.5.0","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"00efde27854afebcdb1ac2729314128101ae489a","size":1114,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.20-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.20-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/json-patch-0.0.20-alpha.tgz_1463774380839_0.38744221720844507"},"directories":{},"publish_time":1463774383309,"_cnpm_publish_time":1463774383309,"_hasShrinkwrap":false},"0.0.15-alpha":{"name":"@types/json-patch","version":"0.0.15-alpha","description":"Type definitions for json-patch from https://www.github.com/DefinitelyTyped/DefinitelyTyped","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.15-alpha","_shasum":"9f0c22887c4ea4866ee6584986d2c080a1629330","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.8.2","_nodeVersion":"5.5.0","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"9f0c22887c4ea4866ee6584986d2c080a1629330","size":1124,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.15-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.15-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-patch-0.0.15-alpha.tgz_1463693272091_0.7778193657286465"},"directories":{},"publish_time":1463693277174,"_cnpm_publish_time":1463693277174,"_hasShrinkwrap":false},"0.0.14-alpha":{"name":"@types/json-patch","version":"0.0.14-alpha","description":"Type definitions for json-patch from https://www.github.com/DefinitelyTyped/DefinitelyTyped","main":"","scripts":{},"author":{"name":"vvakame","email":"https://github.com/vvakame/"},"license":"MIT","typings":"index.d.ts","dependencies":{},"_id":"@types/json-patch@0.0.14-alpha","_shasum":"22afa94be2199317a1ef2f9a9b3ac0cda73144e3","_from":"output\\json-patch","_resolved":"file:output\\json-patch","_npmVersion":"3.8.2","_nodeVersion":"5.5.0","_npmUser":{"name":"types","email":"ryan.cavanaugh@microsoft.com"},"dist":{"shasum":"22afa94be2199317a1ef2f9a9b3ac0cda73144e3","size":1118,"noattachment":false,"key":"/@types/json-patch/-/@types/json-patch-0.0.14-alpha.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/json-patch/download/@types/json-patch-0.0.14-alpha.tgz"},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/json-patch-0.0.14-alpha.tgz_1463462715839_0.7066815751604736"},"directories":{},"publish_time":1463462719462,"_cnpm_publish_time":1463462719462,"_hasShrinkwrap":false}},"readme":"# Installation\r\n> `npm install --save @types/json-patch`\r\n\r\n# Summary\r\nThis package contains type definitions for json-patch (https://github.com/bruth/jsonpatch-js).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-patch.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-patch/index.d.ts)\r\n````ts\r\ndeclare namespace jsonpatch {\n    type OpPatch = AddPatch | RemovePatch | ReplacePatch | MovePatch | CopyPatch | TestPatch;\n    interface Patch {\n        path: string;\n    }\n    interface AddPatch extends Patch {\n        op: \"add\";\n        value: any;\n    }\n    interface RemovePatch extends Patch {\n        op: \"remove\";\n    }\n    interface ReplacePatch extends Patch {\n        op: \"replace\";\n        value: any;\n    }\n    interface MovePatch extends Patch {\n        op: \"move\";\n        from: string;\n    }\n    interface CopyPatch extends Patch {\n        op: \"copy\";\n        from: string;\n    }\n    interface TestPatch extends Patch {\n        op: \"test\";\n        value: any;\n    }\n\n    function apply(document: any, patches: OpPatch[]): any;\n    function compile(patches: OpPatch[]): (document: any) => any;\n\n    class JSONPatchError extends Error {}\n    class InvalidPointerError extends Error {}\n    class InvalidPatchError extends JSONPatchError {}\n    class PatchConflictError extends JSONPatchError {}\n    class PatchTestFailed extends Error {}\n}\n\nexport = jsonpatch;\nexport as namespace jsonpatch;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 03:09:37 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [vvakame](https://github.com/vvakame).\r\n","_attachments":{},"license":"MIT"}