@opentelemetry/context-zone-peer-dep
Advanced tools
Comparing version 0.17.1-alpha.5 to 0.17.1-alpha.8
@@ -1,2 +0,2 @@ | ||
import { Context, ContextManager } from '@opentelemetry/context-base'; | ||
import { Context, ContextManager } from '@opentelemetry/api'; | ||
import { TargetWithEvents } from './types'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -19,3 +19,3 @@ "use strict"; | ||
exports.ZoneContextManager = void 0; | ||
const context_base_1 = require("@opentelemetry/context-base"); | ||
const api_1 = require("@opentelemetry/api"); | ||
const util_1 = require("./util"); | ||
@@ -49,3 +49,3 @@ /* Key name to be used to save a context reference in Zone */ | ||
_activeContextFromZone(activeZone) { | ||
return (activeZone && activeZone.get(ZONE_CONTEXT_KEY)) || context_base_1.ROOT_CONTEXT; | ||
return (activeZone && activeZone.get(ZONE_CONTEXT_KEY)) || api_1.ROOT_CONTEXT; | ||
} | ||
@@ -159,3 +159,3 @@ /** | ||
if (!this._enabled) { | ||
return context_base_1.ROOT_CONTEXT; | ||
return api_1.ROOT_CONTEXT; | ||
} | ||
@@ -167,3 +167,3 @@ const activeZone = this._getActiveZone(); | ||
} | ||
return context_base_1.ROOT_CONTEXT; | ||
return api_1.ROOT_CONTEXT; | ||
} | ||
@@ -170,0 +170,0 @@ /** |
{ | ||
"name": "@opentelemetry/context-zone-peer-dep", | ||
"version": "0.17.1-alpha.5+36ae1bd8", | ||
"version": "0.17.1-alpha.8+67f7e70a", | ||
"description": "OpenTelemetry Context Zone with peer dependency for zone.js", | ||
@@ -73,3 +73,3 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opentelemetry/context-base": "^0.17.0" | ||
"@opentelemetry/api": "^0.18.0" | ||
}, | ||
@@ -80,3 +80,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "36ae1bd89abc2e2cc7f64e4a35a94d7e75a81d0d" | ||
"gitHead": "67f7e70a3de005484d3e110b06f6bbee75b6f8a6" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
38514
+ Added@opentelemetry/api@^0.18.0
+ Added@opentelemetry/api@0.18.1(transitive)
- Removed@opentelemetry/context-base@^0.17.0
- Removed@opentelemetry/context-base@0.17.0(transitive)