@opentelemetry/context-zone-peer-dep
Advanced tools
Comparing version 0.17.1-alpha.21 to 0.18.1-alpha.12
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "0.17.0"; | ||
export declare const VERSION = "0.18.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '0.17.0'; | ||
exports.VERSION = '0.18.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -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.21+a91ea761", | ||
"version": "0.18.1-alpha.12+6540b54a", | ||
"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.1-alpha.21+a91ea761" | ||
"@opentelemetry/api": "^0.18.0" | ||
}, | ||
@@ -80,3 +80,3 @@ "peerDependencies": { | ||
"sideEffects": false, | ||
"gitHead": "a91ea7617f288af632934334d0c8ecece318ce73" | ||
"gitHead": "6540b54a8bd49746e164ab730269188237f89b1c" | ||
} |
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
38515
+ Added@opentelemetry/api@^0.18.0
+ Added@opentelemetry/api@0.18.1(transitive)
- Removed@opentelemetry/context-base@^0.17.1-alpha.21+a91ea761
- Removed@opentelemetry/context-base@0.17.1-alpha.21(transitive)