-
-
Notifications
You must be signed in to change notification settings - Fork 871
Fix navigator
not defined ReferenceError
#642
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sindresorhus
merged 1 commit into
chalk:main
from
fox-forks:hyperupcall-update-supports-color-2
Dec 21, 2024
Merged
Fix navigator
not defined ReferenceError
#642
sindresorhus
merged 1 commit into
chalk:main
from
fox-forks:hyperupcall-update-supports-color-2
Dec 21, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blankll
added a commit
to geek-fun/serverlessinsight
that referenced
this pull request
Feb 10, 2025
 <h3>Snyk has created this PR to upgrade chalk from 5.3.0 to 5.4.1.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **2 versions** ahead of your current version. - The recommended version was released **a month ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>chalk</b></summary> <ul> <li> <b>5.4.1</b> - <a href="https://redirect.github.com/chalk/chalk/releases/tag/v5.4.1">2024-12-21</a></br><ul> <li>Fix <code>navigator</code> not defined <code>ReferenceError</code> (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2754056423" data-permission-text="Title is private" data-url="chalk/chalk#642" data-hovercard-type="pull_request" data-hovercard-url="/chalk/chalk/pull/642/hovercard" href="https://redirect.github.com/chalk/chalk/pull/642">#642</a>) <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/chalk/chalk/commit/4ebb62d1ca70c122674558a88932ddf6545fe9ef/hovercard" href="https://redirect.github.com/chalk/chalk/commit/4ebb62d1ca70c122674558a88932ddf6545fe9ef"><tt>4ebb62d</tt></a></li> </ul> <p><a class="commit-link" href="https://redirect.github.com/chalk/chalk/compare/v5.4.0...v5.4.1"><tt>v5.4.0...v5.4.1</tt></a></p> </li> <li> <b>5.4.0</b> - <a href="https://redirect.github.com/chalk/chalk/releases/tag/v5.4.0">2024-12-18</a></br><ul> <li>Update <code>CIRCLECI</code> environments to return level 3 color support <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/chalk/chalk/commit/f8381204fb096207074089f5ab265fffff6bc341/hovercard" href="https://redirect.github.com/chalk/chalk/commit/f8381204fb096207074089f5ab265fffff6bc341"><tt>f838120</tt></a></li> </ul> <p><a class="commit-link" href="https://redirect.github.com/chalk/chalk/compare/v5.3.0...v5.4.0"><tt>v5.3.0...v5.4.0</tt></a></p> </li> <li> <b>5.3.0</b> - <a href="https://redirect.github.com/chalk/chalk/releases/tag/v5.3.0">2023-06-29</a></br><ul> <li>Add <code>sideEffects</code> field to package.json <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/chalk/chalk/commit/5aafc0af74d06c89a2a4567aaf9d84d44af4a3aa/hovercard" href="https://redirect.github.com/chalk/chalk/commit/5aafc0af74d06c89a2a4567aaf9d84d44af4a3aa"><tt>5aafc0a</tt></a></li> <li>Add support for Gitea Actions (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1779402065" data-permission-text="Title is private" data-url="chalk/chalk#603" data-hovercard-type="pull_request" data-hovercard-url="/chalk/chalk/pull/603/hovercard" href="https://redirect.github.com/chalk/chalk/pull/603">#603</a>) <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/chalk/chalk/commit/29b856959f4bee5a514c7ed48a1f6879686eadf2/hovercard" href="https://redirect.github.com/chalk/chalk/commit/29b856959f4bee5a514c7ed48a1f6879686eadf2"><tt>29b8569</tt></a></li> </ul> <p><a class="commit-link" href="https://redirect.github.com/chalk/chalk/compare/v5.2.0...v5.3.0"><tt>v5.2.0...v5.3.0</tt></a></p> </li> </ul> from <a href="https://redirect.github.com/chalk/chalk/releases">chalk GitHub release notes</a> </details> </details> --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs._ **For more information:** <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJkZDEwOGYyYi02NTQwLTRiZmQtOTI0YS00NjFjYmJjMjI1ZmMiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImRkMTA4ZjJiLTY1NDAtNGJmZC05MjRhLTQ2MWNiYmMyMjVmYyJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/blankll/project/9c72c875-e7a2-4e68-85a9-7b26a5bc5b32?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 📜 [Customise PR templates](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 PR settings](https://app.snyk.io/org/blankll/project/9c72c875-e7a2-4e68-85a9-7b26a5bc5b32/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/blankll/project/9c72c875-e7a2-4e68-85a9-7b26a5bc5b32/settings/integration?pkg=chalk&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"chalk","from":"5.3.0","to":"5.4.1"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"dd108f2b-6540-4bfd-924a-461cbbc225fc","prPublicId":"dd108f2b-6540-4bfd-924a-461cbbc225fc","packageManager":"npm","priorityScoreList":[],"projectPublicId":"9c72c875-e7a2-4e68-85a9-7b26a5bc5b32","projectUrl":"https://app.snyk.io/org/blankll/project/9c72c875-e7a2-4e68-85a9-7b26a5bc5b32?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":2,"publishedDate":"2024-12-21T17:04:53.006Z"},"vulns":[]}' Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a follow-up to #640 that will fix #639
In this PR, I applied the fix for the potentially
undefined
navigator
in the same way that was done insupports-color
supports-color
's v10.0.0 diff: chalk/supports-color@v9.4.0...v10.0.0