{"_id":"babel-plugin-transform-optional-catch-binding","_rev":"11-539c95e58742a5413c06ec88a55bb23e","name":"babel-plugin-transform-optional-catch-binding","description":"Compile optional catch bindings","dist-tags":{"next":"7.0.0-beta.3","latest":"7.0.0-alpha.16"},"versions":{"7.0.0-alpha.16":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-alpha.16","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-alpha.16"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-alpha.16"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-alpha.16","scripts":{},"_shasum":"a8e5134b4261f1ec396547f1e2867c52149d5e93","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.9.0","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"a8e5134b4261f1ec396547f1e2867c52149d5e93","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.16.tgz","integrity":"sha512-VgK2rCl+fuDW3dqgOKdfhphPpY3i5dxAi5MkFxt2dL0zLyrS08Yf71kHeXhjqbI+wdBvhk6DLmprBXYTrBMUnQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFJB8qn6d3O61oO4SOd7nnhYHWFMu5JiIDn/PqK+v6SCAiEA8XvuptcaDUeTSZIA9YZdpm9clJX45MwT9ng2sfH6aZE="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.16.tgz_1501017479587_0.9085809423122555"}},"7.0.0-alpha.17":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-alpha.17","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-alpha.17"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-alpha.17"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-alpha.17","scripts":{},"_shasum":"4bdb55936a834e46a4c9fa92f2a6bbb627cce4da","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.9.0","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"shasum":"4bdb55936a834e46a4c9fa92f2a6bbb627cce4da","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.17.tgz","integrity":"sha512-eRNGTOl2A8TIdMNBQ6ntyQqHQl/NB6QmWGDLRDur+Ya4VjopBvtfP6PrYGFNj5Chge6cXzoqDz4f6g+GtNnQdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGY39j9DQtjieWK9Ir8WFbmhcNy4MBaG8jyqy1tMBrP8AiEA/opqZEPdC90TTV3qA7R6HnR/fUlefMvbGRjh/8PbhAU="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.17.tgz_1501072770333_0.8365808532107621"}},"7.0.0-alpha.18":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-alpha.18","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-alpha.18"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-alpha.18"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-alpha.18","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-bcTM2UlsblFBu74ckZ3jx669fWOrIbEvDRoLFz6RV1vk1aE94x46w7G+34NU8tIVS16aj3unFoFOBVNTqGyysA==","shasum":"774a82b831ef2613c0154fe08c42c06e63370e27","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.18.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFh+/L/BesSaH/57p2ottJiMkj8HQv4cM5dRizsyKeTJAiAvxr1fZsBPuyd48f2y4Z60ApZkxJMpoJpfz2eKl+b4KQ=="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.18.tgz_1501798871140_0.5843056857120246"}},"7.0.0-alpha.19":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-alpha.19","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-alpha.19"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-alpha.19"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-alpha.19","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-zNZc5cW73XcDYZTzeIqlzJWrsvm0z83MfOq5y3SJU9yGcE/mtvV8NZF07cvVJesPJN5MsyWuGE4Ijek1vOgOtw==","shasum":"0c7766589de983745d95e35596d235d412561aa5","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.19.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDYvmOwmOMFGIpNnk+2HWZ5QI4rjTgB+9tLP334GxrkiAiBWOTYR/AVbB6uo49E4fEA4rnrrfxTjKdujqTPvkL3XUg=="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.19.tgz_1502144511165_0.20120585337281227"}},"7.0.0-alpha.20":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-alpha.20","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-alpha.20"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-alpha.20"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-alpha.20","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-zNNZ5Yqrppd35IExU2NQIeYqwEYsxP5JAgeOxDJyt0z4kVN6D+NAAu+HCTornNhoHKffOQpxgdf1tW2cc0cGXw==","shasum":"ef12446442a55fa1d0c938246921bb7fe9ac9147","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.20.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF9jdODjQBgAdZ0QpaLXj/jjylUgQs5lBY3NLXaF97a+AiA9+uiAyhjtPZwV6dq24MN+mLkz9ugdm4Fmp5y5O49vlg=="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-alpha.20.tgz_1504119836254_0.3963741909246892"}},"7.0.0-beta.0":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-beta.0","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-beta.0"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-beta.0"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-beta.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-9Cgqhbc9A9DG8Pk5xN7rkPGquoA50ZeUUHB59u3v/ModXnCgbjtGiiQr2Ut1dQvLuWX8aZoiY7PoGhH7R5Kk2g==","shasum":"363bcd26e133dd28ba1eb9b2680d1bf99c250294","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-beta.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATBoi3ubQPpBUlPnAbAsB3g5aLI8ijm50pFJFvv7KFWAiBaUJjpJh4f7jL2hm12qIPbhyq//S0t651nmtUUxHq8Qw=="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-beta.0.tgz_1505185351195_0.8622387642972171"}},"7.0.0-beta.1":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-beta.1","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-beta.1"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-beta.1"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-beta.1","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-gA8V48ZX3x5vvsouhiOORaBchM7K4uAZXnda2OObEoxwHxyPE8ZvgHxI78dfmSI6UfaFO9o5aFCRHyjU/gZydg==","shasum":"5690c8a1a0ba7d32f99aec9949679ec16892a02b","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-beta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBrT/g/QeLIKvKlzAWZFk61Ziie27W7bMv6+4+UcWxbYAiEA1+2qnHHGiwCACUPiaDKeNnb4VXi1MhpKz3NpjtaiYSQ="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-beta.1.tgz_1505851801056_0.9392186689656228"}},"7.0.0-beta.2":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-beta.2","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-beta.2"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-beta.2"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-beta.2","_npmVersion":"5.4.1","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-gZyB2nWNxzm0HbAVbL+5uXuDTZO264EEGOkStlQ4ox5FAJPrOa4JkQ6iNTyNccuvQlFeT4tRV2WWAtzntC5c3A==","shasum":"b84a95c4a8ae5fd4700a0f2ae6c305c9adad9c4d","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-beta.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICOZ5JuL4cWISW2SfEYO6wV9rYjsPkSr758zUXFXs5DqAiBrj/WE9qCV5QmcOmfi1YS8V+T4hfzXZ2JQGs9yzVK+jA=="}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-beta.2.tgz_1506438930169_0.3711404821369797"}},"7.0.0-beta.3":{"name":"babel-plugin-transform-optional-catch-binding","version":"7.0.0-beta.3","description":"Compile optional catch bindings","repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","main":"lib/index.js","keywords":["babel-plugin"],"dependencies":{"babel-plugin-syntax-optional-catch-binding":"7.0.0-beta.3"},"devDependencies":{"babel-helper-plugin-test-runner":"7.0.0-beta.3"},"_id":"babel-plugin-transform-optional-catch-binding@7.0.0-beta.3","_npmVersion":"5.5.1","_nodeVersion":"8.1.4","_npmUser":{"name":"hzoo","email":"hi@henryzoo.com"},"dist":{"integrity":"sha512-Gx4L2A1rXCboKxqdrwXq8HKU/e1xJkBYZJZ2b7ISE0KOp4CNQeX1+1MSWjC3e0habFIMRAATJ3UiKmqty3oOzA==","shasum":"029c6e8db58ba5f192efcfdfab1c0e60fc5a48c6","tarball":"https://registry.npmjs.org/babel-plugin-transform-optional-catch-binding/-/babel-plugin-transform-optional-catch-binding-7.0.0-beta.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC80qUktKxzpflIMmk+PHqeMQ6rYrafoKnzRomdSXEPzgIhALdeHIfnxBD6c7X7x5RB6gMfns13GYDJHS2V1dM1huI1"}]},"maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/babel-plugin-transform-optional-catch-binding-7.0.0-beta.3.tgz_1508073117205_0.7876820203382522"}}},"readme":"# babel-plugin-transform-optional-catch-binding\n\n> Optional catch binding enables the catch block to execute whether or not an argument is passed to the catch statement (CatchClause).\n\n\n## Examples\n\n```js\ntry {\n  throw 0;\n} catch {\n  doSomethingWhichDoesntCareAboutTheValueThrown();\n}\n```\n\n```js\ntry {\n  throw 0;\n} catch {\n  doSomethingWhichDoesntCareAboutTheValueThrown();\n} finally {\n  doSomeCleanup();\n}\n```\n\n\n## Installation\n\n```sh\nnpm install --save-dev babel-plugin-transform-optional-catch-binding\n```\n\n## Usage\n\n### Via `.babelrc` (Recommended)\n\n**.babelrc**\n\n```json\n{\n  \"plugins\": [\"transform-optional-catch-binding\"]\n}\n```\n\n### Via CLI\n\n```sh\nbabel --plugins transform-optional-catch-binding script.js\n```\n\n### Via Node API\n\n```javascript\nrequire(\"babel-core\").transform(\"code\", {\n  plugins: [\"transform-optional-catch-binding\"]\n});\n```\n\n## References\n- [Proposal: Optional Catch Binding for ECMAScript](https://github.com/babel/proposals/issues/7)\n","maintainers":[{"name":"hzoo","email":"hi@henryzoo.com"}],"time":{"modified":"2022-06-13T04:05:00.952Z","created":"2017-07-25T21:18:00.468Z","7.0.0-alpha.16":"2017-07-25T21:18:00.468Z","7.0.0-alpha.17":"2017-07-26T12:39:31.346Z","7.0.0-alpha.18":"2017-08-03T22:21:11.340Z","7.0.0-alpha.19":"2017-08-07T22:21:51.255Z","7.0.0-alpha.20":"2017-08-30T19:03:56.339Z","7.0.0-beta.0":"2017-09-12T03:02:32.053Z","7.0.0-beta.1":"2017-09-19T20:10:01.209Z","7.0.0-beta.2":"2017-09-26T15:15:31.019Z","7.0.0-beta.3":"2017-10-15T13:11:58.123Z"},"keywords":["babel-plugin"],"repository":{"type":"git","url":"https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-optional-catch-binding"},"license":"MIT","readmeFilename":"README.md"}