{"_id":"@x-oasis/diff-match-patch","_rev":"27-24fecf590b6a20f3bd18d24dfe57b3f9","name":"@x-oasis/diff-match-patch","dist-tags":{"latest":"0.14.0"},"versions":{"0.1.0":{"name":"@x-oasis/diff-match-patch","version":"0.1.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.1.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"ccbaa75510f232f049a9b88269d337710cd1e5fc","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.1.0.tgz","fileCount":29,"integrity":"sha512-0/4/9D3UJD2eupwnHxUdzd1JqirN/1dwk0IVPLeeNKVsiu2376vov3t2EZAzFOeTJG0jZ+gBxAvdOXBoVTB+Ww==","signatures":[{"sig":"MEQCIF2qAsdG/q4SMcChi/DJLdB6caWik16OyJqmKCKtHykqAiBXs2GgDFlXz2yqxFMncrBRvz4dJ+2VwL6sIdGkBS3Ufw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":109223},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.1.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/16484585b37e57e65c941ae372c3c240/x-oasis-diff-match-patch-0.1.0.tgz","_integrity":"sha512-0/4/9D3UJD2eupwnHxUdzd1JqirN/1dwk0IVPLeeNKVsiu2376vov3t2EZAzFOeTJG0jZ+gBxAvdOXBoVTB+Ww==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.1.0_1769442657419_0.12878822325846362","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@x-oasis/diff-match-patch","version":"0.1.1","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.1.1","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"43031be1bbba9235c72f66cb2ca7f40596cd1089","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.1.1.tgz","fileCount":30,"integrity":"sha512-Q229LvCRpN9UTgml6ekiD4qxKlWuZxRguLOQVz4JrX/gcJXMvWtKkK8KjGzW04VOacfJ6ZOX0TEUAP8y+r3ifw==","signatures":[{"sig":"MEQCIFMf0jUMya+aS4mgGgqfC8gayLdb/dRKfAViGqu492U8AiAVr3JRExQQF0iBR7Uv582tsC2mkoZQY74+IY+WPkwp4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":109965},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.1.1.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/76895e337a41bbb2f957c2c1f46eb824/x-oasis-diff-match-patch-0.1.1.tgz","_integrity":"sha512-Q229LvCRpN9UTgml6ekiD4qxKlWuZxRguLOQVz4JrX/gcJXMvWtKkK8KjGzW04VOacfJ6ZOX0TEUAP8y+r3ifw==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.1.1_1769648962223_0.05696011309671878","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@x-oasis/diff-match-patch","version":"0.1.2","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.1.2","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"a7adf7e5c2da233e77b25a3b72c4585ce98e3c2c","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.1.2.tgz","fileCount":30,"integrity":"sha512-bR1b7JcVEiWX2t4PlQaCbvGYvw857U/RBJEeo2SeznOZUnEz+0wCZRf9jv5b64ZyWO6BrKD8MIaGHDNrZgMsCQ==","signatures":[{"sig":"MEYCIQCH069vkMn09JvLI6v1amLHEC5JdNhaJLsszZjEn3XVpgIhAKHm8A2iABwDxXr+qp4YE0MYC2mINbe9yyU5XuYyGty0","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126972},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.1.2.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/72a871c18cef96ff21ed8b446bf66f15/x-oasis-diff-match-patch-0.1.2.tgz","_integrity":"sha512-bR1b7JcVEiWX2t4PlQaCbvGYvw857U/RBJEeo2SeznOZUnEz+0wCZRf9jv5b64ZyWO6BrKD8MIaGHDNrZgMsCQ==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.1.2","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.1.2_1769700026720_0.10799332387616078","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@x-oasis/diff-match-patch","version":"0.1.3","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.1.3","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"050587b67cccd84da44ae92ac5deff135cb725a5","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.1.3.tgz","fileCount":30,"integrity":"sha512-Rra7i357Np/WY6HZN836Zrl5S75FzfGLPJCfTGtg70U79ywCKT5jO414zEo+Q1o1UR6ZOP8Hbi+JAWZSv0ccAA==","signatures":[{"sig":"MEYCIQCF1uY+PbhYKTxYhewg1KCFYdj5axgHTUly5oOkxotUTgIhAO8FdWW91wnbtcLIKTme/8QirgBgH/zHW+V/vGr8LXBH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":126401},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.1.3.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/6222036daf5297d24136bcaad1f25994/x-oasis-diff-match-patch-0.1.3.tgz","_integrity":"sha512-Rra7i357Np/WY6HZN836Zrl5S75FzfGLPJCfTGtg70U79ywCKT5jO414zEo+Q1o1UR6ZOP8Hbi+JAWZSv0ccAA==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.1.3","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.1.3_1769702747597_0.6361778760083758","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@x-oasis/diff-match-patch","version":"0.1.4","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.1.4","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"ccac071d59e6863d093479cbdb7dfaf39d3e129b","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.1.4.tgz","fileCount":30,"integrity":"sha512-+kGwbyh5lmKgZ4MXBukKFk1xGz5Ivkq3qYgz++ZC6+MwEIdvtplqHg0y5hf98VApseBhNepoT+qI9Qx2gxVqRg==","signatures":[{"sig":"MEUCIFKaatad0VfXzedRHv3KQmK7awWbYB0WyPX7Nf8hVerLAiEA3bYLTNHYyqrtd1QGadOzEeb53gYSEGaV4sUk5FUwYEI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":127533},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.1.4.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/70b7cd648b9da0cd320fc62972b4448d/x-oasis-diff-match-patch-0.1.4.tgz","_integrity":"sha512-+kGwbyh5lmKgZ4MXBukKFk1xGz5Ivkq3qYgz++ZC6+MwEIdvtplqHg0y5hf98VApseBhNepoT+qI9Qx2gxVqRg==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.1.4","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.1.4_1769703280714_0.5047413712491817","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@x-oasis/diff-match-patch","version":"0.2.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.2.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"9c6cc921468e04b9f98d79eb81a9c6b939fa2943","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.2.0.tgz","fileCount":30,"integrity":"sha512-YKhconsKJmqyD18SfigW4zYxrr+c8eibgysGUOKBfKGKbyc89qSrqGtXzXuTBSG2/arpr2uvysjFB+uAvclYjQ==","signatures":[{"sig":"MEYCIQD5VL52Hg6xH8FMFMbeHmC0QH0tTUgcyWobfy+IzWsJnQIhAJh+l6Wv6tLoSYhttY9I6sRmU5wzz6v8qpDV5+hiq14U","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129287},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.2.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/30719462a9c85e9fbd48e7c9595aa5ac/x-oasis-diff-match-patch-0.2.0.tgz","_integrity":"sha512-YKhconsKJmqyD18SfigW4zYxrr+c8eibgysGUOKBfKGKbyc89qSrqGtXzXuTBSG2/arpr2uvysjFB+uAvclYjQ==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.2.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.2.0_1770141212018_0.8192016622807738","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@x-oasis/diff-match-patch","version":"0.2.1","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.2.1","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"be3cdeebbd722109ce7a2c491507a54839704c7a","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.2.1.tgz","fileCount":30,"integrity":"sha512-wTAd9fnvdjIJrL/FFwSDUtfh8iuHMZM0ekeLahcSX355JCHF5+Q5QkOBT1C/sAQBJ4k+qYzoTzZWbMRwWRmIQA==","signatures":[{"sig":"MEUCIQDW/SL2XUrdNsHGAjdzeO0qhSrV/7umaPHgNB/XrZodqwIgaIHbjBrBoosx2ePYzsCMfCzsQm4zgNvh5eG8tHcCEjw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129579},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.2.1.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/0326bf64207194633e174ab59e135189/x-oasis-diff-match-patch-0.2.1.tgz","_integrity":"sha512-wTAd9fnvdjIJrL/FFwSDUtfh8iuHMZM0ekeLahcSX355JCHF5+Q5QkOBT1C/sAQBJ4k+qYzoTzZWbMRwWRmIQA==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.2.1","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.2.1_1770196842617_0.363919887738958","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@x-oasis/diff-match-patch","version":"0.2.2","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.2.2","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"6795a5c5bc8f84a5992194f30601457ee650534c","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.2.2.tgz","fileCount":30,"integrity":"sha512-Ceav1tMXJAO9MqVByU97oazRNCtcxDfamxo0DPja0O+ZcW2FCePiYTu91u9LneXpw9GkLSfhjbM0OV1T01no+g==","signatures":[{"sig":"MEUCIQCh6Y74MJBzIFz0gqDLJuYgfODBK6FH6l/iwaAv4TBijQIgUzXJItiEk34BCMxkWYL2fcTd/d/Cl2gl45jbpndRDak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129637},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.2.2.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/54a450a26797f1fce6109a1310af95e3/x-oasis-diff-match-patch-0.2.2.tgz","_integrity":"sha512-Ceav1tMXJAO9MqVByU97oazRNCtcxDfamxo0DPja0O+ZcW2FCePiYTu91u9LneXpw9GkLSfhjbM0OV1T01no+g==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.2.2","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.2.2_1770198213330_0.9270403272199681","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@x-oasis/diff-match-patch","version":"0.2.3","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.2.3","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"45e1990ba3c1bfb886f73877c59ee11aeac04883","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.2.3.tgz","fileCount":30,"integrity":"sha512-6Ie3zVDTouddmMJ8EGY9Z+XtFUULPS8VCJbFotBo1LuwSHlKIfY1I1c+3H2WrbF88yi9xPy/0NH1Fu1Q+TrqZA==","signatures":[{"sig":"MEUCICjvU9Qk9/e8wgXftZKEgzj4lc6Mv1+Sw+bVoZ1a6+94AiEA8oW3nqf3AeYt1XFJngZd2c/8/MgsPDg+Fbp/93MG7DY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":129693},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.2.3.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/b93496455d9c87a07c3041d33f20df49/x-oasis-diff-match-patch-0.2.3.tgz","_integrity":"sha512-6Ie3zVDTouddmMJ8EGY9Z+XtFUULPS8VCJbFotBo1LuwSHlKIfY1I1c+3H2WrbF88yi9xPy/0NH1Fu1Q+TrqZA==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.2.3","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.2.3_1770204786387_0.6089560578341349","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@x-oasis/diff-match-patch","version":"0.2.4","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.2.4","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"9cba2b9cc1330d0eb2de475c128b79dc05f7b443","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.2.4.tgz","fileCount":30,"integrity":"sha512-sywybXWxmVQ56jzscgtR1UHpdVdxLVvRJKc8dnhN/XvJkZ3D9x23ptKhhFjQ4difg/wa8RApgSG4/P1UQL6qDw==","signatures":[{"sig":"MEUCIQCtE26N83awDEZ9n4sFOzw5MCzWXjXKAB/DsXRF+AFU0AIgLqetCwOmSIht2LTdWZTPdVqc8hBJt47tdk7uO5DIkZI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130141},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.2.4.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/0613c2de928595c73cf4868abfb4dd35/x-oasis-diff-match-patch-0.2.4.tgz","_integrity":"sha512-sywybXWxmVQ56jzscgtR1UHpdVdxLVvRJKc8dnhN/XvJkZ3D9x23ptKhhFjQ4difg/wa8RApgSG4/P1UQL6qDw==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.2.4","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.2.4_1770297367787_0.17208832053238998","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@x-oasis/diff-match-patch","version":"0.2.5","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.2.5","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"07a8bba24e7f0cff13d23f8e6050b63502c4ebfb","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.2.5.tgz","fileCount":30,"integrity":"sha512-JTmqgVMCGGUToTMQ0qWTeF0X2hicnVPeSqtRrt4alUjX+M5wpFmkgWUoZOhYY7qs7WeHnmgQkEKO4M5rVo6xdQ==","signatures":[{"sig":"MEYCIQDv95qSqMKSMNZB17/nIIpGCbYZF6Vw4JwBXHvs90n4xwIhALiEvc2slTu9SQ5xjSfqou02qAC5b9t8ePfsy8wWgYOB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130313},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.2.5.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/e0cc40ce125774356ee328e1a8eb0bf9/x-oasis-diff-match-patch-0.2.5.tgz","_integrity":"sha512-JTmqgVMCGGUToTMQ0qWTeF0X2hicnVPeSqtRrt4alUjX+M5wpFmkgWUoZOhYY7qs7WeHnmgQkEKO4M5rVo6xdQ==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.2.5","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.2.5_1772293244067_0.5331892246872341","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@x-oasis/diff-match-patch","version":"0.3.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.3.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"df843cd4ee2f37cc929e0160771d4d6e36601be6","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.3.0.tgz","fileCount":30,"integrity":"sha512-ItUWx3nPujuyLKMbk4LWRYL/DrI0kMp7N2OWv5KN0mkD5g8UdO59SsrY3APqYKSJ0rFxy4K6H4mMP3tKuaZ21w==","signatures":[{"sig":"MEYCIQCBrATModXCdJCzoWQNeCoF84EKqazE05K8+Wd38F+XQgIhAJqUCug+aZ8xwCYa4vMrtrxd8y3D9jXNn6fuhluoOSWs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":130693},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.3.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/5333ff87c85c7a68c22c3a4499cca88c/x-oasis-diff-match-patch-0.3.0.tgz","_integrity":"sha512-ItUWx3nPujuyLKMbk4LWRYL/DrI0kMp7N2OWv5KN0mkD5g8UdO59SsrY3APqYKSJ0rFxy4K6H4mMP3tKuaZ21w==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.3.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.3.0_1777516582296_0.8894036762521043","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@x-oasis/diff-match-patch","version":"0.4.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.4.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"aa9ad4e9b347d4f00a3ad3915509b71d8d4331c8","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.4.0.tgz","fileCount":31,"integrity":"sha512-7a0z9YuUKdm3gu2NREnugJlZkO4zjcmPtK00dvIcMGBkoJvF2cvXVqIA2RIxNkb4S7USXNRHS1xM3XiJSjej+Q==","signatures":[{"sig":"MEUCIQCTBntkXzgzw3a92+5ZTum5IjSLPpz3dHc40kEKk5i1JwIgdA8C/Gmzywi6ROXIq6oD/t/OudQeQ0rtlRisaSfMFT4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132503},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.4.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/307da49031427e72451ef1d02bb16645/x-oasis-diff-match-patch-0.4.0.tgz","_integrity":"sha512-7a0z9YuUKdm3gu2NREnugJlZkO4zjcmPtK00dvIcMGBkoJvF2cvXVqIA2RIxNkb4S7USXNRHS1xM3XiJSjej+Q==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.4.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.4.0_1777826735744_0.34398143650742075","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@x-oasis/diff-match-patch","version":"0.5.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.5.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"7ededbe75f648904148b9ebdc0d2572e1741f0db","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.5.0.tgz","fileCount":31,"integrity":"sha512-KakVFfzF4jIQp0C+ZEG8zZ9xO7LhJIYEspYdS3IhnggSPWLk4sDdKJXpc1qI4zCrzDywyJq8sJGViHYyODkXbw==","signatures":[{"sig":"MEQCIFbZA/pu1CSBti7CG43TtwxrFOc4tOFpHbrJcTqNEN8JAiBCsmGJixDdh84Yx4ZUipzioTyB1lyqfIqN7ntyYrCCKg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132833},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.5.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/8e79a761facc5aa507a01c3f36c63402/x-oasis-diff-match-patch-0.5.0.tgz","_integrity":"sha512-KakVFfzF4jIQp0C+ZEG8zZ9xO7LhJIYEspYdS3IhnggSPWLk4sDdKJXpc1qI4zCrzDywyJq8sJGViHYyODkXbw==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.5.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.5.0_1778203845998_0.9680978623577134","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@x-oasis/diff-match-patch","version":"0.6.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.6.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"df29158ec4593f2c0a55420beb33bef2f9d3bf64","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.6.0.tgz","fileCount":31,"integrity":"sha512-G+OrcWmSUwvIxsMraYZ6wwsSuv5t/75eoJu0b+AReM18gEHQJubYulkymtUyq1kZIYq8o/OHgwjryOMryNAEfw==","signatures":[{"sig":"MEUCIQDNQiic+aQobN8k+LNK08iGsm4BGqrX6cvfi230yRfQ7gIgPvr6QFXLD18vYXxzA8KsN8MeK+BwtS5eXA4xw5LIgk4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133005},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.6.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/c45801821fc4b6879a3dc6c94a73061e/x-oasis-diff-match-patch-0.6.0.tgz","_integrity":"sha512-G+OrcWmSUwvIxsMraYZ6wwsSuv5t/75eoJu0b+AReM18gEHQJubYulkymtUyq1kZIYq8o/OHgwjryOMryNAEfw==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.6.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.6.0_1778262093206_0.9087570479168097","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@x-oasis/diff-match-patch","version":"0.7.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.7.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"bd06f456f739fc250b405527d69aac37dacd95f8","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.7.0.tgz","fileCount":31,"integrity":"sha512-bK0EOg6D6001eBv3rITSKO+MRzXxjSxyANKRurM3Yt7oQhm1OcpLVxQyUMTQNG1PzPs8z0ZTONEKikCh7J26hw==","signatures":[{"sig":"MEUCIGd0iXJB5G+iaspmrx7w+rKqQ4ykks20R3BPAjgvPnHmAiEA+7bH1qSs6251E7JO0pgNjLQ2JCuLwRNMe8gjGAT72EM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133066},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.7.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/126bc021ef7b3f86ce2a784360487994/x-oasis-diff-match-patch-0.7.0.tgz","_integrity":"sha512-bK0EOg6D6001eBv3rITSKO+MRzXxjSxyANKRurM3Yt7oQhm1OcpLVxQyUMTQNG1PzPs8z0ZTONEKikCh7J26hw==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.7.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.7.0_1778264041605_0.926292774875024","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@x-oasis/diff-match-patch","version":"0.8.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.8.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"f8c93a0aef169d357163391a7cdf1f6c51f39e7f","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.8.0.tgz","fileCount":31,"integrity":"sha512-TUPz93MR+35mX6blYFdrj02hYtn17Wo0jkdH9lr+eqvdsk1nfAuiV45paVcZSs+mdNWeqGRF3mlqSnG4OygPqQ==","signatures":[{"sig":"MEUCIAdGlnkKEr45sj4JS1tfvY+DSb8NB1D/i6Qo0ovtUnv9AiEAq1lDB5X1Na1L+l6Y/bMRJacUXRSa4IK7+OPTFl3038M=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133248},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.8.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/c9eb35da833504ba694b6577794d1604/x-oasis-diff-match-patch-0.8.0.tgz","_integrity":"sha512-TUPz93MR+35mX6blYFdrj02hYtn17Wo0jkdH9lr+eqvdsk1nfAuiV45paVcZSs+mdNWeqGRF3mlqSnG4OygPqQ==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.8.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.8.0_1778311619995_0.5897486319929544","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@x-oasis/diff-match-patch","version":"0.8.1","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.8.1","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"2730b140f937d7509f2bdba6d606bf1cf61232e0","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.8.1.tgz","fileCount":31,"integrity":"sha512-3leizvOrmHdZgdCcklpEyTYwYcvwztE6UqX/cu9bGDDbT3L9xZYJcpi3cylSYGnaynbk6xJ9X74ri6yZURlNng==","signatures":[{"sig":"MEYCIQCJSLSXpjIYy6WWA2ZkxPQ4uIVCBKVJe7LOddMY8QinTAIhAPLMWNUydfT62+vuSd1T24T2EjZJzpsPeWJNLE29aay5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133448},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.8.1.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/383543dbd41b7303724b2e4aa59c4199/x-oasis-diff-match-patch-0.8.1.tgz","_integrity":"sha512-3leizvOrmHdZgdCcklpEyTYwYcvwztE6UqX/cu9bGDDbT3L9xZYJcpi3cylSYGnaynbk6xJ9X74ri6yZURlNng==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.8.1","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.8.1_1778315926849_0.3960563712482883","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@x-oasis/diff-match-patch","version":"0.9.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.9.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"a0ff3ccb7e54d524cc60305663cded8312bc48fa","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.9.0.tgz","fileCount":31,"integrity":"sha512-sYZj7MtTuLQ1kRjGOf148jfjmXD84Mar2nPtdrpIkXh1ql3hYY48HG7E8gDXv0+bEjimEB/RRSUEVVUG8XinZA==","signatures":[{"sig":"MEQCIHcZ44ixw2ZIcMEUPgcbSvOTrO1Sg5PqcJoC8FD8Qtm+AiBk8LiiZ9OtO+H+FV3/PT3VAV9nzqtTYPLmrDObUB8iSw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133665},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.9.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/7175b846fdada7e2f8e3f44ce3d0c55f/x-oasis-diff-match-patch-0.9.0.tgz","_integrity":"sha512-sYZj7MtTuLQ1kRjGOf148jfjmXD84Mar2nPtdrpIkXh1ql3hYY48HG7E8gDXv0+bEjimEB/RRSUEVVUG8XinZA==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.9.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.9.0_1778337742388_0.7307497412533106","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@x-oasis/diff-match-patch","version":"0.10.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.10.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"48539d6a21eb1c86e1416013f962b50e2b83a370","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.10.0.tgz","fileCount":30,"integrity":"sha512-wCYQkUStf32O3rhsdYwsJ2VCn9kH8UMAHDj1HxvYl6UmcrYirwetheCNBgLW/ZrStzH5cdEdryC0Gh0f8nNiuw==","signatures":[{"sig":"MEUCIGWF+qOBjh5Cz9D1VCSpUJn0rjHhbthNNwMJpGL9JerdAiEAtumLf5KmS5nEklsvAc5VcISOH6U+VtmfT9a7XfMZHus=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":132972},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.10.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/32033faf460906756dee332601c37bf8/x-oasis-diff-match-patch-0.10.0.tgz","_integrity":"sha512-wCYQkUStf32O3rhsdYwsJ2VCn9kH8UMAHDj1HxvYl6UmcrYirwetheCNBgLW/ZrStzH5cdEdryC0Gh0f8nNiuw==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.10.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.10.0_1778418499691_0.4260275851716009","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@x-oasis/diff-match-patch","version":"0.11.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.11.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"111068763409fe3830fa2ebc837158ca65a8eec7","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.11.0.tgz","fileCount":30,"integrity":"sha512-rpnkobrwSrTuPM0Mm2Ur28t7P+3MmQoInW43pmCw3n/1U0EiRi0e1H0da+X7bWXV9hofrWK4KKTwLNKD9OXuVQ==","signatures":[{"sig":"MEYCIQCn2nEBDpGjQZZ3+ZL7QpOuUL3gqVVn6fXzkZ+P+V0zNAIhAJxccKL6eotabQFwtPvpTH+v+yifKNuyn3Oma2BZsfwq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133061},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.11.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/1a639ef522a2f290671e81a9c976fc40/x-oasis-diff-match-patch-0.11.0.tgz","_integrity":"sha512-rpnkobrwSrTuPM0Mm2Ur28t7P+3MmQoInW43pmCw3n/1U0EiRi0e1H0da+X7bWXV9hofrWK4KKTwLNKD9OXuVQ==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.11.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.11.0_1778507089723_0.6315328202615902","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@x-oasis/diff-match-patch","version":"0.12.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.12.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"dbcfadd6db0eae51e3c655235c19b81d3ab9b1eb","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.12.0.tgz","fileCount":30,"integrity":"sha512-yNF1JZ81Ow8gYLi5QTodJJ0GdbgJJHwp9ful9+mO8UG1xWsdxKdYvrZpw4K2KZwSFQkzYeqOMlhG9yTYJKQXJg==","signatures":[{"sig":"MEYCIQC7wl+fCEY+p2X9/YE+02bfc2J2+YApLnJi555vQ2PkjgIhAKcy9jgW9QeghjT3smkVHm1Vggy30pkSQKZbPiK4BzNo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133287},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.12.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/4097d740e5bc3fd08ca2123dd0d13ce5/x-oasis-diff-match-patch-0.12.0.tgz","_integrity":"sha512-yNF1JZ81Ow8gYLi5QTodJJ0GdbgJJHwp9ful9+mO8UG1xWsdxKdYvrZpw4K2KZwSFQkzYeqOMlhG9yTYJKQXJg==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.12.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.12.0_1778663421853_0.8181785422584327","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@x-oasis/diff-match-patch","version":"0.13.0","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.13.0","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"9516593f89c5073b5374e9c3b16ae53ed57d090b","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.13.0.tgz","fileCount":30,"integrity":"sha512-qpnCMpzFWDMlu9nrSB+a/7Ii+BxnhhEie+fBbHkl+du1eX09H4eD32j4Quem5XjB1rzCIN3SiyDUzTji5cbx5g==","signatures":[{"sig":"MEQCIAybHKslc3nandrosyY8Ql90hf19pqBEDRON+9XMD8dZAiBRyMTp3Nu4Kyps2XyNBdtte+gsdcl64vji6b2r++zrdw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133422},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.13.0.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/edd039c22d432b2223b85c727ee8f937/x-oasis-diff-match-patch-0.13.0.tgz","_integrity":"sha512-qpnCMpzFWDMlu9nrSB+a/7Ii+BxnhhEie+fBbHkl+du1eX09H4eD32j4Quem5XjB1rzCIN3SiyDUzTji5cbx5g==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.13.0","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.13.0_1778666922983_0.23176479563125407","host":"s3://npm-registry-packages-npm-production"}},"0.13.1":{"name":"@x-oasis/diff-match-patch","version":"0.13.1","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.13.1","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"63d68ed444307ca7d744464490ce849504edf7b4","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.13.1.tgz","fileCount":30,"integrity":"sha512-BMgsZyjEcZG66zlR6W5Fo310Yic9fTF2bt+eriGagZeoTM/AzKavOvUwr2Ahj26YfF8SQGFrJqjGCRAnOIHHVQ==","signatures":[{"sig":"MEYCIQDs0xLuMLssVFZhC6Fk0IhaKPXVT3/S8f7cneB+nOdD9wIhAIlh7NmHvsPdVPTl3Ip004caQ6EdcvpjrPjdpIWas+f9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133454},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.13.1.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/5f67a7af7f3b422621ac478c617c531b/x-oasis-diff-match-patch-0.13.1.tgz","_integrity":"sha512-BMgsZyjEcZG66zlR6W5Fo310Yic9fTF2bt+eriGagZeoTM/AzKavOvUwr2Ahj26YfF8SQGFrJqjGCRAnOIHHVQ==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.13.1","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.13.1_1778750217098_0.19624599853614844","host":"s3://npm-registry-packages-npm-production"}},"0.13.2":{"name":"@x-oasis/diff-match-patch","version":"0.13.2","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.13.2","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"f6181e879ed2fe79990aa4439e90be892942d55d","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.13.2.tgz","fileCount":30,"integrity":"sha512-G1RInKWz6L84sDb0avrey3dqhdiYHKHVBqxdpBWZ5LPDY6HYU2StSWAz3YWZtsmBkBdllN+7KSz0rgkU5kpJHg==","signatures":[{"sig":"MEQCIHc7CIGJlQ9wrAlSwIyvsZk7P8P6yBgXx9HhSz75eyiDAiAlGeLP4ikLihHo4Gx/83qeGSADFeOLcO7XeimbHNsR3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133745},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.13.2.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/5bf6695770055bd290dd57e2f3bc1302/x-oasis-diff-match-patch-0.13.2.tgz","_integrity":"sha512-G1RInKWz6L84sDb0avrey3dqhdiYHKHVBqxdpBWZ5LPDY6HYU2StSWAz3YWZtsmBkBdllN+7KSz0rgkU5kpJHg==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.13.2","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.13.2_1778756508852_0.19112554829524164","host":"s3://npm-registry-packages-npm-production"}},"0.13.3":{"name":"@x-oasis/diff-match-patch","version":"0.13.3","author":"","license":"ISC","_id":"@x-oasis/diff-match-patch@0.13.3","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"dist":{"shasum":"a334fcf4e9335aa86783a73956c1c9967fb8f475","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.13.3.tgz","fileCount":30,"integrity":"sha512-CWHJSrDCTukv433X0Wrw8o8mFYmkEo90CINd47NTrSZnfQ2w6QxHlj9rICFEzfFomoCONDvbzmoM+UNckDwRag==","signatures":[{"sig":"MEUCIQCjkntYULbm+1rICqm/MCLR1nloQs0wXcz+lNyZOuoZMQIgELtYVdt2jSzKGdjaj9cQEpcnxqnia3Dbpn0O00tAjJU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":133781},"main":"dist/index.js","_from":"file:x-oasis-diff-match-patch-0.13.3.tgz","module":"dist/diff-match-patch.esm.js","scripts":{"test":"vitest","build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","compile":"tsc -p tsconfig.build.json"},"typings":"dist/index.d.ts","_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"_resolved":"/tmp/1d7f323618e119ce777d73f0d8e49ae3/x-oasis-diff-match-patch-0.13.3.tgz","_integrity":"sha512-CWHJSrDCTukv433X0Wrw8o8mFYmkEo90CINd47NTrSZnfQ2w6QxHlj9rICFEzfFomoCONDvbzmoM+UNckDwRag==","_npmVersion":"10.8.2","description":"Restore file content to original version based on offset range","directories":{},"_nodeVersion":"18.20.8","dependencies":{"@x-oasis/log":"0.13.3","diff-match-patch":"^1.0.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1"},"_npmOperationalInternal":{"tmp":"tmp/diff-match-patch_0.13.3_1778767718260_0.7628351435413199","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@x-oasis/diff-match-patch","version":"0.14.0","description":"Restore file content to original version based on offset range","main":"dist/index.js","typings":"dist/index.d.ts","module":"dist/diff-match-patch.esm.js","publishConfig":{"access":"public"},"author":"","license":"ISC","devDependencies":{"tsdx":"^0.14.1"},"dependencies":{"diff-match-patch":"^1.0.5","@x-oasis/log":"0.14.0"},"scripts":{"build":"tsdx build --tsconfig tsconfig.build.json","clean":"rimraf ./dist","test":"vitest","compile":"tsc -p tsconfig.build.json"},"_id":"@x-oasis/diff-match-patch@0.14.0","_integrity":"sha512-Ock8Q7cGi/sen95+H9EzcDgXGC18eNIX+AYWwQFeUv7pbcDcZAvQuarmC3hIhjixzxaO5eshojQEbAMBAc5q7g==","_resolved":"/tmp/3288cb3b08acb30a0b2409357621fea4/x-oasis-diff-match-patch-0.14.0.tgz","_from":"file:x-oasis-diff-match-patch-0.14.0.tgz","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Ock8Q7cGi/sen95+H9EzcDgXGC18eNIX+AYWwQFeUv7pbcDcZAvQuarmC3hIhjixzxaO5eshojQEbAMBAc5q7g==","shasum":"731615f36b830ee2e6a054f10e0a796a6e8a974e","tarball":"https://registry.npmjs.org/@x-oasis/diff-match-patch/-/diff-match-patch-0.14.0.tgz","fileCount":30,"unpackedSize":133850,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCAV4rDRjc6LxwKTKAReVVdTeEG8gbRF9Bwj6QEus+D/gIgCcpSMp7LsnLvrPA2UnEoXJDRZJyEGk4YRuS6FD//dWA="}]},"_npmUser":{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},"directories":{},"maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/diff-match-patch_0.14.0_1778771155109_0.12678193136899352"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-26T15:50:57.331Z","modified":"2026-05-14T15:05:55.446Z","0.1.0":"2026-01-26T15:50:57.568Z","0.1.1":"2026-01-29T01:09:22.367Z","0.1.2":"2026-01-29T15:20:26.863Z","0.1.3":"2026-01-29T16:05:47.756Z","0.1.4":"2026-01-29T16:14:40.874Z","0.2.0":"2026-02-03T17:53:32.165Z","0.2.1":"2026-02-04T09:20:42.751Z","0.2.2":"2026-02-04T09:43:33.476Z","0.2.3":"2026-02-04T11:33:06.529Z","0.2.4":"2026-02-05T13:16:07.944Z","0.2.5":"2026-02-28T15:40:44.201Z","0.3.0":"2026-04-30T02:36:22.448Z","0.4.0":"2026-05-03T16:45:35.878Z","0.5.0":"2026-05-08T01:30:46.126Z","0.6.0":"2026-05-08T17:41:33.353Z","0.7.0":"2026-05-08T18:14:01.734Z","0.8.0":"2026-05-09T07:27:00.130Z","0.8.1":"2026-05-09T08:38:47.002Z","0.9.0":"2026-05-09T14:42:22.522Z","0.10.0":"2026-05-10T13:08:19.830Z","0.11.0":"2026-05-11T13:44:49.862Z","0.12.0":"2026-05-13T09:10:22.008Z","0.13.0":"2026-05-13T10:08:43.128Z","0.13.1":"2026-05-14T09:16:57.298Z","0.13.2":"2026-05-14T11:01:49.047Z","0.13.3":"2026-05-14T14:08:38.403Z","0.14.0":"2026-05-14T15:05:55.277Z"},"license":"ISC","description":"Restore file content to original version based on offset range","maintainers":[{"name":"ryuyutyo","email":"liuyouchao111@gmail.com"},{"name":"innei","email":"tukon479@gmail.com"},{"name":"hongding97","email":"keith.dh@hotmail.com"}],"readme":"# @x-oasis/diff-match-patch\n\n基于 Google 的 diff-match-patch 库，提供将最新文件中指定 offset range 的内容恢复到原始版本的功能。\n\n## 功能\n\n当文件经过一系列增删改操作后，可以基于最新文件提供 `start-offset` 和 `end-offset`，将指定 range 内的内容恢复到最初版本。\n\n## 安装\n\n```bash\nnpm install @x-oasis/diff-match-patch\n# 或\npnpm add @x-oasis/diff-match-patch\n```\n\n## 在线示例\n\n查看 [交互式示例](./examples/index.html) 来可视化地了解如何使用这个库。示例包含：\n\n- 文件差异的可视化显示\n- 交互式的 offset range 恢复功能\n- 详细的调试信息展示\n- 多个预设的测试场景\n\n直接在浏览器中打开 `examples/index.html` 即可使用。\n\n## 使用方法\n\n### 使用类方式\n\n```typescript\nimport { FileRestoreManager } from '@x-oasis/diff-match-patch';\n\nconst originalContent = 'Hello World';\nconst currentContent = 'Hello Beautiful World';\n\nconst manager = new FileRestoreManager(originalContent);\n\n// 恢复 offset 6-15 的内容（\"Beautiful \"）到原始版本\nconst restored = manager.restoreRange(currentContent, {\n  startOffset: 6,\n  endOffset: 15\n});\n\nconsole.log(restored); // \"Hello World\"\n```\n\n### 使用便捷函数\n\n```typescript\nimport { restoreRange } from '@x-oasis/diff-match-patch';\n\nconst originalContent = 'Hello World';\nconst currentContent = 'Hello Beautiful World';\n\n// 恢复 offset 6-15 的内容到原始版本\nconst restored = restoreRange(originalContent, currentContent, 6, 15);\n\nconsole.log(restored); // \"Hello World\"\n```\n\n## API\n\n### FileRestoreManager\n\n#### 构造函数\n\n```typescript\nnew FileRestoreManager(originalContent: string)\n```\n\n创建一个文件恢复管理器实例。\n\n- `originalContent`: 原始文件内容\n\n#### 方法\n\n##### restoreRange\n\n```typescript\nrestoreRange(\n  currentContent: string,\n  options: { startOffset: number; endOffset: number }\n): string\n```\n\n将最新文件中指定 offset range 的内容恢复到原始版本。\n\n- `currentContent`: 最新文件内容\n- `options.startOffset`: 恢复范围的起始 offset（基于最新文件）\n- `options.endOffset`: 恢复范围的结束 offset（基于最新文件）\n- 返回: 恢复后的文件内容\n\n##### getOriginalContent\n\n```typescript\ngetOriginalContent(): string\n```\n\n获取原始文件内容。\n\n##### updateOriginalContent\n\n```typescript\nupdateOriginalContent(newOriginalContent: string): void\n```\n\n更新原始文件内容。\n\n### restoreRange (便捷函数)\n\n```typescript\nrestoreRange(\n  originalContent: string,\n  currentContent: string,\n  startOffset: number,\n  endOffset: number\n): string\n```\n\n便捷函数，直接恢复指定 range 的内容。\n\n## 示例\n\n### 示例 1: 恢复插入的内容\n\n```typescript\nconst original = 'Hello World';\nconst current = 'Hello Beautiful World';\n\n// 恢复插入的 \"Beautiful \" 部分\nconst restored = restoreRange(original, current, 6, 15);\n// 结果: \"Hello World\"\n```\n\n### 示例 2: 恢复删除的内容\n\n```typescript\nconst original = 'Hello Beautiful World';\nconst current = 'Hello World';\n\n// 在删除的位置恢复内容\nconst restored = restoreRange(original, current, 6, 6);\n// 结果: \"Hello Beautiful World\"\n```\n\n### 示例 3: 恢复修改的内容\n\n```typescript\nconst original = 'The quick brown fox';\nconst current = 'The fast brown fox';\n\n// 恢复 \"fast\" 为 \"quick\"\nconst restored = restoreRange(original, current, 4, 8);\n// 结果: \"The quick brown fox\"\n```\n\n## 错误处理\n\n如果提供的 offset range 无效，函数会抛出错误：\n\n- `Invalid offset range`: startOffset 或 endOffset 无效\n- `Offset range exceeds current content length`: offset 超出文件长度\n\n## 依赖\n\n- [diff-match-patch](https://www.npmjs.com/package/diff-match-patch): Google 的 diff-match-patch 库\n\n## License\n\nISC\n","readmeFilename":"README.md"}