[Snyk] Upgrade @opentelemetry/resources from 1.24.1 to 1.25.0 #853

Closed
opened 2026-04-05 16:23:18 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @simlarsen on 6/28/2024

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade @opentelemetry/resources from 1.24.1 to 1.25.0.

ℹ️ 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.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released on 23 days ago.

Release notes
Package name: @opentelemetry/resources
  • 1.25.0 - 2024-06-05

    1.25.0

    🚀 (Enhancement)

    📚 (Refine Doc)

    • refactor(examples): use new exported string constants for semconv in examples/esm-http-ts #4758 @ Zen-cronic
    • refactor(examples): use new exported string constants for semconv in examples/basic-tracer-node #4759 @ Zen-cronic
    • refactor(examples): use new exported string constants for semconv in examples/http #4750 @ Zen-cronic
    • refactor(examples): use new exported string constants for semconv in examples/grpc-js #4760 @ Zen-cronic
    • refactor(examples): use new exported string constants for semconv in examples/otlp-exporter-node #4762 @ Zen-cronic
    • refactor(examples): use new exported string constants for semconv in examples/opentracing-shim #4761 @ Zen-cronic
  • 1.24.1 - 2024-05-07

    1.24.1

    🐛 (Bug Fix)

    • fix(core): align inconsistent behavior of getEnv() and getEnvWithoutDefaults() when a process polyfill is used #4648 @ pichlermarc
      • getEnvWithoutDefaults() would use process.env if it was defined when running in a browser, while getEnv() would always use _globalThis. Now both use _globalThis when running in a browser.
    • fix(resources): prevent circular import (resource -> detector -> resource -> ...) #4653 @ pichlermarc
      • fixes a circular import warning which would appear in rollup when bundling @ opentelemetry/resources
    • fix(exporter-metrics-otlp-grpc): add explicit otlp-exporter-base dependency to exporter-metrics-otlp-grpc #4678 @ AkselAllas
from @opentelemetry/resources GitHub release notes

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:

