{"_id":"postcss-query-ast","_rev":"6-53553f1c8cc94111d9f18e54e70c238f","name":"postcss-query-ast","dist-tags":{"latest":"2.1.1"},"versions":{"1.0.0":{"name":"postcss-query-ast","version":"1.0.0","description":"Query PostCSS AST with CSS selectors.","main":"index.cjs.js","module":"index.esm.js","author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"license":"MIT","sideEffects":false,"directories":{"test":"test"},"scripts":{"build":"rollup --config .rollup.js","prepublishOnly":"npm run build","release":"np","test":"eslint '{index,lib/**/*,test/**/*}.js' && nyc mocha --require esm 'test/*.js' && nyc check-coverage","version":"version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md"},"dependencies":{"postcss":"^7.0.5","postcss-selector-parser":"^5.0.0-rc.4"},"devDependencies":{"changelog-verify":"^1.1.2","eslint":"^5.4.0","eslint-config-niksy":"^6.1.0","eslint-plugin-extend":"^0.1.1","eslint-plugin-import":"^2.13.0","eslint-plugin-mocha":"^5.1.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-unicorn":"^5.0.0","esm":"^3.0.51","mocha":"^4.1.0","np":"^3.0.4","nyc":"^12.0.2","pify":"^4.0.1","rollup":"^1.0.0","version-changelog":"^3.1.1"},"engines":{"node":">=8"},"keywords":["ast","css","postcss","query","queryselector"],"repository":{"type":"git","url":"git+https://github.com/niksy/postcss-query-ast.git"},"bugs":{"url":"https://github.com/niksy/postcss-query-ast/issues"},"homepage":"https://github.com/niksy/postcss-query-ast#readme","gitHead":"daa7b501fc3d64def4069949791ea8a350870efb","_id":"postcss-query-ast@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.2","_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"dist":{"integrity":"sha512-oa9sXZ22BRPHclyY4A61ZVfEoJDkTzz2RxCMCqnudRADyAqI0OxxbsQpas2x+zALqniy5VmhDfIuwjJa5fQgGg==","shasum":"053bc3920ae10adb6ac2a249dcef6693c66552d2","tarball":"https://registry.npmjs.org/postcss-query-ast/-/postcss-query-ast-1.0.0.tgz","fileCount":6,"unpackedSize":31638,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLiO0CRA9TVsSAnZWagAA0x4P/1wdCd44Asfq1guUNsGj\n/Lp6a28lScpthiecKffFfU0v8zC7mGhT94NY9+Op+Vl0p8bCmRT0Zghk+RF8\nO8XVTnCjMWATzV5UhHZsc+UcwoRSGcc3X4kAg7VvM64jYgVirpQflwNrzKXN\nbhxIDF2XAO69yuCpJZ5QbQaMkRIt2p8PLdVB6i+FtkTCADhGDzZPGZ4sLVGy\nSUXubBP0WITdAuqzeYboa/krBZSQ5vtSpzyhpoi7Soh1uAkCQE6QcJhYfL1H\noss56pzENXGqn5ozVrmwilSi8jlm4WdeeklJ9MYGH1xVKzZi1wYUB3zavXNK\n5JnOw9uvpUcky0ozfD8vEvP3a1GtBK+M6+I+Hzx6Fa4DYGiCDXWls4fc6cKX\nxZT2KMDmzNrgGjui93/7NWvuFW6fDdbForUrUfDTFOizmZUf+BA9/MNTuj+I\nk9Ue97xHLxOuGR52ABmEKjPAlCuyump+nadPYMASVg7e2KWBxmwxko3lcsd3\nDna0x0otjr11WI6ZZ/1CyOX9wzi0cBObBAoPxc8nHn5mU7bbBpBIeq96DTZV\nr8FgfW2fKAyWGaT3s/ym580HnONYwspnUJ/hHFC/kTENVyZA6a8J9w0aVmrF\nNiERKHsEP6FCpVV6TM3aJIe11i5sgMpz/alzG58deDoYpB0o9FALnneAwfX0\nYyig\r\n=lUDv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4hj8NfM48pU+YbC2rLIouoDBSmGcS2Dsqss0IAxI3uwIhAI6TWLwOi3pyhhc/vyz+/M/Fc3/pQajUHpZXKGWWTKbe"}]},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-query-ast_1.0.0_1546527667773_0.7572861216836118"},"_hasShrinkwrap":false},"1.0.1":{"name":"postcss-query-ast","version":"1.0.1","description":"Query PostCSS AST with CSS selectors.","main":"index.cjs.js","module":"index.esm.js","author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"license":"MIT","sideEffects":false,"directories":{"test":"test"},"scripts":{"build":"rollup --config .rollup.js","prepublishOnly":"npm run build","release":"np","test":"eslint '{index,lib/**/*,test/**/*}.js' && nyc mocha --require esm 'test/*.js' && nyc check-coverage","version":"version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md"},"dependencies":{"postcss":"^7.0.5","postcss-selector-parser":"^5.0.0"},"devDependencies":{"changelog-verify":"^1.1.2","eslint":"^5.4.0","eslint-config-niksy":"^6.1.0","eslint-plugin-extend":"^0.1.1","eslint-plugin-import":"^2.13.0","eslint-plugin-mocha":"^5.1.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-unicorn":"^5.0.0","esm":"^3.0.51","mocha":"^4.1.0","np":"^3.0.4","nyc":"^12.0.2","pify":"^4.0.1","rollup":"^1.0.0","version-changelog":"^3.1.1"},"engines":{"node":">=8"},"keywords":["ast","css","postcss","query","queryselector"],"repository":{"type":"git","url":"git+https://github.com/niksy/postcss-query-ast.git"},"bugs":{"url":"https://github.com/niksy/postcss-query-ast/issues"},"homepage":"https://github.com/niksy/postcss-query-ast#readme","gitHead":"13dc8c910eec47d87159aa038b6bc6b079097953","_id":"postcss-query-ast@1.0.1","_npmVersion":"6.5.0","_nodeVersion":"8.11.2","_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"dist":{"integrity":"sha512-WCmVT1z5Ou0hX3NW1V2tvOUu6WJgQz7OTCnyVQXgugJyLEVol8iZVhRfwiVDOnKhzWXE6lIikrYpduE+S3CqMw==","shasum":"1c1484640792992063fac1494dd0017ca6640919","tarball":"https://registry.npmjs.org/postcss-query-ast/-/postcss-query-ast-1.0.1.tgz","fileCount":6,"unpackedSize":32156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLxq3CRA9TVsSAnZWagAAL6QP/jmNwEjmDJtPC3g2fnPe\niI0DRd1hRzb8SlzhJrTbDTSwDlyeyYtJ8ugubYCw2Ek8CzwvPGnwDndWEZmr\ntw/IPnuCGIe7jLV3Lf5IvfWhbbK++XsHrW8y46nchYw1Ak3cMwTwHo0BKrVg\nhIz7H1l0PgB3vFiatTWA4qmm8HmY0uFA2U4jFQamiMq4TnkyuTWInrx+FNdo\nz2bMF6mY1ex2q+4UP2xNnWnb5bSI1JaokA4kDr8LHpq/lrT9khgvfO1kj9bO\n8MNm6cZYuBTDZa5NhkL9add0x64a+OLNZY7Mp0FSMG46qy7HziFehiVTL/gz\nf4Ps+dG4lq1izuNJu+KH+oU6nl/oEgDZsbuALBciC/I3sKY1Msz1zpXWtv04\nXTh7ty27i4BE4e73MMQVL8jrNa7pVhM0jeU7XgIkMNIneke4ep+kC7vkfrF1\nYXk19zXY5pCc7clpJdbyn17EJsXm/Rac3XuZNjoz0lDkdZRO9NbhXKA+QPTn\nJroXODzA+fiPowihBlJq+ar0MJy4IMspxQ+xALLPaoWKHADq6xwgQK9NduIU\n3r9R++RvshX0yKSd2P32/Cb5Io1N3lkyxOv79D6Jmu+8TtEYwcOyv4v2PGgr\nabEae8vAWmnNUSp+2zCBme9TWQtV9CwnXWxGoVVvuHIQbIkuQS/9+UJWIXHf\n85d0\r\n=Lxqu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICbqcxSoqlzvl+JTNdu5olb8sw29IIZMRr1JvZ6v1EKNAiBfeisdItDXBkpjFhas5YHBmyhP0nhf7vWHrlrvwL4xdQ=="}]},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-query-ast_1.0.1_1546590902734_0.057653792360630396"},"_hasShrinkwrap":false},"2.0.0":{"name":"postcss-query-ast","version":"2.0.0","description":"Query PostCSS AST with CSS selectors.","main":"index.cjs.js","module":"index.esm.js","author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"license":"MIT","sideEffects":false,"directories":{"test":"test"},"scripts":{"build":"rollup --config rollup.config.js","lint":"eslint '{index,lib/**/*,test/**/*}.js'","postpublish":"GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog","prepublishOnly":"npm run build","release":"np","test":"npm run lint && nyc mocha --require esm 'test/*.js' $([[ $WATCH_TEST ]] && echo --watch) && nyc check-coverage","test:watch":"WATCH_TEST=1 npm test","version":"version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md"},"dependencies":{"postcss":"^8.1.1","postcss-selector-parser":"^6.0.4"},"devDependencies":{"changelog-verify":"^1.1.2","eslint":"^6.7.2","eslint-config-niksy":"^8.0.0","eslint-config-prettier":"^4.2.0","eslint-plugin-extend":"^0.1.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsdoc":"^18.4.3","eslint-plugin-mocha":"^6.2.2","eslint-plugin-node":"^10.0.0","eslint-plugin-prettier":"^3.0.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-unicorn":"^14.0.1","esm":"^3.0.51","github-release-from-changelog":"^2.1.1","husky":"^3.1.0","lint-staged":"^9.5.0","mocha":"^4.1.0","np":"^3.0.4","nyc":"^12.0.2","pify":"^4.0.1","prettier":"^1.17.0","rollup":"^1.0.0","version-changelog":"^3.1.1"},"engines":{"node":">=12"},"keywords":["ast","css","postcss","query","queryselector"],"repository":{"type":"git","url":"git+https://github.com/niksy/postcss-query-ast.git"},"bugs":{"url":"https://github.com/niksy/postcss-query-ast/issues"},"homepage":"https://github.com/niksy/postcss-query-ast#readme","gitHead":"6b14baddf7c262d365ea05e397bb29d668784cc2","_id":"postcss-query-ast@2.0.0","_nodeVersion":"12.18.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-eS9+n6/VFybQm0dGThJ8NI5Elt6qHQLQtEFFnexa9Aj75ntN8o3aJMq/GDmfOnei0OlJS90ddzNHZnUdxMfMxg==","shasum":"dcbde89b6466db784b570bebdbfe6755ef3f3971","tarball":"https://registry.npmjs.org/postcss-query-ast/-/postcss-query-ast-2.0.0.tgz","fileCount":8,"unpackedSize":95488,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffx3GCRA9TVsSAnZWagAAh4kP/3au4Hu+qz/KPaXMqSGJ\nWJVoWsngQg3pE/fDmdaIbMD1YXXdaCFuvviHJiv4eKdAz0HZ6wqGeNfWhegT\n9i5id1woi/9GFjZ4quttjwXA9jmgwVHqZcP4Ut+PfTjnqR6RrWiBqQyVZwVB\nKdNkfeojEwGe3B49x/Ngs8smRjv2DGAauFJTaGi37YqhxCf/l7pmafGXI6ZQ\nDB8E1J+FNFnXbjMQbOM+1Ap4THXnjr1W6aG5wuTU3wll+Ol/7P0yBYt9Kwyz\nOFls0KX43Q7iB04DeZvoRH46UuEwgPLL0GpKdbALpInSSHFmEFgC9dnW5tIa\njfYCuBJO79eGxZ+Ba9NIHXLzgGNC0ibzRkuopjnVlQ36EK0Eq4LteVhijrdn\nwtyWMI9GhpROpUuulrs3FfMdFa38qVhuM3SGRycMWrvUCfmqXAej7EUtgyzR\n3m7uFPrV+h3eW0A/hs606s2pqqnLSwwo2oPgwdjmBMMNypVfdZJylYRIyBL0\nKDN/z1c5rjl5JLdyLiOIsT4nUrELuQumA/NNs5pgokrhQwITAY2blvDlLR+s\nDMdMlh92loFHqucwDYYYhwqQSLLH5/8vi2wA9lVXIC7SYvZO95iHhFXy/qZ0\ng1iwLn2AhMjfvG9oeFQ14KpPf0OCxB+jE1MPmo5O10fy/gIVWMC+ZBZWgwK6\nRqwd\r\n=7S/h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGkkFUbxaU8g6veQ6DC7k6VCoE9PKjLsjFQrWPZXz1KgIhANoW7aIMQW4Ivk4pIY27IgCC6UvKY72F25ArhgZwcOzZ"}]},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-query-ast_2.0.0_1602166214462_0.7453554192729996"},"_hasShrinkwrap":false},"2.1.0":{"name":"postcss-query-ast","version":"2.1.0","description":"Query PostCSS AST with CSS selectors.","license":"MIT","author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"sideEffects":false,"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./package.json":"./package.json"},"main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","directories":{"test":"test"},"scripts":{"build":"rollup --config rollup.config.js","lint":"eslint '{index,lib/**/*,test/**/*}.js'","lint:types":"tsc","module-check":"node -e 'require(\"postcss-query-ast\");' && node --input-type=module -e 'import \"postcss-query-ast\";'","prepublishOnly":"npm run build","postpublish":"GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog","prerelease":"npm run lint && npm run lint:types && npm run build && npm run module-check","release":"np --no-release-draft","test":"BABEL_ENV=test nyc mocha --require @babel/register --require esm 'test/*.js' && nyc check-coverage","test:watch":"nodemon --exec npm test","version":"if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi"},"dependencies":{"postcss":"^8.1.1","postcss-selector-parser":"^6.0.4"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.12.1","@babel/register":"^7.0.0","@rollup/plugin-babel":"^5.2.1","@types/mocha":"^8.2.3","@types/node":"^16.3.0","babel-plugin-istanbul":"^6.0.0","changelog-verify":"^1.1.2","core-js":"^2.6.5","cpy":"^8.1.2","eslint":"^7.31.0","eslint-config-niksy":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-jsdoc":"^33.3.0","eslint-plugin-mocha":"^8.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-unicorn":"^31.0.0","esm":"^3.0.51","execa":"^5.1.1","github-release-from-changelog":"^2.1.1","husky":"^4.3.0","lint-staged":"^10.4.2","mocha":"^8.2.0","nodemon":"^2.0.6","np":"^6.5.0","nyc":"^15.1.0","prettier":"^2.4.0","rollup":"^2.32.1","typescript":"^4.3.5","version-changelog":"^3.1.1"},"engines":{"node":">=12"},"keywords":["ast","css","postcss","query","queryselector"],"repository":{"type":"git","url":"git+https://github.com/niksy/postcss-query-ast.git"},"bugs":{"url":"https://github.com/niksy/postcss-query-ast/issues"},"homepage":"https://github.com/niksy/postcss-query-ast#readme","gitHead":"b41ce1dbf0f0cd2fd26d7264fd78bfbfa40afc7f","_id":"postcss-query-ast@2.1.0","_nodeVersion":"16.8.0","_npmVersion":"7.21.0","dist":{"integrity":"sha512-HKcRE23VpHt5PsaXdtzidCPyhJK/I6b6C6HO3dllrYTS0HJsMV7cBiO1s4XDvArBSPvkyxQuUoOnj+W0zdNuSA==","shasum":"f13e14236dc7cfd85dfb3aed481eddb8d98e487d","tarball":"https://registry.npmjs.org/postcss-query-ast/-/postcss-query-ast-2.1.0.tgz","fileCount":42,"unpackedSize":134258,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh23AXCRA9TVsSAnZWagAA7lkP/RtselJoGf/wYc+gsWtz\nb1n24EprmUeO1QsnBDIfFAaOw2TNKVpghcNyKVAaRzAUBtr9wkbL0xss2qm8\ntP+005i3JgO9/x/ZHo9ZlojMq94p6JiWtBFm0ksdL0kQmep2zQhE9ETh3igs\nqTXxLXlo8J12eNA9th+nRlkd/8upcMMR1NA3OJYQzAUgOiGBL3zxENlJJpLg\nBwph6nbxQ1IK/I+2jRfISkw2i2vTPx8jWABjeB7bqC8jcdzJp48ivKcVVBPm\n76vKmTmmK0eh5750fkjnpF+AeMDfw0Sr9+g1MRu4NmThvvjqDGfnjQtKWrhi\nfCyjIVO3z7mve1JbVdCrLMHqzK2C8Uf2GhSTRkjOIHnEjz1Ftga1FxtbK+Q/\n9wVwfPb0mXkzHXJV/OPiLS5PX8xryw+sXBlvgIKXDh2m3wjhTQxFJY88OLTh\na2qLiDZmotzAK6IvAikHb8TX83ekJrI4unhqDlYzmuvsKxkH3qvBvGlKZCuz\nJ+LpyxTTuEORF331UiK0QCt1UiDF7HxetCD3cKilgc2i54+lPpGU9k5+TzGL\nikGzOg/b7+gWTVivUwLPA6/FL6Dn2PbFWT8nhkMVaeFbnXman2w6ZN+d+ZJx\nkn/3V94PDCx/H5NjRNtQtwbMDRNVKV4PuRl6kOcs5X/9VdjpygTQMjsSVj/u\nJFUZ\r\n=ErA4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkgzw8WMgNo8RGHHbiYY7zMl0FDk5tZB0Y86bylNxQqAiEAgqj6K7d6VKFGONYcLF4HeypOx9UBJ719LY9k0ttBMo0="}]},"_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-query-ast_2.1.0_1635154401196_0.3066716254023685"},"_hasShrinkwrap":false},"2.1.1":{"name":"postcss-query-ast","version":"2.1.1","description":"Query PostCSS AST with CSS selectors.","license":"MIT","author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"sideEffects":false,"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./package.json":"./package.json"},"main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","directories":{"test":"test"},"scripts":{"build":"rollup --config rollup.config.js","lint":"eslint '{index,lib/**/*,test/**/*}.js'","lint:types":"tsc","module-check":"node -e 'require(\"postcss-query-ast\");' && node --input-type=module -e 'import \"postcss-query-ast\";'","prepublishOnly":"npm run build","postpublish":"GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog","prerelease":"npm run lint && npm run lint:types && npm run build && npm run module-check","release":"np --no-release-draft","test":"BABEL_ENV=test nyc mocha --require @babel/register --require esm 'test/*.js' && nyc check-coverage","test:watch":"nodemon --exec npm test","version":"if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi"},"dependencies":{"postcss":"^8.1.1","postcss-selector-parser":"^6.0.4"},"devDependencies":{"@babel/cli":"^7.2.3","@babel/core":"^7.2.2","@babel/preset-env":"^7.12.1","@babel/register":"^7.0.0","@rollup/plugin-babel":"^5.2.1","@types/mocha":"^8.2.3","@types/node":"^16.3.0","babel-plugin-istanbul":"^6.0.0","changelog-verify":"^1.1.2","core-js":"^2.6.5","cpy":"^8.1.2","eslint":"^7.31.0","eslint-config-niksy":"^10.0.0","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","eslint-plugin-jsdoc":"^33.3.0","eslint-plugin-mocha":"^8.0.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-promise":"^5.1.0","eslint-plugin-unicorn":"^31.0.0","esm":"^3.0.51","execa":"^5.1.1","github-release-from-changelog":"^2.1.1","husky":"^4.3.0","lint-staged":"^10.4.2","mocha":"^8.2.0","nodemon":"^2.0.6","np":"^6.5.0","nyc":"^15.1.0","prettier":"^2.4.0","rollup":"^2.32.1","typescript":"^4.3.5","version-changelog":"^3.1.1"},"engines":{"node":">=12"},"keywords":["ast","css","postcss","query","queryselector"],"repository":{"type":"git","url":"git+https://github.com/niksy/postcss-query-ast.git"},"bugs":{"url":"https://github.com/niksy/postcss-query-ast/issues"},"homepage":"https://github.com/niksy/postcss-query-ast#readme","gitHead":"e9bc76205431c6b7ab701e9081276b08497a08ff","_id":"postcss-query-ast@2.1.1","_nodeVersion":"16.19.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-8TDJ2V9r2WhwA98EkDsvjOd473CXgu2lsko04Y2R95LgDJ/So7yvL9Ymgdnibipp9+UIdky8izCnDYC/rVg9OQ==","shasum":"4205645d47c54bc0654af43bbe768762df2defeb","tarball":"https://registry.npmjs.org/postcss-query-ast/-/postcss-query-ast-2.1.1.tgz","fileCount":42,"unpackedSize":141529,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrqTzaBHgMZ9uT1vS6l/geS5UENisawQ5AN2HOsQOZJQIhAJovaJBc7Q0+6HWoEOYwt4Or8EZm0oYxhCKasQmb1f88"}]},"_npmUser":{"name":"niksy","email":"niksy5@gmail.com"},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-query-ast_2.1.1_1692775794425_0.1128523919761868"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-03T15:01:07.773Z","1.0.0":"2019-01-03T15:01:07.913Z","modified":"2023-08-23T07:29:54.765Z","1.0.1":"2019-01-04T08:35:02.824Z","2.0.0":"2020-10-08T14:10:14.628Z","2.1.0":"2021-10-25T09:33:21.353Z","2.1.1":"2023-08-23T07:29:54.612Z"},"maintainers":[{"name":"niksy","email":"niksy5@gmail.com"}],"description":"Query PostCSS AST with CSS selectors.","homepage":"https://github.com/niksy/postcss-query-ast#readme","keywords":["ast","css","postcss","query","queryselector"],"repository":{"type":"git","url":"git+https://github.com/niksy/postcss-query-ast.git"},"author":{"name":"Ivan Nikolić","email":"niksy5@gmail.com","url":"http://ivannikolic.com"},"bugs":{"url":"https://github.com/niksy/postcss-query-ast/issues"},"license":"MIT","readme":"# postcss-query-ast\n\n[![Build Status][ci-img]][ci]\n\nQuery PostCSS AST with CSS selectors.\n\nSupported selectors are:\n\n-   [Type selectors][mdn-type-selector]: `rule`, `atrule`, `decl`, `comment`\n-   [Universal selector](mdn-universal-selector): `*`\n-   [Attribute selectors][mdn-attribute-selector]: `[attr=value]`,\n    `[attr=value]`, `[attr~=value]`, `[attr|=value]`, `[attr^=value]`,\n    `[attr$=value]`, `[attr*=value]`\n-   [Descendant combinator][mdn-descendant-combinator]: `rule decl`\n-   [Child combinator][mdn-child-combinator]: `atrule > rule`\n-   [Adjacent sibling combinator][mdn-adjacent-sibling-combinator]:\n    `rule + rule`\n-   [General sibling combinator][mdn-general-sibling-combinator]: `rule ~ rule`\n-   Child pseudo classes ([`:first-child`][mdn-first-child],\n    [`:last-child`][mdn-last-child], [`:nth-child`][mdn-nth-child],\n    [`:nth-last-child`][mdn-nth-last-child], [`:only-child`][mdn-only-child]):\n    `rule:first-child`\n-   Type pseudo classes ([`:first-of-type`][mdn-first-of-type],\n    [`:last-of-type`][mdn-last-of-type], [`:nth-of-type`][mdn-nth-of-type],\n    [`:nth-last-of-type`][mdn-nth-last-of-type],\n    [`:only-of-type`][mdn-only-of-type]): `rule:first-of-type`\n-   [Empty nodes][mdn-empty]: `rule:empty`\n-   [Matches][mdn-matches]: `:matches(rule, atrule)`\n-   [Negation][mdn-not]: `:not(atrule)`\n\nIn addition to standard selectors, there are also custom selectors:\n\n-   Attribute selector with regular expression: `[attr=\"/^value$/i\"]`\n\n## Install\n\n```sh\nnpm install postcss-query-ast --save\n```\n\n## Usage\n\nQuerying AST from following CSS will give us only `body` rule with `jackie` ID\nattribute.\n\n```css\nbody {\n\tbackground: red;\n}\n\nbody#jackie {\n\tbackground: hotpink;\n}\n\na {\n\tbackground: green;\n}\n```\n\n```js\nimport queryAst from 'postcss-query-ast';\n\n// Assume we have AST\nconst postcssAst = [];\n\n(async () => {\n\tconst ast = await queryAst('rule[selector=\"body#jackie\"]', postcssAst);\n\n\t/* [ Rule {\n\t    raws: { before: '\\n\\n', between: ' ', semicolon: true, after: '\\n' },\n\t    type: 'rule',\n\t    nodes: [ [Declaration] ],\n\t    parent: \n\t     Root {\n\t       raws: [Object],\n\t       type: 'root',\n\t       nodes: [Array],\n\t       source: [Object],\n\t       lastEach: 1,\n\t       indexes: {} },\n\t    source: { start: [Object], input: [Input], end: [Object] },\n\t    selector: 'body#jackie',\n\t    lastEach: 1,\n\t    indexes: {} } ] */\n})();\n```\n\n## API\n\n### queryAst(query, ast)\n\nReturns: `Promise<(Root | Rule | AtRule | Declaration | Comment)[]>`\n\nQueries PostCSS with CSS selector.\n\n#### query\n\nType: `string`\n\nCSS selector.\n\n#### ast\n\nType: `Root`\n\nPostCSS AST.\n\n## License\n\nMIT © [Ivan Nikolić](http://ivannikolic.com)\n\n<!-- prettier-ignore-start -->\n\n[ci]: https://github.com/niksy/postcss-query-ast/actions?query=workflow%3ACI\n[ci-img]: https://github.com/niksy/postcss-query-ast/workflows/CI/badge.svg?branch=master\n[mdn-type-selector]: https://developer.mozilla.org/en-US/docs/Web/CSS/Type_selectors\n[mdn-universal-selector]: https://developer.mozilla.org/en-US/docs/Web/CSS/Universal_selectors\n[mdn-attribute-selector]: https://developer.mozilla.org/en-US/docs/Web/CSS/Attribute_selectors\n[mdn-descendant-combinator]: https://developer.mozilla.org/en-US/docs/Web/CSS/Descendant_selectors\n[mdn-child-combinator]: https://developer.mozilla.org/en-US/docs/Web/CSS/Child_selectors\n[mdn-adjacent-sibling-combinator]: https://developer.mozilla.org/en-US/docs/Web/CSS/Adjacent_sibling_selectors\n[mdn-general-sibling-combinator]: https://developer.mozilla.org/en-US/docs/Web/CSS/General_sibling_selectors\n[mdn-first-child]: https://developer.mozilla.org/en-US/docs/Web/CSS/:first-child\n[mdn-last-child]: https://developer.mozilla.org/en-US/docs/Web/CSS/:last-child\n[mdn-nth-child]: https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child\n[mdn-nth-last-child]: https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-child\n[mdn-only-child]: https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child\n[mdn-first-of-type]: https://developer.mozilla.org/en-US/docs/Web/CSS/:first-of-type\n[mdn-last-of-type]: https://developer.mozilla.org/en-US/docs/Web/CSS/:last-of-type\n[mdn-nth-of-type]: https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-of-type\n[mdn-nth-last-of-type]: https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-last-of-type\n[mdn-only-of-type]: https://developer.mozilla.org/en-US/docs/Web/CSS/:only-of-type\n[mdn-empty]: https://developer.mozilla.org/en-US/docs/Web/CSS/:empty\n[mdn-matches]: https://developer.mozilla.org/en-US/docs/Web/CSS/:matches\n[mdn-not]: https://developer.mozilla.org/en-US/docs/Web/CSS/:not\n\n<!-- prettier-ignore-end -->\n","readmeFilename":"README.md"}