{"_id":"@putout/plugin-convert-optional-to-logical","_rev":"1182112","name":"@putout/plugin-convert-optional-to-logical","description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","dist-tags":{"latest":"4.0.2"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2024-12-31T06:00:21.000Z","created":"2023-05-04T19:18:55.759Z","4.0.2":"2024-12-13T12:08:56.004Z","4.0.1":"2024-12-13T12:08:09.446Z","5.0.0":"2024-12-13T10:25:49.498Z","4.0.0":"2024-08-23T08:20:29.333Z","3.1.0":"2023-09-28T18:46:09.136Z","3.0.0":"2023-09-27T09:13:12.442Z","2.0.0":"2023-08-27T14:36:36.514Z","1.0.2":"2023-05-04T19:36:09.520Z","1.0.1":"2023-05-04T19:30:49.076Z","1.0.0":"2023-05-04T19:18:55.759Z"},"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":{"4.0.2":{"name":"@putout/plugin-convert-optional-to-logical","version":"4.0.2","type":"common","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/v36.18.0/packages/plugin-convert-optional-to-logical#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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^22.0.0","lerna":"^6.0.1","madrun":"^10.0.0","montag":"^1.2.1","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=36"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-convert-optional-to-logical@4.0.2","gitHead":"a794532f81ae89b6e8afc312994ca4618838f448","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.11.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-XDSnue0Z76n4V2/2LmuDTW/birmN18I8lltTQFKVJrZMY/QKoEwyKr4/6sMIh8k+4ByZiyWxaTnDyJiuimISKQ==","shasum":"1e07ad148c585c32599f24d8f1264c0629529675","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-4.0.2.tgz","fileCount":7,"unpackedSize":8651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFOqcBE8WZqvq97nK0POptsjd9dSWdOVAcWJVgVgCWQwIhAOYnXers+8967SSPo0gF+OkhkvnjyDi3SsN8fwxy5ZK5"}],"size":3645,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-4.0.2.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-convert-optional-to-logical_4.0.2_1734091735727_0.567848937212655"},"_hasShrinkwrap":false,"publish_time":1734091736004,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734091736004},"4.0.1":{"name":"@putout/plugin-convert-optional-to-logical","version":"4.0.1","keywords":["putout","putout-plugin","plugin","convert-optional-to-logical","try-to-catch"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-optional-to-logical@4.0.1","homepage":"https://github.com/coderaiser/putout/tree/v36.18.0/packages/plugin-convert-optional-to-logical#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"5362fdb5dea688ef4401a27a30d3e4a0876e8a82","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-4.0.1.tgz","fileCount":7,"integrity":"sha512-HzNYlo+nPUXwSYzQ6gshMdqY//K8LfLD7Q0Boo9MR/3FBQsPWW+1rlKsKAUun1qfwJnNhnxCrQoPKXoTJw/8vA==","signatures":[{"sig":"MEYCIQCs8pquNER8GzAHQkgg0NElOSDstE9WR/veeCU7mK9JUgIhAPRog8rdqfmZQekojJOFZ6l1WcgKB/Q1TPrXXYMs4k2E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8650,"size":3646,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-4.0.1.tgz"},"main":"lib/index.js","type":"common","engines":{"node":">=16"},"gitHead":"a794532f81ae89b6e8afc312994ca4618838f448","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"10.9.0","description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","directories":{},"_nodeVersion":"22.11.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","lerna":"^6.0.1","eslint":"^9.0.0","madrun":"^10.0.0","montag":"^1.2.1","nodemon":"^3.0.1","@putout/test":"^11.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^22.0.0","@putout/plugin-conditions":"*","@putout/plugin-remove-empty":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-continue":"*","@putout/plugin-remove-useless-arguments":"*"},"peerDependencies":{"putout":">=36"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-optional-to-logical_4.0.1_1734091689291_0.6043612206460736","host":"s3://npm-registry-packages-npm-production"},"publish_time":1734091689446,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734091689446},"5.0.0":{"name":"@putout/plugin-convert-optional-to-logical","version":"5.0.0","keywords":["putout","putout-plugin","plugin","convert-optional-to-logical","try-to-catch"],"author":{"url":"https://github.com/coderaiser","name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"license":"MIT","_id":"@putout/plugin-convert-optional-to-logical@5.0.0","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"tag":false,"dist":{"shasum":"52c3d716edaa6add0dd966985f354808c9e21ce1","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-5.0.0.tgz","fileCount":7,"integrity":"sha512-JT5JgJ2CWO8/Xfu7tLf2+n4Wx63++PdqmfYGeY2qFif481f72+UwxC1SnyEhjcSJqcRo6iBg4Cd9h0/4qDDL9g==","signatures":[{"sig":"MEUCIQCQJ6TNKt3XhrZl8sgoJset77OmIegXF0uUemGScyw29AIgOsMLgNTc75HcRfVTJ+U1QqF1x0VCIEkHLPXO0HP8Ulk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8559,"size":3621,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-5.0.0.tgz"},"main":"lib/index.js","type":"common","engines":{"node":">=18"},"gitHead":"cad03db58a7d528b3a5b58e102af353bfafc5aaa","release":false,"scripts":{"lint":"madrun lint","test":"madrun test","report":"madrun report","coverage":"madrun coverage","fix:lint":"madrun fix:lint","fresh:lint":"madrun fresh:lint","lint:fresh":"madrun lint:fresh","watch:test":"madrun watch:test"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"changelog":false,"repository":{"url":"git+https://github.com/coderaiser/putout.git","type":"git"},"_npmVersion":"10.9.0","description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","directories":{},"_nodeVersion":"22.12.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","lerna":"^6.0.1","eslint":"^9.0.0","madrun":"^10.0.0","montag":"^1.2.1","nodemon":"^3.0.1","@putout/test":"^11.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^23.0.0","@putout/plugin-conditions":"*","@putout/plugin-remove-empty":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-continue":"*","@putout/plugin-remove-useless-arguments":"*"},"peerDependencies":{"putout":">=36"},"_npmOperationalInternal":{"tmp":"tmp/plugin-convert-optional-to-logical_5.0.0_1734085549297_0.06413657084831059","host":"s3://npm-registry-packages-npm-production"},"publish_time":1734085549498,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1734085549498},"4.0.0":{"name":"@putout/plugin-convert-optional-to-logical","version":"4.0.0","type":"common","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^11.0.0","c8":"^10.0.0","eslint":"^9.0.0","eslint-plugin-n":"^17.0.0","eslint-plugin-putout":"^22.0.0","lerna":"^6.0.1","madrun":"^10.0.0","montag":"^1.2.1","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=36"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"_id":"@putout/plugin-convert-optional-to-logical@4.0.0","gitHead":"8b59e25f7f79b3d7ddb0d3cefc89e1188aa2c457","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_nodeVersion":"22.7.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-JsyKKafPH95ZzA2TTizY20vp1JdpnjByQM4ZvWycE9yeUVtRHflXieOjW9StUdz1ePrPn8ghLwebSSCGmaMFng==","shasum":"f1815e82e068cbe76b8aedef1867a2b0c01f5b6c","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-4.0.0.tgz","fileCount":7,"unpackedSize":8537,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBbJbTxDQe0QHKe6Bq69/32IbsM7MTQQIjXr14iewCQwIgZvtxa2kZ87g1gqbEVdyHd6Gg+DChe0rj/YMfOyLB0AA="}],"size":3604,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-4.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/plugin-convert-optional-to-logical_4.0.0_1724401229157_0.8970025536402915"},"_hasShrinkwrap":false,"publish_time":1724401229333,"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_cnpm_publish_time":1724401229333},"3.1.0":{"name":"@putout/plugin-convert-optional-to-logical","version":"3.1.0","type":"common","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^7.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^20.0.0","lerna":"^6.0.1","madrun":"^9.0.0","montag":"^1.2.1","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=32"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"2030e2e0ce4e442693cda48dbfda5e7b34f44c56","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-optional-to-logical@3.1.0","_nodeVersion":"20.7.0","_npmVersion":"9.6.6","dist":{"integrity":"sha512-H/xDpYQHfswlIHlkDMftF/IBBnPIlsnYymAK06z3vyvSw/V/2SXiPDyH4NAcYxzAtI21tgTtQjo2OoCl9rLr+w==","shasum":"7a515df53ed7f03944b055732dd36d341ee0c596","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-3.1.0.tgz","fileCount":7,"unpackedSize":8407,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxg+/kBH76Z4DYj1jB7g8VqsSopILJkGhaY2w/53+TtQIhAIgK+1cETXVJPQdHa5lHTSwCyAX/jXPMLpV8n+DOnRy2"}],"size":3570,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-3.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-convert-optional-to-logical_3.1.0_1695926768905_0.09266084117437612"},"_hasShrinkwrap":false,"publish_time":1695926769136,"_cnpm_publish_time":1695926769136},"3.0.0":{"name":"@putout/plugin-convert-optional-to-logical","version":"3.0.0","type":"common","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^7.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^20.0.0","lerna":"^6.0.1","madrun":"^9.0.0","montag":"^1.2.1","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=32"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"b69a3fb53fa0b8c971b448a44b0df56284c61f4a","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-optional-to-logical@3.0.0","_nodeVersion":"20.6.1","_npmVersion":"9.6.6","dist":{"integrity":"sha512-S6x8Acg5B0Yd1Qb13vI0lLgFxze954dkxylIRA34YIfGjIKeuAuo+qg7RQXWkll+YXh/51gV30RwdhL62rp2pQ==","shasum":"ecec2dd2437e9dccee48e857cb822f2be006c7fb","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-3.0.0.tgz","fileCount":6,"unpackedSize":7128,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHJ4nDuvP4Ja0TmnqerxGqf/B9ZfdrTYIo9taW5dG7lAiAfVleqx9PrGSbyVTXFbtK03PAeiiYrRpOz4YnPOt6KsQ=="}],"size":3164,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-3.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-convert-optional-to-logical_3.0.0_1695805992244_0.4366304281165676"},"_hasShrinkwrap":false,"publish_time":1695805992442,"_cnpm_publish_time":1695805992442},"2.0.0":{"name":"@putout/plugin-convert-optional-to-logical","version":"2.0.0","type":"module","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#readme","main":"lib/convert-optional-to-logical.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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^7.0.0","c8":"^8.0.0","eslint":"^8.0.1","eslint-plugin-n":"^16.0.0","eslint-plugin-putout":"^19.0.0","lerna":"^6.0.1","madrun":"^9.0.0","montag":"^1.2.1","nodemon":"^3.0.1"},"peerDependencies":{"putout":">=31"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"4ad8c00b9afadc1420b1875ef84ef0829b90aca1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-optional-to-logical@2.0.0","_nodeVersion":"16.20.1","_npmVersion":"9.6.6","dist":{"integrity":"sha512-YG6OGVB1e+bBhHcohVmSZGTEUU4M4oLMALimHko+ZNgxYLTeReYLH1R8AkwkLM3SZHakTURvVrfiTIt3TQc0JQ==","shasum":"dc66f6e7375b8ad08c3f276ee9aa5e084725e6ce","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-2.0.0.tgz","fileCount":4,"unpackedSize":6362,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqlq6vD+Owk8rDvN4tPGKrAmq4UBfMg0AtcGwXL6AaewIhAIrXWcPXtK/kqQ6TaK3rCuUXWUZywJ1VsuLEPRkuxcci"}],"size":2904,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-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-convert-optional-to-logical_2.0.0_1693146996359_0.010483650101274833"},"_hasShrinkwrap":false,"publish_time":1693146996514,"_cnpm_publish_time":1693146996514},"1.0.2":{"name":"@putout/plugin-convert-optional-to-logical","version":"1.0.2","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#readme","main":"lib/convert-optional-to-logical.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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^17.0.0","lerna":"^6.0.1","madrun":"^9.0.0","montag":"^1.2.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"321924d9462bb6ffe14cfabb48bc3f8eaf31e8ac","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-optional-to-logical@1.0.2","_nodeVersion":"18.15.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-0aUzI8HRFZjQHMBORYVmKfYXVBJFseqE6II85w95dN0r31xatbo0UwglnUisKOxVd4WplFe1ngYJUKeIV/KR/g==","shasum":"91155236e57bf13b9c25406c9499792270c4baaa","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-1.0.2.tgz","fileCount":4,"unpackedSize":6429,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBFSsUcB5rQCVrWJirT4MYQ53kP2elj63lxhr9GOqkuuAiBNZvK5qKbtgwVMXoF5Ng18Ai0fYRsf76Y9vUVkobH75Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVAkpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzoxAAj/BfioEkYNKOKvhjmJgOmXQ8nmHkocLUfGbqIpNShMoTa9bJ\r\nqTameZsw9lPmKfcmL0oDKGD2GE66T012Y9VxWzQH3IZK4OueXwF+HY67TQfa\r\nZwIJScPSQ400pLdhwA1Rxa4iiKTcv5XD4nnoXlOOuJHrJ0riMKX0T/t/3q/V\r\nz8RrgRLQMwnr4/qnHpmOAzhZukH50wwhG3nZ7vKRCYYPH+xES1ZsNFmZYp3m\r\nj3ruOzOM4eMhAAwO16ggca1BqQfiCLn2DkBELXautTsJFpnqHkJKhyxCOHZL\r\nc4Lv43YkRdSzkk+kRiK/2ZkMfFUcdc9KlejhnqzDVNROJoTAW5k+fVW1u6+N\r\nCweGr4P/fYd4pxux8P4z2RyT7UReW49nj+Re+sA0bfk+tDWtyC6uTzhgBnCG\r\nucAtxg4v2koZg4exZudq2+RskHv4X0kddyVX+H+5eZtCbpVC8/yYGQSR0DWQ\r\nJfapea7DC4X5VhL1fswPaHztnfDkW3fKcpM9C9IPU8vUDliyg7uG7pDX6Ts2\r\nHM1LJsHlxF45n0yI9yMlzw/0CTTC4gxGvNjNVtr40UfsuIIu43bDzEMcdx70\r\nH9zk/NDYRFiUP/yUVmOObOxQfg7S7k3Fp2FAa9LHAjSsDceAoPuwLkuLuI3q\r\n337zfE/I/QvE9Qcy/Ewpz4+MdsTRfJhqBhw=\r\n=yfaA\r\n-----END PGP SIGNATURE-----\r\n","size":2932,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-1.0.2.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-convert-optional-to-logical_1.0.2_1683228969328_0.6788276018970196"},"_hasShrinkwrap":false,"publish_time":1683228969520,"_cnpm_publish_time":1683228969520},"1.0.1":{"name":"@putout/plugin-convert-optional-to-logical","version":"1.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#readme","main":"lib/convert-optional-to-logical.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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^17.0.0","lerna":"^6.0.1","madrun":"^9.0.0","montag":"^1.2.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"9ec8ef63ef5fe88708438a5ab4881e0feaac39f1","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-optional-to-logical@1.0.1","_nodeVersion":"18.15.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-G5/BKds+Y7/4XLDoOA+u3R/xoznsjPNUxOg+/oHdXJ5hA3o2A1aRSKKb9nTtrC5uwRfSxoCrgCcoaMVsBL/Gsg==","shasum":"3a756aa49b2379ac3228e8c6060281818863f4c9","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-1.0.1.tgz","fileCount":4,"unpackedSize":6457,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8adMoiiBV65sxKIonWFQof656s3ng5XmYYkNuDRDh5wIgC8543U5+MOmmsVras5f/h8+0tcZ/1YWbukDrB/SvGF8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVAfpACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWAw/+PfMYJOi4yniYP+xLTUk4EJ4bDeLS3WbDfmHNs5NgbuC+HoUQ\r\nXhKgGaV6YGRbWZelVOc7AJoFqIzJpFhwuJ/+bGUmqDd+R5L/mj8TZk1wSByx\r\nX2HaSrBV2itBeyv7sXvdYRJBx7Qjd1pLEXCxOxlHSQAGdnleUu76ou4ducsu\r\np14d6iZvGFMKHGDrt2LfaTF2Kjy4IVkKpW/kvKKThBqRghiEAeK4l7oKDi/l\r\n8DkJvDNgAc0mFOzN6pDHNHzm3hKcBKMPUAKKAZMHmsmi0glWsBNo/SW1B2M+\r\ny64AzFSqwcmoxFoO/d3kTRg6/dcYLXyVeVcdkR85DtBH/s+AaKrUIsO8HFNr\r\nBc++F9/Z6GjxLQNvOZd8z2dXx5IAv9oTscVIDw8Tsy4bEiykHex/MqTmCI8c\r\nMdZDizQfy2DAuDvl8T59bbnp+lbibPPyyQReoyTmq3bsgnlQNSPGYBg+HiAE\r\n45B+KtwzYC/ffC1OrNvENzv7W1/jv9e+U+XM9EDjh9IsxsqFfhxd5xRQdvN2\r\nhoala3ClAO1bLDcpLt5WJlPEzDD4CkO/YIsVYq0lMx8F0tII1dLiAyevBZnS\r\nMWzh7b6e0Ew3gW4+i6kMebh4pxKcOFfgv93vnZu5dUfpXPfvAyWAc25vuPNY\r\n58QSwMKwX+czDD6DME4ezp6NgkDED1rvcqI=\r\n=0g7E\r\n-----END PGP SIGNATURE-----\r\n","size":2931,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-1.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-convert-optional-to-logical_1.0.1_1683228648900_0.1463117343078324"},"_hasShrinkwrap":false,"publish_time":1683228649076,"_cnpm_publish_time":1683228649076},"1.0.0":{"name":"@putout/plugin-convert-optional-to-logical","version":"1.0.0","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"🐊Putout plugin adds ability convert Optional Chaining to Logical Expression","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-convert-optional-to-logical#readme","main":"lib/convert-optional-to-logical.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","plugin","convert-optional-to-logical","try-to-catch"],"devDependencies":{"@putout/plugin-conditions":"*","@putout/plugin-convert-const-to-let":"*","@putout/plugin-remove-empty":"*","@putout/plugin-remove-nested-blocks":"*","@putout/plugin-remove-unused-variables":"*","@putout/plugin-remove-useless-arguments":"*","@putout/plugin-remove-useless-continue":"*","@putout/test":"^6.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-n":"^15.2.4","eslint-plugin-putout":"^17.0.0","lerna":"^6.0.1","madrun":"^9.0.0","montag":"^1.2.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=29"},"license":"MIT","engines":{"node":">=16"},"publishConfig":{"access":"public"},"gitHead":"d7177f3db52e4f5892ee577da97bfcfd6642b0a5","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-convert-optional-to-logical@1.0.0","_nodeVersion":"18.15.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-3vPzb33YDka+z0o7X16YujeN8LPejo9RA5TPAGxJ2lCY5UZdnFp2lAZQOugb5gGbwbBdhEGuw+nTMcjclinBVg==","shasum":"e56076f4c88c0c9089b54a1925f65c96cc52fd78","tarball":"http://registry-npm.ywwl.com/@putout/plugin-convert-optional-to-logical/download/@putout/plugin-convert-optional-to-logical-1.0.0.tgz","fileCount":4,"unpackedSize":6520,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZiTIcz/R2ilpPDnvsK+6cdjWOJkRujcfv39DmFOAKkAiAwZ87BSE9+6s5P+fDTKSKiBpJNlZ6jj5Q2u1zhc0SwTw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVAUfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJAw/9E8AWioo9Jh71jOAM2xGZ/N+/G4nFc/+DWYkYE6eoRcWdszRv\r\nu+ni2NQ2eqXT4xkMNqaWozXEw6geMu8V3tmBHTYbarCUnvKahHtmbjU8plE3\r\nRpVYTLZJda6cgwwPFLhfatnmmRypnZAebGOXW/+KXZQmK79KuhVZip/tBLVU\r\nLHgL+t46EZFuIu3F5B7tuzsAhcWh7ZCzR4Ip94YFO7VHGSS8Ry2wTPXNUGgY\r\n9y6VA7OelLPVzQy/OlEZcrttsVHkMigJIIgnVbXQBLFrmTDq6Flu3K9K9ATZ\r\nVx6op3yORNahqyKZXimehX/G8YFz9VlYT+04bVHdEIjUrrJu5gsL6AfcfYBH\r\n9eoDfvWTP+9Mh12+FNEpGCLfcrXEfPciIfIUdlTUSOnJH/xBlo3N4Zp3KLB/\r\nf2ql36eTOSxSE9Wdjg9JZWN+DDAgMrzVXlkgDu9q6V8sV5Kuom1SmMJCKUPY\r\nqxiAffV8PYk4VeWTSSCr4499MaRi4RkFV5bUPn/vFFwwp+dwGMcf8ZLlkax5\r\nDEUr/T5+OT/e3LycL3K/9u/KWWlXbjhTsKWBm6MuvBMmxTyh+6x2rVSrcmbV\r\nxvdEa735krsTAn1Z1ITXFt8qVwbFivU7GQmepGPRPMl43yYtHJr2DyX9GnfK\r\nx6TloEQ7GQuPI4yyfKtn0UxoLFohy0TIRmU=\r\n=KCmc\r\n-----END PGP SIGNATURE-----\r\n","size":2877,"noattachment":false,"key":"/@putout/plugin-convert-optional-to-logical/-/@putout/plugin-convert-optional-to-logical-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-convert-optional-to-logical_1.0.0_1683227935583_0.539219863956101"},"_hasShrinkwrap":false,"publish_time":1683227935759,"_cnpm_publish_time":1683227935759}},"readme":"# @putout/plugin-convert-optional-to-logical [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-convert-optional-to-logical.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-convert-optional-to-logical \"npm\"\n\n> The **optional chaining operator** (`?.`) enables you to read the value of a property located deep within a chain of connected objects without having to check that each reference in the chain is valid.\n>\n> The `?.` operator is like the `.` chaining operator, except that instead of causing an error if a reference is nullish (`null` or `undefined`), the expression short-circuits with a return value of `undefined`. When used with function calls, it returns `undefined` if the given function does not exist.\n>\n> This results in shorter and simpler expressions when accessing chained properties when the possibility exists that a reference may be missing. It can also be helpful while exploring the content of an object when there's no known guarantee as to which properties are required.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining)\n\n> The logical **AND** (`&&`) (logical conjunction) operator for a set of boolean operands will be true if and only if all the operands are true. Otherwise it will be false.\n>\n> More generally, the operator returns the value of the first falsy operand encountered when evaluating from left to right, or the value of the last operand if they are all truthy.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND)\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to convert **Optioncal Chaining** to **Logical Expression**.\nLike [`apply-optional-chaining`](https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-optional-chaining#readme) but backwards.\nMerged to [`@putout/plugin-optional-chaining`](https://www.npmjs.com/package/@putout/plugin-optional-chaining).\n\n## Install\n\n```\nnpm i @putout/plugin-convert-optional-to-logical\n```\n\n## Configuration\n\n```json\n{\n    \"rules\": {\n        \"convert-optional-to-logical/assign\": \"on\",\n        \"convert-optional-to-logical/call\": \"on\"\n    }\n}\n```\n\n## assign\n\n> The JavaScript exception \"invalid assignment left-hand side\" occurs when there was an unexpected assignment somewhere. It may be triggered when a single `=` sign was used instead of `==` or `===`.\n>\n> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_assignment_left-hand_side)\n\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/29c00f1b02b592a3dcd7b7e185dfd354/50a1a416da21b02df3a76954b4d7a1ff7dac1eaf).\n\n### ❌ Example of incorrect code\n\n```js\nmaybeAnObj?.prop = theValue;\n```\n\n### ✅ Example of correct code\n\n```js\nmaybeAnObj && (maybeAnObj.prop = theValue);\n```\n\n## call\n\nDisabled by default.\nCheckout in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/e0a4ccb41708ad37e34d527a978ebb88/482f15c954cdaa35e37da7a1dddb82338d7e93a2).\n\n### ❌ Example of incorrect code\n\n```js\nhello?.world?.();\n```\n\n### ✅ Example of correct code\n\n```js\nhello && hello.world && hello.world();\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/coderaiser/putout/tree/v36.18.0/packages/plugin-convert-optional-to-logical#readme","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT"}