{"_id":"dom-mutator","_rev":"13-c5e81562ca2dfac427a1a5d8f5998399","name":"dom-mutator","dist-tags":{"latest":"0.7.0"},"versions":{"0.2.0":{"name":"dom-mutator","version":"0.2.0","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.2.0","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"694efc3a0f93e980a109d902d5ce4da3df4910e0","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.2.0.tgz","fileCount":15,"integrity":"sha512-ym7SL9rWqgmoSU67w7MSsFbe3lcJC+Hk5wBSZEwXUA6cTo2lecWaZL3tqLH1xdPlTUnHiR/EoCRf0cQH8JGLMQ==","signatures":[{"sig":"MEQCIAD9o9fWCPvdDNGuEkUCDiXQFK/coQa2UjYaqYbfxAwwAiB6yOxPKppOet0NiCxz0brW4cJU6UsZyQGnVTnsZm93xw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":77658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgI2ABCRA9TVsSAnZWagAAR/wP/3dVQgrJTkrdxWKTMo1m\nc+l5pb0uw4Q8xwEpMWmf4WH0oWCvf7aB1TT8tcXYrPPUjeW1d62WuAWEIwPw\nCVp3EnSF6Y92m7jM9/Kx3dNhiOw/d6gg3DM8nb9qWpbf27IfN3DQJeqf+auf\nB/ww0h68RL9LsLBlBSRsH36fkZpVVQm8UxcgWSGuQ+WJLXZlFWV06dRBeB7/\nEEf7qCAtuR4OFtLIC39byyiqRFz9iu5ANOdNAjWnLptzu0H1l84S9CkbzIUR\nLxxo1qYrV5eYEKIi4MKQib7YAJ0d6Zevs8FLLk7MJ6EISNuXVz47w4Cxw7ht\nW/ecxS3dLwd7Qqo0VuE9427EotmfV/Sss2tPOw8yYJNt0M/IEkSTjDESFp4D\njW2HItPCLXjQUuYM8N3wvozOQD+WXYqKMWRHpEWkF0oeDOuQOI2wwlun1gmd\n8rmftC8zWXWVx5efNfcBOcf46DLIqnJNsvLcEjVLmezEfZxAb/0YiQ3zRR15\nfN6WEysOLPSqlisU+aQFatA2mgJ4xh7NFHDmZdjM2P43d3SbkC88woxU3TE9\neTzwMQyPQS8AajaUVBB00N3ZrchvU3LAjT191bka+EAHv/LrdNPULfMgfEtt\nzV622Dc3j9A/Lj9gM5GsoSpThY7oDgscDathoN5NRbbLeYQYenhMf9mTBL3t\n2tIU\r\n=xY1J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"description":"![Build Status](https://github.com/growthbook/dom-mutator/workflows/CI/badge.svg)","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Jeremy Dorn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.2.0_1612931072637_0.3386656887079502","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"dom-mutator","version":"0.2.1","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.2.1","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"624b85bd3293c3c829fc886644ca3ceefc39569d","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.2.1.tgz","fileCount":15,"integrity":"sha512-ITt0xYLu9ztPV/SD3hLEMGD4GPTCO6YBOlZQW7CyKVjnULvWpkKHrI5/BXjzRuKC49M7+md4lErmh9EkO8V7tQ==","signatures":[{"sig":"MEYCIQDd4LQXF/NO9Qndxyk05MKW+FlOVJ2eUctrgIN3YGcimgIhAJYh3SiBaMvRqoMkXH99sEJvpFkzzTkLmiOUhfJlAAv6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJAW8CRA9TVsSAnZWagAAwfcP/2rp6Z7tyzyKWVmGXUgW\n/W9LvJQrv38plE5t2yoJiYcoC9UAjDm9NGGdzqy7XdLo8gxCNjiYa2CoUSMo\nGsQ5Hz52fut5fPPKVW1D4/joXrUc10f3Nn2o/gfFP3aAgVcTY/lg6iyYncVG\nc2TJscte8HFhzYcgjElVzhpS98xRLHsQQLXsrQDRRiiSuReyetidMuRhKWjE\n1GMnTIXNKcB9It7KGs6VF/hbebNKfncNxHxiacgrfsXj2xZtx2N+L0cTLnSa\nng6WgPmzB4DL9DUNBYAZRVgGG7jdzCPGQBCKfCoXsOm3dgAcHbzBv+DW27DC\nE6wk6TEZdwsb6f/NMNugJyNodT+il569TM+tC7aOyToV1OAwfPbK/JH0flX6\n3lwDtnM+i0KrgXbHUHnXY/vKA4t6kOs4nYwPt5GoQvdLCVoHW2P3Cc0otY65\nRMHADTRWUJ6tgf7NrkC4TrjtpIXWJk/Kl926Hh655BSVxrLxpGVFft8O81st\nBXHJ8/eyhZyxUznwhzVEFLwfuHtX3Lmf+EoAIN6IFEyt98N8Dbygq0rkEi5y\nfFvsEdd/jzqWit3iuh7CTCXrqLk1HYpIti/LU2xnQhWNEy/+UNnxZROZtINt\nenmcY7MbykGnA2FGcpQlQtDVnQV3WaTBVhYONMVzyAY/big2jt99AS69PiTE\nYzT7\r\n=6NGt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"description":"![Build Status](https://github.com/growthbook/dom-mutator/workflows/CI/badge.svg)","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Jeremy Dorn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.2.1_1612973500059_0.9384749895125937","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"dom-mutator","version":"0.2.2","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.2.2","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"cfcf8ab80903cbdc2e483e4bb9240189a2ab6bdf","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.2.2.tgz","fileCount":15,"integrity":"sha512-kkQYHhLDebnoG5vC5tynbc78aR7n5cFqfJYy0Q+/Y6HsolGFzC9BxGcehqICtePJ60gQDhSPUsTsT92Z53aLXg==","signatures":[{"sig":"MEUCIQCkfRsxNvIRDsmwzBdgPdnM/Bwv5RdMb2a9MhaKAICK+gIgfwcPY8Q4iPUgh/1zWg902x33MkdbGe3XgXZ0AZWF1Lw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":80478,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJDJRCRA9TVsSAnZWagAAv9wP/iO2NfG/rhNRZ6/GIuLN\nmec+U3fCBdjhBQR3RAGRkGF6OptjmxzlzKVw2KhZXr3XYd+OHW8vT14lPkLC\nCEXn9DlI7tFijxU4FyQSuX53AS/98+t3MwNoY6DCKyXXue6MwAzRpIng132X\npxWVb/fBrUMV7/LnmlQOM1/Si5gtlv9dlYcuU7eG29PjlrEprQnlWYG4Zd5l\nmt/3fboGtmDvYYRLlys5rZr4TWNhusArV/zGwHrvQDWM6VmuTBPfr2qKTCgg\niQHa4RwDuYy8t+cZldMy007Qy1w8qtFqFxJ1bA8x2KnWdsLkSnqYgnpw2i2H\nMuy7lYih1GeUBQfWQJ2L7d7nnhfx8ilunuA88NU09q0CqtRaQTCH1vcDTGPW\nwEjjdjOvhJxStqHcMPqrJnIeFLsUHkbgk1pzDpb3H1Lv6elxxjJjkUyOvrnr\nkSFef+iuKls0tmYo4gU5v+u5a04WH+u+xhoJE1LwmDbVETfhjqoWJESXHzgt\nB4Nq7bjEb6gPkA0wROLJpwvgDB4j2WSqNH4t+Mck1HKCY7xMLoCwTJ2mJgVA\nQaw204eaEO5M50+VqvYAzFUfLLVv2grf7P9cstbaX3pt/cGOrtwhDbhF9Rel\n7cmAqngXuU7i1moJ0QNnC+15DfddjRQllvycl3SPDsEopBWVPaQfb0G76hyK\n27GE\r\n=fhro\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"description":"![Build Status](https://github.com/growthbook/dom-mutator/workflows/CI/badge.svg)","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Jeremy Dorn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.2.2_1612984913511_0.6567149240375476","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"dom-mutator","version":"0.2.3","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.2.3","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"1b51f09045e0c2f629d4ebcc58ae324f755877d0","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.2.3.tgz","fileCount":15,"integrity":"sha512-YNfA2C0OB/M2BPmkomaDsaYHQICMq9NK2k3nmQcmhbT0UaoWwP2UzgceTgXvUIi0LqQT19tcU1HobxLpXFgoTg==","signatures":[{"sig":"MEYCIQDV5Q8Q65dwNhXZTq6JExWXLdUYIHyg4JRpxctkRF1f9QIhAMwGoxoTRq1ab3mDQ25O5smYbLFLQs+payW+rtUvuKwq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKTqRCRA9TVsSAnZWagAABD4QAI7f3ikOxoFw+czoJHEC\n/TSnUqBUtGX89Y4V5672x0d6p1VirE8909br3l+Xm2xcEbew9FhoOcihM7+p\ns94EEAto0v9rPPoUrjIC9qcDYnAqhcpTZGuFYSu0Q0toDFwEiaD15itMKRY7\ndERObOhsTYFb459SZo/74kccPMn6SvQDTf6haR2ihKkxo1hMNspUlzLSsicm\nyOVL1JaXEHZ9ZffTnS7559qFoNAhtuP2sPG8VOUgHViv2D06k6SXvZpKQkbw\nB6H7HYR1NAZsE1jkhdq3qmeReY6qea32sNCAvQFojb9NBkoOM2laStcs97PW\nbzF2+QbHQcMThjSAom5WqnAFFL7xsOprECr/rHxEv0U7fa3teFhDbpKSl4Vv\nREIwXpPFhYuk35C4IorPepGfAOFw9Ktyz4hBt0XrxloCZN8O3RwVrhG9G5V+\n1y4LVxDPkFks/0ErNGDMQsP0ZZPlkHy7DhxO7rxDhZB64vIb6lPsYuzd01t5\nADtjXoI9E6yHokQMJYirG3kCRdBP+EEztOYfOOkNRyG14i7XDRqSL3Ti8MC4\n9Eddeqt2fI7T0yCW5F3EBHQXEJFDD+Fe/wCkI1eZb0bcfoR9/odGgBI8o8pM\nn+dK7ttEamZk8g7BctIwyuQDFADRD/qpPMg+YY5U1beYC8bLd7E7Ifd2m7nv\n25pN\r\n=auwo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"description":"![Build Status](https://github.com/growthbook/dom-mutator/workflows/CI/badge.svg)","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Jeremy Dorn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.2.3_1613314704750_0.4560777190429728","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"dom-mutator","version":"0.2.4","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.2.4","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"8f5b3c6840ff1e95e709f034e014db507e3dbe03","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.2.4.tgz","fileCount":15,"integrity":"sha512-wRMqLgCWuOFeBR1oOEbc9OIhOZe31YfinKzg34mG7dTjHEXPYO/B08eX4JBJcn/vALEl+ZE1QRwBnL1k3tu7mQ==","signatures":[{"sig":"MEQCIA8yJ3c/AnphASwfqSdpzrbN60OC8+F8fFttllJGpWFkAiAW1jVOeZ3dcYN/NL1CDQOXsP8N9fqdsJtZmXa1R/YlHw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85948,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLXnSCRA9TVsSAnZWagAA/d0QAIZfDVNSV851lw1Daqgw\nxnxwd7T/LSDbJmwAKwyCs1SB6F17NuygUbLmGMhJ0wDmZGhXu5Wfhtlxw0d4\n/BTtYbqYnP7S5jj48VtexZPzmvVz519oFQibUvT0S8LrDN7XCo+FcPx8Heb/\nrCiJO4US1xdsDI/5fAD7lYTvkV6zk1etOc5+6Hv61Wdpdl026PJG3EKYosKX\nIN3w0jl/3bl5F/ENDH8TCSgIzrGKS34vjNiqlwLL+IgoDadQi5beTBYOI8Oe\n9BwXS9BXPm693x+3XI52QrTckZBVb8Gz3VLT2NVup/q/Bj3+iazewHkQodCb\neFoTfh1cU9qziKhfJC4VE1H1Jxr5KEdb7FuvTcZRsY+cheumpTtUkozHuw65\nCqUqgi7anC9kc0hbA6dPRKaAt1zNiRhY6TEqomqBpL4LnIawdvgxsC0mrvtn\n18/Ix6WM9+YynQh9l+K/gipwgY0zglQMbLPKo2cdpBpH73WiRd6OzKQ2Wdvk\nf+qSqi9otyWDasdi1mMOk9Xy4tYWZe4/t8u9n82QbzN9e9CcMGpt5O/LYQVJ\nkGQNmYqIfiyJo3o5ZAa2Rf+w0qvZXeGoAsikP8FO7tRVwTkN4t6jJxSHxer0\nb5iqvGVDuBwyvZp3ipu9S+7ErJWbAneNvpcQCJmaGAMvuQUw41vMVsGw8HdF\nbZHn\r\n=cVCa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"description":"![Build Status](https://github.com/growthbook/dom-mutator/workflows/CI/badge.svg)","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Jeremy Dorn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.2.4_1613593041842_0.37397699342556145","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"dom-mutator","version":"0.3.0","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.3.0","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"d817515a725dc71ec389d9427854ef6c568e2fd6","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.3.0.tgz","fileCount":17,"integrity":"sha512-UIo6KR4FneTfQKc/SJIsk4DKceNaeHHcgrUExHw/Ye5Ztx0c6m1bUs38SklPU0Rdtz0Sdf56iN0Qr0TGQb0giQ==","signatures":[{"sig":"MEQCIAYOr02aFgjRtkk2+/LrHxG3plVYmiF/1SAEKPywGK9aAiBCMYqFa3wlnegd7l5so4dkzDFHa8APVhZJeLtI3M7pFg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS5nFCRA9TVsSAnZWagAAfzMP/jBhUvZizyLiIwx/yB2z\nRhIrdOxZ/fi7NM3H3lJW6O0fWGsrK5C8UqmAfyEF6FtpbFCfMbVZwnz7VCa3\n5xwWLS8BhsnGezPQmwShIN/tm4NinVp5V5Trs0wwh1N2GwLuBUY9azIWMtOu\nZ1lPr5HRgcfA3LbcS2woGENkvh4YgF5hd8dXNHIqGbLgN4d6iZp0ZKLgfmrg\nt1BCDs1Q7C7JgEkfxuwmFrD4Zp4CWHe/Dd8GT89iZUcRJrBuNwn4iL0hNZGx\nuHH90LVBEoUhehpF+5BwY6Mh7tJQaB2W7/v+hqK+H8/IlFerCrpIBnXhiS21\nShzimuue0mN6kFZuhaGfJdKo5O+frUiUvKAaNcEmQv+vCTisna2xBQiuF6/S\nDQUaA9xZkXj7PYFI61nr9Cvx+bQWjgpX/eRLFHpRVeplABKcVTy2W6QwzSP9\n9kuGYNOd22ox6Vw0Ph5bDnjHAp2F+XGrB8qVNXLtK9NwKjzd2hMBRnKQ1eQc\npxg32Qn5S+qpiWp+ZnMW2aFSLdsZKukdWj07CyuKlkaoseVQz1XDgcanEm7+\nBHb55ggE+l5qVuFKcnxcCCQdP9wAFhJwaaHJOwyc1mymSxpyDefgHQdd9hEG\nWfzD+O6CwWG31bFfUBjeZ+2izZZDam4hmnl5/jKWwLGfLdvXBq1gE117313O\nFQ8O\r\n=ampL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"description":"Apply persistent DOM mutations on top of anything (static HTML, React, Vue, etc.)","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Jeremy Dorn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.3.0_1615567300989_0.0013812196954616773","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"dom-mutator","version":"0.3.1","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.3.1","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"811fe5752a44e15cb9387cd03fda074fc8ae7c4f","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.3.1.tgz","fileCount":17,"integrity":"sha512-D0kuzLjY9jj6oBeebwIk6ckhQRGB5zOX5CVN+ArNuSuT7chzRFWasc0RH3S7ir/a3gPHhYhXGZ2mxVMDn7eGvg==","signatures":[{"sig":"MEQCIFGUkh7k6FPE98bAhjRkyVTJTRHTXZCAt6w/LrgYXoJNAiA10wkaCKXxiu7j+esmkE7THi6hG2dljYk07DBq9KUt7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":116780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS6zSCRA9TVsSAnZWagAACa0P/19VYpT7kOk/sZPcqFzb\nPMkqT5ptdjehM5Y+ufERlsp2JPuUDq2rHU/YD+Reweb9iohTUL3tMKXm33yb\nxc7fi27Va0KxuR0x2L2pELjReISbNztYqFVvVoBO6yQ20A0TYQFpqMM8jYcu\nU9BJuccvzlWb6M3/S1inaav6H1JwsMDxhrjVsBJ3NPLYOI1rjeqsbNcBM+PQ\n6S6siBZMvknDu74rtRCTQ6asycYdb1sIl9Ez09Vq1gkpRFvwyZVO1BRL0e+I\n5n0cl7Sgxd4ScNvr50/xh3bj8EpjcSbzwi6BwwZHchY4OznZ68RjHGZYCZCB\n7j2FN6c+gYLjEz3hAgeW71tC8azvBUxKUlk4NecSxPSv2Ns2zJzZTfRm6baT\n/r18Zqq9XcSzXkei3TQQlv5HRMDdPIeMF0ko2QNTX5mde7ZLee3KLwZ24G/n\n+umMuVXOjioQXGSCKxH9Fq3prtLjqIMg68bIJwOv9liiAScnhHrLsPZnnTsY\nRkr1RXmItvShIoyZwLwIXW1nx/2Vb7OXD0FVt0pRArVrqY4Ge6Ayc4I+Gtjf\nJIy15//aW1V6HduOO5GZ7iRFAlEQ5O/u19/vtblxduolIqcdamazJek9Zt+C\ntJPgVD1ZxScgYfZ0MjwUbuRgvFNpdEHSfy+byBRMoFYWv7hK9ENTZXl7gjyK\nK5QM\r\n=ElsB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"description":"Apply persistent DOM mutations on top of anything (static HTML, React, Vue, etc.)","directories":{},"licenseText":"MIT License\n\nCopyright (c) 2021 Jeremy Dorn\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.3.1_1615572177662_0.8467666795084139","host":"s3://npm-registry-packages"}},"0.3.2":{"name":"dom-mutator","version":"0.3.2","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.3.2","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"6a5246092674efc51565846839e46c38bfc2529c","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.3.2.tgz","fileCount":14,"integrity":"sha512-tQ52xFNIZJTYrsfzq87siF2gLklR3iKU7zQelSHVv6Qe0HZXtrwhXE4SMrmnsj14sTVZzKnLevW7wZS90IUhCA==","signatures":[{"sig":"MEQCIBiAhG06s8u/LrQr5th0vLXGaxnki6Zt9aUoRj70HVsMAiAJu7iJ46FIvn5PhMnn9OtLmqyv8KDdiLVbddq2mhSNkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3ezwCRA9TVsSAnZWagAAfb0P/0XXR54/uXIIeYDy0+1i\n9TFmjAYR8J+WPNn4Cv1ALxaOS6wGSwn+/lsPiGqSleZn9wleGQg2ITaGtybJ\nKTq8TVyOZZyX+Wro4us5ETOZgqADkGxqkiiqmFNDkKKNOIrHCcgKoLqQDrwI\ntNDQiPlXFHOhH8EXWGCbNgmQ2/Zvycyybswv8upV9l6V/wikjNJ+wucqr1Wl\nYNABV3oFPleRFb3BPth+M/L0mYh5Cd1/lhkn936yDJokYxUupyVb7I7fC5ND\nt0PE/kqWIS+1BptTKTClDzkAxNSNiTbj2f0d7XrgVdKxvTH36FL71IgGo09N\nHiQXDxYV9wP7D82FOl1ZpbOsKhybNENMW5p9E5DosSxuvEwc4xsGPGrXCKWh\njlXbIDO8p8c68+LH7nPKtuetX6V+qHGwcdInGsPkOfjyZroZ72jhSnpOis5T\nzZeOXFSYQB2FuRG/Bn8U3ljTKZu0RRHmnJ4d+zGJb+0NFBrDKhzH9dOSHbsB\nUUHWeIuy9a6p5wxoCf697fuIpLDI5+zCupBBQNIoiuWBOSg61bo9EWHf5xG6\nnCTwSfY8iK1OExUlsSLE6PiKYu+PGQna8ZdWr+72UQNDKnw0eFXrRSCkEyxa\nQIfMQ1MrbyisjNVTZfRyc1mxQ5khHGLJTgakDESVYe8KRU9v/O+t2ARTvdlm\nvJ6a\r\n=phDc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"gitHead":"e95c7afe680c6ae5b4e4e0f1537cdd148a3ae468","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"_npmVersion":"8.1.2","description":"For those times you need to apply persistent DOM changes on top of HTML you don’t control.","directories":{},"_nodeVersion":"16.13.1","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.3.2_1641934064388_0.2703493073987697","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"dom-mutator","version":"0.4.0","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.4.0","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"cb0a6981ed58bdba25028cb0e5c75777b9b68c07","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.4.0.tgz","fileCount":14,"integrity":"sha512-H8pcE9Tmmnxs6FTZCX4aRthcweGsVdytqpBSiVIDnTnmosXXYO+jatDWwRReMbJJsAmsnAWsc0Ht4ZYGdN8gZw==","signatures":[{"sig":"MEYCIQDBN+ZHA0Eu8AJeXuqfcizMQri397gqoNSQuAvYRI0oIwIhAP35MCMAQHIHuDrZVOCMLbWlH7VeqmYHxTfqLrjqNTSz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":117220,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkHeSRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxEw//Xx9VE5eoCqqUbn5gieIClYGy8P2h0u/QxADxy6KgGff4muJu\r\njYl9Mun/TYUjqzeteq43jbiDhMBMAHEOJN1yjvTV9kIR4kQPbFCmkWoC+A0L\r\nca9U00pwioDgIGF2lZjONQZW13LwcKC8WSzZvUclhhmxMHxxeJjV9pLlJPS4\r\nmoOE8986dTRbpGLZtzs/Kb3O2mJMtO2dPxY8GUrDubYxfY5ppGlKZJIcswIQ\r\npU03DdR9yRQG4jiWj4mIbJn01nQein5/oxwY4ZKivm9ZC7Z8++n6vvxIAdV1\r\nharBtiB8Ko7K6HcCrPb4T3m05Bku9BptPGGnRm1EGHH4odow3WX7gaOAjc0Q\r\nNlcQ1VmoIKKGkb7DVk9S9mkeUpVg21VHC5yPloYybWixY2h00+7Osau5bpIl\r\nyOSaBfatWI1MGFalAvm5BaZzXNCp9AzSoYkTotjUHkorMhGG/hpyAAt/4dk3\r\nUimaBOY9REGUxS4JrsryuVikdRULl72DcbaHyY60r9yCleB5HGEPe83WlN46\r\nEaBPoe3hTF8+Lf0XNXQag3SvvLWFuKrWHy9f7nbY73Un+mi/8yiSDT45/fbo\r\nIilrIvfgd/VCK7Wtixp1OSFZJG4onaINHLyU8ZFhizB3HSENNYIuKuyNvHe3\r\ndSBdEFys0V4SmHHlcBBX+P1XjZbtInst3Ho=\r\n=NPVe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"gitHead":"c297bdb5aaee5a74e0f8e9f2c0a92d21158dbeb6","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"_npmVersion":"8.19.3","description":"For those times you need to apply persistent DOM changes on top of HTML you don’t control.","directories":{},"_nodeVersion":"16.19.0","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.4.0_1679680657435_0.8696002588787393","host":"s3://npm-registry-packages"}},"0.5.0":{"name":"dom-mutator","version":"0.5.0","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.5.0","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"cd59f0afcc012e7f018717a9c79ce6a225c46782","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.5.0.tgz","fileCount":14,"integrity":"sha512-bbeX8HWE8JGzraFgbVBX4ws2g3heZFuTtrleQBuN7huy+7n2n7etSuVnot3/1z3jdY2MiwuvoS4Ep1UT2rrGBw==","signatures":[{"sig":"MEQCIG09lWVToarIog7Ih/NyOyPj2cIFM3GsOXzoYEhBhmC8AiBxQ6GmVrTt34ASfVz3Kpi6o7gC8bni8bYwdplZb+9u7A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":143401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkPvhAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzAg/9GM3GQK2rvwWizRZbZaqIbEshpJlDE9/OMBvY09wsnWbcUdS5\r\nhcV0znLtINZOx+hZVnoLSOrZVQrJ0aXtR1oEfBs9voEleHNH03J3uhfzRumS\r\nKrx3pbk/aUvpnQ6+Wx2MkQEqFFIEBKI9ZcTm7Uq72T3LM1uhxt+8AA7FmuME\r\nCjAOR8yvzL4PSVXb1thYikekWGrAinvGoRXc9SUx10nru31vbFqR+oSUR+Tk\r\nFRF+BitIG0loHIrifHhRRHks0LcpPkWCfFXaL0hTfwGRzqX0Do+zYXt66cnG\r\nWImdPAykYF4yrhwL/PZlfAVv7Rtww+Ap+uXp2Pcxcz4SZnNX8Qhd85LMknbV\r\nYVfyHkgmklvSyu5OW/7ndyRwAyXV6PBV/OYBLZAjoZ1ZLcxUOvIL0ZDnXTfg\r\nCK9ULs0OUDFCG7M3F5rserkduBXVHzoA+a+PTKF+ca0CkPZ1bDZJPwqw93Mb\r\nHiGH7Fsh8YDdIlkpnnO2QkOa8a+9Mcz124PW1d8FVPvIUex0PkePhyNOcMR4\r\nSiQQLEQQ5SkhNQ7MIWN262+o+TYSY1Iw5QtTlxNQ6TDMNZMe3wuNuNxBPoTH\r\nc9WNocuaZeeXDtvWdq1KX164hgehT2Mb+sFMjeiU8vyXcpgR0UJ8cOg3aSyK\r\n056ox8lp7eK5YDB8REpVK+I7oEZRChwqNx0=\r\n=URzT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"gitHead":"e7a76bd64c0697dd476ad985ced67d15aa776f87","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"_npmVersion":"8.19.3","description":"For those times you need to apply persistent DOM changes on top of HTML you don’t control.","directories":{},"_nodeVersion":"16.19.1","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.5.0_1681848384166_0.14239004384376552","host":"s3://npm-registry-packages"}},"0.6.0":{"name":"dom-mutator","version":"0.6.0","author":{"name":"Jeremy Dorn"},"license":"MIT","_id":"dom-mutator@0.6.0","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"}],"dist":{"shasum":"079d7a4b3e8981a562cd777548b99baab51d65c5","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.6.0.tgz","fileCount":14,"integrity":"sha512-iCt9o0aYfXMUkz/43ZOAUFQYotjGB+GNbYJiJdz4TgXkyToXbbRy5S6FbTp72lRBtfpUMwEc1KmpFEU4CZeoNg==","signatures":[{"sig":"MEYCIQCnzfw+FwwrZGulpc+HWY8dfAdXWhXm3vpjKJyfpcdulgIhAL+qTaSVgl7bw48bqlWRsX5QPd6J9EXYUSMpp5lQeGI4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":151188},"main":"dist/index.js","husky":{"hooks":{"pre-commit":"tsdx lint"}},"module":"dist/dom-mutator.esm.js","engines":{"node":">=10"},"gitHead":"98ce4fd828d46175672caaede464ac6605a2ef1d","scripts":{"lint":"tsdx lint","size":"size-limit","test":"tsdx test","build":"tsdx build","start":"tsdx watch","analyze":"size-limit --why","prepare":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jdorn","email":"jeremy@jeremydorn.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"_npmVersion":"9.6.7","description":"For those times you need to apply persistent DOM changes on top of HTML you don’t control.","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.14.1","husky":"^4.3.8","tslib":"^2.1.0","size-limit":"^4.9.2","typescript":"^4.1.3","@size-limit/preset-small-lib":"^4.9.2"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/dom-mutator_0.6.0_1698256365608_0.8478285719098784","host":"s3://npm-registry-packages"}},"0.7.0":{"version":"0.7.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"dom-mutator","author":{"name":"Jeremy Dorn"},"module":"dist/dom-mutator.esm.js","size-limit":[{"path":"dist/dom-mutator.cjs.production.min.js","limit":"10 KB"},{"path":"dist/dom-mutator.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.9.2","husky":"^4.3.8","size-limit":"^4.9.2","tsdx":"^0.14.1","tslib":"^2.1.0","typescript":"^4.1.3"},"_id":"dom-mutator@0.7.0","gitHead":"ea8dfbfbd6c4f29e402472b1a8f0acc86665b057","description":"For those times you need to apply persistent DOM changes on top of HTML you don’t control.","_nodeVersion":"20.12.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-WgpTCBkYaib9lanHAkBuHirP1q5yQi1RDzlNsqvIDCgDkNyEhvFvsnmaz3ZztoRhtz6/ZwBrGs/VohlSstCt5g==","shasum":"3d2a46bca1e93757bc643e9bede8360a41ced83d","tarball":"https://registry.npmjs.org/dom-mutator/-/dom-mutator-0.7.0.tgz","fileCount":14,"unpackedSize":158204,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFycOXEaqN8+cgDcOzZomTfcSJFhM+r3BvPdC/eBptr5AiAQQhWlHPJ/Ii/rTtTrer83tob+0aH/XS3Gi3DZsZuvng=="}]},"_npmUser":{"name":"bryce-fitzsimons","email":"bryce1@gmail.com"},"directories":{},"maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"},{"name":"bryce-fitzsimons","email":"bryce1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dom-mutator_0.7.0_1727197296644_0.73770047144655"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-10T04:24:32.637Z","modified":"2024-09-24T17:01:37.177Z","0.2.0":"2021-02-10T04:24:32.824Z","0.2.1":"2021-02-10T16:11:40.275Z","0.2.2":"2021-02-10T19:21:53.648Z","0.2.3":"2021-02-14T14:58:24.940Z","0.2.4":"2021-02-17T20:17:22.035Z","0.3.0":"2021-03-12T16:41:41.128Z","0.3.1":"2021-03-12T18:02:57.800Z","0.3.2":"2022-01-11T20:47:44.576Z","0.4.0":"2023-03-24T17:57:37.590Z","0.5.0":"2023-04-18T20:06:24.344Z","0.6.0":"2023-10-25T17:52:45.886Z","0.7.0":"2024-09-24T17:01:37.006Z"},"author":{"name":"Jeremy Dorn"},"license":"MIT","description":"For those times you need to apply persistent DOM changes on top of HTML you don’t control.","maintainers":[{"name":"jdorn","email":"jeremy@jeremydorn.com"},{"name":"bryce-fitzsimons","email":"bryce1@gmail.com"}],"readme":"# DOM Mutator\n\nFor those times you need to apply persistent DOM changes on top of HTML you don’t control.\n\nView demo: https://growthbook.github.io/dom-mutator/\n\n```ts\nconst mutation = mutate.html('#greeting', (html) => html + ' world');\n\n// works even if the selector doesn't exist yet\ndocument.body.innerHTML += \"<div id='greeting'>hello</div>\";\n\n// \"hello world\"\n\n// re-applies if there's an external change\ndocument.getElementById('greeting').innerHTML = 'hola';\n\n// \"hola world\"\n\n// Revert to the last externally set value\nmutation.revert();\n\n// \"hola\"\n```\n\n```ts\nimport mutate from 'dom-mutator';\n\nmutate.html('h1', (html) => html.toUpperCase());\n\nmutate.classes('div.greeting', (classes) => classes.add('new-class'));\n\nmutate.attribute(\n    '.get-started',\n    'title',\n    (oldVal) => 'This is my new title attribute'\n);\n```\n\nFeatures:\n\n-   No dependencies, written in Typescript, 100% test coverage\n-   Super fast and light-weight (1Kb gzipped)\n-   Persists mutations even if the underlying element is updated externally (e.g. by a React render)\n-   Picks up new matching elements that are added to the DOM\n-   Easily remove a mutation at any time\n\n![Build Status](https://github.com/growthbook/dom-mutator/workflows/CI/badge.svg)\n\n## Installation\n\nInstall with npm or yarn (recommended):\n\n`yarn add dom-mutator` OR `npm install --save dom-mutator`.\n\n```js\nimport mutate from \"dom-mutator\";\n...\n```\n\nOR use with unpkg:\n\n```html\n<script type=\"module\">\n    import mutate from \"https://unpkg.com/dom-mutator/dist/dom-mutator.esm.js\";\n    ...\n</script>\n```\n\n## Usage\n\nThere are 4 mutate methods available: `html`, `classes`, `attribute`, and `declarative`.\n\n### html\n\nMutate an element's innerHTML\n\n```ts\n// Signature\nmutate.html(selector: string, (oldInnerHTML: string) => string);\n\n// Example\nmutate.html(\"h1\", x => x.toUpperCase());\n```\n\n### classes\n\nMutate the set of classes for an element\n\n```ts\n// Signature\nmutate.classes(selector: string, (classes: Set<string>) => void);\n\n// Example\nmutate.classes(\"h1\", (classes) => {\n  classes.add(\"green\");\n  classes.remove(\"red\");\n});\n```\n\n### attribute\n\nMutate the value of an HTML element's attribute\n\n```ts\n// Signature\nmutate.attribute(selector: string, attribute: string, (oldValue: string) => string);\n\n// Example\nmutate.attribute(\".link\", \"href\", (href) => href + \"?foo\");\n```\n\n### position\n\nMutate the position of an HTML element by supplying a target parent element to append it to (and optional sibling element to place it next to).\n\n```ts\n// Signature\nmutate.position(selector: string, () => ({ parentSelector: string; insertBeforeSelector?: string; }));\n\n// Example\nmutate.attribute(\".link\", () => ({ parentSelector: '.parent', insertBeforeSelector: 'p.body' }));\n```\n\n### declarative\n\nMutate the html, classes, or attributes using a declarative syntax instead of callbacks.\nPerfect for serialization.\n\n```ts\n// Signature\nmutate.declarative({\n    selector: string,\n    action: 'set' | 'append' | 'remove',\n    attribute: 'html' | 'class' | string,\n    value: string,\n});\n\n// Examples\nconst mutations = [\n    {\n        selector: 'h1',\n        action: 'set',\n        attribute: 'html',\n        value: 'new text',\n    },\n    {\n        selector: '.get-started',\n        action: 'remove',\n        attribute: 'class',\n        value: 'green',\n    },\n    {\n        selector: 'a',\n        action: 'append',\n        attribute: 'href',\n        value: '?foo',\n    },\n    {\n        selector: 'a',\n        action: 'set',\n        attribute: 'position',\n        parentSelector: '.header',\n        insertBeforeSelector: '.menu-button',\n    },\n];\nmutations.forEach((m) => mutate.declarative(m));\n```\n\n## How it Works\n\nWhen you create a mutation, we start watching the document for elements matching the selector to appear. We do this with a single shared MutationObserver on the body.\n\nWhen a matching element is found, we attach a separate MutationObserver filtered to the exact attribute being mutated. If an external change happens (e.g. from a React render), we re-apply your mutation on top of the new baseline value.\n\nWhen `revert` is called, we undo the change and go back to the last externally set value. We also disconnect the element's MutationObserver to save resources.\n\n## Pausing / Resuming the Global MutationObserver\n\nWhile the library is waiting for elements to appear, it runs `document.querySelectorAll` every time a batch of elements is added or removed from the DOM.\n\nThis is performant enough in most cases, but if you want more control, you can pause and resume the global MutationObserver on demand.\n\nOne example use case is if you are making a ton of DOM changes that you know have nothing to do with the elements you are watching. You would pause right before making the changes and resume after.\n\n```ts\nimport { disconnectGlobalObserver, connectGlobalObserver } from 'dom-mutator';\n\n// Pause\ndisconnectGlobalObserver();\n\n// ... do a bunch of expensive DOM updates\n\n// Resume\nconnectGlobalObserver();\n```\n\n## Pausing and Resuming All Mutations\nWhen a mutation is added, a separate `MutationObserver` is created for it.\n\nTo ensure **all** mutations are paused, you can use the global `pauseGlobalObserver` and `resumeGlobalObserver` functions. These functions allow you to globally control mutation observation. Additionally, the `isGlobalObserverPaused` function is available to check if the global observer is currently paused.\n\n### Example Usage:\n```ts\nimport { pauseGlobalObserver, resumeGlobalObserver, isGlobalObserverPaused } from 'dom-mutator';\n\n// Pause the global observer\nif (!isGlobalObserverPaused()) {\n    pauseGlobalObserver();\n}\n\n// Make changes that would otherwise trigger mutation observers\n\n// Resume the global observer\nresumeGlobalObserver();\n```\n### Key Functions\n- `pauseGlobalObserver()`: Pauses all mutation observers globally.\n- `resumeGlobalObserver()`: Resumes all mutation observers.\n- `isGlobalObserverPaused()`: Returns true if the global observer is currently paused.\n\n## Developing\n\nBuilt with [TSDX](https://github.com/formium/tsdx).\n\n`npm start` or `yarn start` to rebuild on file change.\n\n`npm run build` or `yarn build` to bundle the package to the `dist` folder.\n\n`npm test --coverage` or `yarn test --coverage` to run the Jest test suite with coverage report.\n\n`npm run lint --fix` or `yarn lint --fix` to lint your code and autofix problems when possible.\n","readmeFilename":"README.md"}