New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@effect/opentelemetry

Package Overview
Dependencies
Maintainers
0
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/opentelemetry - npm Package Compare versions

Comparing version 0.36.3 to 0.37.0

3

dist/cjs/internal/tracer.js

@@ -11,3 +11,2 @@ "use strict";

var Effect = _interopRequireWildcard(require("effect/Effect"));
var FiberRef = _interopRequireWildcard(require("effect/FiberRef"));
var Layer = _interopRequireWildcard(require("effect/Layer"));

@@ -126,3 +125,3 @@ var Option = _interopRequireWildcard(require("effect/Option"));

context(execution, fiber) {
const currentSpan = fiber.getFiberRef(FiberRef.currentContext).unsafeMap.get(EffectTracer.ParentSpan.key);
const currentSpan = fiber.currentSpan;
if (currentSpan === undefined) {

@@ -129,0 +128,0 @@ return execution();

@@ -5,3 +5,2 @@ import * as OtelApi from "@opentelemetry/api";

import * as Effect from "effect/Effect";
import * as FiberRef from "effect/FiberRef";
import * as Layer from "effect/Layer";

@@ -117,3 +116,3 @@ import * as Option from "effect/Option";

context(execution, fiber) {
const currentSpan = fiber.getFiberRef(FiberRef.currentContext).unsafeMap.get(EffectTracer.ParentSpan.key);
const currentSpan = fiber.currentSpan;
if (currentSpan === undefined) {

@@ -120,0 +119,0 @@ return execution();

{
"name": "@effect/opentelemetry",
"version": "0.36.3",
"version": "0.37.0",
"description": "OpenTelemetry integration for Effect",

@@ -20,3 +20,3 @@ "license": "MIT",

"@opentelemetry/semantic-conventions": "^1.24.1",
"effect": "^3.7.3"
"effect": "^3.8.0"
},

@@ -23,0 +23,0 @@ "peerDependenciesMeta": {

@@ -6,3 +6,2 @@ import * as OtelApi from "@opentelemetry/api"

import type { Exit } from "effect/Exit"
import * as FiberRef from "effect/FiberRef"
import * as Layer from "effect/Layer"

@@ -147,5 +146,3 @@ import * as Option from "effect/Option"

context(execution, fiber) {
const currentSpan = fiber.getFiberRef(FiberRef.currentContext).unsafeMap.get(EffectTracer.ParentSpan.key) as
| EffectTracer.AnySpan
| undefined
const currentSpan = fiber.currentSpan

@@ -152,0 +149,0 @@ if (currentSpan === undefined) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc