{"_id":"hast-util-select","_rev":"4337473","name":"hast-util-select","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","dist-tags":{"latest":"6.0.4"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2026-04-08T09:55:28.000Z","created":"2017-04-09T19:14:46.172Z","6.0.4":"2025-02-19T14:34:41.619Z","6.0.3":"2024-10-11T09:53:41.325Z","6.0.2":"2023-11-06T16:11:40.105Z","6.0.1":"2023-08-30T15:27:45.137Z","6.0.0":"2023-08-07T17:04:36.347Z","5.0.5":"2023-01-22T11:53:26.735Z","5.0.4":"2023-01-16T13:47:17.351Z","5.0.3":"2022-12-30T16:53:37.871Z","5.0.2":"2022-05-26T20:29:57.543Z","5.0.1":"2021-08-30T18:35:39.428Z","5.0.0":"2021-04-29T08:40:56.763Z","4.0.2":"2020-12-03T10:32:45.128Z","4.0.1":"2020-10-30T20:51:20.655Z","4.0.0":"2020-02-27T18:29:58.359Z","3.0.1":"2019-05-25T10:25:36.802Z","3.0.0":"2018-11-07T19:22:43.007Z","2.1.0":"2018-07-22T18:27:20.109Z","2.0.0":"2018-07-17T18:29:06.282Z","1.0.1":"2017-06-25T15:02:50.311Z","1.0.0":"2017-04-09T19:14:46.172Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"versions":{"6.0.4":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^3.0.0","@types/unist":"^3.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^3.0.0","devlop":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^3.0.0","hast-util-to-string":"^3.0.0","hast-util-whitespace":"^3.0.0","nth-check":"^2.0.0","property-information":"^7.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^5.0.0","zwitch":"^2.0.0"},"description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","devDependencies":{"@types/node":"^22.0.0","c8":"^10.0.0","hastscript":"^9.0.0","prettier":"^3.0.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^11.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","unist-builder":"^4.0.0","xo":"^0.60.0"},"exports":"./index.js","funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["css","hast-util","hast","html","match","matches","query","selectall","selector","select","unist","utility","util"],"license":"MIT","name":"hast-util-select","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run build && npm run format","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"sideEffects":false,"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"type":"module","version":"6.0.4","xo":{"overrides":[{"files":["test/**/*.js"],"rules":{"import/no-unassigned-import":"off","max-nested-callbacks":"off","no-await-in-loop":"off"}}],"prettier":true,"rules":{"logical-assignment-operators":"off","max-params":"off","unicorn/prefer-at":"off"}},"_id":"hast-util-select@6.0.4","gitHead":"5fe5b3dedf489ad4e34835fdad4c2ec0412e26a6","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_nodeVersion":"23.1.0","_npmVersion":"11.1.0","dist":{"shasum":"1d8f69657a57441d0ce0ade35887874d3e65a303","size":17045,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-6.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-6.0.4.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hast-util-select_6.0.4_1739975681344_0.7515321895652938"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-19T14:34:41.619Z","publish_time":1739975681619,"_source_registry_name":"default","_cnpm_publish_time":1739975681619},"6.0.3":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^3.0.0","@types/unist":"^3.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^3.0.0","devlop":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^3.0.0","hast-util-to-string":"^3.0.0","hast-util-whitespace":"^3.0.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^5.0.0","zwitch":"^2.0.0"},"description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","devDependencies":{"@types/node":"^22.0.0","c8":"^10.0.0","hastscript":"^8.0.0","prettier":"^3.0.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^10.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","unist-builder":"^4.0.0","xo":"^0.59.0"},"exports":"./index.js","funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["css","hast-util","hast","html","match","matches","query","selectall","selector","select","unist","utility","util"],"license":"MIT","name":"hast-util-select","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","prepack":"npm run build && npm run format","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"sideEffects":false,"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"type":"module","version":"6.0.3","xo":{"overrides":[{"files":["test/**/*.js"],"rules":{"import/no-unassigned-import":"off","max-nested-callbacks":"off","no-await-in-loop":"off"}}],"prettier":true,"rules":{"logical-assignment-operators":"off","max-params":"off","unicorn/prefer-at":"off"}},"_id":"hast-util-select@6.0.3","gitHead":"7a97edbce41c8e8f913071188531e1de48a5e4c1","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_nodeVersion":"22.7.0","_npmVersion":"10.9.0","dist":{"shasum":"d30471b26efc88ae8a126ec36cd8ee6420fe3839","size":17101,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-6.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-6.0.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_6.0.3_1728640421145_0.2622285756200715"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-10-11T09:53:41.325Z","publish_time":1728640421325,"_source_registry_name":"default","_cnpm_publish_time":1728640421325},"6.0.2":{"name":"hast-util-select","version":"6.0.2","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^3.0.0","@types/unist":"^3.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^3.0.0","devlop":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^3.0.0","hast-util-to-string":"^3.0.0","hast-util-whitespace":"^3.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^5.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","hastscript":"^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","unist-builder":"^4.0.0","xo":"^0.56.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/index.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":{"overrides":[{"files":["test/**/*.js"],"rules":{"import/no-unassigned-import":"off","max-nested-callbacks":"off","no-await-in-loop":"off"}}],"prettier":true,"rules":{"max-params":"off","unicorn/prefer-at":"off"}},"_id":"hast-util-select@6.0.2","gitHead":"ffaebb2879cdfbbe1938cf706310e7cef5d7e6a7","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_nodeVersion":"21.0.0","_npmVersion":"10.2.0","dist":{"shasum":"f1e6c583ab6227cb510383471328734342bd1d1c","size":15889,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-6.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_6.0.2_1699287099946_0.6595249042124227"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-06T16:11:40.105Z","publish_time":1699287100105,"_source_registry_name":"default","_cnpm_publish_time":1699287100105},"6.0.1":{"name":"hast-util-select","version":"6.0.1","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^3.0.0","@types/unist":"^3.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^2.0.0","devlop":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^3.0.0","hast-util-to-string":"^3.0.0","hast-util-whitespace":"^3.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^5.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","hastscript":"^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","unist-builder":"^4.0.0","xo":"^0.56.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/index.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":{"overrides":[{"files":["test/**/*.js"],"rules":{"import/no-unassigned-import":"off","max-nested-callbacks":"off","no-await-in-loop":"off"}}],"prettier":true,"rules":{"max-params":"off","unicorn/prefer-at":"off"}},"_id":"hast-util-select@6.0.1","gitHead":"3032a2768b1d1482f18fc9ad4a2933ca10611209","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"71d178d4b6ee51898e974829d0981730e881c137","size":15776,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-6.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_6.0.1_1693409264910_0.6819940907241062"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-30T15:27:45.137Z","publish_time":1693409265137,"_source_registry_name":"default","_cnpm_publish_time":1693409265137},"6.0.0":{"name":"hast-util-select","version":"6.0.0","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^3.0.0","@types/unist":"^3.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^2.0.0","devlop":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^3.0.0","hast-util-to-string":"^2.0.0","hast-util-whitespace":"^3.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^5.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","hastscript":"^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","unist-builder":"^4.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/index.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":{"overrides":[{"files":["test/**/*.js"],"rules":{"import/no-unassigned-import":"off","max-nested-callbacks":"off","no-await-in-loop":"off"}}],"prettier":true,"rules":{"max-params":"off","unicorn/prefer-at":"off"}},"gitHead":"50287536a64f14a6c420fd5863cb211602229daf","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@6.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"shasum":"ff7555d251f9bdfa29655872a103d450ceedf899","size":15815,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-6.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_6.0.0_1691427876177_0.9224222860809999"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-07T17:04:36.347Z","publish_time":1691427876347,"_source_registry_name":"default","_cnpm_publish_time":1691427876347},"5.0.5":{"name":"hast-util-select","version":"5.0.5","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^2.0.0","@types/unist":"^2.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^2.0.0","hast-util-to-string":"^2.0.0","hast-util-whitespace":"^2.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^4.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","hastscript":"^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","unist-builder":"^3.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/index.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":{"max-params":"off"},"overrides":[{"files":["test/**/*.js"],"rules":{"no-await-in-loop":0}}]},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"c523d66affafceff4c2b6099b81fe1b2abb56fc0","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@5.0.5","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"be9ccb71d2278681ca024727f12abd4f93b3e9bc","size":16358,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-5.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-5.0.5.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_5.0.5_1674388406584_0.050506893486334414"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-22T11:53:26.735Z","publish_time":1674388406735,"_cnpm_publish_time":1674388406735},"5.0.4":{"name":"hast-util-select","version":"5.0.4","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^2.0.0","@types/unist":"^2.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^2.0.0","hast-util-to-string":"^2.0.0","hast-util-whitespace":"^2.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^4.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","hastscript":"^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","unist-builder":"^3.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/index.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":{"max-params":"off"},"overrides":[{"files":["test/**/*.js"],"rules":{"no-await-in-loop":0}}]},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"a0681a0d0b0a67dec41d0495534e938e923c3c39","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@5.0.4","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"125750250060dd3438ece13a8f9a93313dcd5d6e","size":16344,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-5.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-5.0.4.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_5.0.4_1673876837156_0.6100488072435168"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-16T13:47:17.351Z","publish_time":1673876837351,"_cnpm_publish_time":1673876837351},"5.0.3":{"name":"hast-util-select","version":"5.0.3","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^2.0.0","@types/unist":"^2.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^2.0.0","hast-util-to-string":"^2.0.0","hast-util-whitespace":"^2.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^4.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","hastscript":"^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","unist-builder":"^3.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/index.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":{"max-params":"off"},"overrides":[{"files":["test/**/*.js"],"rules":{"no-await-in-loop":0}}]},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"14b84ba5697f3a366c04f09e549405b8a2c39e12","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@5.0.3","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"d782d98b7f9531ae9cba052c4e55112395ee2db5","size":16274,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-5.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-5.0.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_5.0.3_1672419217637_0.5355745119236441"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-12-30T16:53:42.059Z","publish_time":1672419217871,"_cnpm_publish_time":1672419217871},"5.0.2":{"name":"hast-util-select","version":"5.0.2","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^2.0.0","@types/unist":"^2.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^2.0.0","hast-util-is-element":"^2.0.0","hast-util-to-string":"^2.0.0","hast-util-whitespace":"^2.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^4.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","hastscript":"^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","unist-builder":"^3.0.0","xo":"^0.49.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.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":{"max-params":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"e88e19611e23cdca20a5c20ce5dbd267ab8247b2","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@5.0.2","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"shasum":"8c603ebacf0f47e154c5fa2e5b7efc520813866b","size":15160,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-5.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_5.0.2_1653596997358_0.5118181590294137"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-26T20:45:48.601Z","publish_time":1653596997543,"_cnpm_publish_time":1653596997543},"5.0.1":{"name":"hast-util-select","version":"5.0.1","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^2.0.0","@types/unist":"^2.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^2.0.0","hast-util-is-element":"^2.0.0","hast-util-to-string":"^2.0.0","hast-util-whitespace":"^2.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^4.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","hastscript":"^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","unist-builder":"^3.0.0","xo":"^0.44.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.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":{"max-params":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"aeedcaef7b7cf3872f7dd578cfd498527f3fc0ee","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@5.0.1","_nodeVersion":"16.6.1","_npmVersion":"7.21.1","dist":{"shasum":"ed3788ad1a8d2d7f16a6bf8153ce9378edbe9d6d","size":14573,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-5.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_5.0.1_1630348539154_0.9489250211553797"},"_hasShrinkwrap":false,"publish_time":1630348539428,"_cnpm_publish_time":1630348539428,"_cnpmcore_publish_time":"2021-12-16T16:19:37.690Z"},"5.0.0":{"name":"hast-util-select","version":"5.0.0","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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/hast":"^2.0.0","@types/unist":"^2.0.0","bcp-47-match":"^2.0.0","comma-separated-tokens":"^2.0.0","css-selector-parser":"^1.0.0","direction":"^2.0.0","hast-util-has-property":"^2.0.0","hast-util-is-element":"^2.0.0","hast-util-to-string":"^1.0.0","hast-util-whitespace":"^2.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^6.0.0","space-separated-tokens":"^2.0.0","unist-util-visit":"^3.0.0","zwitch":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","hastscript":"^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","unist-builder":"^3.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.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":{"max-params":"off","unicorn/no-array-for-each":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"85df640174ed067cd341870adb90cd9a3901730f","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@5.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"shasum":"1f867d875326c2b30d269c8a48347df6d0e3cb12","size":14245,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-5.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_5.0.0_1619685656594_0.9889635261476148"},"_hasShrinkwrap":false,"publish_time":1619685656763,"_cnpm_publish_time":1619685656763,"_cnpmcore_publish_time":"2021-12-16T16:19:37.908Z"},"4.0.2":{"name":"hast-util-select","version":"4.0.2","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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"}],"dependencies":{"bcp-47-match":"^1.0.0","comma-separated-tokens":"^1.0.0","css-selector-parser":"^1.0.0","direction":"^1.0.0","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-to-string":"^1.0.0","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^2.0.0","property-information":"^5.0.0","space-separated-tokens":"^1.0.0","unist-util-visit":"^2.0.0","zwitch":"^1.0.0"},"devDependencies":{"browserify":"^17.0.0","hastscript":"^6.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unist-builder":"^2.0.0","xo":"^0.35.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify . -s hastUtilSelect > hast-util-select.js","build-mangle":"browserify . -s hastUtilSelect -p tinyify > hast-util-select.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"eqeqeq":["error","always",{"null":"ignore"}],"max-params":"off","no-eq-null":"off","unicorn/explicit-length-check":"off","unicorn/prefer-includes":"off","unicorn/prefer-reflect-apply":"off","unicorn/prefer-type-error":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"f98d0d944b47c6301e6cd089e48f881f6071cf34","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@4.0.2","_nodeVersion":"15.1.0","_npmVersion":"6.14.9","dist":{"shasum":"ae3ef2860e02cda2ad3a2e72b47c1f5e8f44e9e7","size":10597,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-4.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_4.0.2_1606991564976_0.515841631698442"},"_hasShrinkwrap":false,"publish_time":1606991565128,"_cnpm_publish_time":1606991565128,"_cnpmcore_publish_time":"2021-12-16T16:19:38.549Z"},"4.0.1":{"name":"hast-util-select","version":"4.0.1","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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"}],"dependencies":{"bcp-47-match":"^1.0.0","comma-separated-tokens":"^1.0.0","css-selector-parser":"^1.0.0","direction":"^1.0.0","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-to-string":"^1.0.0","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.0","property-information":"^5.0.0","space-separated-tokens":"^1.0.0","unist-util-visit":"^2.0.0","zwitch":"^1.0.0"},"devDependencies":{"browserify":"^17.0.0","hastscript":"^6.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unist-builder":"^2.0.0","xo":"^0.34.0"},"scripts":{"format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","build-bundle":"browserify . -s hastUtilSelect > hast-util-select.js","build-mangle":"browserify . -s hastUtilSelect -p tinyify > hast-util-select.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"eqeqeq":["error","always",{"null":"ignore"}],"max-params":"off","no-eq-null":"off","unicorn/explicit-length-check":"off","unicorn/prefer-includes":"off","unicorn/prefer-reflect-apply":"off","unicorn/prefer-type-error":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"1556219607eb46ba4e3bceb54e46b6c9690cf44d","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@4.0.1","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"bca4e008e8fe84910bf280d15907e27f38737dd6","size":10589,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-4.0.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_4.0.1_1604091080489_0.7965179721396147"},"_hasShrinkwrap":false,"publish_time":1604091080655,"_cnpm_publish_time":1604091080655,"_cnpmcore_publish_time":"2021-12-16T16:19:38.784Z"},"4.0.0":{"name":"hast-util-select","version":"4.0.0","description":"hast utility for `querySelector`, `querySelectorAll`, and `matches`","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","css","select","selectall","selector","query","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/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"}],"dependencies":{"bcp-47-match":"^1.0.0","comma-separated-tokens":"^1.0.0","css-selector-parser":"^1.0.0","direction":"^1.0.0","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-to-string":"^1.0.0","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.0","property-information":"^5.0.0","space-separated-tokens":"^1.0.0","unist-util-visit":"^2.0.0","zwitch":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","hastscript":"^5.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unist-builder":"^2.0.0","xo":"^0.27.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s hastUtilSelect > hast-util-select.js","build-mangle":"browserify . -s hastUtilSelect -p tinyify > hast-util-select.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-reflect-apply":"off","unicorn/prefer-includes":"off","unicorn/prefer-type-error":"off","max-params":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"5ff3d8340d0124c56c0c3a292491b101b8d81bce","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@4.0.0","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"0eda0933853792dd2865f54510db123b00d675c8","size":10784,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-4.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_4.0.0_1582828198279_0.6433993280550223"},"_hasShrinkwrap":false,"publish_time":1582828198359,"_cnpm_publish_time":1582828198359,"_cnpmcore_publish_time":"2021-12-16T16:19:39.001Z"},"3.0.1":{"name":"hast-util-select","version":"3.0.1","description":"`querySelector`, `querySelectorAll`, and `matches` in hast","license":"MIT","keywords":["hast","css","select","selectAll","selector","selectorAll","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"bcp-47-match":"^1.0.0","comma-separated-tokens":"^1.0.2","css-selector-parser":"^1.3.0","direction":"^1.0.2","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-to-string":"^1.0.1","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.1","property-information":"^5.0.0","space-separated-tokens":"^1.1.0","unist-util-visit":"^1.3.1","zwitch":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","hastscript":"^5.0.0","nyc":"^14.0.0","prettier":"^1.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^5.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unist-builder":"^1.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s hastUtilSelect > hast-util-select.js","build-mangle":"browserify . -s hastUtilSelect -p tinyify > hast-util-select.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-type-error":"off","max-params":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"41f1c2e091f88efdd95cf5edf9b353a9e9dd2053","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@3.0.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"1f642c91ab5fb41ca2d485e4e701739f39d42552","size":10647,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-3.0.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_3.0.1_1558779936656_0.5829741710730345"},"_hasShrinkwrap":false,"publish_time":1558779936802,"_cnpm_publish_time":1558779936802,"_cnpmcore_publish_time":"2021-12-16T16:19:39.229Z"},"3.0.0":{"name":"hast-util-select","version":"3.0.0","description":"`querySelector`, `querySelectorAll`, and `matches` in HAST","license":"MIT","keywords":["hast","css","select","selectAll","selector","selectorAll","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"bcp-47-match":"^1.0.0","comma-separated-tokens":"^1.0.2","css-selector-parser":"^1.3.0","direction":"^1.0.2","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-to-string":"^1.0.1","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.1","property-information":"^5.0.0","space-separated-tokens":"^1.1.0","unist-util-visit":"^1.3.1","zwitch":"^1.0.0"},"devDependencies":{"browserify":"^16.0.0","hastscript":"^5.0.0","nyc":"^13.0.0","prettier":"^1.13.5","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","unist-builder":"^1.0.2","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify . -s hastUtilSelect > hast-util-select.js","build-mangle":"browserify . -s hastUtilSelect -p tinyify > hast-util-select.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off","unicorn/prefer-type-error":"off","import/no-unassigned-import":"off","max-params":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"005ce06eb9503a70721a7918051f81ce8ccda383","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"37e6386dcf82e712ac34cdbbdae7c7bd92d7f3d0","size":10441,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-3.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_3.0.0_1541618562864_0.4580070259815101"},"_hasShrinkwrap":false,"publish_time":1541618563007,"_cnpm_publish_time":1541618563007,"_cnpmcore_publish_time":"2021-12-16T16:19:39.421Z"},"2.1.0":{"name":"hast-util-select","version":"2.1.0","description":"`querySelector`, `querySelectorAll`, and `matches` in HAST","license":"MIT","keywords":["hast","css","select","selectAll","selector","selectorAll","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"bcp-47-match":"^1.0.0","comma-separated-tokens":"^1.0.2","css-selector-parser":"^1.3.0","direction":"^1.0.2","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-to-string":"^1.0.1","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.1","property-information":"^4.0.0","space-separated-tokens":"^1.1.0","unist-util-visit":"^1.3.1","zwitch":"^1.0.0"},"files":["lib","index.js"],"devDependencies":{"browserify":"^16.0.0","hastscript":"^4.0.0","nyc":"^12.0.0","prettier":"^1.13.5","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","unist-builder":"^1.0.2","xo":"^0.21.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js -s hastUtilSelect > hast-util-select.js","build-mangle":"browserify index.js -p tinyify -s hastUtilSelect > hast-util-select.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off","unicorn/prefer-type-error":"off","import/no-unassigned-import":"off","max-params":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"920f781a5dbe29c0436420cb51fead554c21fbaf","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@2.1.0","_npmVersion":"6.2.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"a1db6c02de37ca215d95ee5e8c1412dc1916b1b0","size":10634,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-2.1.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_2.1.0_1532284040040_0.12349496887234768"},"_hasShrinkwrap":false,"publish_time":1532284040109,"_cnpm_publish_time":1532284040109,"_cnpmcore_publish_time":"2021-12-16T16:19:39.662Z"},"2.0.0":{"name":"hast-util-select","version":"2.0.0","description":"`querySelector`, `querySelectorAll`, and `matches` in HAST","license":"MIT","keywords":["hast","css","select","selectAll","selector","selectorAll","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"comma-separated-tokens":"^1.0.2","css-selector-parser":"^1.3.0","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.1","property-information":"^4.0.0","space-separated-tokens":"^1.1.0","zwitch":"^1.0.0"},"files":["lib","index.js"],"devDependencies":{"browserify":"^16.0.0","hastscript":"^4.0.0","nyc":"^12.0.0","prettier":"^1.13.5","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.0.0","tinyify":"^2.4.3","unist-builder":"^1.0.2","xo":"^0.21.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js -s hastUtilSelect > hast-util-select.js","build-mangle":"browserify index.js -p tinyify -s hastUtilSelect > hast-util-select.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off","unicorn/prefer-type-error":"off","import/no-unassigned-import":"off","max-params":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"61bd5d1cccb9b1ed3175d814a9747837f3a662ec","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@2.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"9076e233b15d08f256566bdf81a7a3598ba694a8","size":8590,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-2.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select_2.0.0_1531852146219_0.028636235432519808"},"_hasShrinkwrap":false,"publish_time":1531852146282,"_cnpm_publish_time":1531852146282,"_cnpmcore_publish_time":"2021-12-16T16:19:39.916Z"},"1.0.1":{"name":"hast-util-select","version":"1.0.1","description":"`querySelector`, `querySelectorAll`, and `matches` in HAST","license":"MIT","keywords":["hast","css","select","selectAll","selector","selectorAll","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"camelcase":"^3.0.0","comma-separated-tokens":"^1.0.2","css-selector-parser":"^1.3.0","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.1","property-information":"^3.1.0","space-separated-tokens":"^1.1.0","zwitch":"^1.0.0"},"files":["lib","index.js"],"devDependencies":{"browserify":"^14.0.1","esmangle":"^1.0.1","hastscript":"^3.0.1","nyc":"^11.0.0","remark-cli":"^3.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.0.0","unist-builder":"^1.0.2","xo":"^0.18.1"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s hastUtilSelect > hast-util-select.js","build-mangle":"esmangle < hast-util-select.js > hast-util-select.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"rules":{"guard-for-in":"off","unicorn/prefer-type-error":"off","import/no-unassigned-import":"off","max-params":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"50acd76c3d9efc50d17aebc74edc29535b798b11","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@1.0.1","_shasum":"9f1591efa62ba0bdf5ea4298b301aaae1dad612d","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"9f1591efa62ba0bdf5ea4298b301aaae1dad612d","size":8342,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-1.0.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-select-1.0.1.tgz_1498402968142_0.012250002939254045"},"directories":{},"publish_time":1498402970311,"_hasShrinkwrap":false,"_cnpm_publish_time":1498402970311,"_cnpmcore_publish_time":"2021-12-16T16:19:40.158Z"},"1.0.0":{"name":"hast-util-select","version":"1.0.0","description":"`querySelector`, `querySelectorAll`, and `matches` in HAST","license":"MIT","keywords":["hast","css","select","selectAll","selector","selectorAll","match","matches"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-select.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"dependencies":{"camelcase":"^3.0.0","comma-separated-tokens":"^1.0.2","css-selector-parser":"^1.3.0","has":"^1.0.1","hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0","hast-util-whitespace":"^1.0.0","not":"^0.1.0","nth-check":"^1.0.1","property-information":"^3.1.0","space-separated-tokens":"^1.1.0","zwitch":"^1.0.0"},"files":["lib","index.js"],"devDependencies":{"browserify":"^14.0.1","esmangle":"^1.0.1","hastscript":"^3.0.1","nyc":"^10.0.0","remark-cli":"^3.0.0","remark-preset-wooorm":"^2.0.0","tape":"^4.0.0","unist-builder":"^1.0.2","xo":"^0.18.1"},"scripts":{"build-md":"remark . -qfo","build-bundle":"browserify index.js --bare -s hastUtilSelect > hast-util-select.js","build-mangle":"esmangle < hast-util-select.js > hast-util-select.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run build && npm run lint && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"xo":{"space":true,"esnext":false,"rules":{"guard-for-in":"off","unicorn/prefer-type-error":"off","import/no-unassigned-import":"off","max-params":"off"},"ignores":["hast-util-select.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"0cb15ab24b2f58541ab9f20dbaad18b0f2487a81","homepage":"https://github.com/syntax-tree/hast-util-select#readme","_id":"hast-util-select@1.0.0","_shasum":"c4553d994c653a8bcbde317a1e78500b809b9703","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"c4553d994c653a8bcbde317a1e78500b809b9703","size":8279,"noattachment":false,"key":"/hast-util-select/-/hast-util-select-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/hast-util-select/download/hast-util-select-1.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/hast-util-select-1.0.0.tgz_1491765285438_0.7558234522584826"},"directories":{},"publish_time":1491765286172,"_hasShrinkwrap":false,"_cnpm_publish_time":1491765286172,"_cnpmcore_publish_time":"2021-12-16T16:19:40.408Z"}},"readme":"# hast-util-select\n\n[![Build][badge-build-image]][badge-build-url]\n[![Coverage][badge-coverage-image]][badge-coverage-url]\n[![Downloads][badge-downloads-image]][badge-downloads-url]\n[![Size][badge-size-image]][badge-size-url]\n\n[hast][github-hast] utility with equivalents for\n`matches`, `querySelector`, and `querySelectorAll`.\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  * [`matches(selector, node[, space])`](#matchesselector-node-space)\n  * [`select(selector, tree[, space])`](#selectselector-tree-space)\n  * [`selectAll(selector, tree[, space])`](#selectallselector-tree-space)\n  * [`Space`](#space)\n* [Support](#support)\n* [Unsupported](#unsupported)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package lets you find nodes in a tree,\nsimilar to how `matches`,\n`querySelector`,\nand\n`querySelectorAll` work with the DOM.\n\nOne notable difference between DOM and hast is that DOM nodes have references\nto their parents,\nmeaning that `document.body.matches(':last-child')` can be evaluated to check\nwhether the body is the last child of its parent.\nThis information is not stored in hast,\nso selectors like that don’t work.\n\n## When should I use this?\n\nThis is a small utility that is quite useful,\nbut is rather slow if you use it a lot.\nFor each call,\nit has to walk the entire tree.\nIn some cases,\nwalking the tree once with\n[`unist-util-visit`][github-unist-util-visit]\nis smarter,\nsuch as when you want to change certain nodes.\nOn the other hand,\nthis is quite powerful and fast enough for many other cases.\n\nThis utility is similar to\n[`unist-util-select`][github-unist-util-select],\nwhich can find and match any unist node.\n\n## Install\n\nThis package is [ESM only][github-gist-esm].\nIn Node.js (version 16+),\ninstall with [npm][npmjs-install]:\n\n```sh\nnpm install hast-util-select\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {matches, select, selectAll} from 'https://esm.sh/hast-util-select@6'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {matches, select, selectAll} from 'https://esm.sh/hast-util-select@6?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {h} from 'hastscript'\nimport {matches, select, selectAll} from 'hast-util-select'\n\nconst tree = h('section', [\n  h('p', 'Alpha'),\n  h('p', 'Bravo'),\n  h('h1', 'Charlie'),\n  h('p', 'Delta'),\n  h('p', 'Echo'),\n  h('p', 'Foxtrot'),\n  h('p', 'Golf')\n])\n\nconsole.log(matches('section', tree)) // `true`\n\nconsole.log(select('h1 ~ :nth-child(even)', tree))\n// The paragraph with `Delta`\n\nconsole.log(selectAll('h1 ~ :nth-child(even)', tree))\n// The paragraphs with `Delta` and `Foxtrot`\n```\n\n## API\n\nThis package exports the identifiers [`matches`][api-matches],\n[`select`][api-select],\nand [`selectAll`][api-select-all].\nThere is no default export.\n\n### `matches(selector, node[, space])`\n\nCheck that the given `node` matches `selector`.\n\nThis only checks the element itself,\nnot the surrounding tree.\nThus,\nnesting in selectors is not supported (`p b`, `p > b`),\nneither are selectors like `:first-child`,\netc.\nThis only checks that the given element matches the selector.\n\n###### Parameters\n\n* `selector`\n  (`string`, example: `'h1'`, `'a, b'`)\n  — CSS selector\n* `node`\n  ([`Node`][github-hast-nodes], optional)\n  — node that might match `selector`,\n  should be an element\n* `space`\n  ([`Space`][api-space], default: `'html'`)\n  — name of namespace\n\n###### Returns\n\nWhether `node` matches `selector` (`boolean`).\n\n###### Example\n\n```js\nimport {h} from 'hastscript'\nimport {matches} from 'hast-util-select'\n\nmatches('b, i', h('b')) // => true\nmatches(':any-link', h('a')) // => false\nmatches(':any-link', h('a', {href: '#'})) // => true\nmatches('.classy', h('a', {className: ['classy']})) // => true\nmatches('#id', h('a', {id: 'id'})) // => true\nmatches('[lang|=en]', h('a', {lang: 'en'})) // => true\nmatches('[lang|=en]', h('a', {lang: 'en-GB'})) // => true\n```\n\n### `select(selector, tree[, space])`\n\nSelect the first element that matches `selector` in the given `tree`.\nSearches the tree in *[preorder][github-unist-preorder]*.\n\n###### Parameters\n\n* `selector`\n  (`string`, example: `'h1'`, `'a, b'`)\n  — CSS selector, such as (`h1`, `a, b`)\n* `tree`\n  ([`Node`][github-hast-nodes], optional)\n  — tree to search\n* `space`\n  ([`Space`][api-space], default: `'html'`)\n  — name of namespace\n\n###### Returns\n\nFirst element in `tree` that matches `selector` or `undefined` if nothing is\nfound.\nThis could be `tree` itself.\n\n###### Example\n\n```js\nimport {h} from 'hastscript'\nimport {select} from 'hast-util-select'\n\nconsole.log(\n  select(\n    'h1 ~ :nth-child(even)',\n    h('section', [\n      h('p', 'Alpha'),\n      h('p', 'Bravo'),\n      h('h1', 'Charlie'),\n      h('p', 'Delta'),\n      h('p', 'Echo')\n    ])\n  )\n)\n```\n\nYields:\n\n```js\n{ type: 'element',\n  tagName: 'p',\n  properties: {},\n  children: [ { type: 'text', value: 'Delta' } ] }\n```\n\n### `selectAll(selector, tree[, space])`\n\nSelect all elements that match `selector` in the given `tree`.\nSearches the tree in *[preorder][github-unist-preorder]*.\n\n###### Parameters\n\n* `selector`\n  (`string`, example: `'h1'`, `'a, b'`)\n  — CSS selector\n* `tree`\n  ([`Node`][github-hast-nodes], optional)\n  — tree to search\n* `space`\n  ([`Space`][api-space], default: `'html'`)\n  — name of namespace\n\n###### Returns\n\nElements in `tree` that match `selector`.\nThis could include `tree` itself.\n\n###### Example\n\n```js\nimport {h} from 'hastscript'\nimport {selectAll} from 'hast-util-select'\n\nconsole.log(\n  selectAll(\n    'h1 ~ :nth-child(even)',\n    h('section', [\n      h('p', 'Alpha'),\n      h('p', 'Bravo'),\n      h('h1', 'Charlie'),\n      h('p', 'Delta'),\n      h('p', 'Echo'),\n      h('p', 'Foxtrot'),\n      h('p', 'Golf')\n    ])\n  )\n)\n```\n\nYields:\n\n```js\n[ { type: 'element',\n    tagName: 'p',\n    properties: {},\n    children: [ { type: 'text', value: 'Delta' } ] },\n  { type: 'element',\n    tagName: 'p',\n    properties: {},\n    children: [ { type: 'text', value: 'Foxtrot' } ] } ]\n```\n\n### `Space`\n\nNamespace (TypeScript type).\n\n###### Type\n\n```ts\ntype Space = 'html' | 'svg'\n```\n\n## Support\n\n* [x] `*` (universal selector)\n* [x] `,` (multiple selector)\n* [x] `p` (type selector)\n* [x] `.class` (class selector)\n* [x] `#id` (id selector)\n* [x] `article p` (combinator: descendant selector)\n* [x] `article > p` (combinator: child selector)\n* [x] `h1 + p` (combinator: next-sibling selector)\n* [x] `h1 ~ p` (combinator: subsequent sibling selector)\n* [x] `[attr]` (attribute existence)\n* [x] `[attr… i]` (attribute case-insensitive)\n* [x] `[attr… s]` (attribute case-sensitive) (useless, default)\n* [x] `[attr=value]` (attribute equality)\n* [x] `[attr~=value]` (attribute contains in space-separated list)\n* [x] `[attr|=value]` (attribute equality or prefix)\n* [x] `[attr^=value]` (attribute begins with)\n* [x] `[attr$=value]` (attribute ends with)\n* [x] `[attr*=value]` (attribute contains)\n* [x] `:dir()` (functional pseudo-class)\n* [x] `:has()` (functional pseudo-class; also supports `a:has(> b)`)\n* [x] `:is()` (functional pseudo-class)\n* [x] `:lang()` (functional pseudo-class)\n* [x] `:not()` (functional pseudo-class)\n* [x] `:any-link` (pseudo-class)\n* [x] `:blank` (pseudo-class)\n* [x] `:checked` (pseudo-class)\n* [x] `:disabled` (pseudo-class)\n* [x] `:empty` (pseudo-class)\n* [x] `:enabled` (pseudo-class)\n* [x] `:optional` (pseudo-class)\n* [x] `:read-only` (pseudo-class)\n* [x] `:read-write` (pseudo-class)\n* [x] `:required` (pseudo-class)\n* [x] `:root` (pseudo-class)\n* [x] `:scope` (pseudo-class):\n* [x] \\* `:first-child` (pseudo-class)\n* [x] \\* `:first-of-type` (pseudo-class)\n* [x] \\* `:last-child` (pseudo-class)\n* [x] \\* `:last-of-type` (pseudo-class)\n* [x] \\* `:only-child` (pseudo-class)\n* [x] \\* `:only-of-type` (pseudo-class)\n* [x] \\* `:nth-child()` (functional pseudo-class)\n* [x] \\* `:nth-last-child()` (functional pseudo-class)\n* [x] \\* `:nth-last-of-type()` (functional pseudo-class)\n* [x] \\* `:nth-of-type()` (functional pseudo-class)\n\n## Unsupported\n\n* [ ] † `||` (column combinator)\n* [ ] † `ns|E` (namespace type selector)\n* [ ] † `*|E` (any namespace type selector)\n* [ ] † `|E` (no namespace type selector)\n* [ ] † `[ns|attr]` (namespace attribute)\n* [ ] † `[*|attr]` (any namespace attribute)\n* [ ] † `[|attr]` (no namespace attribute)\n* [ ] ‖ `:nth-child(n of S)` (functional pseudo-class, note: scoping to\n  parents is not supported)\n* [ ] ‖ `:nth-last-child(n of S)` (functional pseudo-class, note: scoping to\n  parents is not supported)\n* [ ] † `:active` (pseudo-class)\n* [ ] † `:autofill` (pseudo-class)\n* [ ] † `:buffering` (pseudo-class)\n* [ ] § `:closed` (pseudo-class)\n* [ ] † `:current` (pseudo-class)\n* [ ] † `:current()` (functional pseudo-class)\n* [ ] † `:default` (pseudo-class)\n* [ ] † `:defined` (pseudo-class)\n* [ ] † `:focus` (pseudo-class)\n* [ ] † `:focus-visible` (pseudo-class)\n* [ ] † `:focus-within` (pseudo-class)\n* [ ] † `:fullscreen` (pseudo-class)\n* [ ] † `:future` (pseudo-class)\n* [ ] § `:host()` (functional pseudo-class)\n* [ ] § `:host-context()` (functional pseudo-class)\n* [ ] † `:hover` (pseudo-class)\n* [ ] ‡ `:in-range` (pseudo-class)\n* [ ] † `:indeterminate` (pseudo-class)\n* [ ] ‡ `:invalid` (pseudo-class)\n* [ ] † `:link` (pseudo-class)\n* [ ] † `:local-link` (pseudo-class)\n* [ ] † `:modal` (pseudo-class)\n* [ ] † `:muted` (pseudo-class)\n* [ ] † `:nth-col()` (functional pseudo-class)\n* [ ] † `:nth-last-col()` (functional pseudo-class)\n* [ ] § `:open` (pseudo-class)\n* [ ] ‡ `:out-of-range` (pseudo-class)\n* [ ] † `:past` (pseudo-class)\n* [ ] † `:paused` (pseudo-class)\n* [ ] † `:placeholder-shown` (pseudo-class)\n* [ ] † `:playing` (pseudo-class)\n* [ ] † `:seeking` (pseudo-class)\n* [ ] † `:stalled` (pseudo-class)\n* [ ] † `:target` (pseudo-class)\n* [ ] † `:target-within` (pseudo-class)\n* [ ] † `:user-invalid` (pseudo-class)\n* [ ] ‡ `:valid` (pseudo-class)\n* [ ] † `:visited` (pseudo-class)\n* [ ] † `:volume-locked` (pseudo-class)\n* [ ] § `:where()` (functional pseudo-class)\n* [ ] † `::before` (pseudo-elements: none are supported)\n\n###### Notes\n\n* \\* — not supported in `matches`\n* † — needs a user,\n  browser,\n  interactivity,\n  scripting,\n  or whole CSS to make sense\n* ‡ — not very interested in writing / including the code for this\n* § — too new,\n  the spec is still changing\n* ‖ — pr wanted!\n* `:any()` and `:matches()` are renamed to `:is()` in CSS.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional type [`Space`][api-space].\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,\nwe drop support for unmaintained versions of Node.\nThis means we try to keep the current release line,\n`hast-util-select@6`,\ncompatible with Node.js 16.\n\n## Security\n\nThis package does not change the syntax tree so there are no openings for\n[cross-site scripting (XSS)][wikipedia-xss] attacks.\n\n## Related\n\n* [`unist-util-select`][github-unist-util-select]\n  — select unist nodes with CSS-like selectors\n* [`hast-util-find-and-replace`](https://github.com/syntax-tree/hast-util-find-and-replace)\n  — find and replace text in a hast tree\n* [`hast-util-parse-selector`](https://github.com/syntax-tree/hast-util-parse-selector)\n  — create an element from a simple CSS selector\n* [`hast-util-from-selector`](https://github.com/syntax-tree/hast-util-from-selector)\n  — create an element from a complex CSS selector\n\n## Contribute\n\nSee [`contributing.md`][health-contributing]\nin\n[`syntax-tree/.github`][health]\nfor ways to get started.\nSee [`support.md`][health-support] for ways to get help.\n\nThis project has a [code of conduct][health-coc].\nBy interacting with this repository,\norganization,\nor community you agree to abide by its terms.\n\n## License\n\n[MIT][file-license] © [Titus Wormer][wooorm]\n\n<!-- Definitions -->\n\n[api-matches]: #matchesselector-node-space\n\n[api-select]: #selectselector-tree-space\n\n[api-select-all]: #selectallselector-tree-space\n\n[api-space]: #space\n\n[badge-build-image]: https://github.com/syntax-tree/hast-util-select/workflows/main/badge.svg\n\n[badge-build-url]: https://github.com/syntax-tree/hast-util-select/actions\n\n[badge-coverage-image]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-select.svg\n\n[badge-coverage-url]: https://codecov.io/github/syntax-tree/hast-util-select\n\n[badge-downloads-image]: https://img.shields.io/npm/dm/hast-util-select.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/hast-util-select\n\n[badge-size-image]: https://img.shields.io/bundlejs/size/hast-util-select\n\n[badge-size-url]: https://bundlejs.com/?q=hast-util-select\n\n[esmsh]: https://esm.sh\n\n[file-license]: license\n\n[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[github-hast]: https://github.com/syntax-tree/hast\n\n[github-hast-nodes]: https://github.com/syntax-tree/hast#nodes\n\n[github-unist-preorder]: https://github.com/syntax-tree/unist#preorder\n\n[github-unist-util-select]: https://github.com/syntax-tree/unist-util-select\n\n[github-unist-util-visit]: https://github.com/syntax-tree/unist-util-visit\n\n[health]: https://github.com/syntax-tree/.github\n\n[health-coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[health-contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[health-support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[npmjs-install]: https://docs.npmjs.com/cli/install\n\n[typescript]: https://www.typescriptlang.org\n\n[wikipedia-xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[wooorm]: https://wooorm.com\n","_attachments":{},"homepage":"https://github.com/syntax-tree/hast-util-select#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-select/issues"},"license":"MIT"}