{"name":"@rrweb/utils","version":"2.2.0","keywords":["devtools","product-analytics","real-user-monitoring","rrweb","@rrweb/utils"],"license":"MIT","_id":"@rrweb/utils@2.2.0","maintainers":[{"name":"yanzhen","email":"aryu0112@gmail.com"},{"name":"juice10","email":"justinhalsall@gmail.com"}],"homepage":"https://github.com/rrweb-io/rrweb/tree/main/packages/@rrweb/utils#readme","bugs":{"url":"https://github.com/rrweb-io/rrweb/issues"},"dist":{"shasum":"d2e1b82b36066f615e35028cc4c1216e529ba2ec","tarball":"http://registry-npm.ywwl.com/@rrweb/utils/download/@rrweb/utils-2.2.0.tgz","fileCount":14,"integrity":"sha512-e8FEp8wLswqgjDHpQNUUVfEXeDsrRMOVouvqIGKvnPxKYonjLlh0mU3O/17QNvCixFG5eUFR1B2jgTdiLlZxeQ==","signatures":[{"sig":"MEQCIAnJvWS+1TAqx6elhzqEJuKPcRG/ONwOPAdfKIWA7AeTAiAuyVOCtXXVec100XbAqsVODNm3xQG1zPGRf+Zg9ke/TA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIDeE+XdTV8JWwJ20o5xIlyRMOYm0TKQf7Y4NTLPZ0f3iAiAMucgt+A9GJvSq+qsOylH5iVj301VlF46+ZmDTe7dLHw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rrweb%2futils@2.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":126725,"size":14685,"noattachment":false,"key":"/@rrweb/utils/-/@rrweb/utils-2.2.0.tgz"},"main":"./dist/utils.umd.cjs","type":"module","unpkg":"./dist/utils.umd.cjs","module":"./dist/utils.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/utils.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/utils.umd.cjs"}}},"gitHead":"e051ddbf36cc9abdecd33933511967ea055fe3a4","scripts":{"dev":"vite build --watch","lint":"yarn eslint src/**/*.ts","build":"tsc -noEmit && vite build","prepublish":"npm run build","check-types":"tsc -noEmit"},"typings":"dist/index.d.ts","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"3665ce2a-7297-4224-a3fe-d5b9174e2270"}},"jsdelivr":"./umd/utils.js","repository":{"url":"git+https://github.com/rrweb-io/rrweb.git","type":"git","directory":"packages/utils"},"_npmVersion":"11.19.0","description":"This package contains the shared utility functions used across rrweb packages. See the [guide](../../guide.md) for more info on rrweb.","directories":{},"_nodeVersion":"24.21.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^6.0.1","vite-plugin-dts":"^3.8.1"},"_npmOperationalInternal":{"tmp":"tmp/utils_2.2.0_1792849363587_0.6659811875140109","host":"s3://npm-registry-packages-npm-production"},"readme":"# @rrweb/utils\n\n## Overview\n\nThis package contains the shared utility functions used across rrweb packages.\nSee the [guide](../../guide.md) for more info on rrweb.\n\n## Sponsors\n\n[Become a sponsor](https://opencollective.com/rrweb#sponsor) and get your logo on our README on Github with a link to your site.\n\n### Gold Sponsors 🥇\n\n<div dir=\"auto\">\n\n<a href=\"https://opencollective.com/rrweb/tiers/gold-sponsor/0/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/gold-sponsor/0/avatar.svg?requireActive=false&avatarHeight=225\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/gold-sponsor/1/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/gold-sponsor/1/avatar.svg?requireActive=false&avatarHeight=225\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/gold-sponsor/2/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/gold-sponsor/2/avatar.svg?requireActive=false&avatarHeight=225\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/gold-sponsor/3/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/gold-sponsor/3/avatar.svg?requireActive=false&avatarHeight=225\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/gold-sponsor/4/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/gold-sponsor/4/avatar.svg?requireActive=false&avatarHeight=225\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/gold-sponsor/5/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/gold-sponsor/5/avatar.svg?requireActive=false&avatarHeight=225\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/gold-sponsor/6/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/gold-sponsor/6/avatar.svg?requireActive=false&avatarHeight=225\" alt=\"sponsor\"></a>\n\n</div>\n\n### Silver Sponsors 🥈\n\n<div dir=\"auto\">\n\n<a href=\"https://opencollective.com/rrweb/tiers/silver-sponsor/0/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/silver-sponsor/0/avatar.svg?requireActive=false&avatarHeight=158\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/silver-sponsor/1/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/silver-sponsor/1/avatar.svg?requireActive=false&avatarHeight=158\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/silver-sponsor/2/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/silver-sponsor/2/avatar.svg?requireActive=false&avatarHeight=158\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/silver-sponsor/3/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/silver-sponsor/3/avatar.svg?requireActive=false&avatarHeight=158\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/silver-sponsor/4/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/silver-sponsor/4/avatar.svg?requireActive=false&avatarHeight=158\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/silver-sponsor/5/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/silver-sponsor/5/avatar.svg?requireActive=false&avatarHeight=158\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/silver-sponsor/6/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/silver-sponsor/6/avatar.svg?requireActive=false&avatarHeight=158\" alt=\"sponsor\"></a>\n\n</div>\n\n### Bronze Sponsors 🥉\n\n<div dir=\"auto\">\n\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/0/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/0/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/1/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/1/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/2/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/2/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/3/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/3/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/4/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/4/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/5/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/5/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/6/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/6/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/7/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/7/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n<a href=\"https://opencollective.com/rrweb/tiers/sponsors/8/website?requireActive=false\" target=\"_blank\"><img src=\"https://opencollective.com/rrweb/tiers/sponsors/8/avatar.svg?requireActive=false&avatarHeight=70\" alt=\"sponsor\"></a>\n\n</div>\n\n### Backers\n\n<a href=\"https://opencollective.com/rrweb#sponsor\" rel=\"nofollow\"><img src=\"https://opencollective.com/rrweb/tiers/backers.svg?avatarHeight=36\"></a>\n\n## Core Team Members\n\n<table>\n  <tr>\n    <td align=\"center\">\n      <a href=\"https://github.com/Yuyz0112\">\n        <img\n          src=\"https://avatars.githubusercontent.com/u/13651389?s=100\"\n          width=\"100px;\"\n          alt=\"\"\n        />\n        <br /><sub><b>Yuyz0112</b></sub>\n        <br /><br />\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://github.com/YunFeng0817\">\n        <img\n          src=\"https://avatars.githubusercontent.com/u/27533910?s=100\"\n          width=\"100px;\"\n          alt=\"\"\n        />\n        <br /><sub><b>Yun Feng</b></sub>\n        <br /><br />\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://github.com/eoghanmurray\">\n        <img\n          src=\"https://avatars.githubusercontent.com/u/156780?s=100\"\n          width=\"100px;\"\n          alt=\"\"\n        />\n        <br /><sub><b>eoghanmurray</b></sub>\n        <br /><br />\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://github.com/Juice10\">\n        <img\n          src=\"https://avatars.githubusercontent.com/u/4106?s=100\"\n          width=\"100px;\"\n          alt=\"\"\n        />\n        <br /><sub><b>Juice10</b></sub>\n        <br /><sub>open for rrweb consulting</sub>\n      </a>\n    </td>\n  </tr>\n</table>\n\n## Who's using rrweb?\n\n<table>\n  <tr>\n    <td align=\"center\">\n      <a href=\"http://www.smartx.com/\" target=\"_blank\">\n        <img width=\"195px\" src=\"https://www.rrweb.io/logos/smartx.png\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://posthog.com?utm_source=rrweb&utm_medium=sponsorship&utm_campaign=open-source-sponsorship\" target=\"_blank\">\n        <img width=\"195px\" src=\"https://www.rrweb.io/logos/posthog.png\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://statcounter.com/session-replay/\" target=\"_blank\">\n        <img width=\"195px\" src=\"https://statcounter.com/images/logo-statcounter-arc-blue.svg\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://recordonce.com/\" target=\"_blank\">\n        <img width=\"195px\" alt=\"Smart screen recording for SaaS\" src=\"https://uploads-ssl.webflow.com/5f3d133183156245630d4446/5f3d1940abe8db8612c23521_Record-Once-logo-554x80px.svg\">\n      </a>\n    </td>\n  </tr>\n    <tr>\n    <td align=\"center\">\n      <a href=\"https://cux.io\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"The first ever UX automation tool\" width=\"195px\" src=\"https://cux.io/cux-logo.svg\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://remsupp.com\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"Remote Access & Co-Browsing\" width=\"195px\" src=\"https://remsupp.com/images/logo.png\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://highlight.io\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"The open source, fullstack Monitoring Platform.\" width=\"195px\" src=\"https://github.com/highlight/highlight/raw/main/highlight.io/public/images/logo.png\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://analyzee.io\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"Comprehensive data analytics platform that empowers businesses to gain valuable insights and make data-driven decisions.\" width=\"195px\" src=\"https://cdn.analyzee.io/assets/analyzee-logo.png\">\n      </a>\n    </td>\n  </tr>\n  <tr>\n    <td align=\"center\">\n      <a href=\"https://requestly.io\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"Intercept, Modify, Record & Replay HTTP Requests.\" width=\"195px\" src=\"https://github.com/requestly/requestly/assets/16779465/652552db-c867-44cb-9bb5-94a2026e04ca\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://gleap.io\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"In-app bug reporting & customer feedback platform.\" width=\"195px\" src=\"https://assets-global.website-files.com/6506f3f29c68b1724807619d/6506f56010237164c6306591_GleapLogo.svg\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://uxwizz.com\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"Self-hosted website analytics with heatmaps and session recordings.\" width=\"195px\" src=\"https://github.com/UXWizz/public-files/raw/main/assets/logo.png\">\n      </a>\n    </td>\n    <td align=\"center\">\n      <a href=\"https://www.howdygo.com\" target=\"_blank\">\n        <img style=\"padding: 8px\" alt=\"Interactive product demos for small marketing teams\" width=\"195px\" src=\"https://assets-global.website-files.com/650afb446f1dd5bd410f00cc/650b2cec6188ff54dd9b01e1_Logo.svg\">\n      </a>\n    </td>\n  </tr>\n</table>\n","publish_time":1792849363672,"_cnpm_publish_time":1792849363672,"dist-tags":{"alpha":"2.0.0-alpha.17","latest":"2.2.1"}}