{"_id":"@afoot/lineage","_rev":"2-53391fc5662cd2bac74cc6d755127fa3","name":"@afoot/lineage","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.1":{"name":"@afoot/lineage","version":"0.1.1","description":"Traverse up the DOM tree from a specified element.","author":{"name":"Matthew Smith","email":"code@niftinessafoot.com","url":"https://www.niftinessafoot.com"},"keywords":["module","typescript"],"scripts":{"prebuild":"npm run clean","build":"rollup -c rollup.config.js -i src/index.ts","build:prod":"npm run build && npm run types","prepack":"npm run build:prod && npm run prep:umd","clean":"rm -rf dist/*","types":"tsc","test":"jest","test:coverage":"jest --coverage","docs":"typedoc","prep:umd":"node ./scripts/init-umd-config.js"},"entry":"index.ts","types":"dist/types/index.d.ts","main":"dist/umd/index.js","module":"dist/esm/index.js","exports":{".":{"types":"./dist/types/index.d.ts","require":"./dist/umd/index.js","import":"./dist/esm/index.js","default":"./dist/umd/index.js"},"./standalone":{"types":"./dist/types/index.d.ts","require":"./dist/umd/standalone.js","import":"./dist/esm/standalone.js","default":"./dist/umd/legacy.js"},"./legacy":"./dist/umd/legacy.js"},"license":"MIT","browserslist":["defaults"],"homepage":"https://www.niftinessafoot.com","bugs":{"url":"https://github.com/niftinessafoot/lineage/issues"},"repository":{"type":"git","url":"git+https://github.com/niftinessafoot/lineage.git"},"type":"module","devDependencies":{"@babel/cli":"^7.19.3","@babel/core":"^7.20.5","@babel/preset-env":"^7.20.2","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.18.6","@rollup/plugin-babel":"^6.0.3","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@types/jest":"^29.2.4","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","eslint":"^8.29.0","eslint-config-prettier":"^8.5.0","eslint-plugin-react":"^7.31.11","eslint-plugin-tsdoc":"^0.2.17","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^2.8.1","rollup":"^2.79.1","rollup-plugin-terser":"^7.0.2","typedoc":"^0.23.22","typedoc-plugin-markdown":"^3.14.0","typescript":"^4.9.4"},"gitHead":"48fefc2a26edc56ed6bdf64ca4d01fddd7381905","_id":"@afoot/lineage@0.1.1","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Qxz+tFhfbmMabyxX9rMoTAGJnwKXa1k7qJKrVKjkZPxCbijcIWjRZWLRUefTbXBwwu8S8JE9XbJwCVFy7EpIyg==","shasum":"b31fa960fe4bc59ac94e5cd950d44e93893638cf","tarball":"https://registry.npmjs.org/@afoot/lineage/-/lineage-0.1.1.tgz","fileCount":16,"unpackedSize":23145,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5lEcmbMON41zj16UcVleM/wUIk3iTlr8Zc5yOlu9YOAiB+hHIqDdavPxDx0m2e+KLPSTOZ0JqofZ6shxfUodsRwg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqjmRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9iA//Qzrqd88zsvLbymL3sxxT8JqBsoK/H+SqzA7qq0y/sb3fTi6Z\r\nGj/5IDN7nsgdKkLEVz4TpnBRjxWtDMSrFkNFefDGXLPyVGmMjjhknhu1Suk7\r\nB3jyW4K5pHlxxyJ0ZEcY9TmJS84K5vjHhHSiTaAp6SzXhMFZac3hyWlqRskE\r\nNCecZiE9n8sv/p2Fz4YQT6iDvOzzthBx/e7Ege96ARMBbpcoGwSkRMwpGwDL\r\nGtiUV7S2UG+woZRx2MvRUBbrTlGIKBfGjAp3yAj+EP3ppzEHIWDFD4JPPGMb\r\npdjDPOrZJHsH8nBLC5HvR0ZErAgQBnWq8xX6SMcSH3RZ4+cY7oOuBFLknL3m\r\neCHCGpx+1Zush/MJroWy9xwlwCC3LCIuo9cQUnNh8eNmdqJ0QYxgEUTRzni0\r\n8D5+Za58mmPLz62po1swMt81xNxXOXmTV0MP4XR7J7qlSAxvHuFnDxHAMadt\r\nIgXPB5jk/cZVtadYxwWzX0W3QBu6jrPW3Ug9em8HfSruEn27HaK9+2091MYd\r\nAHJG6/tVCqh4X6qPM9OHr78m0IvsS8UrTUGl1DFQZNXjPzTLPOysCuAZRt7o\r\nCiyHoK9FmWcxBT8teyESCGl+5wuhx9/7B1Qmdgm4nnpLanJsbqkwfUyXxSfG\r\nYtd/ujvrIwL5tTpIGf6fj9q0u+deBPwkoZ4=\r\n=WljD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"niftinessafoot","email":"niftinessafoot@gmail.com"},"directories":{},"maintainers":[{"name":"niftinessafoot","email":"niftinessafoot@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lineage_0.1.1_1672100241759_0.3999710708510589"},"_hasShrinkwrap":false},"0.1.2":{"name":"@afoot/lineage","version":"0.1.2","description":"Traverse up the DOM tree from a specified element.","author":{"name":"Matthew Smith","email":"code@niftinessafoot.com","url":"https://www.niftinessafoot.com"},"keywords":["module","typescript"],"scripts":{"prebuild":"npm run clean","build":"rollup -c rollup.config.js -i src/index.ts","build:prod":"npm run build && npm run types","prepack":"npm run build:prod && npm run prep:umd","clean":"rm -rf dist/*","types":"tsc","test":"jest","test:coverage":"jest --coverage","docs":"typedoc","prep:umd":"node ./scripts/init-umd-config.js"},"entry":"index.ts","types":"dist/types/index.d.ts","main":"dist/umd/index.js","module":"dist/esm/index.js","exports":{".":{"types":"./dist/types/index.d.ts","require":"./dist/umd/index.js","import":"./dist/esm/index.js","default":"./dist/umd/index.js"},"./standalone":{"types":"./dist/types/index.d.ts","require":"./dist/umd/standalone.js","import":"./dist/esm/standalone.js","default":"./dist/umd/legacy.js"},"./legacy":"./dist/umd/legacy.js"},"license":"MIT","browserslist":["defaults"],"homepage":"https://www.niftinessafoot.com","bugs":{"url":"https://github.com/niftinessafoot/lineage/issues"},"repository":{"type":"git","url":"git+https://github.com/niftinessafoot/lineage.git"},"type":"module","devDependencies":{"@babel/cli":"^7.19.3","@babel/core":"^7.20.5","@babel/preset-env":"^7.20.2","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.18.6","@rollup/plugin-babel":"^6.0.3","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@types/jest":"^29.2.4","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","eslint":"^8.29.0","eslint-config-prettier":"^8.5.0","eslint-plugin-react":"^7.31.11","eslint-plugin-tsdoc":"^0.2.17","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^2.8.1","rollup":"^2.79.1","rollup-plugin-terser":"^7.0.2","typedoc":"^0.23.22","typedoc-plugin-markdown":"^3.14.0","typescript":"^4.9.4"},"gitHead":"3b4662f919b4212e3084fbf4c6cdf53b4cb78de8","_id":"@afoot/lineage@0.1.2","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-rIauJkK+vNOrOIEtzHTQpUa7h0aut2YYTnwZifTcxN2ZK5dIACFeRNM0ZBclfWprvMIulXxC/uz5taRYHcNBfw==","shasum":"f293938f2297e97c726c4293deacef3923d5a1a4","tarball":"https://registry.npmjs.org/@afoot/lineage/-/lineage-0.1.2.tgz","fileCount":16,"unpackedSize":23949,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRsOmS8CRbdOnnx6ZfjVkBUHeps7jrN07Cn0wdcLeyygIhALPCnXlJoBp+Fg8xlpBa4d4hz+NuFTpwC0mrnwiEn9UO"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjqj8HACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrckRAAl0AAbSnQDcs45X3RgbH+WDtRRW4mPW2OBwxFMJDXt6+ki8pt\r\njp1B4ovEkZc+O84hvRS6ajIv6F73CWzCO+7TRBTr6wzJ4bEZU5Ox+fAvUK2A\r\n2aEaqW+sdYszL5LQaW65m0UtwatPOtiTI0S/sa43/jO9HEdVtWuNwpFNST7+\r\nEsyG/VmCTsunUM+3poZ152fwF2qxhEP838O7nTR4y7WBSYRBWxN+t28ZKu/s\r\nSwMNLBO6dXjbbvJGEcW92bYymcW2FZ8+5P1gnkIH0vvlXYGaoVx7xr3+WrM+\r\nlw7MRa60PX3NuGS4oyVFV8CFYmOhfr2VjNbcxS0Lp6VhXNTHhpkU0S7CY1pT\r\nUO6b9CG0rPX/ZMzJMtSBfeEQfSvh+Ey+8798BiWEvRbFmZ70mB3e9Xj9AlCM\r\nqEpEKLLhFV40kniYtTT0QxgL1UGa4UgCQBKQC6uPQSYdUnrVuIqPk6Uf4de9\r\nrLeM44eMCNO7tFKD1PPRhTZ9zjuQrW7FAohX47PLb+QvxvPBcxfaF+PuRr3T\r\nuI2LfXekRtYt+1dKvLmQH8j1+snK4q5cN/ANNdGuuDW4O81auwzj5TAtPkjp\r\niFLqBQbmUbIkcF96rLyXVj1k+2zlbvrYKCu5RhtSu74ySG6nLPmntWjJrjxQ\r\nHC+ScjAlmbIYHfN6tsLCaQ+qa17pqPjwexg=\r\n=Bo64\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"niftinessafoot","email":"niftinessafoot@gmail.com"},"directories":{},"maintainers":[{"name":"niftinessafoot","email":"niftinessafoot@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lineage_0.1.2_1672101639214_0.9769327166529338"},"_hasShrinkwrap":false},"0.1.4":{"name":"@afoot/lineage","version":"0.1.4","description":"Traverse up the DOM tree from a specified element.","author":{"name":"Matthew Smith","email":"code@niftinessafoot.com","url":"https://www.niftinessafoot.com"},"keywords":["module","typescript","javascript","dom","event handling"],"scripts":{"prebuild":"npm run clean","build":"rollup -c rollup.config.js -i src/index.ts","build:prod":"npm run build && npm run types","prepack":"npm run build:prod && npm run prep:umd","clean":"rm -rf dist/*","types":"tsc","test":"jest","test:coverage":"jest --coverage","docs":"typedoc","prep:umd":"node ./lib/init-umd-config.js"},"entry":"index.ts","types":"dist/types/index.d.ts","main":"dist/umd/index.js","module":"dist/esm/index.js","exports":{".":{"types":"./dist/types/index.d.ts","require":"./dist/umd/index.js","import":"./dist/esm/index.js","default":"./dist/umd/index.js"},"./standalone":{"types":"./dist/types/index.d.ts","require":"./dist/umd/standalone.js","import":"./dist/esm/standalone.js","default":"./dist/umd/legacy.js"},"./legacy":"./dist/umd/legacy.js"},"license":"MIT","browserslist":["defaults"],"homepage":"https://www.niftinessafoot.com","bugs":{"url":"https://github.com/niftinessafoot/lineage/issues"},"repository":{"type":"git","url":"git+https://github.com/niftinessafoot/lineage.git"},"type":"module","devDependencies":{"@babel/cli":"^7.19.3","@babel/core":"^7.20.5","@babel/preset-env":"^7.20.2","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.18.6","@rollup/plugin-babel":"^6.0.3","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@types/jest":"^29.2.4","@typescript-eslint/eslint-plugin":"^5.46.0","@typescript-eslint/parser":"^5.46.0","eslint":"^8.29.0","eslint-config-prettier":"^8.5.0","eslint-plugin-react":"^7.31.11","eslint-plugin-tsdoc":"^0.2.17","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","prettier":"^2.8.1","rollup":"^2.79.1","rollup-plugin-terser":"^7.0.2","typedoc":"^0.23.22","typedoc-plugin-markdown":"^3.14.0","typescript":"^4.9.4"},"gitHead":"0f2b2adf991debd5965d9dae8af2795128e9dc2d","_id":"@afoot/lineage@0.1.4","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-iWaK/No4rZFc3E0dTUVNdKzR9vKbSP/4iE4VBVTh2uq9aPE2JZHWI6fV7OkVeBT79QmgSjW+RJw+Bf9/qIF+SQ==","shasum":"2ebdb30e3feffecd03465327d19c49694cf97d92","tarball":"https://registry.npmjs.org/@afoot/lineage/-/lineage-0.1.4.tgz","fileCount":16,"unpackedSize":24212,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX2Sn4G/m9jX0BMO/DVPbZPpndLhNWYvjp5KIIbUtXrAIhANDWZn7Jm1Wj+dhPMMPjh9+gPckf0XwsuIJa65JAjxS7"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj6BjFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrtyg/+OKAtIauYSXzVhSypWSUYlDM/dGrZHFRwh4evkcN/6VeK2udP\r\n1Fj0Tgw8QuynsZIhJ7/ZhxEXsMRmqylwyBhHDPQvD4em3tM+PtkYN6X2w9PY\r\nQOGJBPAgXtzarex8E8WBg0PIFzlnsVM24nTs5VJn8btPhPBS8tkwBmdwGb+J\r\nW47ntwikjUTqCFAe6PgNe3PAA57Sn1cQlQRQXlP1k/9AO7MLR7BlJwvtjTaM\r\ns2yZ0b6ylHBDfW2+60g9LOVubyZCS5ykNLW2z7EwJfIeUZkJ44OPwRq4QZaK\r\nMYzaYA+CMm66pu/tIpTphrDQUGTEQX5+gBoMVaqzO1WRHt2CBnE7SecLVB2z\r\nyhiicwn99DbDS4QrpJnKwxwKDbGDQ/8vG4kTlsa6LnoKZ0KxKrvfGM5ikAja\r\nwIoDt6F8EVBmgxIcTs9Gn8cZqjXkUuGmBRsLFlkhWAzTuwDxhhAEWAw9od9d\r\nMsnzGjBEtNeLYLtUriwT3gN6ljsBt7TfWRnBxWfgwVq/ZpFG/Tuj0fme+vAa\r\nnpMDOlaFlfaRf6IC61Y6CUbr07ECGNXfqRI7zD6buHGKuTbp/YGkr3gSbgcn\r\nTjWeF7/CLBjQkQUeaebrXwMyvW9b5JkrszYvKY+cAagcDWu47liG+17Wefjy\r\n7loXvpwvOsmVI9/HBJe3zC8UAcRKoYtHyZM=\r\n=noML\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"niftinessafoot","email":"niftinessafoot@gmail.com"},"directories":{},"maintainers":[{"name":"niftinessafoot","email":"niftinessafoot@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lineage_0.1.4_1676155077012_0.6691563831735248"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-27T00:17:21.705Z","0.1.1":"2022-12-27T00:17:21.921Z","modified":"2023-02-11T22:37:57.272Z","0.1.2":"2022-12-27T00:40:39.380Z","0.1.4":"2023-02-11T22:37:57.178Z"},"maintainers":[{"name":"niftinessafoot","email":"niftinessafoot@gmail.com"}],"description":"Traverse up the DOM tree from a specified element.","homepage":"https://www.niftinessafoot.com","keywords":["module","typescript","javascript","dom","event handling"],"repository":{"type":"git","url":"git+https://github.com/niftinessafoot/lineage.git"},"author":{"name":"Matthew Smith","email":"code@niftinessafoot.com","url":"https://www.niftinessafoot.com"},"bugs":{"url":"https://github.com/niftinessafoot/lineage/issues"},"license":"MIT","readme":"# lineage\nTraverse up the DOM tree to a specific parent or all the way up to `body`. Returns an array of DOM nodes. Especially useful for event handling and verifying `currentTaraget` elements are children of `target` parents.\n\n## usage\n```js\nimport (Lineage) from '@afoot/lineage';\nconst lineage = Lineage(document.querySelector('.foo'));\nconsole.log(lineage); // Returns ['.foo','body']\n```\n## license\n[MIT](./LICENSE) © [Matthew Smith](http://www.niftinessafoot.com)\n## made with ❤️ and ☕️ by\n![Niftiness Afoot!](https://gist.githubusercontent.com/niftinessafoot/2dba588395cb557293d5f09aebcd2ab0/raw/770293c76bead4f0986ff959f3ea8880017d92c0/bot.svg?sanitize=true) [Matthew Smith](https://github.com/niftinessafoot)","readmeFilename":"README.md"}