Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/web

Package Overview
Dependencies
Maintainers
4
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/web - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

build/src/enums/PerformanceTimingNames.js.map

1

build/src/enums/PerformanceTimingNames.d.ts

@@ -10,2 +10,3 @@ export declare enum PerformanceTimingNames {

DOMAIN_LOOKUP_START = "domainLookupStart",
ENCODED_BODY_SIZE = "encodedBodySize",
FETCH_START = "fetchStart",

@@ -12,0 +13,0 @@ LOAD_EVENT_END = "loadEventEnd",

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

PerformanceTimingNames["DOMAIN_LOOKUP_START"] = "domainLookupStart";
PerformanceTimingNames["ENCODED_BODY_SIZE"] = "encodedBodySize";
PerformanceTimingNames["FETCH_START"] = "fetchStart";

@@ -31,0 +32,0 @@ PerformanceTimingNames["LOAD_EVENT_END"] = "loadEventEnd";

@@ -11,2 +11,3 @@ import { PerformanceTimingNames } from './enums/PerformanceTimingNames';

[PerformanceTimingNames.DOMAIN_LOOKUP_START]?: number;
[PerformanceTimingNames.ENCODED_BODY_SIZE]?: number;
[PerformanceTimingNames.FETCH_START]?: number;

@@ -13,0 +14,0 @@ [PerformanceTimingNames.LOAD_EVENT_END]?: number;

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

const core_1 = require("@opentelemetry/core");
const semantic_conventions_1 = require("@opentelemetry/semantic-conventions");
/**

@@ -67,2 +68,5 @@ * Helper function to be able to use enum as typed key in type and in interface when using forEach

addSpanNetworkEvent(span, PerformanceTimingNames_1.PerformanceTimingNames.RESPONSE_END, resource);
if (resource[PerformanceTimingNames_1.PerformanceTimingNames.ENCODED_BODY_SIZE]) {
span.setAttribute(semantic_conventions_1.HttpAttribute.HTTP_RESPONSE_CONTENT_LENGTH, resource[PerformanceTimingNames_1.PerformanceTimingNames.ENCODED_BODY_SIZE]);
}
}

@@ -69,0 +73,0 @@ exports.addSpanNetworkEvents = addSpanNetworkEvents;

2

build/src/version.d.ts

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

export declare const VERSION = "0.9.0";
export declare const VERSION = "0.10.0";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.9.0';
exports.VERSION = '0.10.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/web",
"version": "0.9.0",
"version": "0.10.0",
"description": "OpenTelemetry Web Tracer",

@@ -36,2 +36,3 @@ "main": "build/src/index.js",

"build/src/**/*.js",
"build/src/**/*.js.map",
"build/src/**/*.d.ts",

@@ -46,12 +47,12 @@ "doc",

"devDependencies": {
"@babel/core": "7.10.2",
"@opentelemetry/context-zone": "^0.9.0",
"@opentelemetry/resources": "^0.9.0",
"@types/jquery": "3.3.38",
"@types/mocha": "7.0.2",
"@types/node": "14.0.13",
"@babel/core": "7.10.5",
"@opentelemetry/context-zone": "^0.10.0",
"@opentelemetry/resources": "^0.10.0",
"@types/jquery": "3.5.0",
"@types/mocha": "8.0.0",
"@types/node": "14.0.25",
"@types/sinon": "9.0.4",
"@types/webpack-env": "1.15.2",
"babel-loader": "8.1.0",
"codecov": "3.7.0",
"codecov": "3.7.2",
"gts": "2.0.2",

@@ -70,16 +71,18 @@ "istanbul-instrumenter-loader": "3.0.1",

"sinon": "9.0.2",
"ts-loader": "7.0.5",
"ts-loader": "8.0.1",
"ts-mocha": "7.0.0",
"ts-node": "8.10.2",
"typescript": "3.9.5",
"webpack": "4.43.0",
"webpack-cli": "3.3.11",
"webpack-merge": "4.2.2"
"typescript": "3.9.7",
"webpack": "4.44.0",
"webpack-cli": "3.3.12",
"webpack-merge": "5.0.9"
},
"dependencies": {
"@opentelemetry/api": "^0.9.0",
"@opentelemetry/context-base": "^0.9.0",
"@opentelemetry/core": "^0.9.0",
"@opentelemetry/tracing": "^0.9.0"
}
"@opentelemetry/api": "^0.10.0",
"@opentelemetry/context-base": "^0.10.0",
"@opentelemetry/core": "^0.10.0",
"@opentelemetry/semantic-conventions": "^0.10.0",
"@opentelemetry/tracing": "^0.10.0"
},
"gitHead": "ab62a4d69b99b3a8c9c26100c04f3226af7859df"
}
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