*Originally created by @simlarsen on 6/28/2024* <p>This PR was automatically created by Snyk using the credentials of a real user.</p><br />![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123) <h3>Snyk has created this PR to upgrade @opentelemetry/resources from 1.24.1 to 1.25.0.</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 **1 version** ahead of your current version. - The recommended version was released on **23 days ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>@opentelemetry/resources</b></summary> <ul> <li> <b>1.25.0</b> - <a href="https://github.com/open-telemetry/opentelemetry-js/releases/tag/v1.25.0">2024-06-05</a></br><h2>1.25.0</h2> <h3>🚀 (Enhancement)</h3> <ul> <li>feat: support node 22 <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4666" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4666/hovercard">#4666</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dyladan/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dyladan">@ dyladan</a></li> <li>feat(context-zone*): support zone.js 0.12.x <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4736" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4736/hovercard">#4376</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/maldago/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/maldago">@ maldago</a></li> <li>refactor(core): Use tree-shakeable string constants for semconv <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4739" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4739/hovercard">#4739</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JohannesHuster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JohannesHuster">@ JohannesHuster</a></li> <li>refactor(shim-opentracing): Use tree-shakeable string constants for semconv <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4746" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4746/hovercard">#4746</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JohannesHuster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JohannesHuster">@ JohannesHuster</a></li> <li>refactor(sdk-trace-web): Use tree-shakeable string constants for semconv <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4747" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4747/hovercard">#4747</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JohannesHuster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JohannesHuster">@ JohannesHuster</a></li> <li>refactor(sdk-trace-node): Use tree-shakeable string constants for semconv <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4748" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4748/hovercard">#4748</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JohannesHuster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JohannesHuster">@ JohannesHuster</a></li> <li>refactor(sdk-trace-base): Use tree-shakeable string constants for semconv <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4749" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4749/hovercard">#4749</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JohannesHuster/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JohannesHuster">@ JohannesHuster</a></li> <li>refactor(resources): update deprecated semconv to use exported strings <a href="https://github.com/open-telemetry/opentelemetry-js/pull/#4755">#4755</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamieDanielson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamieDanielson">@ JamieDanielson</a></li> <li>refactor(exporters): update deprecated semconv to use exported strings <a href="https://github.com/open-telemetry/opentelemetry-js/pull/#4756">#4756</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/JamieDanielson/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/JamieDanielson">@ JamieDanielson</a></li> </ul> <h3>📚 (Refine Doc)</h3> <ul> <li>refactor(examples): use new exported string constants for semconv in examples/esm-http-ts <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4758" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4758/hovercard">#4758</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Zen-cronic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Zen-cronic">@ Zen-cronic</a></li> <li>refactor(examples): use new exported string constants for semconv in examples/basic-tracer-node <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4759#pull" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4759/hovercard">#4759</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Zen-cronic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Zen-cronic">@ Zen-cronic</a></li> <li>refactor(examples): use new exported string constants for semconv in examples/http <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4750" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4750/hovercard">#4750</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Zen-cronic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Zen-cronic">@ Zen-cronic</a></li> <li>refactor(examples): use new exported string constants for semconv in examples/grpc-js <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4760#pull" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4760/hovercard">#4760</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Zen-cronic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Zen-cronic">@ Zen-cronic</a></li> <li>refactor(examples): use new exported string constants for semconv in examples/otlp-exporter-node <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4762" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4762/hovercard">#4762</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Zen-cronic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Zen-cronic">@ Zen-cronic</a></li> <li>refactor(examples): use new exported string constants for semconv in examples/opentracing-shim <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4761" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4761/hovercard">#4761</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Zen-cronic/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Zen-cronic">@ Zen-cronic</a></li> </ul> </li> <li> <b>1.24.1</b> - <a href="https://github.com/open-telemetry/opentelemetry-js/releases/tag/v1.24.1">2024-05-07</a></br><h2>1.24.1</h2> <h3>🐛 (Bug Fix)</h3> <ul> <li>fix(core): align inconsistent behavior of <code>getEnv()</code> and <code>getEnvWithoutDefaults()</code> when a <code>process</code> polyfill is used <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4648" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4648/hovercard">#4648</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pichlermarc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pichlermarc">@ pichlermarc</a> <ul> <li><code>getEnvWithoutDefaults()</code> would use <code>process.env</code> if it was defined when running in a browser, while <code>getEnv()</code> would always use <code>_globalThis</code>. Now both use <code>_globalThis</code> when running in a browser.</li> </ul> </li> <li>fix(resources): prevent circular import (resource -&gt; detector -&gt; resource -&gt; ...) <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4653" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4653/hovercard">#4653</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pichlermarc/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pichlermarc">@ pichlermarc</a> <ul> <li>fixes a circular import warning which would appear in rollup when bundling <code>@ opentelemetry/resources</code></li> </ul> </li> <li>fix(exporter-metrics-otlp-grpc): add explicit otlp-exporter-base dependency to exporter-metrics-otlp-grpc <a href="https://github.com/open-telemetry/opentelemetry-js/pull/4678" data-hovercard-type="pull_request" data-hovercard-url="/open-telemetry/opentelemetry-js/pull/4678/hovercard">#4678</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/AkselAllas/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/AkselAllas">@ AkselAllas</a></li> </ul> </li> </ul> from <a href="https://github.com/open-telemetry/opentelemetry-js/releases">@opentelemetry/resources 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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIxOTc4NzE5Mi1lZDE3LTRhMzMtOTBiZC01ZWM3YmNlNGE1YjEiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjE5Nzg3MTkyLWVkMTctNGEzMy05MGJkLTVlYzdiY2U0YTViMSJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/47001ef1-7b3a-49c2-88cd-8025c56346d0?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/47001ef1-7b3a-49c2-88cd-8025c56346d0/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/47001ef1-7b3a-49c2-88cd-8025c56346d0/settings/integration?pkg&#x3D;&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"","from":"opentelemetry/resources","to":"opentelemetry/resources"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"19787192-ed17-4a33-90bd-5ec7bce4a5b1","prPublicId":"19787192-ed17-4a33-90bd-5ec7bce4a5b1","packageManager":"npm","priorityScoreList":[],"projectPublicId":"47001ef1-7b3a-49c2-88cd-8025c56346d0","projectUrl":"https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/47001ef1-7b3a-49c2-88cd-8025c56346d0?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":"2024-06-05T17:15:48.354Z"},"vulns":[]}) --->
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#853