{"versions":{"1.0.0":{"name":"esast-util-from-estree","version":"1.0.0","description":"esast utility to transform from estree","license":"MIT","keywords":["esast","esast-util","util","utility","recma","esast","estree","javascript","ecmascript","tree","ast","transform"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/esast-util-from-estree.git"},"bugs":{"url":"https://github.com/syntax-tree/esast-util-from-estree/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"type":"module","module":"./index.js","dependencies":{"estree-util-visit":"^1.0.0","unist-util-position-from-estree":"^1.0.0"},"devDependencies":{"acorn":"^8.0.0","c8":"^7.5.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","xo":"^0.37.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node --experimental-modules test.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"ignores":[],"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"0f79912a2e4664e8e6a9bcbe8707cf0cca3792d6","homepage":"https://github.com/syntax-tree/esast-util-from-estree#readme","_id":"esast-util-from-estree@1.0.0","_nodeVersion":"15.1.0","_npmVersion":"7.5.2","dist":{"integrity":"sha512-/zWbIuJrI7DPn/Ajf4sUVWaH9ltQAN+oDGz38JNJLkCsIeXZ7i5lwzsB97RfibCD/HzWNToA+qEwJUFTfZ28mQ==","shasum":"c4df69e41e7a7f058851487d6a308fd04bb69037","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esast-util-from-estree/-/esast-util-from-estree-1.0.0.tgz","fileCount":4,"unpackedSize":8277,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLlhbCRA9TVsSAnZWagAAJwkP/i2/J/g1jEb9+C7GHXkx\nLazGSwMvqn4R8Y/wmKFY6x4ogNeIQVs4brWI3v8rJJvJw5SRPEIhbEGi+hXO\nKdVqyb8f8SxpZ+MIiokQNdfo7xoVBZHHyca/iqB+E8vqAhaeEZ+9xCBaDHC/\n8OpZQ7gIxJ3n8xczI5hnxRrZZPqNkCqdiwXtAw4fx8rmePB9I3he0wV9Q/Xd\nT7eB89AcPoVy9WuH5dW2QGH2CwatnjkloRE1iObgiEXFFnbiJKfwCqGrFvPy\n6LkHmihMZv6kMyvsFBl9YLWub2+qmYecm+T9IXc3j80eR4tZ6gpi708wZGbZ\n+pUZnnWUwa4rmR9foWekkHacrDTKroq4/DFZdAvRUuEdhqTkHU9Do6O9zeJU\nfaYmMUZZjc98b1hxGdrmaTXS3Ibm8durCYdbxB89W4Yo1YEv92jAG2LU+MJO\n3hVln73Wa4Kd3o5PZzg6eBOgQpyfYrsKcucH8PaASvradDh/jPKqmoC914YP\nPvO1bk5C5pICV8QX7Vt5AvXIgmslRtMfvKRLOEMzjotYY+HxCfPDkDC5jBFZ\nvzXxbTuisRgu8A+tzDkvRSTeZ7d1KaQlzrCEF/8C0RPttB81Nd6VuTHHGIYE\nGtZeFI60a4dqCOfnwIp+JHldnUgtydcvr6tA1RH/2MVvGRAk3FwbFYdB+TUn\nbfbt\r\n=6mrD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF1A3quCwDGcZ/LttwQHNyf11KxYnFbuxoR4jwmsKGAFAiA8F287/ltRNWzoGa57hAU1Ohhh1UppmsZ5TwEurODKug=="}]},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esast-util-from-estree_1.0.0_1613650010844_0.12747764747907397"},"_hasShrinkwrap":false},"1.1.0":{"name":"esast-util-from-estree","version":"1.1.0","description":"esast utility to transform from estree","license":"MIT","keywords":["esast","esast-util","util","utility","recma","esast","estree","javascript","ecmascript","tree","ast","transform"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/esast-util-from-estree.git"},"bugs":{"url":"https://github.com/syntax-tree/esast-util-from-estree/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","dependencies":{"@types/estree-jsx":"^0.0.1","estree-util-visit":"^1.0.0","unist-util-position-from-estree":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","acorn":"^8.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"feed056d1d92c622ee64875c113580ae423cffeb","homepage":"https://github.com/syntax-tree/esast-util-from-estree#readme","_id":"esast-util-from-estree@1.1.0","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"integrity":"sha512-dYPtKkQjjZvMp6X2KFTxqBSWxevlqn8u6pfBA3HFvU0/N2xqWc344wOhKtB859Qz0+yGc6SqYAwIOmoXPHBIrA==","shasum":"c6654a934c2e9651f787837a1f83681e7c414442","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esast-util-from-estree/-/esast-util-from-estree-1.1.0.tgz","fileCount":4,"unpackedSize":9263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkECvCRA9TVsSAnZWagAAkX8P/R+g6mMXdFwdfMhee8vv\ncfnJzyFONABqZJsjjmuJEz9cqVW6RSCR5wORh3Qi7lXMryUAfUC3r0Tz9qCo\n65WEc/WOQlgOXY5diaoCzWBnKCvNgCEWzI++hy71aUCoAwOJ5kZeWTwEvBW4\nyaq1fxRK53aQuxUAlDsciEUNfTw18XIS9PfOlBrp3Af33fDa5XqDtOFI7I7K\n9JN+mIZrlL4RDQhH3lsIOmaMw+QVmsGyn2XtNAlQ2ZySAVx3w5JSSIXw8FHc\n954PDZdcC86ytm7N8DyJaeUAgyjPd1rY0hLKYJtC9aeu36MdS8LMISbha8Or\nQpT/+Ujv8mmuIZiAQQLXCaWgFcSRFyGqpS8nNcf4rSLOQmW/RA+tHHEBsOhQ\nDZNPSrPu+LCyEvRuJBmg9WZvIEaKInFtonMl9yTZfFdU8nvXgHOSnaBgrNWV\n+4lTXv6DMi+SCNixcEPQA6RacFMhneR80bfjPOfJTLIZOhIpODax36e7hey5\nz0kIRvQD27vb/P5bunp8OvwtXM70Ph3Aycb54ACAHStB4hK63E8zCNqTpvhN\nB/4TwAH8qIB66zOJkoCqjeqaK/wbV+RUfWtV5G22qEOdPhlMVGmWt5Qn0/ZL\nAHhDF0UqJj/ZqJk0cHahXo0QtJhAbBcWjj92arYaeqcnxyjIOvxsmLlRi0u1\n+Fcg\r\n=qoYx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrrMHFDH6ZarjLtgpqcr8MCTb009ko7F6MRPNgCwIP2gIhAK5Iq+E7l6tCEVet6KvEu13aSca+vDCBnPVTe/CHL9hu"}]},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esast-util-from-estree_1.1.0_1620066479245_0.20745336837346806"},"_hasShrinkwrap":false},"1.1.1":{"name":"esast-util-from-estree","version":"1.1.1","description":"esast utility to transform from estree","license":"MIT","keywords":["esast","esast-util","util","utility","recma","esast","estree","javascript","ecmascript","tree","ast","transform"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/esast-util-from-estree.git"},"bugs":{"url":"https://github.com/syntax-tree/esast-util-from-estree/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/estree-jsx":"^0.0.1","estree-util-visit":"^1.0.0","unist-util-position-from-estree":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","acorn":"^8.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.47.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"c25a24575a2b94e44f6db98f2183c1e9eed23d4f","homepage":"https://github.com/syntax-tree/esast-util-from-estree#readme","_id":"esast-util-from-estree@1.1.1","_nodeVersion":"17.4.0","_npmVersion":"8.4.1","dist":{"integrity":"sha512-k0cAWz27tCmez/tORtWBiEK7WAD+S3lLAS4N5Vs0khq3VnzZDucjlajULf0HycAUyyiBId7ml/a1jrxGvLAa3w==","shasum":"daffdf303f428829c7a6fe4835ff2fbe5d625650","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esast-util-from-estree/-/esast-util-from-estree-1.1.1.tgz","fileCount":5,"unpackedSize":9954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh/9iFCRA9TVsSAnZWagAAIG4P/j7B+iMc0rr0Uza0dLcF\nuR1OIoHqPfRSPwst7C5AVTq1UzGm6fkA5LdQUYZmax9WETZnam/GZpBragNK\n4UMp1n+KJ2evqs9JDtaFoPg3+09ZZVYmjw4Ynqua3Yw4bbyqV72fhS9duPh3\nLVSM8AAJryEoVR49kxpuibbg3zvgzjwNLQj1JfhHtvZp48hw9DPpJTpcVNrF\nCsmo2v5WSEDXn9D9ahyZE0Olv2dTEHmkmJgGPegq3ZiEslW3vKB9O/ShHUEM\ncaIyt2iGP5gXmyU/MH81TXFs4fWwfJ/B6TCU6szBJeQh0XFa6ZPTEzNY0P98\nOq9FGzPBkVwLr3IcrzI0XL5ami+6uzFNp349gPG9ouOU5su64MHYUslZ3ZbQ\nKXG8cn6k1OjNShW3H6EA6dVJo0QmkhsD/D+PThaWaFxrmAGdarZF178avP5K\n5nLFH7QFukA7MwzveDBRPxpJqf6cAmpGbN+3ZdplFM7n2mhNtBdTHRW81TS8\nj6lvG1FzwaYSjBMI4OYyGnhQCdBKrMtnOXYVw3xd2DkI9ZRQIOpfI3EkyLzl\nGSHwN+sQHWfDoWhTV8iLnwfbL/YooB5E+H5pNJtFUlqEygH3Z/dNdMzG0LEh\nh5OE70boeWWrcXxh9vvVzLN98NYPoeN+hGBY3wf4i2ThH9TxsCyv6x9obblz\nJzpo\r\n=I3zv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ0hf9+SzsAEQSd6Gfzi01Wyx3FShfKC9WZXjFdhs91AIgHZMFUHr514mnKE2+kGJ6PFb4Hdyq7KDW8pXJlb0AaFA="}]},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esast-util-from-estree_1.1.1_1644157060914_0.4325342557489218"},"_hasShrinkwrap":false},"1.2.0":{"name":"esast-util-from-estree","version":"1.2.0","description":"esast utility to transform from estree","license":"MIT","keywords":["esast","esast-util","util","utility","recma","esast","estree","javascript","ecmascript","tree","ast","transform"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/esast-util-from-estree.git"},"bugs":{"url":"https://github.com/syntax-tree/esast-util-from-estree/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/estree-jsx":"^0.0.1","estree-util-visit":"^1.0.0","unist-util-position-from-estree":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","acorn":"^8.0.0","acorn-jsx":"^5.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.50.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"4936592eb9ab211f90d4918d0e1f86fe99ec6aed","homepage":"https://github.com/syntax-tree/esast-util-from-estree#readme","_id":"esast-util-from-estree@1.2.0","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"integrity":"sha512-zLZWUFhAI7awse36I9zbanaDXZHv1fRUeeosZzx3vUnaUGlwpCxSL8gRfcwYf1SpQtnAlx+nnHDHgW3wI+EmVA==","shasum":"99eba89fd0c3ce7c4516a45a8d494e0a5bd17487","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esast-util-from-estree/-/esast-util-from-estree-1.2.0.tgz","fileCount":5,"unpackedSize":11692,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKImXxCIBbdjvVUPT+E9ln5GbY1vaLq5MWfVmZNK+YQgIgZkyYMvrFWdwzxACr4z0H1jx93FS34S1C1MEQiK7PsY0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiuzbYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq44w//eieeuqn0VrcElacXY/cbVNKEvGje+gGzBvA9j/NxYB8ZnoBJ\r\nBHPXzwrCHiB95srNwV6RUMesfvhFi+QDFtXL1MKIGVd8/XavqumOMbfzUYUn\r\nBG/hA1vnmtAfPf4zOjyDw4XbMr0OZ5Fq3XEnEsZ37TolfSBNHKvi3ND+8dlX\r\nvnfehiwKpEo0zxK9zftl+m/ZIc12pSS+IHT3PjPSlQi9X9cai3BxKofpThW7\r\naghr14tmS+pQNlz8Bzq5TJhMDv57g8A31sZDtrNt+1rF3472IacBKcBZuDCc\r\nfV1r//PcHS1vaxIA9/pysJPK+wMwBc8T/Fkpi5+WxSKXAWOZzfhcIjXgEvFt\r\npVIK4Kz0V9K5r3Igw9YzywuTDdwkEQBQMeNN6gaMBh4RwpgwNT40RZyiZQnN\r\nH4HZFDDJmaoUWnV4x1AikScr5ABSJNQvIq5Nut89Z58AN7RtJ1uUpgTda+Dn\r\nwLgwP2sylLwXTYrS8Tph+DCttYU2Kicu/9hTHwdxUz89w1LigZ7QrPwOoGwb\r\n9FzKGdCBum+PEtW/1iH8wp1XBzve0ef+On7B4OQbWm11Wlug7Defy0YCYrO7\r\ndChmbCQGYnwKbElvlOOKQW1r8ZECmVebL+KOwj2dOHrXj5rrt/R8R2TnsqSR\r\nDy2Aves7KSdAuUZ8fOZlSBgQasFcMPG1N3c=\r\n=sOcM\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esast-util-from-estree_1.2.0_1656436440798_0.561339922715707"},"_hasShrinkwrap":false},"1.3.0":{"name":"esast-util-from-estree","version":"1.3.0","description":"esast utility to transform from estree","license":"MIT","keywords":["esast","esast-util","util","utility","recma","esast","estree","javascript","ecmascript","tree","ast","transform"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/esast-util-from-estree.git"},"bugs":{"url":"https://github.com/syntax-tree/esast-util-from-estree/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/estree-jsx":"^1.0.0","estree-util-visit":"^1.0.0","unist-util-position-from-estree":"^1.0.0"},"devDependencies":{"@types/tape":"^4.0.0","acorn":"^8.0.0","acorn-jsx":"^5.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.51.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"cbdda152acb2c3e20fe4bfd308921cfa2e0182ce","homepage":"https://github.com/syntax-tree/esast-util-from-estree#readme","_id":"esast-util-from-estree@1.3.0","_nodeVersion":"18.2.0","_npmVersion":"8.13.2","dist":{"integrity":"sha512-/7J22ZcSPEY3DUpOr/agTeIJCTVhTXbCCBajPDjtSXYQOd8stzXFWqOVpfs5em5Hk42XUVC4xfHLp1ZoanKQuA==","shasum":"a3b9a11755f54452817d847c6a59151064b600db","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esast-util-from-estree/-/esast-util-from-estree-1.3.0.tgz","fileCount":5,"unpackedSize":11692,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFDeBpG39Lnw1G+rSmtkikNFKWlZnRTaA+/psj0fnsW3AiEAkO/3cOSrcHzCBW3kQsupQQLCY4qbydmOQf1o6ADUyuU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3RimACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmppTQ/+Kx4L4pyRkrlBUgcZ/yat3I5aBveDK5uBXCyAfY7KAGT8GqRk\r\nRYyUtbKb98If57301KYj4voJQPJbhll3jch7pHHKnXdHSWWGmWntihb4twJA\r\nI5xXOD8/+1QYx/0kzQg1hRAAZYKaGN8otSD8gPZqg1L1XTn0CwzsppDjh7oB\r\nAYKzUT/f7tb/Ivt1F0jPcOScoU/mPSyCK6bIOVRAGn4tlnppHEn6bxHoxjIO\r\nWAOcTwKTiY1dLKCYGuEWeR7Zd7jSCm1nPEgsjvA3ugf3gPk8x1IquiQE0+9l\r\nKD31FiJX3m1gsaN9ly8r3+alPjjbvjtn8lr6L8WQhUiEfsdgbLH+7Mvy3pQ4\r\nG76aG2DgtB7CkvPIBU3CV4N5egHSMa4oY8ZKvFirueIkUUMmyhNiIh9WdUwO\r\n1TnIQnlbzQLVZPnch+gu/tw8QRbANWqmv6VeUmtMHr0g9Sevg77cZWov+s4Q\r\nfcaP0PfVyY6LCTbAJ5OJ8kClZr3y3iIuR4dcZfyT42leq0vPOmV9pNANLQei\r\npGQXOlUyv1XIanBdClR4HugcfTgLEH88QwAMP/ooYqceR/9P6NzxRu4l0K9c\r\nBXAv1AV4LsFG46+bwy2Q7nHmFTNa7STeqsvDXRozzNh6GW3qd9rXD2WG82ai\r\nJF+uvpNj6rS9dtsvrJqAh2ZeeFqrtjEskVM=\r\n=AUB4\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esast-util-from-estree_1.3.0_1658656934616_0.2998449434025279"},"_hasShrinkwrap":false},"1.3.1":{"name":"esast-util-from-estree","version":"1.3.1","description":"esast utility to transform from estree","license":"MIT","keywords":["esast","esast-util","util","utility","recma","esast","estree","javascript","ecmascript","tree","ast","transform"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/esast-util-from-estree.git"},"bugs":{"url":"https://github.com/syntax-tree/esast-util-from-estree/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/estree-jsx":"^1.0.0","estree-util-visit":"^1.0.0","unist-util-position-from-estree":"^1.0.0"},"devDependencies":{"@types/node":"^18.0.0","acorn":"^8.0.0","acorn-jsx":"^5.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"unicorn/prefer-code-point":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"518e49772307ffba5f9b289fe0ef18b1d5a733e2","homepage":"https://github.com/syntax-tree/esast-util-from-estree#readme","_id":"esast-util-from-estree@1.3.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-y6IpClT+jXFs69xdBueeHn8JLKCFFMYv71j78Phm6+wDkLDA09+pgPDdAimMzVpnYPAdxfqG3QGsFOz587GV8A==","shasum":"1452b3f31e9cbdc596f1c8b27b83db2fe94c926b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esast-util-from-estree/-/esast-util-from-estree-1.3.1.tgz","fileCount":7,"unpackedSize":12373,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB7e9rlJMHlR3IhF31WINGgGwsVlUR6cHaA/rsHiciJNAiBOjW9CCiYwpgHbsliB2mTO66DTiQj9dWTxVIE2VPB30Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjy/s2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmocXA/+PaGkeAI8ly0HD52hGB9zTZMu8EGL8H3xbbiBAHHeFHey2b0O\r\nX1AieA/7KtMFj6rR/mHylvWCKcVh7nZyZk8WZv3msxWUZCKQ6Szr+VFbV7VF\r\nCdLXVKsMN7YUs9+Qb2QS0vOk7TJb7eMd8Xm6wB586R5DwhniyKYEeOLUGM9+\r\nKSFvAxbxf/SNTLP7omHC/OJnQFoSOCuYKC7O7xTh+JZitq/T3vC2Cf9MyyO0\r\nWCr/1wvvvq3ZyqSjvSngNdLAcz7YwczZR5gWCfqgty256rn6+Js6IXT9oMeG\r\nPEHnoiU82uAfJ0bCb9uHO7AB3x8V8ZWkmBnR6IheDRWd3l9/uajx3M/59JE5\r\n9CryXDS+3TTjl4Tt7KqZ5Sg385C3+wFTz21Wqvs3QsCEwFL0T4Ovgx+qrofU\r\nQmMDEL3zGyfkdxeBiPxfuXQmSHEqeDZ3nXQ/p1jO5mg6vJ1rBz8armHJx/Wi\r\n9gt70iKCecvU+eT6wH62dwpkpkku1tPlfiUu+QUD3FmESlWcQfg2xr9jHJPI\r\n0uF6u60TDxNE/0klgGDAMfAglYjAOiyCShBfd4y5R4ysE6IkrYo4f+lWcR6K\r\na8wF73B22B7NSQGE/6gXhfCn2jcXVvOBlZxa5gfTd67I8IyveQVmBTiZm0UL\r\nCuRbzAFvMZrqYRMQw0AZY47iX5TXoBD3mgA=\r\n=72Jv\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esast-util-from-estree_1.3.1_1674312501805_0.6565126936242969"},"_hasShrinkwrap":false},"2.0.0":{"name":"esast-util-from-estree","version":"2.0.0","description":"esast utility to transform from estree","license":"MIT","keywords":["esast","esast-util","util","utility","recma","esast","estree","javascript","ecmascript","tree","ast","transform"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/esast-util-from-estree.git"},"bugs":{"url":"https://github.com/syntax-tree/esast-util-from-estree/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/estree-jsx":"^1.0.0","devlop":"^1.0.0","estree-util-visit":"^2.0.0","unist-util-position-from-estree":"^2.0.0"},"devDependencies":{"@types/node":"^20.0.0","acorn":"^8.0.0","acorn-jsx":"^5.0.0","c8":"^8.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.55.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"rules":{"unicorn/prefer-at":"off","unicorn/prefer-code-point":"off"}},"gitHead":"c84ab4b1b6c7a601159f70b86f0e4cabd641b065","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/esast-util-from-estree#readme","_id":"esast-util-from-estree@2.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==","shasum":"8d1cfb51ad534d2f159dc250e604f3478a79f1ad","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/esast-util-from-estree/-/esast-util-from-estree-2.0.0.tgz","fileCount":7,"unpackedSize":13418,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcjYvf2r9XnuCZc5T7KidRkguqfde3PpTSkcau4U3fTAiEA2NViqeJdDZir91Jc/TqwxJfR3gGRpIGmOcP8rxbhZas="}]},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esast-util-from-estree_2.0.0_1690792682106_0.08528613437811661"},"_hasShrinkwrap":false}},"dist-tags":{"latest":"2.0.0"},"name":"esast-util-from-estree","time":{"created":"2022-01-27T11:10:51.291Z","1.0.0":"2021-02-18T12:06:50.982Z","modified":"2024-10-30T07:14:55.641Z","1.1.0":"2021-05-03T18:27:59.426Z","1.1.1":"2022-02-06T14:17:41.044Z","1.2.0":"2022-06-28T17:14:00.940Z","1.3.0":"2022-07-24T10:02:14.787Z","1.3.1":"2023-01-21T14:48:21.974Z","2.0.0":"2023-07-31T08:38:02.278Z"},"readme":"# esast-util-from-estree\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n[esast][] utility to transform from [estree][].\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`fromEstree(estree[, options])`](#fromestreeestree-options)\n    *   [`Options`](#options)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package applies some transforms to a cloned, given estree to make it\ncompatible with unist.\nIt:\n\n*   makes sure nodes are plain JSON\n*   adds unist positions\n*   normalizes `.bigint`\n*   remove `attributes`, `selfClosing` from `JSXOpeningFragment`\n*   removes certain discouraged fields\n\n## When should I use this?\n\nThe transform applied by this utility is often optional: estrees can be used in\nmost places where esast can be used, and vice versa.\nBut, if you come from a unist background and want to deal with JavaScript,\nor want to use unist utilities with JavaScript, this helps a lot.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install esast-util-from-estree\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {fromEstree} from 'https://esm.sh/esast-util-from-estree@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {fromEstree} from 'https://esm.sh/esast-util-from-estree@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {parse} from 'acorn'\nimport {fromEstree} from './index.js'\n\n// Make acorn support comments and positional info.\n/** @type {Array<import('acorn').Comment>} */\nconst comments = []\n/** @type {import('estree').Program} */\n// @ts-expect-error: acorn looks like estree.\nconst estree = parse(\n  'export function x() { /* Something senseless */ console.log(/(?:)/ + 1n) }',\n  {\n    sourceType: 'module',\n    ecmaVersion: 'latest',\n    locations: true,\n    onComment: comments\n  }\n)\nestree.comments = comments\n\nconst esast = fromEstree(estree)\n\nconsole.log(esast)\n```\n\nYields:\n\n```js\n{\n  type: 'Program',\n  body: [\n    {\n      type: 'ExportNamedDeclaration',\n      declaration: [Object],\n      specifiers: [],\n      source: null,\n      position: [Object]\n    }\n  ],\n  sourceType: 'module',\n  comments: [\n    {\n      type: 'Block',\n      value: ' Something senseless ',\n      position: [Object]\n    }\n  ],\n  position: {\n    start: {line: 1, column: 1, offset: 0},\n    end: {line: 1, column: 75, offset: 74}\n  }\n}\n```\n\n## API\n\nThis package exports the identifier [`fromEstree`][api-from-estree].\nThere is no default export.\n\n### `fromEstree(estree[, options])`\n\nTurn an estree into an esast.\n\n###### Parameters\n\n*   `estree` ([`EstreeNode`][estree])\n    — estree\n*   `options` ([`Options`][api-options], optional)\n    — configuration\n\n###### Returns\n\nClean clone of `estree` ([`UnistNode`][esast]).\n\n### `Options`\n\nConfiguration (TypeScript Type).\n\n###### Fields\n\n*   `dirty` (`boolean`, default: `false`)\n    — leave discouraged fields in the tree\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional type [`Options`][api-options].\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`esast-util-from-estree@^2`, compatible with Node.js 16.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`syntax-tree/.github`][health] for\nways to get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definition -->\n\n[build-badge]: https://github.com/syntax-tree/esast-util-from-estree/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/esast-util-from-estree/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/esast-util-from-estree.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/esast-util-from-estree\n\n[downloads-badge]: https://img.shields.io/npm/dm/esast-util-from-estree.svg\n\n[downloads]: https://www.npmjs.com/package/esast-util-from-estree\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=esast-util-from-estree\n\n[size]: https://bundlejs.com/?q=esast-util-from-estree\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[esast]: https://github.com/syntax-tree/esast\n\n[estree]: https://github.com/estree/estree\n\n[api-from-estree]: #fromestreeestree-options\n\n[api-options]: #options","users":{}}