Socket
Socket
Sign inDemoInstall

@opentelemetry/context-zone-peer-dep

Package Overview
Dependencies
Maintainers
3
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/context-zone-peer-dep - npm Package Compare versions

Comparing version 0.8.3 to 0.9.0

2

build/src/index.js
"use strict";
/*
* Copyright 2020, OpenTelemetry Authors
* Copyright The OpenTelemetry Authors
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

@@ -1,16 +0,1 @@

/*!
* Copyright 2019, OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export declare type Func<T> = (...args: unknown[]) => T;

@@ -17,0 +2,0 @@ /**

"use strict";
/*!
* Copyright 2019, OpenTelemetry Authors
/*
* Copyright The OpenTelemetry Authors
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

@@ -1,16 +0,1 @@

/*!
* Copyright 2019, OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { TargetWithEvents } from './types';

@@ -17,0 +2,0 @@ /**

"use strict";
/*!
* Copyright 2019, OpenTelemetry Authors
/*
* Copyright The OpenTelemetry Authors
*

@@ -5,0 +5,0 @@ * Licensed under the Apache License, Version 2.0 (the "License");

@@ -1,2 +0,2 @@

export declare const VERSION = "0.8.3";
export declare const VERSION = "0.9.0";
//# sourceMappingURL=version.d.ts.map
"use strict";
/*
* Copyright 2020, OpenTelemetry Authors
* Copyright The OpenTelemetry Authors
*

@@ -20,3 +20,3 @@ * Licensed under the Apache License, Version 2.0 (the "License");

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.8.3';
exports.VERSION = '0.9.0';
//# sourceMappingURL=version.js.map

@@ -1,16 +0,1 @@

/*!
* Copyright 2019, OpenTelemetry Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { ContextManager, Context } from '@opentelemetry/context-base';

@@ -17,0 +2,0 @@ import { TargetWithEvents } from './types';

"use strict";
/*!
* Copyright 2019, OpenTelemetry Authors
/*
* Copyright The OpenTelemetry Authors
*

@@ -99,3 +99,3 @@ * Licensed under the Apache License, Version 2.0 (the "License");

_createZone(zoneName, context) {
return Zone.root.fork({
return Zone.current.fork({
name: zoneName,

@@ -102,0 +102,0 @@ properties: {

{
"name": "@opentelemetry/context-zone-peer-dep",
"version": "0.8.3",
"version": "0.9.0",
"description": "OpenTelemetry Context Zone with peer dependency for zone.js",

@@ -44,32 +44,32 @@ "main": "build/src/index.js",

"devDependencies": {
"@babel/core": "^7.6.0",
"@types/mocha": "^7.0.0",
"@types/node": "^14.0.5",
"@types/sinon": "^7.0.13",
"@babel/core": "7.10.2",
"@types/mocha": "7.0.2",
"@types/node": "14.0.13",
"@types/sinon": "9.0.4",
"@types/webpack-env": "1.15.2",
"@types/zone.js": "^0.5.12",
"babel-loader": "^8.0.6",
"codecov": "^3.6.1",
"gts": "^2.0.0",
"istanbul-instrumenter-loader": "^3.0.1",
"karma": "^5.0.5",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage-istanbul-reporter": "^3.0.2",
"karma-mocha": "^2.0.1",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^4.0.2",
"mocha": "^7.1.2",
"nyc": "^15.0.0",
"rimraf": "^3.0.0",
"sinon": "^7.5.0",
"ts-loader": "^6.0.4",
"ts-mocha": "^7.0.0",
"ts-node": "^8.6.2",
"typescript": "^3.6.3",
"webpack": "^4.35.2",
"webpack-cli": "^3.3.9",
"zone.js": "^0.10.2"
"@types/zone.js": "0.5.12",
"babel-loader": "8.1.0",
"codecov": "3.7.0",
"gts": "2.0.2",
"istanbul-instrumenter-loader": "3.0.1",
"karma": "5.1.0",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.32",
"karma-webpack": "4.0.2",
"mocha": "7.2.0",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"sinon": "9.0.2",
"ts-loader": "7.0.5",
"ts-mocha": "7.0.0",
"ts-node": "8.10.2",
"typescript": "3.9.5",
"webpack": "4.43.0",
"webpack-cli": "3.3.11",
"zone.js": "0.10.3"
},
"dependencies": {
"@opentelemetry/context-base": "^0.8.3"
"@opentelemetry/context-base": "^0.9.0"
},

@@ -76,0 +76,0 @@ "peerDependencies": {

# OpenTelemetry Context Zone Peer Dependency
[![Gitter chat][gitter-image]][gitter-url]

@@ -12,3 +13,2 @@ [![NPM Published Version][npm-img]][npm-url]

## Installation

@@ -21,2 +21,3 @@

## Usage
```js

@@ -54,2 +55,3 @@ import { ConsoleSpanExporter, SimpleSpanProcessor } from '@opentelemetry/tracing';

## Useful links
- For more information on OpenTelemetry, visit: <https://opentelemetry.io/>

@@ -56,0 +58,0 @@ - For more about OpenTelemetry JavaScript: <https://github.com/open-telemetry/opentelemetry-js>

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