{"_id":"element-qsa-scope","_rev":"6-f76bfffe5050902ad5a16ef9dbc1f50d","name":"element-qsa-scope","description":"Return elements matching a selector relative to the current node","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"element-qsa-scope","version":"1.0.0","description":"Return elements matching a selector relative to the current node","main":"index.js","files":["LICENSE.md","index.js"],"scripts":{"test":"eslint index.js --ignore-path .gitignore && jscs index.js"},"repository":{"type":"git","url":"git+https://github.com/jonathantneal/qsa-scope.git"},"keywords":["scope","dom","element","matches","polyfill","standard","relative","context","queries","query","selectors"],"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com","url":"http://jonathantneal.com"},"license":"CC0-1.0","bugs":{"url":"https://github.com/jonathantneal/qsa-scope/issues"},"homepage":"https://github.com/jonathantneal/qsa-scope#readme","devDependencies":{"eslint":"^3.7.1","eslint-config-10up":"github:jonathantneal/eslint-config-10up","jscs":"^3.0.7","jscs-config-10up":"github:jonathantneal/jscs-config-10up"},"eslintConfig":{"extends":"10up","rules":{"no-unused-vars":[0]}},"jscsConfig":{"preset":"10up"},"gitHead":"5685f833efe5dab4cd7d9255f9d6945765310c78","_id":"element-qsa-scope@1.0.0","_shasum":"356f7ad348248ede16d608225320c6f61926773d","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"356f7ad348248ede16d608225320c6f61926773d","tarball":"https://registry.npmjs.org/element-qsa-scope/-/element-qsa-scope-1.0.0.tgz","integrity":"sha512-Qd7RpS5gaP6C7TL+zIvKIrfu9q6K9vE/xHo8OABEnNdRxWAUsHAfydSAd1662lRqdOVGL48plvBj65gwVta7WA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHG5mFVE756YYGTdist1nRAMa/bR5kTkhwUjEif3TsigIhAKKfS/qLOKuvCZb7AniN9fuXkaTwp/A8WW1OP7kVqlW2"}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/element-qsa-scope-1.0.0.tgz_1476371446465_0.9803865908179432"},"directories":{}},"1.0.1":{"name":"element-qsa-scope","version":"1.0.1","description":"Return elements matching a selector relative to the current node","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/element-qsa-scope.git"},"homepage":"https://github.com/jonathantneal/element-qsa-scope#readme","bugs":{"url":"https://github.com/jonathantneal/element-qsa-scope/issues"},"main":"index.js","files":["index.js"],"scripts":{"lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js --cache --ignore-pattern .gitignore","prepublish":"npm test","test":"npm run lint"},"engines":{"node":">=0.12"},"devDependencies":{"echint":"^2.1.1","echint-config-dev":"^1.0.0","eslint":"^3.14.0","eslint-config-dev":"^1.0.0"},"echint":{"extends":"dev"},"eslintConfig":{"extends":"dev","rules":{"no-unused-vars":["error",{"argsIgnorePattern":"^selectors$"}]}},"keywords":["scope","dom","element","matches","polyfill","standard","relative","context","queries","query","selectors"],"gitHead":"49ddb04ce07bd05d22ff929de06cbaf8626876cb","_id":"element-qsa-scope@1.0.1","_shasum":"52cf28056b9de8530c606cf2267da29f6329ab82","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.4.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"shasum":"52cf28056b9de8530c606cf2267da29f6329ab82","tarball":"https://registry.npmjs.org/element-qsa-scope/-/element-qsa-scope-1.0.1.tgz","integrity":"sha512-ww+axpR4nZetz/afSlGwaBKpRJt594PJjKKUwDgvBQ/u4vBIACx60LbF3060Wg9Gpdr/mimEjNJWA6EnGAJIzw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOlnSFtnY89Oz8lUho1WA6zeNqPJhJgJ+JmstkIR4pmAiEA5/CnODaUZRdDVD0Q8R2D/1ql2iB06xlJ0eulLwjYm1Y="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/element-qsa-scope-1.0.1.tgz_1485270752600_0.3330228275153786"},"directories":{}},"1.1.0":{"name":"element-qsa-scope","version":"1.1.0","description":"Return elements matching a selector relative to the current node","author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/jonathantneal/element-qsa-scope.git"},"homepage":"https://github.com/jonathantneal/element-qsa-scope#readme","bugs":{"url":"https://github.com/jonathantneal/element-qsa-scope/issues"},"main":"index.js","files":["index.js"],"scripts":{"lint":"npm run lint:ec && npm run lint:js","lint:ec":"echint","lint:js":"eslint *.js --cache --ignore-pattern .gitignore","prepublish":"npm test","test":"npm run lint"},"devDependencies":{"echint":"^4.0.1","eslint":"^5.0.1","eslint-config-dev":"^2.0.0"},"eslintConfig":{"extends":"dev","rules":{"no-unused-vars":["error",{"argsIgnorePattern":"^selectors$"}]}},"keywords":["scope","dom","element","matches","polyfill","standard","relative","context","queries","query","selectors"],"gitHead":"26adaeaa71753e36a66e4a7a9160a60a8fa6f854","_id":"element-qsa-scope@1.1.0","_npmVersion":"6.1.0","_nodeVersion":"10.5.0","_npmUser":{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},"dist":{"integrity":"sha512-oBBTdmleT5eJ0r5/3/tVg0NcWv95ut4Oxj5Oh/IkZ3kc0UACF8psJU8Rocd4aXDgtoE5WD5/rqYOXvjOE1DxIg==","shasum":"6e1146a3aa796cd385846d39365578db358b647b","tarball":"https://registry.npmjs.org/element-qsa-scope/-/element-qsa-scope-1.1.0.tgz","fileCount":5,"unpackedSize":7964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPu0FCRA9TVsSAnZWagAAg0YP/iJPyHZqgkKF18mJsnK2\n0kRdBb0AlwRMowxAd+Ld8LJgL/hlvGUp0CW6Txdam0fP0kAjBa3iUw6mAZ+r\nkN1Sgsme57UdPUvuCMj9BL5u7ZPszKKYVL0Wc9X3qv9Az+ow3PTLISxegw9m\nKv3Bs3Auy+vYIr33l0kiFRmQ7v8jG4mwyO02RqAkoOOofR02OcSbUbque27g\nlNbq2KeY4Mfai+KJ7ev+srDyCmYSXQeBf9bAtkSuARgjnBd9MWxOcKPkGruC\neSi8ERVENz9+Q3V/Sr3pc/rWmPvhnqOMymqeGfjUr1uDmF6EOBMylgsJVifr\n3TMJhibXhfqI8aSgI3AgZ48qsuhNiYG21j0fW9UZLWrx23thancPj89+ReLD\ndNl1m94WsZ1a6tLWkhsRWiqkYORC1EVxwlGCxCYC/L2XM6IRueB3sUEeSu4+\nC24iCW85XEd+EjaSPdv3KysOL/z0vW8rfWLmVBqZ5flZFeY5EdUBJ8gBV+3K\npqT15oX40YKWPaTDrMrMYj4Hj7qR2gB/rG96voUsVu38mTWt6Ggi2JGvXn5R\nOzMtEhkDI5t15fyTJ7dD0qxqbLEYr6r2ncrOE2sbqP7ArMd2Me12aS2CcjUG\nPjGXIZXRovGpgqdErXVrc0Zx2mWdwpNSMeUMJ5X/r+4D4p56nOPWIRCOeo4n\nfxir\r\n=nW3S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICb+zU3CAUWfj5I0j+XXsuGU5VDfDUAG9mgMkAu4zAwGAiEAh9y3WXN8YKFzbtI7sZCLzFczm+ipci1XkR/w/2Ge52w="}]},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-qsa-scope_1.1.0_1530850564963_0.09922136355546463"},"_hasShrinkwrap":false}},"readme":"# Element QSA Scope [<img src=\"https://resources.whatwg.org/logo-dom.svg\" alt=\"\" width=\"90\" height=\"90\" align=\"right\">][Element QSA Scope]\n\n[![NPM Version][npm-img]][npm-url]\n[![Build Status][cli-img]][cli-url]\n[![Licensing][lic-img]][lic-url]\n[![Changelog][log-img]][log-url]\n[![Gitter Chat][git-img]][git-url]\n\n[Element QSA Scope] lets you select elements relative to the current node. It\nis a polyfill for `:scope` support within the selector methods\n[`Element#querySelector`], [`Element#querySelectorAll`], [`Element#matches`],\nand [`Element#closest`].\n\n```bash\nnpm install element-qsa-scope\n```\n\nThe entire script is 341 bytes when minified and gzipped.\n\n### How it works\n\nBy default, selector methods return elements matching CSS selectors absolutely\nfrom the document, similar to an element being matched with [`Element#matches`].\nImagine the following document:\n\n```html\n<ul>\n  <li><a>Link</a>\n    <ul>\n      <li><a>Sublink</a></li>\n    </ul>\n  </li>\n</ul>\n<script>li = document.querySelector('li')</script>\n```\n\nWithout `:scope`, the following selector will return the first link.\n\n```js\nli.querySelector('li a'); // returns <a>Link</a>\n```\n\nThis is an example of how scoping is useful when traversing the DOM.\n\n```js\nli.querySelector(':scope li a'); // returns <a>Sublink</a>\n```\n\n## Browser compatibility\n\n| Browser           | Native Support | Polyfill Support |\n| ----------------- | -------------- | ---------------- |\n| Android           | 4.4+           | 2.2 - 4.2        |\n| Blackberry        | ✘              | 7+               |\n| Chrome            | 27+            | 4 - 26           |\n| Edge              | ✘              | 12+              |\n| Firefox           | 32+            | 3.5 - 31         |\n| Internet Explorer | ✘              | 8 - 11           |\n| Opera             | 15+            | 10 - 14          |\n| Opera Mini        | ✘              | 5+               |\n| Safari (iOS)      | 7+             | 3.2 - 6          |\n| Safari (MacOS)    | 6.2+           | 4 - 6            |\n\n### Test Results\n\nAdditional\n[tests](http://codepen.io/jonneal/details/e20f8ddced5f5ed111a1e1f3044d4d47)\nwere run against the latest 3 versions of browsers, including common outliers\nsuch as Internet Explorer 8+ and Safari 6+.\n\n[Native Support](https://app.crossbrowsertesting.com/public/i76b092cd2b52b86/screenshots/zfe6755a18f932b6386b?size=small&type=chromeless) · [Polyfilled Support](https://app.crossbrowsertesting.com/public/i76b092cd2b52b86/screenshots/z60b7c71da7f3f060ff6?size=small&type=chromeless)\n\n[npm-url]: https://www.npmjs.com/package/element-qsa-scope\n[npm-img]: https://img.shields.io/npm/v/element-qsa-scope.svg\n[cli-url]: https://travis-ci.org/jonathantneal/element-qsa-scope\n[cli-img]: https://img.shields.io/travis/jonathantneal/element-qsa-scope.svg\n[lic-url]: LICENSE.md\n[lic-img]: https://img.shields.io/npm/l/element-qsa-scope.svg\n[log-url]: CHANGELOG.md\n[log-img]: https://img.shields.io/badge/changelog-md-blue.svg\n[git-url]: https://gitter.im/jonathantneal/element-qsa-scope\n[git-img]: https://img.shields.io/badge/chat-gitter-blue.svg\n\n[Element QSA Scope]: http://github.com/jonathantneal/element-qsa-scope\n\n[`Element#closest`]: https://dom.spec.whatwg.org/#dom-element-closest\n[`Element#matches`]: https://dom.spec.whatwg.org/#dom-element-matches\n[`Element#querySelector`]: https://dom.spec.whatwg.org/#dom-parentnode-queryselector\n[`Element#querySelectorAll`]: https://dom.spec.whatwg.org/#dom-parentnode-queryselectorall\n","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"}],"time":{"modified":"2022-06-16T08:28:29.054Z","created":"2016-10-13T15:10:47.426Z","1.0.0":"2016-10-13T15:10:47.426Z","1.0.1":"2017-01-24T15:12:33.148Z","1.1.0":"2018-07-06T04:16:05.013Z"},"homepage":"https://github.com/jonathantneal/element-qsa-scope#readme","keywords":["scope","dom","element","matches","polyfill","standard","relative","context","queries","query","selectors"],"repository":{"type":"git","url":"git+https://github.com/jonathantneal/element-qsa-scope.git"},"author":{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},"bugs":{"url":"https://github.com/jonathantneal/element-qsa-scope/issues"},"license":"CC0-1.0","readmeFilename":"README.md"}