Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork447
Allow plain objects forTokenData#391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecovbot commentedJul 31, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@## be/debug-original-path #391 +/- ##======================================================= Coverage 99.23% 99.23% ======================================================= Files 1 1 Lines 391 391 Branches 133 133 ======================================================= Hits 388 388 Misses 3 3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
81f316d tob44f89aCompareb44f89a to3350e30Compare687a9bb intomasterUh oh!
There was an error while loading.Please reload this page.
<h3>Snyk has created this PR to upgrade path-to-regexp from 8.2.0 to8.3.0.</h3>:information_source: Keep your dependencies up-to-date. This makes iteasier to fix existing vulnerabilities and to more quickly identify andfix newly disclosed vulnerabilities when they affect your project.<hr/>- The recommended version is **1 version** ahead of your currentversion.- The recommended version was released **25 days ago**.<details><summary><b>Release notes</b></summary><br/> <details> <summary>Package name: <b>path-to-regexp</b></summary> <ul> <li><b>8.3.0</b> - <ahref="https://redirect.github.com/pillarjs/path-to-regexp/releases/tag/v8.3.0">2025-09-02</a></br><p><strong>Changed</strong></p><ul><li>Add custom error class (<adata-error-text="Failed to load title" data-id="3332530309"data-permission-text="Title is private"data-url="pillarjs/path-to-regexp#398"data-hovercard-type="pull_request"data-hovercard-url="/pillarjs/path-to-regexp/pull/398/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/pull/398">#398</a>)<a data-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/2a7f2a4e9ba42eee41aa9d7a1a69eddb43b79a61/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/2a7f2a4e9ba42eee41aa9d7a1a69eddb43b79a61"><tt>2a7f2a4</tt></a></li><li>Allow plain objects for <code>TokenData</code> (<a data-error-text="Failed to load title"data-id="3281561483" data-permission-text="Title is private"data-url="pillarjs/path-to-regexp#391"data-hovercard-type="pull_request"data-hovercard-url="/pillarjs/path-to-regexp/pull/391/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/pull/391">#391</a>)<a data-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/687a9bbc735245b2688c17db7e9fe86013ea0c77/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/687a9bbc735245b2688c17db7e9fe86013ea0c77"><tt>687a9bb</tt></a></li><li>Escape text should escape backslash (<a data-error-text="Failed to load title"data-id="3281489414" data-permission-text="Title is private"data-url="pillarjs/path-to-regexp#390"data-hovercard-type="pull_request"data-hovercard-url="/pillarjs/path-to-regexp/pull/390/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/pull/390">#390</a>)<a data-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/a4a8552c9fb4449c470fb9ead458df1c89cadb72/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/a4a8552c9fb4449c470fb9ead458df1c89cadb72"><tt>a4a8552</tt></a></li><li>Improved error messages and stack size (<a data-error-text="Failed to load title"data-id="3054423448" data-permission-text="Title is private"data-url="pillarjs/path-to-regexp#363"data-hovercard-type="pull_request"data-hovercard-url="/pillarjs/path-to-regexp/pull/363/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/pull/363">#363</a>)<a data-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/a6bdf4045f369474e4e580bc6fcadb6bd806e62e/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/a6bdf4045f369474e4e580bc6fcadb6bd806e62e"><tt>a6bdf40</tt></a></li></ul><p><strong>Other</strong></p><ul><li>Minifying the parser<ul><li>PR (<a data-error-text="Failed toload title" data-id="3352988435" data-permission-text="Title is private"data-url="pillarjs/path-to-regexp#401"data-hovercard-type="pull_request"data-hovercard-url="/pillarjs/path-to-regexp/pull/401/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/pull/401">#401</a>)<a data-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/9df2448fdfca9d2957cf47a1777b5deda9be18cf/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/9df2448fdfca9d2957cf47a1777b5deda9be18cf"><tt>9df2448</tt></a></li><li>PR (<a data-error-text="Failed toload title" data-id="3301895649" data-permission-text="Title is private"data-url="pillarjs/path-to-regexp#395"data-hovercard-type="pull_request"data-hovercard-url="/pillarjs/path-to-regexp/pull/395/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/pull/395">#395</a>)<a data-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/4a915059a843dfdd122a0c4936837c7fdda2d4ee/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/4a915059a843dfdd122a0c4936837c7fdda2d4ee"><tt>4a91505</tt></a></li><li>Shaving some bytes <adata-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/d63f44bc54f2c6fe7d35dc77f8515622006bf7cb/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/d63f44bc54f2c6fe7d35dc77f8515622006bf7cb"><tt>d63f44b</tt></a></li><li>Remove optional operator <adata-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/973d15c262f113c4cb88762971920053fdbd31ff/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/973d15c262f113c4cb88762971920053fdbd31ff"><tt>973d15c</tt></a></li></ul></li></ul><p><ahref="https://redirect.github.com/pillarjs/path-to-regexp/compare/v8.2.0...v8.3.0"><tt>v8.2.0...v8.3.0</tt></a></p> </li> <li><b>8.2.0</b> - <ahref="https://redirect.github.com/pillarjs/path-to-regexp/releases/tag/v8.2.0">2024-09-26</a></br><p><strong>Fixed</strong></p><ul><li>Allowing <code>path-to-regexp</code> to run on older browsers bytargeting ES2015<ul><li>Target ES2015 <a data-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/59690338f2a089f45505718c94b86dcb2d32f29d/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/59690338f2a089f45505718c94b86dcb2d32f29d"><tt>5969033</tt></a><ul><li>Also saved <em>0.22kb</em> (10%!) by removing the private classfield down level</li></ul></li><li>Remove <code>s</code> flag from regexp <adata-hovercard-type="commit"data-hovercard-url="https://github.com/pillarjs/path-to-regexp/commit/51dbd45e00043f082e3cf1857861e856c40a32f0/hovercard"href="https://redirect.github.com/pillarjs/path-to-regexp/commit/51dbd45e00043f082e3cf1857861e856c40a32f0"><tt>51dbd45</tt></a></li></ul></li></ul><p><ahref="https://redirect.github.com/pillarjs/path-to-regexp/compare/v8.1.0...v8.2.0"><tt>v8.1.0...v8.2.0</tt></a></p> </li> </ul>from <ahref="https://redirect.github.com/pillarjs/path-to-regexp/releases">path-to-regexpGitHub release notes</a> </details></details>---> [!IMPORTANT]>> - Check the changes in this PR to ensure they won't cause issues withyour project.> - This PR was automatically created by Snyk using the credentials of areal user.---**Note:** _You are seeing this because you or someone else with accessto this repository has authorized Snyk to open upgrade PRs._**For more information:** <imgsrc="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI2ZjIyMWFhNS01NDQ4LTQwMDgtODEzNy05NjljNmM0MmJiY2IiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjZmMjIxYWE1LTU0NDgtNDAwOC04MTM3LTk2OWM2YzQyYmJjYiJ9fQ=="width="0" height="0"/>> - 🧐 [View latest projectreport](https://app.snyk.io/org/szotkowski/project/36f26f5b-e4bf-4cb8-ae5b-087fbc45bf4d?utm_source=github&utm_medium=referral&page=upgrade-pr)> - 📜 [Customise PRtemplates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template)> - 🛠 [Adjust upgrade PRsettings](https://app.snyk.io/org/szotkowski/project/36f26f5b-e4bf-4cb8-ae5b-087fbc45bf4d/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr)> - 🔕 [Ignore this dependency or unsubscribe from future upgradePRs](https://app.snyk.io/org/szotkowski/project/36f26f5b-e4bf-4cb8-ae5b-087fbc45bf4d/settings/integration?pkg=path-to-regexp&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades)[//]: #'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":null,"FF_showPullRequestBreakingChangesWebSearch":null,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"path-to-regexp","from":"8.2.0","to":"8.3.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"6f221aa5-5448-4008-8137-969c6c42bbcb","prPublicId":"6f221aa5-5448-4008-8137-969c6c42bbcb","packageManager":"npm","priorityScoreList":[],"projectPublicId":"36f26f5b-e4bf-4cb8-ae5b-087fbc45bf4d","projectUrl":"https://app.snyk.io/org/szotkowski/project/36f26f5b-e4bf-4cb8-ae5b-087fbc45bf4d?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2025-09-02T21:13:13.739Z"},"vulns":[]}'Co-authored-by: snyk-bot <snyk-bot@snyk.io>
There's no real reason to utilize the
TokenDataclass anymore. Keeps it around for backward compatibility, but migrates all documentation to plain objects.