{"_id":"@cookshack/codemirror-bracket-matching","_rev":"7-1687231fb1f099e5cdfec61ac0073443","name":"@cookshack/codemirror-bracket-matching","dist-tags":{"latest":"0.3.1"},"versions":{"6.10.3":{"name":"@cookshack/codemirror-bracket-matching","version":"6.10.3","license":"MIT","_id":"@cookshack/codemirror-bracket-matching@6.10.3","maintainers":[{"name":"mattmundell","email":"matt@mundell.me"}],"homepage":"https://git.sr.ht/~mattmundell/codemirror-bracket-matching","dist":{"shasum":"833dc3bb8631f3eaa93ad6b659e323c484b2bb73","tarball":"https://registry.npmjs.org/@cookshack/codemirror-bracket-matching/-/codemirror-bracket-matching-6.10.3.tgz","fileCount":8,"integrity":"sha512-iZUYBjy+0JkCsqXYOJOoWeRj5h242Y7WWOCgwCbAUGBNZTiPOBGKqC97AkCwmHYmYVcqMAx3So564awN78Zf9w==","signatures":[{"sig":"MEUCICX7S+hJjv/nVxK7BLtlplwm4FhEI8SZfH9WW28ivHMeAiEA3icgP5wXG5kxghUPgcRau/lNkfqZQe1NKWDLO/kKA/k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31206},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"0ca0c0fdf663c481c646c0a5285efd2d7e6c8182","scripts":{"all":"npm run prepare && npm test","prepare":"rollup -c"},"_npmUser":{"name":"mattmundell","email":"matt@mundell.me"},"deprecated":"This was a very early release where I used the CodeMirror version number","repository":{"url":"git+https://git.sr.ht/~mattmundell/codemirror-bracket-matching","type":"git"},"_npmVersion":"10.9.1","description":"CodeMirror 6 extension for bracket matching","directories":{},"sideEffects":false,"_nodeVersion":"20.15.1","dependencies":{"@lezer/common":"^1.2.3","@codemirror/view":"^6.36.4","@codemirror/state":"^6.5.2","@codemirror/language":"^6.11.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.37.0","typescript":"^5.8.2","@cookshack/build":"^0.2.0","@rollup/plugin-typescript":"^12.1.2","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-bracket-matching_6.10.3_1743012928195_0.7032030518802417","host":"s3://npm-registry-packages-npm-production"}},"6.10.4-0":{"name":"@cookshack/codemirror-bracket-matching","version":"6.10.4-0","license":"MIT","_id":"@cookshack/codemirror-bracket-matching@6.10.4-0","maintainers":[{"name":"mattmundell","email":"matt@mundell.me"}],"homepage":"https://git.sr.ht/~mattmundell/codemirror-bracket-matching","dist":{"shasum":"cd076cdbc99c18c78a62594a5475840453b13d52","tarball":"https://registry.npmjs.org/@cookshack/codemirror-bracket-matching/-/codemirror-bracket-matching-6.10.4-0.tgz","fileCount":8,"integrity":"sha512-fQWHZoW7DGvvJka2ITh/a05IEf21ECPVCOfyJDUwciwFy0fhJg3wl05Q4PgFku5nThmwFZx5xNZmFcKt8Y6yYw==","signatures":[{"sig":"MEUCIEfF0a/CyeFCNl2yYtpGk1GV1uCvIRYa4UBxwQLfOJwmAiEA+oUuNRck3/5p1/rHp0gdo7JHgxWc86Pm3nMBamJmVlY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30758},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"fb568e0d09268a48b9b5029aa5da2b2d4571590b","scripts":{"all":"npm run prepare && npm test","prepare":"rollup -c"},"_npmUser":{"name":"mattmundell","email":"matt@mundell.me"},"deprecated":"This was a very early release where I used the CodeMirror version number","repository":{"url":"git+https://git.sr.ht/~mattmundell/codemirror-bracket-matching","type":"git"},"_npmVersion":"10.9.1","description":"CodeMirror 6 extension for bracket matching","directories":{},"sideEffects":false,"_nodeVersion":"20.15.1","dependencies":{"@lezer/common":"^1.2.3","@codemirror/view":"^6.36.4","@codemirror/state":"^6.5.2","@codemirror/language":"^6.11.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.37.0","typescript":"^5.8.2","@cookshack/build":"^0.2.0","@rollup/plugin-typescript":"^12.1.2","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-bracket-matching_6.10.4-0_1743013940339_0.6616630595588155","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@cookshack/codemirror-bracket-matching","version":"0.2.0","license":"MIT","_id":"@cookshack/codemirror-bracket-matching@0.2.0","maintainers":[{"name":"mattmundell","email":"matt@mundell.me"}],"homepage":"https://git.sr.ht/~mattmundell/codemirror-bracket-matching","dist":{"shasum":"65d7ba6a7f2f5ce50c80a0eb25fbfa47edd070b6","tarball":"https://registry.npmjs.org/@cookshack/codemirror-bracket-matching/-/codemirror-bracket-matching-0.2.0.tgz","fileCount":12,"integrity":"sha512-l3mGKf+d94JL9aNJXwuFO0yDzIr0VT1jifPckEGTldkQReEqKWSFP2WIjBSAZcJ+eep1o3ggMpg/+SwyRdD/DQ==","signatures":[{"sig":"MEYCIQDLw776l3DhFX9/ZqPTrwzXwu0RdWqYU6vk7a7B6zFdnAIhANRn6xdvLqoaxwuKdUlGijxBTxy3xr4JM1wrYBsJsK+V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57977},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"bad2f369a56cc13cfcd301c55ede627c14d1281c","scripts":{"all":"npm run prepare && npm test","test":"cm-runtests","prepare":"cm-buildhelper src/matchbrackets.ts"},"_npmUser":{"name":"mattmundell","email":"matt@mundell.me"},"repository":{"url":"git+https://git.sr.ht/~mattmundell/codemirror-bracket-matching","type":"git"},"_npmVersion":"10.9.1","description":"CodeMirror 6 extension for bracket matching","directories":{},"sideEffects":false,"_nodeVersion":"20.15.1","dependencies":{"@lezer/common":"^1.2.3","@codemirror/view":"^6.36.4","@codemirror/state":"^6.5.2","@codemirror/language":"^6.11.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.37.0","typescript":"^5.8.2","@cookshack/build":"^0.2.0","@codemirror/buildhelper":"^1.0.2","@rollup/plugin-typescript":"^12.1.2","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-bracket-matching_0.2.0_1743275024433_0.4465054292417725","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@cookshack/codemirror-bracket-matching","version":"0.3.0","license":"MIT","_id":"@cookshack/codemirror-bracket-matching@0.3.0","maintainers":[{"name":"mattmundell","email":"matt@mundell.me"}],"homepage":"https://git.sr.ht/~mattmundell/codemirror-bracket-matching","dist":{"shasum":"0f919c6ff77d3ea735dd95740e0d3813915b86dc","tarball":"https://registry.npmjs.org/@cookshack/codemirror-bracket-matching/-/codemirror-bracket-matching-0.3.0.tgz","fileCount":12,"integrity":"sha512-JjF2bOPq7gcJmrxvV8/X5Fs/U0v/mCUU2Yzl/vBCHh0nEb/bfPH22LP9MTSTmrqv6x7ejEtsy7ic877wRGaa3A==","signatures":[{"sig":"MEUCIQDu9momFUlTdlgEkcz3TmDP7djfsVOA7wAy0e+LdVw7EQIgaEQBukWTp7msoRS87elB3ebOvJ/ZviKBD62O6qzC+YY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58109},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"945b9bf1aa360eabe262a25a0fdf3e3c63583cce","scripts":{"all":"npm run prepare && npm test","test":"cm-runtests","prepare":"cm-buildhelper src/matchbrackets.ts"},"_npmUser":{"name":"mattmundell","email":"matt@mundell.me"},"repository":{"url":"git+https://git.sr.ht/~mattmundell/codemirror-bracket-matching","type":"git"},"_npmVersion":"10.9.1","description":"CodeMirror 6 extension for bracket matching","directories":{},"sideEffects":false,"_nodeVersion":"20.15.1","dependencies":{"@lezer/common":"^1.2.3","@codemirror/view":"^6.36.4","@codemirror/state":"^6.5.2","@codemirror/language":"^6.11.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.37.0","typescript":"^5.8.2","@cookshack/build":"^0.2.0","@codemirror/buildhelper":"^1.0.2","@rollup/plugin-typescript":"^12.1.2","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/codemirror-bracket-matching_0.3.0_1743276108207_0.47736360029901914","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@cookshack/codemirror-bracket-matching","version":"0.3.1","description":"CodeMirror 6 extension for bracket matching","homepage":"https://git.sr.ht/~mattmundell/codemirror-bracket-matching","scripts":{"all":"npm run prepare && npm test","prepare":"cm-buildhelper src/matchbrackets.ts","test":"cm-runtests"},"repository":{"type":"git","url":"git+https://git.sr.ht/~mattmundell/codemirror-bracket-matching"},"type":"module","main":"dist/index.cjs","module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","sideEffects":false,"license":"MIT","devDependencies":{"@codemirror/buildhelper":"^1.0.2","@cookshack/build":"^0.2.0","@rollup/plugin-node-resolve":"^16.0.1","@rollup/plugin-typescript":"^12.1.2","rollup":"^4.37.0","tslib":"^2.8.1","typescript":"^5.8.2"},"dependencies":{"@codemirror/language":"^6.11.0","@codemirror/state":"^6.5.2","@codemirror/view":"^6.36.4","@cookshack/codemirror-lang-zig":"^0.1.2","@lezer/common":"^1.2.3"},"_id":"@cookshack/codemirror-bracket-matching@0.3.1","gitHead":"5a6ac093cb5ff1112953ce7848634ed63a41efb6","_nodeVersion":"20.15.1","_npmVersion":"10.9.1","dist":{"integrity":"sha512-u7gZ/mUqmvII0q2lgsQGPDBzDmahAGSVJ5SzFrcmkPxMKCeVwDAP99hgoWv1ctTHJ4IGCJ0VkGcPMR79ZRPkTg==","shasum":"7f3dc15d3b70c0ee1355498f6778697ec1701ed6","tarball":"https://registry.npmjs.org/@cookshack/codemirror-bracket-matching/-/codemirror-bracket-matching-0.3.1.tgz","fileCount":12,"unpackedSize":62290,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCsXS0dg2HPEVt7ELdnNNOu3M3o3S65Y2zun8S1yAZfawIgZqheTWRTQquKMahmUrCcBvBj+OJfDxJb9RYkxITeXLg="}]},"_npmUser":{"name":"mattmundell","email":"matt@mundell.me"},"directories":{},"maintainers":[{"name":"mattmundell","email":"matt@mundell.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/codemirror-bracket-matching_0.3.1_1743357987128_0.40154597251409285"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-26T18:15:28.074Z","modified":"2025-03-30T18:06:27.511Z","6.10.3":"2025-03-26T18:15:28.451Z","6.10.4-0":"2025-03-26T18:32:20.587Z","0.2.0":"2025-03-29T19:03:44.657Z","0.3.0":"2025-03-29T19:21:48.395Z","0.3.1":"2025-03-30T18:06:27.317Z"},"license":"MIT","homepage":"https://git.sr.ht/~mattmundell/codemirror-bracket-matching","repository":{"type":"git","url":"git+https://git.sr.ht/~mattmundell/codemirror-bracket-matching"},"description":"CodeMirror 6 extension for bracket matching","maintainers":[{"name":"mattmundell","email":"matt@mundell.me"}],"readme":"# @cookshack/codemirror-bracket-matching\n\n[CodeMirror](https://codemirror.net/) 6 extension for highlighting matching brackets.\n\nBased on the [builtin CodeMirror bracket matching](https://codemirror.net/docs/ref/#language.bracketMatching), with\ntwo additional options for the `config` argument of `bracketMatching`:\n\n#### directional\n\nIf true then matching picks which bracket to match based on whether the bracket\nis before or after the cursor.\n\nThis makes the bracket matching behave more like Emacs and Codium. Opening\nbrackets only match when they are after the cursor. Closing brackets only match\nwhen they are before the cursor.\n\nOverrides `afterCursor`.\n\nDefaults to `true`.\n\n#### enclosing\n\nIf true then the innermost pair of brackets are highlighted.\n\nOverrides `afterCursor` and `directional`.\n\nDefaults to `false`.\n","readmeFilename":"README.md"}