{"_id":"@putout/plugin-apply-try-catch","_rev":"4159072","name":"@putout/plugin-apply-try-catch","description":"putout plugin adds ability apply try-catch","dist-tags":{"latest":"2.8.1"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T20:34:00.000Z","created":"2021-07-28T19:22:48.454Z","2.8.1":"2022-03-07T11:42:42.784Z","2.8.0":"2022-03-07T11:39:54.800Z","2.7.0":"2022-03-06T18:00:33.300Z","2.6.1":"2022-03-06T11:12:52.365Z","2.6.0":"2022-03-05T16:39:07.849Z","2.5.0":"2022-02-23T21:37:21.216Z","2.4.0":"2022-02-23T16:08:44.246Z","2.3.0":"2022-02-23T11:46:46.035Z","2.2.0":"2022-02-23T11:10:20.384Z","2.1.0":"2022-02-23T11:00:21.131Z","2.0.1":"2022-02-23T10:41:21.150Z","2.0.0":"2022-02-23T10:19:56.469Z","1.2.0":"2022-02-01T17:25:47.819Z","1.1.0":"2022-02-01T11:44:21.750Z","1.0.0":"2021-07-28T19:22:48.454Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"versions":{"2.8.1":{"name":"@putout/plugin-apply-try-catch","version":"2.8.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/v25.2.0/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"937ee176fe2c13e7e56f428d828c9fe04f475a06","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.8.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"d11511e35d6d2d0ac412ab57a68245e077d5104f","size":3530,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.8.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.8.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.8.1_1646653362650_0.8579498456197856"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-07T11:42:47.631Z","publish_time":1646653362784,"_cnpm_publish_time":1646653362784},"2.8.0":{"name":"@putout/plugin-apply-try-catch","version":"2.8.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"937ee176fe2c13e7e56f428d828c9fe04f475a06","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.8.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"36148d785a65eb2a1a9cb5010dfaf3b4617c0ea3","size":3500,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.8.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.8.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.8.0_1646653194580_0.1880991278331896"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-07T11:40:00.775Z","publish_time":1646653194800,"_cnpm_publish_time":1646653194800},"2.7.0":{"name":"@putout/plugin-apply-try-catch","version":"2.7.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"7ac58cdb928ace65da3c7217f190064fbb9e18e4","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.7.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"9d89127252efac0797e769017a8458f010ef3efe","size":3478,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.7.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.7.0_1646589633169_0.09409298180787662"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-06T18:00:38.323Z","publish_time":1646589633300,"_cnpm_publish_time":1646589633300},"2.6.1":{"name":"@putout/plugin-apply-try-catch","version":"2.6.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"15872402e1a8e2b9e479b995a4a7588ffa215e73","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.6.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"7ed803240784d61f14e8d0e18c4e05312d30ca6c","size":3103,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.6.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.6.1_1646565172230_0.15413400250628517"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-06T11:13:00.515Z","publish_time":1646565172365,"_cnpm_publish_time":1646565172365},"2.6.0":{"name":"@putout/plugin-apply-try-catch","version":"2.6.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^14.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"08c5826fda87b3607baaa2e3d7032f7e7d64b8b5","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.6.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"7fa17b9e6ee06e7e6aaa0abcf4980033b20b6bed","size":3094,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.6.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.6.0_1646498347711_0.3758352844439219"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-03-05T16:39:14.809Z","publish_time":1646498347849,"_cnpm_publish_time":1646498347849},"2.5.0":{"name":"@putout/plugin-apply-try-catch","version":"2.5.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"65a95e7ed6a2cdc15c20fd26ea304431f606e066","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.5.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"61bbc2cc7793477612eddb5ce5a360f4d42c4e90","size":3050,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.5.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.5.0_1645652241088_0.9775143435215738"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-23T21:37:26.772Z","publish_time":1645652241216,"_cnpm_publish_time":1645652241216},"2.4.0":{"name":"@putout/plugin-apply-try-catch","version":"2.4.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"486f16aec1c5da9f9d6b7f8a229a2caa88c24cc8","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.4.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"49463f8d255aeac23ef33452c77d5227c017e6bd","size":2930,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.4.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.4.0_1645632524087_0.28731824224188407"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-23T16:08:49.715Z","publish_time":1645632524246,"_cnpm_publish_time":1645632524246},"2.3.0":{"name":"@putout/plugin-apply-try-catch","version":"2.3.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"2464a60e3d1ca2584e905bc22644c229be982a50","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.3.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"373c283eff426bb2e869cd7f342ddf08140ca6e0","size":2857,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.3.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.3.0_1645616805901_0.8711619179920895"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-23T11:46:50.898Z","publish_time":1645616806035,"_cnpm_publish_time":1645616806035},"2.2.0":{"name":"@putout/plugin-apply-try-catch","version":"2.2.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"218e9e72093946c2ba2d386dbeac85ae44901a47","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.2.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"2771330f64a6f92e3eb04cb63993b0d5ba116395","size":2675,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.2.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.2.0_1645614620253_0.7329314539361205"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-23T11:14:01.401Z","publish_time":1645614620384,"_cnpm_publish_time":1645614620384},"2.1.0":{"name":"@putout/plugin-apply-try-catch","version":"2.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"ba223d045eeff09e71fd16d244f84945393d2d98","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.1.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"6bfa4d6ea16ec082f6b4aedd8b393bec5276b575","size":2670,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.1.0_1645614021011_0.8090014913311365"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-23T11:04:46.799Z","publish_time":1645614021131,"_cnpm_publish_time":1645614021131},"2.0.1":{"name":"@putout/plugin-apply-try-catch","version":"2.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"cd89d014aaf400624f25f2090f50fbbbd1dd714c","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.0.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"a861545ccd17d9157b1796f69371f15a46d2282e","size":2655,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.0.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.0.1_1645612881021_0.7470576647691729"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-23T10:41:40.239Z","publish_time":1645612881150,"_cnpm_publish_time":1645612881150},"2.0.0":{"name":"@putout/plugin-apply-try-catch","version":"2.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^5.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^9.0.0","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=25"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"7813f83cc2125d09d51ff7c30663caa3efd4f3db","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@2.0.0","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"shasum":"5984a17abdbef4d3c0c7b05886aac9f319a16a4d","size":2711,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-2.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_2.0.0_1645611596316_0.25625229778471015"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-23T10:26:25.705Z","publish_time":1645611596469,"_cnpm_publish_time":1645611596469},"1.2.0":{"name":"@putout/plugin-apply-try-catch","version":"1.2.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=18"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"1bbd5bc6939e6f766ac47b53de20d4e924b221fc","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@1.2.0","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"28cfad952e93c48330e8e8da11013e4f89cc4c83","size":2695,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-1.2.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_1.2.0_1643736347676_0.5960531594870639"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-01T17:27:34.139Z","publish_time":1643736347819,"_cnpm_publish_time":1643736347819},"1.1.0":{"name":"@putout/plugin-apply-try-catch","version":"1.1.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-try-catch#readme","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^13.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=18"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"0f4cadade86b751bc8843fbf10b07b0caae5b281","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@1.1.0","_nodeVersion":"16.13.2","_npmVersion":"8.3.0","dist":{"shasum":"a53f246104cde08762326f7f0381814aade6336c","size":2641,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-1.1.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_1.1.0_1643715861408_0.13784395045107334"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-01T11:44:28.696Z","publish_time":1643715861750,"_cnpm_publish_time":1643715861750},"1.0.0":{"name":"@putout/plugin-apply-try-catch","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply try-catch","homepage":"http://github.com/coderaiser/putout","main":"lib/index.js","release":false,"tag":false,"changelog":false,"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"scripts":{"test":"madrun test","watch:test":"madrun watch:test","lint":"madrun lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","fix:lint":"madrun fix:lint","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"keywords":["putout","putout-plugin","putout-plugin-apply","plugin","try-catch"],"devDependencies":{"@putout/test":"^3.0.0","c8":"^7.5.0","eslint":"^7.0.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^8.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=18"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-try-catch@1.0.0","_nodeVersion":"16.5.0","_npmVersion":"7.19.1","dist":{"shasum":"8457412717e17f0e9f38df45a8bccd2f0a6d7853","size":2521,"noattachment":false,"key":"/@putout/plugin-apply-try-catch/-/@putout/plugin-apply-try-catch-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@putout/plugin-apply-try-catch/download/@putout/plugin-apply-try-catch-1.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-apply-try-catch_1.0.0_1627500168259_0.7998357588948075"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T18:50:16.337Z","publish_time":1627500168454,"_cnpm_publish_time":1627500168454}},"readme":"# @putout/plugin-apply-try-catch [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-try-catch.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-try-catch \"npm\"\n\n????[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to apply [tryCatch](https://github.com/coderaiser/try-catch) and [tryToCatch](https://github.com/coderaiser/try-to-catch). Renamed to [`@putout/plugin-try-catch`](https://www.npmjs.com/package/@putout/plugin-try-catch).\n\n## Install\n\n```\nnpm i @putout/plugin-apply-try-catch\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"apply-try-catch/await\": \"on\",\n        \"apply-try-catch/args\": \"on\",\n        \"apply-try-catch/declare\": \"on\",\n        \"apply-try-catch/expand-arguments\": \"on\",\n        \"apply-try-catch/try-catch\": \"on\",\n        \"apply-try-catch/try-to-catch\": \"on\"\n    }\n}\n```\n\n## try-catch\n\n### ❌ Example of incorrect code\n\n```js\ntry {\n    log('hello');\n} catch(error) {\n}\n```\n\n### ✅ Example of correct code\n\n```js\nimport tryCatch from 'try-catch';\nconst [error] = tryCatch(log, 'hello');\n```\n\n## try-to-catch\n\n### ❌ Example of incorrect code\n\n```js\ntry {\n    await send('hello');\n} catch(error) {\n}\n```\n\n### ✅ Example of correct code\n\n```js\nimport tryToCatch from 'try-catch';\nconst [error] = await tryToCatch(send, 'hello');\n```\n\n## await\n\n### ❌ Example of incorrect code\n\n```js\nawait tryCatch(a, b);\ntryToCatch(a, b);\n```\n\n### ✅ Example of correct code\n\n```js\nawait tryToCatch(a, b);\n```\n\n## args\n\n### ❌ Example of incorrect code\n\n```js\ntryCatch(send('hello'));\n```\n\n### ✅ Example of correct code\n\n```js\ntryCatch(send, 'hello');\n```\n\n## declare\n\n### ❌ Example of incorrect code\n\n```js\nconst [error] = tryCatch(fs.readFileSync, 'hello.txt');\n```\n\n### ✅ Example of correct code\n\n```js\nimport tryCatch from 'try-catch';\nconst [error] = tryCatch(fs.readFileSync, 'hello.txt');\n```\n\n## expand-arguments\n\n### ❌ Example of incorrect code\n\n```js\nimport tryCatch from 'try-catch';\n\ntest('some message', (t) => {\n    const fn = () => copymitter('/hello');\n    const [error] = tryCatch(fn);\n    \n    t.equal(error.message, 'to should be a string!');\n    t.end();\n});\n```\n\n### ✅ Example of correct code\n\n```js\nimport tryCatch from 'try-catch';\n\ntest('some message', (t) => {\n    const [error] = tryCatch(copymitter, '/hello');\n    \n    t.equal(error.message, 'to should be a string!');\n    t.end();\n});\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/v25.2.0/packages/plugin-apply-try-catch#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}