{"_id":"@putout/plugin-apply-await-import","_rev":"3-69b2343f1dbba9aa01910014daff062f","name":"@putout/plugin-apply-await-import","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@putout/plugin-apply-await-import","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply await import","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-await-import","main":"lib/apply-await-import.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","await-import"],"devDependencies":{"@putout/test":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^12.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=22"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"ef861b3d1c8dfe4b9d660f232aded37d2fcaab46","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-await-import@1.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-SGy+xGu+nv2kohX7s4ESsTYojVt3lot7qpy6dDm+wpeKjUZkFkFPVG9IYeR/iLr194bVuomyU1JCJmfYXomG0A==","shasum":"e614e3b9f39d707fcd8e0f7e0cf9a9ca77d57bc8","tarball":"https://registry.npmjs.org/@putout/plugin-apply-await-import/-/plugin-apply-await-import-1.0.0.tgz","fileCount":4,"unpackedSize":3732,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwJQ1CRA9TVsSAnZWagAA1kUP/2PyqNiAOOU41QYbuFu9\nDEsXaRxYa86Ap8yw7i0IQfC9nI8MOKLhhURnf7WMfCDMyASAwRLSwsho/BAc\n+4zcAOt9bGVJcdTbHbFsVhRfSLczzjvo1asX3VuIPjNmlRPLRJZC4dxQPM8x\n7IbHmYDo6eceSnmMKePcgN6157cx/Of3S2ErnpL6Lp6ifr5plepXYiAGLtkp\neCFUG6t8OUpmPHK7GHWh64bsgTYKudlW+lMtf+AkvIvGj6QxHy+bPxgn0ndi\n/PD1Ey8+uphIFrEqd+XoacQ7EfVs8nQXVumquaxUyFTMMOKjOsceJUjIX5/K\nlzqECwNW7xiTmBS4YytW3VIaHKdXtv4halaj1TdHAaY9+SQKzr727X1JHVQJ\ntsb7rlyR0vgF+wMLO+mfga2wqdMwBlZKgME0yZr/lekQNuOnzZoy6MggWjyP\nQT6jYZgAtI/hDaGNaqhQHjzrauNTKXFBXbg4tU4lnPrPEjYP9TKAUfL8qjxU\nqDRyfbckSjuNTEkKb9rahbA1bQGHrII4nvJ0ZNiX8yg0iPBLhomcD/baglcH\n4osvMRNpoD1v41qQ96AnunO+Toiw+jLkPny0D+NnhaG+atoSoO598ftwaUsf\nCvIb5mo1Ft3Lgi+aoAw12i3p82rH6qvn7xRQuceZzc+qQncD9M9jWVGRu8Zy\n+eKK\r\n=IRIS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETTDjYglyI7cNFJGDESSM8XmxWEEOpH5TulzafBehewAiEAqsOYQdzgFsPuOo3XwFW2Yf4XWr1iUWTM0cK9P/+wX5I="}]},"_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-await-import_1.0.0_1640010805763_0.996110804698032"},"_hasShrinkwrap":false},"1.1.0":{"name":"@putout/plugin-apply-await-import","version":"1.1.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply await import","homepage":"https://github.com/coderaiser/putout/tree/master/packages/plugin-apply-await-import","main":"lib/apply-await-import.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","await-import"],"devDependencies":{"@putout/test":"^4.0.0","c8":"^7.5.0","eslint":"^8.0.1","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^12.0.0","lerna":"^4.0.0","madrun":"^8.0.1","nodemon":"^2.0.1"},"peerDependencies":{"putout":">=22"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"c69cc2103217332abb90ec1c5a9707c5852b5230","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-await-import@1.1.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.0","dist":{"integrity":"sha512-5sXlN0KFPhNiCC4NwPbdV1q8tL/Ciy3zta23UO4CWmDyL+YX2R8LPjGJLw7dBvIv7XAVgz7auowo4Rq0+NJTKw==","shasum":"86ce85ea6c0813e4ae2d0d8ba6e07fb0b67f4c3c","tarball":"https://registry.npmjs.org/@putout/plugin-apply-await-import/-/plugin-apply-await-import-1.1.0.tgz","fileCount":4,"unpackedSize":3820,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhwJc4CRA9TVsSAnZWagAAvGMQAJay2G6s1vRwV/TRYZal\nIQJANlwijUnW3Rogqq4fVGn5u3diI5JIodFVwFr7Yg3K6o3V5YzZfyGTr4kD\nbNGIRDuw7Ia9sRB/fsUhoLIlkNfh5wk+EJynH5WDzf0cD/9hVQfQsWZq8JUG\nU5WODI2pvesrrP+5qCGw+LBHirGcDPPZraxSfdi/w/7GTcHkWwi2G7D7uYni\nJhqeWjc2sRL6XbWKYLd7Ne060OfN1WFsqYmp9HNu5AAEe/nwcucNguo4GxXm\nvqtt13cAeYN2X+lcFEBXzWTldMVeKABMW6M4S+LvjW03fbivEk5uMe4XJcI9\nscseauME361IQv5VHNo7XYU9uINb1o1d+N5sg8VsWZmFldGSNLIVVyFLR/CW\ntynsCh+rYndwdAhXaulUKoeT8IWOJkZysmtBOxCoVKsGkSVgrvxu122N2fJW\noyT0wC7XsYAcemelD8FaNgTG/StY4LXUMYt6lFy5PhqIKqbBUTLAlpkszana\ncR1rt5krXImhKIK8c5LgZJtCLRCy3Tor+m09k+0h4Ma/u7l0wZIk/nEQ3IKI\nCPrc7nuV1loCd58TrF2W9Lg09KjcoLcUNxANQe8Eb31IErO4akAYfxL8ztDy\nWGe5pyVKNBbORcCCAVdCUEl6oDf0ZWaLgYFJG5xxt6qBwtIKvY94f3eG/NCP\nqtNi\r\n=zvk0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8NmmJc/gCFeL8cjO6IN/CaESJMliv6k0suAe7Ro2WMAiBslQ1p5XPog6NIFeLyRNidWHbp2sYC3eRTxQY9JmESBQ=="}]},"_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-await-import_1.1.0_1640011575937_0.682348389055204"},"_hasShrinkwrap":false},"1.1.1":{"name":"@putout/plugin-apply-await-import","version":"1.1.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"putout plugin adds ability apply await import","homepage":"https://github.com/coderaiser/putout/tree/v25.4.1/packages/plugin-apply-await-import#readme","main":"lib/apply-await-import.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","await-import"],"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":">=22"},"license":"MIT","engines":{"node":">=14"},"publishConfig":{"access":"public"},"gitHead":"2ca7579b50af8ce6d886a5d2fbcbada4eaeee269","bugs":{"url":"https://github.com/coderaiser/putout/issues"},"_id":"@putout/plugin-apply-await-import@1.1.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.0","dist":{"integrity":"sha512-w+KqbrzX7UBWw7964HNi4Dj1WuY5MZS9zBamFzc2SaWxdCFp5P2PqHA2sJedRO5oylK9IOqqliX+WlWOY3uhyA==","shasum":"26870187e0e8cbf16b2805bd08e64b84d1b3e517","tarball":"https://registry.npmjs.org/@putout/plugin-apply-await-import/-/plugin-apply-await-import-1.1.1.tgz","fileCount":4,"unpackedSize":4082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLPa+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqx5g/5AC4hGDWRRrRyfoK7GG1Ql+vxXA0dpH0r3+oTJJdM0dKmAh89\r\n/ZEWBC24eCBWeaKA9o9cP1kRo95yKjEI9CUVid/0qG6PNTJulw1L1cNDyoPi\r\n/HRJHraAB5wZOC7/R9Ur/ikDvWPilDSyIhoRqOnL558umkDc0Y4BOMxUOYDi\r\nC9vjfAi5aUB6wdhsZ8YXr0AVZjUxxHjsD7veH7Ro0wz/56u4KQe6tVmPntV/\r\nGJkPQ6plvCiOT5bZNL9ZAJZgOMeMBQNcxbyjEF76+U9VVNW0KI8Y6k8fZ6sM\r\nldfM+KlMMLdqK/pTJMoG58PDpLHNS3oBHeMZZ+12s2GrseYXyUqutDHxvbYC\r\nBF2rwrm8kdcGfsHct0YZf8NYA2IBDFVuF6gb4bevzX0ePbMOyH1K7vu30PJU\r\nk/PJ2A8+NVX/kBwCgLXrs0dvTasIByodEVJWQmLqc4iEXA8F+Ypf14DaxzuZ\r\nh69mu75VmSXiBDcilwmArsAKoBNr04gYyCqd6/w0GwylhiXbU3U6odpk/iLf\r\nKft30B4p5+tTvubWWh015CwGm8rvfPRAZfYHPbJLqF8ha6m2VvagilzWT3tx\r\n1Y2+JEVRr1muPuyeuD6U/b5syQxe0W4Nc5pvnG14qa/A/TXo+HHWGodGKIAt\r\n0OnT6DWpscDLFTgVPXLJbmDxtkqKL8lurc4=\r\n=zCM+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDweFhMvuzgC1fELVI/T3Y26pbBkKKerdYy1wAbRGdR/QIhAJfmQtFseDOkW8fZTQtCEPnLx0/MdSPliptbiH55X0yp"}]},"_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-await-import_1.1.1_1647113918456_0.6824719454469643"},"_hasShrinkwrap":false}},"time":{"created":"2021-12-20T14:33:25.712Z","1.0.0":"2021-12-20T14:33:25.960Z","modified":"2022-04-06T17:11:48.338Z","1.1.0":"2021-12-20T14:46:16.088Z","1.1.1":"2022-03-12T19:38:38.599Z"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"description":"putout plugin adds ability apply await import","homepage":"https://github.com/coderaiser/putout/tree/v25.4.1/packages/plugin-apply-await-import#readme","keywords":["putout","putout-plugin","putout-plugin-apply","plugin","await-import"],"repository":{"type":"git","url":"git://github.com/coderaiser/putout.git"},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"bugs":{"url":"https://github.com/coderaiser/putout/issues"},"license":"MIT","readme":"# @putout/plugin-apply-await-import [![NPM version][NPMIMGURL]][NPMURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-apply-await-import.svg?style=flat&longCache=true\n[NPMURL]: https://npmjs.org/package/@putout/plugin-apply-await-import\"npm\"\n\n🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to add forgotten **await** to [**dynamic `import()`**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#dynamic_imports). Part of [`@putout/plugin-promises`](https://www.npmjs.com/package/@putout/plugin-promises).\n\n## Install\n\n```\nnpm i @putout/plugin-apply-await-import\n```\n\n## Rule\n\n```json\n{\n    \"rules\": {\n        \"apply-await-import\": \"on\"\n    }\n}\n```\n\n## ❌ Example of incorrect code\n\n```js\nconst {readFile} = import('fs/promises');\n```\n\n## ✅ Example of correct code\n\n```js\nconst {readFile} = await import('fs/promises');\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}