1 line
79 KiB
Plaintext
1 line
79 KiB
Plaintext
{"_id":"magicast","_rev":"25-38c2c3be2303bf9ea67202efcdbf0760","name":"magicast","dist-tags":{"latest":"0.5.2"},"versions":{"0.0.0":{"name":"magicast","version":"0.0.0","_id":"magicast@0.0.0","maintainers":[{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"dist":{"shasum":"d0461a30134058ef3e831861f8732a0906b420af","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.0.0.tgz","fileCount":1,"integrity":"sha512-pnk/gXREJN/Iy2tpSVXPGEsUj7Pzq5A/YS/n9HvEEVg6vHp80rY39KSNegCj6iCFKfiV8t6jSysKyHI+BoNINA==","signatures":[{"sig":"MEUCIQDvJQuZ3zE0oqpuG2HgkMdYEMS1S2Lz6x4E5X6b/iztlgIgOEY5SqQBA5gzFqF8RaLF3kF+JjO8UHhOD6jD906Jv18=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7MGfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpn0hAAgEZ+HO/8/e5I8iA/SW8ZIJToDb59b4g7Ue5LNBsoMSYscDLq\r\nd0gUIKHVzOFQakKWaQJ+EthBddEP8UU3Lj2+ObHWJSENbVfJZZvUwEb9WMVV\r\n76SIVIbcVPSdUPK4pz2YPjSaO3bwvOPS8lRkIJvicQC9dLihbGLSagyIlMmq\r\nazEp0L0ATL9Yl0tOc/TT6qa4Dlfv9YqXHZgD7Pc8AUw2SB8FLv8Lc0l5GJ3i\r\nLewzG25eYDj4dak+8ov6GioIZGxOo5UZv19uVV3BzHyN3sgg1hKJ6KxUWC2+\r\n3ulUs5/NazHpUbMXLVRic4dGY7XdLTUZvAZWBlSM7ydi6e2qBCU7W2u9538+\r\nbI/x+bGO+nZz6jjyu0+Lrd8eK1fwuX0mGQx4O5Kp2aaOYaii8fhZxq0pazHR\r\nxkn6gv2sacVqh/Vtfp81bVS4QxHWddlT6VH64wIv6Z1GyehCmfSGTAygkDB5\r\ny/OY3r/Gy0qDPBwPYQ5U93DLPM+wmXCeRi4rYcyQdLvKaXUjtwk4RL7mTt/O\r\ntKxKRzxM8LdZCv7E0ex1O3oVwhcGkV7OQtpyI3Rd8wvSxdWlHmC4DltZsPeh\r\nWr6bsqQ2jQMQxmIVlmaHg/MT2CB0adKVEn2c5K7KFkmRN631AT2EvmTMVuMI\r\nU4Dog62918NjFig8E975iA2H++8NYAXbcog=\r\n=awGL\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"_npmVersion":"8.19.3","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/magicast_0.0.0_1676460447413_0.44604875719860226","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"magicast","version":"0.1.1","license":"MIT","_id":"magicast@0.1.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"f3cfc60be9fe56507240d3b55be73f4328f7b222","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.1.1.tgz","fileCount":6,"integrity":"sha512-ghYiTbtT/SX1aBE6CkhThU+RWHFH3W27xxgbXmiih/4zJcz9F+u5t/K8J4/5iIxbwtG+eiSGx+4MmXYH+wd+Sw==","signatures":[{"sig":"MEQCIBP3yZcyUCCx2/C8EgL+YIQR4RaVaqxPd7cIClBPqLvUAiBxcTZwdzPGnmqE5x2oD0m1iCAo1hlx2TyLXpEta4kOcQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj7M4tACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmohkw//f7076LcuUKRe+eLJdRtgsy8amLA6nCxg5XnPzKGDrtdrHbBW\r\nSMt0Y8O9TtDEbTub1J2+xqKJ0H5wLOEvjh/7Gp6sN1OFD8yEhfKle2aJDG/d\r\nXHOQuFetQoQ8T6aMSCFKJo92pLFUBqqhrUEX0y5TCfQW/6aMcYQ12kWh+hMO\r\nQnANcOE2NQxLWPUOb6NPDb9M/TKRPlnO8uTTjC7T7slBIJx1Or2UDnnWUCCn\r\n0s84YjyY8xFwcEnqChVV/16JoEc/gnyqEeUya48WO1cX6tIVUjazhnwSyggD\r\nIFWaguB0jwqoh3UIdmCCmg0nt1EmLtyXEc/xKvkjl/HZqy1ODPBtbK/brzSi\r\nbh3MPUo5tNzubXzP5zP9253RO05l48uPeM9Cq9iEfM9sC03D9DQhQAWhXEew\r\nWttJzriDfBbZtKW2IY7Dd2bnz3pZyIudbXJvgayttaIKSu/E8+O1L+YO6cLs\r\nh15h+8+IYA+m3dYZI9ZmPGSgpYYFLOy2KElUiG5nEwGwYrVGaPHFlXBtvP0M\r\nKbwdNNK93zsPr93kQNuWoUD/4a3MD6pf2AvlfjxJ/MwXXFVGoj509XzRM0+g\r\nuN5C+KCCzVbiZzrmlceh60YIm9AgHg3N9+qejkgAfKv2xAyFpkwJtjAhRjwu\r\n4aXqlEQRVqKvtyWiiM23HIWcptyj0m5XSr8=\r\n=Mz21\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"69536e643160bc2da64836828a5dbd3d7b18e376","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"pnpm lint && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]","directories":{},"sideEffects":false,"_nodeVersion":"16.19.0","dependencies":{"recast":"^0.22.0","@babel/parser":"^7.20.15","@types/estree":"^1.0.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.27.0","devDependencies":{"eslint":"^8.34.0","vitest":"^0.28.5","unbuild":"^1.1.1","prettier":"^2.8.4","typescript":"^4.9.5","@types/node":"^18.13.0","changelogen":"^0.4.1","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.28.5"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.1.1_1676463661348_0.47369467059423376","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"magicast","version":"0.2.0","license":"MIT","_id":"magicast@0.2.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"922dd91721b99eae28c83f559699140d55c07a03","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.0.tgz","fileCount":12,"integrity":"sha512-ql3JeSx4dpRuif8nft7Bh2YhBz21KAy3c/gS+YCrgFG4TzR+4PZfjkVTaKSMw35pD6RoavEx0EUb/KgG/7uD5w==","signatures":[{"sig":"MEUCIGZTN78xRv0kotHuj7312OE+DyNNH5m06hmeORZNzjIwAiEAnbg5B/xccRjzwr2zwvuUSGDVuOyLnO0BvtH7UvQx6C4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68521,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLT31ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVdw//d/VIH6Wgm6NL+SFNZbBNo1a7SE+rMmMvgOuwQtMCAdXpz2fA\r\n2RzgNf9Iv2qSshfCdfce+vEDC7u5YsnsFncjnWvV7B84L1FTY0eVSzcp0XtB\r\n03Jkuv2WQt5vtsGGIQHpfW9W+hZzg707JzvTBemQeJFLtIPxMuppKCbrBr0x\r\nQjd1gay9NU/7VQgTqmA5EaNpqn/oAmStiiTL3QNYoq1rDmkDwnpO27GrEel8\r\nJ7Pbnd2a/1YcVIPcBTYog2dYuuaY2iq+VaB2qICmb2uI8XIy7e4gUm5mHUKy\r\n7Awq+IiuhA70Rwep5pCefkO29/YAcV6bbPkqqsyHu7R/lbUvZZU6LSwe+W5F\r\nPgyn0C0LGs5ewNkOE9TFjlhGi70NwWP9FVN6nnIwup8s69myH7Pf/omc09WK\r\nhny65ThSeYp40MTati6TT1iYkOeCvsbTNODmsbHY6cL/nZHX4FEyP+9LUlW1\r\nm19+qXtOXIojQRpvXcBXjAV3LKfvjrNr7WpIHuhBK4nNw13VAaPze2F4Sz5L\r\nnXE4gjH9kdoGDlAiikromE1ZVM5WCBwjDbmYpg5gO6hqP9FD0RhedbACts5p\r\nLumoa1OhpB3u56tXdXqom21icBBpZe57FP0Lgj0qB6yI9bOCxmjBGxeJ65Fe\r\n43oYJJ1bbY8GnboNZtnTZDIc9TpYIEGScFs=\r\n=QbKI\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./dist/helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"510d4e3af223688df06b23a142d18f2d866150a7","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"pnpm lint && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.22.0","@babel/types":"^7.21.4","@babel/parser":"^7.21.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.1.1","devDependencies":{"eslint":"^8.37.0","vitest":"^0.29.8","unbuild":"^1.2.0","prettier":"^2.8.7","typescript":"^5.0.3","@types/node":"^18.15.11","changelogen":"^0.5.2","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.29.8"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.0_1680686581484_0.18250798612724872","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"magicast","version":"0.2.1","license":"MIT","_id":"magicast@0.2.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"1525dc62f06fbea3c30245a42968b69b2890821c","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.1.tgz","fileCount":12,"integrity":"sha512-cyzYdiRuUZ57EnB3ujuGtFfsHdUccjNAVT3FTp3tMscN6b5gFwTqNc9pEFtoyERd9RvaV8l7kbiJ5vjOM+CONw==","signatures":[{"sig":"MEUCIQC5Vdffx92c4eIGt5ecEJIsrItmEAiitCu2sjm2PhZpBAIgbRAxFbNT1jVdYC7asccs5iDRG5oe8GwCsHis82wNoEY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLn3WACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoaPhAAgB7ckQ+pfvnj+L/vrh5UfLaMSoXQgbjqlqujNrLnfBNeXGaY\r\nNyGOOEbrQ0TQ72HXPbqwaeShS+KPT4wd8IUDi1wcZUfm+VPQRJzQ4cieACkO\r\nQJqbXf/LEXxGiIyZeHcVu6Hs6i/0z4Xrn9gjhrd+lFmxG2mhIkWo2sG8cgXp\r\nAwJrVs0ewQQc0dWY3XJmurq/lVqWKDxRsDNOFkC3ZOVAr0H++McO8MEIyX5B\r\nTIgC4dZsM1rX7NTi/H4KBnE4e9Ru5IEsd/0q0WUZnw0d1x0EWvt9nYl0ErL7\r\ndQ7GitqnJBPruXH6yui4ir7ocr7eC5HUTewUSS3K6fsjNsnO7DtDjQWqFu/8\r\nproT0ZJ18A7fEByXmNzp3A/CZbfGoMSCJmGTrC1GT2ONAFc4UR/NwSWLbO2O\r\n9mIUDKJ0vl8o/wj2D6Vq3s7b0QhPU6OrnaF5i6jECgGjn122atM6n+8N8Xab\r\naA14pAwayik/ZsioVka6pK+Y7uoGKs0oXJH8JCrGXvm/AxZ0+IeSZF8a/QcO\r\nbUY5fI/b3IKtXR2CiMsDghyUxrfsVh3vkqhTGzQyr9TSY/8gdbXBaEkkdIol\r\nSB3M9hFT06WolMqsvo/faQCcYsxvvQI9zyOeccGO58AfR4f1wLPWR89EUicM\r\nteEP8Cmd5E73sFkBRfnkI2ncRVh5MEA426I=\r\n=WOOg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./dist/helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"df326b23e1ccabf5a9d7211e6ac6e031a90749d9","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"pnpm lint && vitest run --coverage","build":"unbuild","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.22.0","@babel/types":"^7.21.4","@babel/parser":"^7.21.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.1.1","devDependencies":{"eslint":"^8.37.0","vitest":"^0.29.8","unbuild":"^1.2.0","prettier":"^2.8.7","typescript":"^5.0.3","@types/node":"^18.15.11","changelogen":"^0.5.2","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.29.8"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.1_1680768469950_0.3864268054390363","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"magicast","version":"0.2.2","license":"MIT","_id":"magicast@0.2.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"c23da008f9967056cc4816f91c58a41247f634ba","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.2.tgz","fileCount":12,"integrity":"sha512-geqE0Cdrj/5YvlLo3CUtOFXhVAbox90bEQkHi3kkSB85+Vt9aMPFZpEkjTr6d2SJwRJ+3fE0bAUyfhpZjPVT+w==","signatures":[{"sig":"MEYCIQD7f8BEa6NFoIweS+jKquOz/9mY1LwqkPNM3Dkp7SWMxwIhAJYwf3DbKMRgyqbCX2UCi0CbRfXo/CETQjaYuxvGlnrE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMDS3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUrQ/8CGKITa/uJVkPDfPqbvJwd0l14vdovsoXqButOwDurlqbuEGB\r\nqw+68GPiiTdP/f/k/Q/DjyfJejLAYZq7Ciy5DV4lVgH7nRx9hVhiYWsMRjGb\r\nujrmSsxAE57ucWae3rAMNqvsMVmh0SGRBslU+2Rm5d4poZkBHehUbnhLrKhh\r\nRQGOuM7yRold1xIRJqDErT+RKdZf7S0IymKrZxm6QGdH6hC8H86nszaNQlLD\r\nU+D2+azQW3ucV88o+Vk2r0Oo/ZpKRuuR9/BkLGbeCQ0denCMYcM7fEbB2nV7\r\nxEXf4hMm7KgKPTp6T0WCxrY1M/2v9Ptkaglpew4YYwvr1vSkb5r22eGVgoXE\r\nNeOBZLZNzx4/vklWn7y+ZeLvVusvcGgP3tIvr3q64eOaSAiydD1EyhvHijvS\r\nEF4l17XSbW0zLhVcuJ3IYBPHHuY29rOX1qKe13/ny0HYxmavXSJKpY1WqFsZ\r\n7U1CBZBZvKvVSalQGnIh7/PgzMMw6Yl4AKdZrFviHSh3zVIL8B8bKOnrinpb\r\njTCbwqDf1EAKVPi5lJnte7F1JWk7ihHu+cL5SyqkweaZsHeiVKVEoL+QBTGx\r\n4IAoWPQOFzq7wTXzQWtk1HxGuayKYh90zfWdBjNvEeIZD0hqVjSv3fGmnzuf\r\nKtgdm3ndbP0ElKxbV2T1w9ts1ww4Zi85dzs=\r\n=JMsa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./dist/helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"581fd16d27f8837d82598bc69a3e36d479cfaeb9","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"pnpm lint && vitest run --coverage","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.22.0","@babel/types":"^7.21.4","@babel/parser":"^7.21.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.1.1","devDependencies":{"eslint":"^8.37.0","vitest":"^0.29.8","unbuild":"^1.2.0","prettier":"^2.8.7","@vitest/ui":"^0.29.8","typescript":"^5.0.3","@types/node":"^18.15.11","changelogen":"^0.5.2","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.29.8"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.2_1680880823187_0.9443739566635714","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"magicast","version":"0.2.3","license":"MIT","_id":"magicast@0.2.3","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"38738f4edec99f71508f7a2c6e1e1d702f429546","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.3.tgz","fileCount":12,"integrity":"sha512-2+5KQHedqabselXm3ogACm+7t26jN8iSbcPjcgv4VuTmzaDVD0K2A7d8KSlK1wmnSPBeaI25AXG6zGD7yTSgKQ==","signatures":[{"sig":"MEUCIQCkTIUD8eHi7wgAo/a5F5QU3/1cw8NhYVuI+gUp18ZJNAIgYc01lGN6D6+gHWjdpRQmCtUS59thbzTt/81UOECtT60=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74178,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkMqONACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr2Pg/+M3DeG3e62XmFC90Z8a5GKdFaQc1bp5nLzXy0VeGGFFOXW/Bw\r\nUuQ7QhKNfucXy8rma3a+zEd1NYa7bYL+rwVoj7cIizXImdWhe7XoIBderF0W\r\nDy2byHzid+NBwwLoTfgvyWJTBOkI1P7OpXaYMrN7g1pa4OSSHcpkhEwc62A4\r\nGsCrHRP1GZ3eMypW8stv3o1QLIOpb3PNiNKPOPWQWY2Ty+ST0+E79aBw0bGO\r\nnhINuWf+DAmjI2KwNsx8/s+Dv65Q0uF4iGR+YSV7U6Iyinh4i7/IMwQwZV74\r\nFdNFCuzTlR5bhR037UVy/qhGFSyes+XpxDHRN1itdkm4b4s2bI7Y1OpVrp9T\r\nxyMEpbGsEoqPMHH2/6Yoc4jp9G9wy8r3OCIvxpXNF7btDRxMlO7yKZBm/I6L\r\n64K5gzERg6CJ7Bd1+OC+c3XOTCZOEEpKaC0hLUnT/+FPfApV7Y3FktgGpMLf\r\nbgQ9HOLZiD3HRfxAdXLD1MFtEWsm4Cs1qaw572iPp/Avv5CdIJ0CuI9UKXXE\r\nYnJcUkBMEeLb7Xof/PDMR43rtn3+YGmyH1QNa0t/zi3WsYfgsMzfkVp5D+KH\r\ndwowqEmsHcTRVK7pwQufFWXLTY9s+plOdwST01SgNY6GW/DjX2mxF6ptXBJp\r\n+YwpV66a7WL02YCIsB4lloH7Ij84urOhPH8=\r\n=DtZU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./dist/helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"f8dc7963ef22664c5ed90f54d2fb29df6bf70f22","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"pnpm lint && vitest run --coverage","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.22.0","@babel/types":"^7.21.4","@babel/parser":"^7.21.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.1.1","devDependencies":{"eslint":"^8.37.0","vitest":"^0.29.8","unbuild":"^1.2.0","prettier":"^2.8.7","@vitest/ui":"^0.29.8","typescript":"^5.0.3","@types/node":"^18.15.11","changelogen":"^0.5.2","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.29.8"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.3_1681040268963_0.7030680172412305","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"magicast","version":"0.2.4","license":"MIT","_id":"magicast@0.2.4","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"73cf3e88166ec9db724709b1871553b3e6817400","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.4.tgz","fileCount":12,"integrity":"sha512-MQPwvpNLQTqaBz0WUqupzDF/Tj9mGXbR2vgENloovPmikiHXzk56HICC+d1LdLqzcLLohEHDd01B43byzr+3tg==","signatures":[{"sig":"MEQCIAonALB5cGYe98J0Xe97MXNGmTDB+lzSJ201fTB5CYKvAiAA3TOKt+DcHBC+P/gkSeo54zqyBGQU9WgT40WsujDsug==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkQVYcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpQhw//XWnv832WJG7bN0LR6U88gkYLTxTnfa7UEqgCD3TuIF7vJDgz\r\nA63nFdAO4zMoJVF/8z5KpiRIkADGdzWdVYY/or9fIjtLCyp6y9sL412697rC\r\nHHK8fZPQ33J/urMCmmjhSwZrEO5S+p+n1z+6sfPBR/yanhMCvlQpwlyDX9w3\r\n89/KgkcFTDq1izGmSyngrQw03Y96rRLiooZ88/6lASBV7U6ZqsX4z+9R2Vru\r\nm9yCSuQ/4fcuBnd5H6DMRACcVcRlY6yO9GRuxB6pMIpCdZ/pAuSZaH1GshbX\r\nYFU48INLknG1HWkKDrtrWeUHjboq4Jctua4m9cEpVQECX7H3D+EpAAdhsnxK\r\nxeDNYP4q/8YCCAMXevEV1aAfWvnlhzGgLL2nU+zi6jqgbWyyefszaH335fny\r\nU5p3yH9rKA/fPCH/4y5L0LodUkdy9nooNLPkiw/OEGxXwUaEJ4Xx4UzKRt8K\r\ng+c9HNWbfMbKHhaniR1KSgZCPwfBPS4FFXyIRtQjp+f0JduxSmj2Nhc8Ol8Z\r\ndFrPldXER+A7h9OiKYjPrlzR33sTYfYjyr4Ma6sHKJO1+4Y8dEEhsuIhw93y\r\nwOJWBuRHqUWUFzzMR4UQRKXdkVsLkZDGnT76uNHLLMhSK5hVWACJbN0N3Vqg\r\n9+gjF1BbNO8HRTUbNimagwGdDHxKKJ5eT2I=\r\n=iuJz\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./dist/helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"d5565e3d012b42723212f8b863588d80ed610621","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.22.0","@babel/types":"^7.21.4","@babel/parser":"^7.21.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","devDependencies":{"eslint":"^8.38.0","vitest":"^0.30.1","unbuild":"^1.2.1","prettier":"^2.8.7","@vitest/ui":"^0.30.1","typescript":"^5.0.4","@types/node":"^18.15.12","changelogen":"^0.5.3","lint-staged":"^13.2.1","simple-git-hooks":"^2.8.1","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.30.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.4_1682003484012_0.9298434937412252","host":"s3://npm-registry-packages"}},"0.2.5":{"name":"magicast","version":"0.2.5","license":"MIT","_id":"magicast@0.2.5","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"c3a082483f07ebeb375f61f3c0219cd1737f9fe4","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.5.tgz","fileCount":12,"integrity":"sha512-S+koFYbW06QWAOqNk3dW+p4NILvvmuV9tG6oOxJ9QHsmkIA+lClm+0GO1OxPZ26BvJasC0a67jkPPM/QkkSmPg==","signatures":[{"sig":"MEUCIA2ATwGhJVSWiHst5I/2iwIrjw2zC4aApfQba5nBTz9XAiEAugJnHF00AwUlaAL+mWUmLjksLk4BOfT9hSrnX3nbtZU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76011},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./dist/helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"16034fe342e314387164d901403283020a43c6dd","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.22.0","@babel/types":"^7.21.5","@babel/parser":"^7.21.8"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.4.0","devDependencies":{"eslint":"^8.40.0","vitest":"^0.31.0","unbuild":"^1.2.1","prettier":"^2.8.8","@vitest/ui":"^0.31.0","typescript":"^5.0.4","@types/node":"^18.16.5","changelogen":"^0.5.3","lint-staged":"^13.2.2","simple-git-hooks":"^2.8.1","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.31.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.5_1683379673941_0.2673851374125429","host":"s3://npm-registry-packages"}},"0.2.6":{"name":"magicast","version":"0.2.6","license":"MIT","_id":"magicast@0.2.6","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"08c9f1900177ca1896e9c07981912171d4ed8ec1","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.6.tgz","fileCount":13,"integrity":"sha512-6bX0nVjGrA41o+qHSv9Duiv3VuF7jUyjT7dIb3E61YW/5mucvCBMgyZssUznRc+xlUMPYyXZZluZjE1k5z+2yQ==","signatures":[{"sig":"MEQCIACrFB2UmmUO0pS59FQVOhofBtu4fu5vpX+7tAY8xZwkAiBc3Yg54DfyKt3L7Sgwdh2X8yANZr8UqgIexyOrROvdzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76054},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"63bdc374d65cd4fa7235318717e946e8faf6db96","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.22.0","@babel/types":"^7.21.5","@babel/parser":"^7.21.8"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.4.0","devDependencies":{"eslint":"^8.40.0","vitest":"^0.31.0","unbuild":"^1.2.1","prettier":"^2.8.8","@vitest/ui":"^0.31.0","typescript":"^5.0.4","@types/node":"^18.16.5","changelogen":"^0.5.3","lint-staged":"^13.2.2","simple-git-hooks":"^2.8.1","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.31.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.6_1683555484224_0.6381529874881477","host":"s3://npm-registry-packages"}},"0.2.7":{"name":"magicast","version":"0.2.7","license":"MIT","_id":"magicast@0.2.7","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"bb31576b23566ecb230e561575199a09d8a5d1bd","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.7.tgz","fileCount":13,"integrity":"sha512-3THKRfye8bkMgH1USXhZXJW3LlyyQCr0+yYh1b+b8Qp169xlu8jseBFikQyDOmBXku5w8bljZX9bP3b9L9lw0Q==","signatures":[{"sig":"MEYCIQCE9D7yncAvXWWhdyccmfTFLufpSguGvNPWbuuB0lb5WgIhAPyj15iXes7PLGYmyPKC8zo/jchF0w4G2saP2wKLUCv6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76291},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"c71901332f2c981463a4cc0408b916484faf96ef","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.23.2","@babel/types":"^7.21.5","@babel/parser":"^7.21.8"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.5.1","devDependencies":{"eslint":"^8.40.0","vitest":"^0.31.0","unbuild":"^1.2.1","prettier":"^2.8.8","@vitest/ui":"^0.31.0","typescript":"^5.0.4","@types/node":"^18.16.10","changelogen":"^0.5.3","lint-staged":"^13.2.2","simple-git-hooks":"^2.8.1","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.31.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.7_1684260489217_0.8778350530991328","host":"s3://npm-registry-packages"}},"0.2.8":{"name":"magicast","version":"0.2.8","license":"MIT","_id":"magicast@0.2.8","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"02b298c65fbc5b7d1fce52ef779c59caf68cc9cf","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.8.tgz","fileCount":13,"integrity":"sha512-zEnqeb3E6TfMKYXGyHv3utbuHNixr04o3/gVGviSzVQkbFiU46VZUd+Ea/1npKfvEsEWxBYuIksKzoztTDPg0A==","signatures":[{"sig":"MEQCIA63r9i5suWRv6kwZePHaKURgExYbrGPtG40rXYWWwQuAiA7JEw99jmileoGPiF5TqWZFtOCmYYgDbrmjzEdUvZm3g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76368},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"9edc7f500f0f5e1609c5e43468332a92fead45f0","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.23.2","@babel/types":"^7.21.5","@babel/parser":"^7.21.9"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.5.1","devDependencies":{"eslint":"^8.41.0","vitest":"^0.31.1","unbuild":"^1.2.1","prettier":"^2.8.8","@vitest/ui":"^0.31.1","typescript":"^5.0.4","@types/node":"^18.16.14","changelogen":"^0.5.3","lint-staged":"^13.2.2","simple-git-hooks":"^2.8.1","eslint-config-unjs":"^0.1.0","@vitest/coverage-c8":"^0.31.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.8_1684919826290_0.6148045175514358","host":"s3://npm-registry-packages"}},"0.2.9":{"name":"magicast","version":"0.2.9","license":"MIT","_id":"magicast@0.2.9","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"9b5de1c6ba40b3fa626834017f0f11800a033cbe","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.9.tgz","fileCount":13,"integrity":"sha512-S1WBXLSVKa34X+Bv7pfA8Umqc1BoglsqzWaQcyuexDc0cjgnERaFTSHbne2OfT27lXYxt/B/sV/2Kh0HaSQkfg==","signatures":[{"sig":"MEQCIBhzYwuIa7RgX1uXgoc7gSiHZG4O/oIvHqVLCcg72+hwAiBpx5zYnEqxLN637qaqnCqZzD6ajPKJzQqU5xd7t5D2ww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":76676},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"d9ef2ebb3224e0061bcecc0c365b768d271b140f","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"8.19.3","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"18.13.0","dependencies":{"recast":"^0.23.2","@babel/types":"^7.22.4","@babel/parser":"^7.22.4"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.6.0","devDependencies":{"eslint":"^8.41.0","vitest":"^0.31.2","unbuild":"^1.2.1","prettier":"^2.8.8","@vitest/ui":"^0.31.2","typescript":"^5.0.4","@types/node":"^18.16.16","changelogen":"^0.5.3","lint-staged":"^13.2.2","simple-git-hooks":"^2.8.1","eslint-config-unjs":"^0.2.0","@vitest/coverage-c8":"^0.31.2"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.9_1685538955554_0.09886609933708401","host":"s3://npm-registry-packages"}},"0.2.10":{"name":"magicast","version":"0.2.10","license":"MIT","_id":"magicast@0.2.10","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"648240897aeac561168caf79e38960a6c2b4969c","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.10.tgz","fileCount":13,"integrity":"sha512-Ah2qatigknxwmoYCd9hx/mmVyrRNhDKiaWZIuW4gL6dWrAGMoOpCVkQ3VpGWARtkaJVFhe8uIphcsxDzLPQUyg==","signatures":[{"sig":"MEYCIQC1Wesm//XYG4a7vky7HaMX8OcmkwfFWP+aQUL4DCKSpgIhAOh4+xQS64QCFqzu+y/Z5m6bKr1Jid3SDJwQa7va8g/Y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81250},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"4faf4870cafa6752261dfd20cfcc152b9d4043cb","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"9.7.2","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"recast":"^0.23.3","@babel/types":"^7.22.5","@babel/parser":"^7.22.7"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.6.10","devDependencies":{"eslint":"^8.45.0","vitest":"^0.33.0","unbuild":"^1.2.1","prettier":"^2.8.8","@vitest/ui":"^0.33.0","typescript":"^5.1.6","@types/node":"^20.4.5","changelogen":"^0.5.4","lint-staged":"^13.2.3","simple-git-hooks":"^2.9.0","eslint-config-unjs":"^0.2.1","@vitest/coverage-c8":"^0.33.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.10_1690429825694_0.558172438415671","host":"s3://npm-registry-packages"}},"0.2.11":{"name":"magicast","version":"0.2.11","license":"MIT","_id":"magicast@0.2.11","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"d5d9339ec59e5322cf331460d8e3db2f6585f5d5","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.2.11.tgz","fileCount":17,"integrity":"sha512-6saXbRDA1HMkqbsvHOU6HBjCVgZT460qheRkLhJQHWAbhXoWESI3Kn/dGGXyKs15FFKR85jsUqFx2sMK0wy/5g==","signatures":[{"sig":"MEUCIQC8V/sSQ/xtAZI/aRWC5o7Q1ChiZwIWdetEYJ6UPB+cuwIgXi584Tri1MMkBZlEfbZAJgoiIJBmgMf5nwB9ydRHWmI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":99381},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"0d65b2301b928484de4f8ead6928f2553d3746aa","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","typecheck":"tsc --noEmit"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"9.7.2","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"recast":"^0.23.4","@babel/types":"^7.22.17","@babel/parser":"^7.22.16"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.4","devDependencies":{"eslint":"^8.49.0","vitest":"^0.34.4","unbuild":"^2.0.0","prettier":"^3.0.3","@vitest/ui":"^0.34.4","typescript":"^5.2.2","@types/node":"^20.6.0","changelogen":"^0.5.5","lint-staged":"^14.0.1","simple-git-hooks":"^2.9.0","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.4"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.2.11_1694654248146_0.34234532210223323","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"magicast","version":"0.3.0","license":"MIT","_id":"magicast@0.3.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"ff290510757da4cb55bc15cb90c9ef34db80a7f5","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.3.0.tgz","fileCount":17,"integrity":"sha512-ZsEzw35h7xYoFlWHIyxU6zmH4sdwzdmY0DY4s/Lie/qKimeijz2jRw8/OV2248kt/y6FbvoTvGRKyB7y/Mpx8w==","signatures":[{"sig":"MEUCIQCtSQcZODz/YGW/4UQkqpMustNZNBCauFkHAXrpKosvLQIgVTT6cnM9CmJf4Swo8ltajYuC8PweLmxTZoRvxEtO60U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":643177},"main":"./dist/index.cjs","pnpm":{"overrides":{"has":"npm:@nolyfill/has@latest","gopd":"npm:@nolyfill/gopd@latest","object-is":"npm:@nolyfill/object-is@latest","has-symbols":"npm:@nolyfill/has-symbols@latest","is-arguments":"npm:@nolyfill/is-arguments@latest","function-bind":"npm:@nolyfill/function-bind@latest","object.values":"npm:@nolyfill/object.values@latest","array-includes":"npm:@nolyfill/array-includes@latest","has-tostringtag":"npm:@nolyfill/has-tostringtag@latest","define-properties":"npm:@nolyfill/define-properties@latest","which-typed-array":"npm:@nolyfill/which-typed-array@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","is-generator-function":"npm:@nolyfill/is-generator-function@latest","available-typed-arrays":"npm:@nolyfill/available-typed-arrays@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"1a9f943cac75b6c0ec769c22c632e1d483ad9c20","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","prepare":"esno ./scripts/vendor.ts","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:full":"pnpm run test && pnpm run build && pnpm run test:build","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"9.7.2","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"@babel/types":"^7.22.19","@babel/parser":"^7.22.16","source-map-js":"^1.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.7.5","devDependencies":{"esno":"^0.17.0","giget":"^1.1.2","eslint":"^8.49.0","recast":"^0.23.4","vitest":"^0.34.4","unbuild":"^2.0.0","magicast":"workspace:*","prettier":"^3.0.3","ast-types":"^0.16.1","@vitest/ui":"^0.34.4","source-map":"npm:source-map-js@latest","typescript":"^5.2.2","@types/node":"^20.6.0","changelogen":"^0.5.5","lint-staged":"^14.0.1","simple-git-hooks":"^2.9.0","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.4"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.3.0_1694777286619_0.13570080088065128","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"magicast","version":"0.3.1","license":"MIT","_id":"magicast@0.3.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"6b8977f448a122026dd2269b823974cb76019f83","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.3.1.tgz","fileCount":17,"integrity":"sha512-4OS+6e5iHr9VxOeA8TqWNudbdTmKvGNd6iCeOsIDwZn7iLLg3uV3BoQfsaXgFVK5x1fXPBx5X0f6w4sb6HYSQA==","signatures":[{"sig":"MEYCIQC2V97QF2UFEGw/EoQEvpjzbvMAFY9Oap2tzZF9d+ioKgIhAKf+naPts4u5CgCs2X+7R/MOA3HWEXERhPLL6QrblVTB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":643198},"main":"./dist/index.cjs","pnpm":{"overrides":{"has":"npm:@nolyfill/has@latest","gopd":"npm:@nolyfill/gopd@latest","object-is":"npm:@nolyfill/object-is@latest","has-symbols":"npm:@nolyfill/has-symbols@latest","is-arguments":"npm:@nolyfill/is-arguments@latest","function-bind":"npm:@nolyfill/function-bind@latest","object.values":"npm:@nolyfill/object.values@latest","array-includes":"npm:@nolyfill/array-includes@latest","has-tostringtag":"npm:@nolyfill/has-tostringtag@latest","define-properties":"npm:@nolyfill/define-properties@latest","which-typed-array":"npm:@nolyfill/which-typed-array@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","is-generator-function":"npm:@nolyfill/is-generator-function@latest","available-typed-arrays":"npm:@nolyfill/available-typed-arrays@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"32be90efe6be8036088c0a6c39c740f3f0efb13a","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","prepare":"esno ./scripts/vendor.ts","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:full":"pnpm run test && pnpm run build && pnpm run test:build","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"9.7.2","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"@babel/types":"^7.23.3","@babel/parser":"^7.23.3","source-map-js":"^1.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2","devDependencies":{"esno":"^0.17.0","giget":"^1.1.3","eslint":"^8.53.0","recast":"^0.23.4","vitest":"^0.34.6","unbuild":"^2.0.0","magicast":"workspace:*","prettier":"^3.0.3","ast-types":"^0.16.1","@vitest/ui":"^0.34.6","source-map":"npm:source-map-js@latest","typescript":"^5.2.2","@types/node":"^20.9.0","changelogen":"^0.5.5","lint-staged":"^15.0.2","simple-git-hooks":"^2.9.0","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.6"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.3.1_1699543348229_0.4046902365773264","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"magicast","version":"0.3.2","license":"MIT","_id":"magicast@0.3.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"42dcade5573ed8f10f5540f9d04964e21dba9130","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.3.2.tgz","fileCount":17,"integrity":"sha512-Fjwkl6a0syt9TFN0JSYpOybxiMCkYNEeOTnOTNRbjphirLakznZXAqrXgj/7GG3D1dvETONNwrBfinvAbpunDg==","signatures":[{"sig":"MEYCIQDnRll+Aa1I7BIMOmdQoVEhYJaGJv9hsSayLZC6jyJZRwIhAJm7TVi3faTWbszVlyRdITdGBJWjoMH0Huxjn5gbBIel","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":643226},"main":"./dist/index.cjs","pnpm":{"overrides":{"has":"npm:@nolyfill/has@latest","gopd":"npm:@nolyfill/gopd@latest","object-is":"npm:@nolyfill/object-is@latest","has-symbols":"npm:@nolyfill/has-symbols@latest","is-arguments":"npm:@nolyfill/is-arguments@latest","function-bind":"npm:@nolyfill/function-bind@latest","object.values":"npm:@nolyfill/object.values@latest","array-includes":"npm:@nolyfill/array-includes@latest","has-tostringtag":"npm:@nolyfill/has-tostringtag@latest","define-properties":"npm:@nolyfill/define-properties@latest","which-typed-array":"npm:@nolyfill/which-typed-array@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","is-generator-function":"npm:@nolyfill/is-generator-function@latest","available-typed-arrays":"npm:@nolyfill/available-typed-arrays@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"f9b707f8eee8bbc6f29aa1adb8bf50b69b0cdf77","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","prepare":"esno ./scripts/vendor.ts","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:full":"pnpm run test && pnpm run build && pnpm run test:build","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"9.7.2","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"@babel/types":"^7.23.3","@babel/parser":"^7.23.3","source-map-js":"^1.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.10.2","devDependencies":{"esno":"^0.17.0","giget":"^1.1.3","eslint":"^8.53.0","recast":"^0.23.4","vitest":"^0.34.6","unbuild":"^2.0.0","magicast":"workspace:*","prettier":"^3.0.3","ast-types":"^0.16.1","@vitest/ui":"^0.34.6","source-map":"npm:source-map-js@latest","typescript":"^5.2.2","@types/node":"^20.9.0","changelogen":"^0.5.5","lint-staged":"^15.0.2","simple-git-hooks":"^2.9.0","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^0.34.6"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.3.2_1699662268382_0.6832716851407545","host":"s3://npm-registry-packages"}},"0.3.3":{"name":"magicast","version":"0.3.3","license":"MIT","_id":"magicast@0.3.3","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"a15760f982deec9dabc5f314e318d7c6bddcb27b","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.3.3.tgz","fileCount":17,"integrity":"sha512-ZbrP1Qxnpoes8sz47AM0z08U+jW6TyRgZzcWy3Ma3vDhJttwMwAFDMMQFobwdBxByBD46JYmxRzeF7w2+wJEuw==","signatures":[{"sig":"MEUCIQCMioculEYlwoXSnmBQTwF3qZ0berYtrNXVPLIOEIu0AAIgF5jue4KztqqlVu/787kNSiYrlwCczkMBr3Jdxaesuuw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":645288},"main":"./dist/index.cjs","pnpm":{"overrides":{"has":"npm:@nolyfill/has@latest","gopd":"npm:@nolyfill/gopd@latest","object-is":"npm:@nolyfill/object-is@latest","has-symbols":"npm:@nolyfill/has-symbols@latest","is-arguments":"npm:@nolyfill/is-arguments@latest","function-bind":"npm:@nolyfill/function-bind@latest","object.values":"npm:@nolyfill/object.values@latest","array-includes":"npm:@nolyfill/array-includes@latest","has-tostringtag":"npm:@nolyfill/has-tostringtag@latest","define-properties":"npm:@nolyfill/define-properties@latest","which-typed-array":"npm:@nolyfill/which-typed-array@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","is-generator-function":"npm:@nolyfill/is-generator-function@latest","available-typed-arrays":"npm:@nolyfill/available-typed-arrays@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"aa0ac9352fa2bc0798e70e63623cb48d1a1897bc","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","prepare":"esno ./scripts/vendor.ts","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:full":"pnpm run test --run && pnpm run build && pnpm run test:build--run","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"9.7.2","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"20.4.0","dependencies":{"@babel/types":"^7.23.6","@babel/parser":"^7.23.6","source-map-js":"^1.0.2"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.14.1","devDependencies":{"esno":"^4.0.0","giget":"^1.2.1","eslint":"^8.56.0","recast":"^0.23.4","vitest":"^1.2.0","unbuild":"^2.0.0","magicast":"workspace:*","prettier":"^3.2.2","ast-types":"^0.16.1","@vitest/ui":"^1.2.0","source-map":"npm:source-map-js@latest","typescript":"^5.3.3","@types/node":"^20.11.0","changelogen":"^0.5.5","lint-staged":"^15.2.0","simple-git-hooks":"^2.9.0","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^1.2.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.3.3_1705262441757_0.749818285264265","host":"s3://npm-registry-packages"}},"0.3.4":{"name":"magicast","version":"0.3.4","license":"MIT","_id":"magicast@0.3.4","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"bbda1791d03190a24b00ff3dd18151e7fd381d19","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.3.4.tgz","fileCount":17,"integrity":"sha512-TyDF/Pn36bBji9rWKHlZe+PZb6Mx5V8IHCSxk7X4aljM4e/vyDvZZYwHewdVaqiA0nb3ghfHU/6AUpDxWoER2Q==","signatures":[{"sig":"MEYCIQDFD0BSGX/sset+S13FdQw5GAb4wWaJiReLnFMxT2Z0pAIhAIq6ErsCJqMhW9fmyvbJKhs1cr3tkspXxTPpbB2Zf1gO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":647306},"main":"./dist/index.cjs","pnpm":{"overrides":{"hasown":"npm:@nolyfill/hasown@latest","object.values":"npm:@nolyfill/object.values@latest","array-includes":"npm:@nolyfill/array-includes@latest","object.groupby":"npm:@nolyfill/object.groupby@latest","object.fromentries":"npm:@nolyfill/object.fromentries@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest","array.prototype.findlastindex":"npm:@nolyfill/array.prototype.findlastindex@latest"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"types":"./helpers.d.ts","import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"be4576402652b20e506dfa6f258f1ddafc9047a5","scripts":{"dev":"vitest dev","lint":"eslint --cache --ext .ts,.js,.mjs,.cjs . && prettier -c src test","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","prepare":"esno ./scripts/vendor.ts","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache --ext .ts,.js,.mjs,.cjs . --fix && prettier -c src test -w","test:full":"pnpm run test --run && pnpm run build && pnpm run test:build --run","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"10.2.4","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"20.11.1","dependencies":{"@babel/types":"^7.24.0","@babel/parser":"^7.24.4","source-map-js":"^1.2.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.15.6","devDependencies":{"esno":"^4.7.0","giget":"^1.2.3","eslint":"^8.57.0","recast":"^0.23.6","vitest":"^1.5.0","unbuild":"^2.0.0","magicast":"workspace:*","prettier":"^3.2.5","ast-types":"^0.16.1","@vitest/ui":"^1.5.0","source-map":"npm:source-map-js@latest","typescript":"^5.4.5","@types/node":"^20.12.7","changelogen":"^0.5.5","lint-staged":"^15.2.2","simple-git-hooks":"^2.11.1","eslint-config-unjs":"^0.2.1","@vitest/coverage-v8":"^1.5.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.3.4_1712883251632_0.8341288863327516","host":"s3://npm-registry-packages"}},"0.3.5":{"name":"magicast","version":"0.3.5","license":"MIT","_id":"magicast@0.3.5","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"8301c3c7d66704a0771eb1bad74274f0ec036739","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.3.5.tgz","fileCount":17,"integrity":"sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==","signatures":[{"sig":"MEUCIBDOuk4CrGD77um9nHXhnhe3WyP4PgJhDXwab4Nk1X4nAiEA6OyNCLvf0hZIwtKR/o7J1E7JkNFTwlFdR4BBfflFOZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":648744},"main":"./dist/index.cjs","pnpm":{"overrides":{"hasown":"npm:@nolyfill/hasown@latest","object.values":"npm:@nolyfill/object.values@latest","array-includes":"npm:@nolyfill/array-includes@latest","object.groupby":"npm:@nolyfill/object.groupby@latest","object.fromentries":"npm:@nolyfill/object.fromentries@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest","array.prototype.findlastindex":"npm:@nolyfill/array.prototype.findlastindex@latest"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"2212670be0eeaf3ba6f97ffc39c2a40e5bf7f914","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c .","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","prepare":"esno ./scripts/vendor.ts","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache . --fix && prettier -c . -w","test:full":"pnpm run test --run && pnpm run build && pnpm run test:build --run","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"10.5.0","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"20.12.2","dependencies":{"@babel/types":"^7.25.4","@babel/parser":"^7.25.4","source-map-js":"^1.2.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.15.9","devDependencies":{"esno":"^4.7.0","giget":"^1.2.3","eslint":"^9.9.1","recast":"^0.23.9","vitest":"^1.6.0","unbuild":"^2.0.0","magicast":"workspace:*","prettier":"^3.3.3","ast-types":"^0.16.1","@vitest/ui":"^1.6.0","source-map":"npm:source-map-js@latest","typescript":"^5.5.4","@types/node":"^20.16.1","changelogen":"^0.5.5","lint-staged":"^15.2.9","simple-git-hooks":"^2.11.1","eslint-config-unjs":"^0.3.2","@vitest/coverage-v8":"^1.6.0"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.3.5_1724749474260_0.19595425225905116","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"magicast","version":"0.4.0","license":"MIT","_id":"magicast@0.4.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"ef11e25ab3a93dfc1f55c732d9af36b27a52e0ff","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.4.0.tgz","fileCount":19,"integrity":"sha512-2SCG6Qg6i0srING+lgghlpBl3klNKBudpPzOHDCQCjzWzEf6VnIxJMoiyaNUjbqeSG2zpwRsu9M9D8visuiQFQ==","signatures":[{"sig":"MEYCIQCGRjOG8zSy7AUE1PqXiFxetF22i7aYq6AHouQi4pcRGAIhAIg7gx3TTthSLqP2URQl3bNqJTRorJDrU+D6l8oc2N9e","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":669666},"main":"./dist/index.cjs","pnpm":{"overrides":{"hasown":"npm:@nolyfill/hasown@latest","object.values":"npm:@nolyfill/object.values@latest","array-includes":"npm:@nolyfill/array-includes@latest","object.groupby":"npm:@nolyfill/object.groupby@latest","object.fromentries":"npm:@nolyfill/object.fromentries@latest","array.prototype.flat":"npm:@nolyfill/array.prototype.flat@latest","array.prototype.flatmap":"npm:@nolyfill/array.prototype.flatmap@latest","array.prototype.findlastindex":"npm:@nolyfill/array.prototype.findlastindex@latest"}},"type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./helpers":{"import":"./dist/helpers.mjs","require":"./dist/helpers.cjs"}},"gitHead":"bf08377f3e4e67347ff678d4da43fd7b90526756","scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c .","test":"vitest","build":"unbuild","dev:ui":"vitest dev --ui","prepack":"pnpm run build","prepare":"esno ./scripts/vendor.ts","release":"pnpm run test run && changelogen --release && npm publish && git push --follow-tags","lint:fix":"eslint --cache . --fix && prettier -c . -w","test:full":"pnpm run test --run && pnpm run build && pnpm run test:build --run","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"antfu","email":"anthonyfu117@hotmail.com"},"repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"11.6.0","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"24.8.0","dependencies":{"@babel/types":"^7.28.5","@babel/parser":"^7.28.5","source-map-js":"^1.2.1"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.15.9","devDependencies":{"esno":"^4.8.0","jiti":"^2.6.1","giget":"^1.2.5","eslint":"^9.38.0","recast":"^0.23.11","vitest":"^1.6.1","unbuild":"^3.6.1","magicast":"workspace:*","prettier":"^3.6.2","ast-types":"^0.16.1","@vitest/ui":"^1.6.1","source-map":"npm:source-map-js@latest","typescript":"^5.9.3","@types/node":"^20.19.23","changelogen":"^0.5.7","lint-staged":"^15.5.2","simple-git-hooks":"^2.13.1","eslint-config-unjs":"^0.5.0","@vitest/coverage-v8":"^1.6.1"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.4.0_1761529214100_0.004527865133820752","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"magicast","version":"0.5.0","license":"MIT","_id":"magicast@0.5.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"fed2d7f92704a0012d3c390396b4ff74de8089ca","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.5.0.tgz","fileCount":10,"integrity":"sha512-D0cxqnb8DpO66P4LkD9ME6a4AhRK6A+xprXksD5vtsJN6G4zbzdI10vDaWCIyj3eLwjNZrQxUYB20FDhKrMEKQ==","signatures":[{"sig":"MEQCIELZ+U5rHrGMvTadWgeXNe+RtGeNoDrqFgJOopkfRgTRAiBtJ3hwmXcFz35Sh+YtKTens7x02jwMWY/1zaGYIKpUHA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/magicast@0.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":378676},"main":"./dist/index.js","type":"module","_from":"file:magicast-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":"./dist/index.js","./helpers":"./dist/helpers/index.js","./package.json":"./package.json"},"scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c .","test":"vitest","build":"tsdown","dev:ui":"vitest dev --ui","release":"pnpm run test run && bumpp","lint:fix":"eslint --cache . --fix && prettier -c . -w","test:full":"pnpm run test --run && pnpm run build && pnpm run test:build --run","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4d2a9010-0c7e-4044-80f6-28af29df2382"}},"_resolved":"/tmp/cde1448f26c08f475c754d9a93a38b03/magicast-0.5.0.tgz","_integrity":"sha512-D0cxqnb8DpO66P4LkD9ME6a4AhRK6A+xprXksD5vtsJN6G4zbzdI10vDaWCIyj3eLwjNZrQxUYB20FDhKrMEKQ==","repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"11.6.2","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"@babel/types":"^7.28.5","@babel/parser":"^7.28.5","source-map-js":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","jiti":"^2.6.1","taze":"^19.8.1","bumpp":"^10.3.1","giget":"^2.0.0","eslint":"^9.38.0","recast":"^0.23.11","tsdown":"^0.15.11","vitest":"^4.0.4","magicast":"0.5.0","prettier":"^3.6.2","ast-types":"^0.16.1","@vitest/ui":"^4.0.4","source-map":"npm:source-map-js@latest","typescript":"^5.9.3","@types/node":"^24.9.1","lint-staged":"^16.2.6","simple-git-hooks":"^2.13.1","eslint-config-unjs":"^0.5.0","@vitest/coverage-v8":"^4.0.4"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.5.0_1761631683640_0.4239443756660215","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"magicast","version":"0.5.1","license":"MIT","_id":"magicast@0.5.1","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"homepage":"https://github.com/unjs/magicast#readme","bugs":{"url":"https://github.com/unjs/magicast/issues"},"dist":{"shasum":"518959aea78851cd35d4bb0da92f780db3f606d3","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.5.1.tgz","fileCount":9,"integrity":"sha512-xrHS24IxaLrvuo613F719wvOIv9xPHFWQHuvGUBmPnCA/3MQxKI3b+r7n1jAoDHmsbC5bRhTZYR77invLAxVnw==","signatures":[{"sig":"MEYCIQD579MXxO/kgb5TWNS4zAJlqNaRhysfkfJ4lt+i1/VPswIhAM0iudazh2+N/gtRsE0ZrYSb00SO0TSJOdNIkoJWIe9W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/magicast@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":378627},"main":"./dist/index.js","type":"module","_from":"file:magicast-0.5.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":"./dist/index.js","./helpers":"./dist/helpers/index.js","./package.json":"./package.json"},"scripts":{"dev":"vitest dev","lint":"eslint --cache . && prettier -c .","test":"vitest","build":"tsdown","dev:ui":"vitest dev --ui","release":"pnpm run test run && bumpp","lint:fix":"eslint --cache . --fix && prettier -c . -w","test:full":"pnpm run test --run && pnpm run build && pnpm run test:build --run","typecheck":"tsc --noEmit","test:build":"TEST_BUILD=true vitest"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4d2a9010-0c7e-4044-80f6-28af29df2382"}},"_resolved":"/tmp/dd8f6c4762f739efd571dab399bcae4c/magicast-0.5.1.tgz","_integrity":"sha512-xrHS24IxaLrvuo613F719wvOIv9xPHFWQHuvGUBmPnCA/3MQxKI3b+r7n1jAoDHmsbC5bRhTZYR77invLAxVnw==","repository":{"url":"git+https://github.com/unjs/magicast.git","type":"git"},"_npmVersion":"11.6.1","description":"Modify a JS/TS file and write back magically just like JSON!","directories":{},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"resolutions":{"source-map":"npm:source-map-js@latest"},"sideEffects":false,"_nodeVersion":"24.11.0","dependencies":{"@babel/types":"^7.28.5","@babel/parser":"^7.28.5","source-map-js":"^1.2.1"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","jiti":"^2.6.1","taze":"^19.8.1","bumpp":"^10.3.1","giget":"^2.0.0","eslint":"^9.38.0","recast":"^0.23.11","tsdown":"^0.15.11","vitest":"^4.0.4","magicast":"0.5.1","prettier":"^3.6.2","ast-types":"^0.16.1","@vitest/ui":"^4.0.4","source-map":"npm:source-map-js@latest","typescript":"^5.9.3","@types/node":"^24.9.1","lint-staged":"^16.2.6","simple-git-hooks":"^2.13.1","eslint-config-unjs":"^0.5.0","@vitest/coverage-v8":"^4.0.4"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"_npmOperationalInternal":{"tmp":"tmp/magicast_0.5.1_1761802150960_0.45508902805105067","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"magicast","version":"0.5.2","description":"Modify a JS/TS file and write back magically just like JSON!","repository":{"type":"git","url":"git+https://github.com/unjs/magicast.git"},"license":"MIT","sideEffects":false,"type":"module","exports":{".":"./dist/index.js","./core":"./dist/core.js","./helpers":"./dist/helpers.js","./package.json":"./package.json"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"@babel/parser":"^7.29.0","@babel/types":"^7.29.0","source-map-js":"^1.2.1"},"devDependencies":{"@types/node":"^24.10.10","@vitest/coverage-v8":"^4.0.18","@vitest/ui":"^4.0.18","ast-types":"^0.16.1","bumpp":"^10.4.0","eslint":"^9.39.2","eslint-config-unjs":"^0.6.2","giget":"^3.1.1","jiti":"^2.6.1","lint-staged":"^16.2.7","prettier":"^3.8.1","recast":"^0.23.11","simple-git-hooks":"^2.13.1","source-map":"npm:source-map-js@latest","taze":"^19.9.2","tsdown":"^0.19.0","tsx":"^4.21.0","typescript":"^5.9.3","vitest":"^4.0.18","magicast":"0.5.2"},"resolutions":{"source-map":"npm:source-map-js@latest"},"simple-git-hooks":{"pre-commit":"pnpm lint-staged"},"lint-staged":{"*.{ts,js,mjs,cjs}":["eslint --fix","prettier -w"]},"scripts":{"build":"tsdown","dev":"vitest dev","dev:ui":"vitest dev --ui","lint":"eslint --cache . && prettier -c .","lint:fix":"eslint --cache . --fix && prettier -c . -w","typecheck":"tsc --noEmit","release":"pnpm run test run && bumpp","test":"vitest","test:build":"TEST_BUILD=true vitest","test:full":"pnpm run test --run && pnpm run build && pnpm run test:build --run"},"_id":"magicast@0.5.2","bugs":{"url":"https://github.com/unjs/magicast/issues"},"homepage":"https://github.com/unjs/magicast#readme","_integrity":"sha512-E3ZJh4J3S9KfwdjZhe2afj6R9lGIN5Pher1pF39UGrXRqq/VDaGVIGN13BjHd2u8B61hArAGOnso7nBOouW3TQ==","_resolved":"/tmp/e3f60dadb001ab19f00e8f6fe3a7f68d/magicast-0.5.2.tgz","_from":"file:magicast-0.5.2.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-E3ZJh4J3S9KfwdjZhe2afj6R9lGIN5Pher1pF39UGrXRqq/VDaGVIGN13BjHd2u8B61hArAGOnso7nBOouW3TQ==","shasum":"70cea9df729c164485049ea5df85a390281dfb9d","tarball":"https://registry.npmjs.org/magicast/-/magicast-0.5.2.tgz","fileCount":11,"unpackedSize":379170,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/magicast@0.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDTEh3WNuRd9qVrx+gBLCHBF4ff596kz9bGh1QZNHc9cgIhAM0ZtG+b5pxDE5YaECKogO7X3XdvARKy1ooyX2t4yuA0"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:4d2a9010-0c7e-4044-80f6-28af29df2382"}},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/magicast_0.5.2_1770255351404_0.13463819653388698"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-15T11:27:27.413Z","modified":"2026-02-05T01:35:51.917Z","0.0.0":"2023-02-15T11:27:27.527Z","0.1.1":"2023-02-15T12:21:01.559Z","0.2.0":"2023-04-05T09:23:01.654Z","0.2.1":"2023-04-06T08:07:50.108Z","0.2.2":"2023-04-07T15:20:23.339Z","0.2.3":"2023-04-09T11:37:49.190Z","0.2.4":"2023-04-20T15:11:24.184Z","0.2.5":"2023-05-06T13:27:54.089Z","0.2.6":"2023-05-08T14:18:04.384Z","0.2.7":"2023-05-16T18:08:09.419Z","0.2.8":"2023-05-24T09:17:06.515Z","0.2.9":"2023-05-31T13:15:55.788Z","0.2.10":"2023-07-27T03:50:25.864Z","0.2.11":"2023-09-14T01:17:28.514Z","0.3.0":"2023-09-15T11:28:06.881Z","0.3.1":"2023-11-09T15:22:28.457Z","0.3.2":"2023-11-11T00:24:28.597Z","0.3.3":"2024-01-14T20:00:41.912Z","0.3.4":"2024-04-12T00:54:11.849Z","0.3.5":"2024-08-27T09:04:34.382Z","0.4.0":"2025-10-27T01:40:14.351Z","0.5.0":"2025-10-28T06:08:03.881Z","0.5.1":"2025-10-30T05:29:11.181Z","0.5.2":"2026-02-05T01:35:51.582Z"},"bugs":{"url":"https://github.com/unjs/magicast/issues"},"license":"MIT","homepage":"https://github.com/unjs/magicast#readme","repository":{"type":"git","url":"git+https://github.com/unjs/magicast.git"},"description":"Modify a JS/TS file and write back magically just like JSON!","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"},{"name":"antfu","email":"anthonyfu117@hotmail.com"}],"readme":"# 🧀 Magicast\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![bundle][bundle-src]][bundle-href]\n[![Codecov][codecov-src]][codecov-href]\n[![License][license-src]][license-href]\n[![JSDocs][jsdocs-src]][jsdocs-href]\n\nProgrammatically modify JavaScript and TypeScript source codes with a simplified, elegant and familiar syntax. Built on top of the [AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree) parsed by [recast](https://github.com/benjamn/recast) and [babel](https://babeljs.io/).\n\n❯ 🧙🏼 **Magical** modify a JS/TS file and write back magically just like JSON!<br>\n❯ 🔀 **Exports/Import** manipulate module's imports and exports at ease<br>\n❯ 💼 **Function Arguments** easily manipulate arguments passed to a function call, like `defineConfig()`<br>\n❯ 🎨 **Smart Formatting** preseves the formatting style (quotes, tabs, etc.) from the original code<br>\n❯ 🧑💻 **Readable** get rid of the complexity of AST manipulation and make your code super readable<br>\n\n## Install\n\nInstall npm package:\n\n```sh\nyarn add --dev magicast\n\nnpm install -D magicast\n\npnpm add -D magicast\n```\n\nImport utilities:\n\n```js\nimport { parseModule, generateCode, builders, createNode } from \"magicast\";\n```\n\n## Examples\n\n**Example:** Modify a file:\n\n`config.js`:\n\n```js\nexport default {\n foo: [\"a\"],\n};\n```\n\nCode to modify and append `b` to `foo` prop of defaultExport:\n\n```js\nimport { loadFile, writeFile } from \"magicast\";\n\nconst mod = await loadFile(\"config.js\");\n\nmod.exports.default.foo.push(\"b\");\n\nawait writeFile(mod, \"config.js\");\n```\n\nUpdated `config.js`:\n\n```js\nexport default {\n foo: [\"a\", \"b\"],\n};\n```\n\n**Example:** Directly use AST utils:\n\n```js\nimport { parseModule, generateCode } from \"magicast\";\n\n// Parse to AST\nconst mod = parseModule(`export default { }`);\n\n// Ensure foo is an array\nmod.exports.default.foo ||= [];\n// Add a new array member\nmod.exports.default.foo.push(\"b\");\nmod.exports.default.foo.unshift(\"a\");\n\n// Generate code\nconst { code, map } = generateCode(mod);\n```\n\nGenerated code:\n\n```js\nexport default {\n foo: [\"a\", \"b\"],\n};\n```\n\n**Example:** Get the AST directly:\n\n```js\nimport { parseModule, generateCode } from \"magicast\";\n\nconst mod = parseModule(`export default { }`);\n\nconst ast = mod.exports.default.$ast;\n// do something with ast\n```\n\n**Example:** Function arguments:\n\n```js\nimport { parseModule, generateCode } from \"magicast\";\n\nconst mod = parseModule(`export default defineConfig({ foo: 'bar' })`);\n\n// Support for both bare object export and `defineConfig` wrapper\nconst options =\n mod.exports.default.$type === \"function-call\"\n ? mod.exports.default.$args[0]\n : mod.exports.default;\n\nconsole.log(options.foo); // bar\n```\n\n**Example:** Create a function call:\n\n```js\nimport { parseModule, generateCode, builders } from \"magicast\";\n\nconst mod = parseModule(`export default {}`);\n\nconst options = (mod.exports.default.list = builders.functionCall(\n \"create\",\n [1, 2, 3],\n));\n\nconsole.log(mod.generateCode()); // export default { list: create([1, 2, 3]) }\n```\n\n## Notes\n\nAs JavaScript is a very dynamic language, you should be aware that Magicast's convention **CAN NOT cover all possible cases**. Magicast serves as a simple and maintainable interface to update static-ish JavaScript code. When interacting with Magicast node, be aware that every option might have chance to throw an error depending on the input code. We recommend to always wrap the code in a `try/catch` block (even better to do some defensive coding), for example:\n\n```ts\nimport { loadFile, writeFile } from \"magicast\";\n\nfunction updateConfig() {\n try {\n const mod = await loadFile(\"config.js\");\n\n mod.exports.default.foo.push(\"b\");\n\n await writeFile(mod);\n } catch {\n console.error(\"Unable to update config.js\");\n console.error(\n \"Please update it manually with the following instructions: ...\",\n );\n // handle error\n }\n}\n```\n\n## Browser / Worker Support\n\nThe main export of `magicast` contains filesystem utilities. If you want to use it in a browser or worker, import from `magicast/core` instead.\n\n```js\nimport { parseModule } from \"magicast/core\";\n```\n\n## High Level Helpers\n\nWe also experiment to provide a few high level helpers to make common tasks easier. You could import them from `magicast/helpers`. They might be moved to a separate package in the future.\n\n```js\nimport {\n deepMergeObject,\n addNuxtModule,\n addVitePlugin,\n // ...\n} from \"magicast/helpers\";\n```\n\nWe recommend to check out the [source code](./src/helpers) and [test cases](./test/helpers) for more details.\n\n## Development\n\n- Clone this repository\n- Install latest LTS version of [Node.js](https://nodejs.org/en/)\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `pnpm install`\n- Run interactive tests using `pnpm dev`\n\n## License\n\nMade with 💛\n\nPublished under [MIT License](./LICENSE).\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/magicast?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-version-href]: https://npmjs.com/package/magicast\n[npm-downloads-src]: https://img.shields.io/npm/dm/magicast?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-downloads-href]: https://npmjs.com/package/magicast\n[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/magicast/main?style=flat&colorA=18181B&colorB=F0DB4F\n[codecov-href]: https://codecov.io/gh/unjs/magicast\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/magicast?style=flat&colorA=18181B&colorB=F0DB4F\n[bundle-href]: https://bundlephobia.com/result?p=magicast\n[license-src]: https://img.shields.io/github/license/unjs/magicast.svg?style=flat&colorA=18181B&colorB=F0DB4F\n[license-href]: https://github.com/unjs/magicast/blob/main/LICENSE\n[jsdocs-src]: https://img.shields.io/badge/jsDocs.io-reference-18181B?style=flat&colorA=18181B&colorB=F0DB4F\n[jsdocs-href]: https://www.jsdocs.io/package/magicast\n","readmeFilename":"README.md"} |