@opentelemetry/sdk-trace-web
Advanced tools
Comparing version 1.24.1 to 1.25.0
@@ -18,3 +18,3 @@ /* | ||
import { hrTimeToNanoseconds, timeInputToHrTime, urlMatches, } from '@opentelemetry/core'; | ||
import { SemanticAttributes } from '@opentelemetry/semantic-conventions'; | ||
import { SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH, SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, } from '@opentelemetry/semantic-conventions'; | ||
// Used to normalize relative URLs | ||
@@ -83,3 +83,3 @@ var urlNormalizingAnchor; | ||
if (encodedLength !== undefined) { | ||
span.setAttribute(SemanticAttributes.HTTP_RESPONSE_CONTENT_LENGTH, encodedLength); | ||
span.setAttribute(SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH, encodedLength); | ||
} | ||
@@ -89,3 +89,3 @@ var decodedLength = resource[PTN.DECODED_BODY_SIZE]; | ||
if (decodedLength !== undefined && encodedLength !== decodedLength) { | ||
span.setAttribute(SemanticAttributes.HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, decodedLength); | ||
span.setAttribute(SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, decodedLength); | ||
} | ||
@@ -92,0 +92,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.24.1"; | ||
export declare const VERSION = "1.25.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export var VERSION = '1.24.1'; | ||
export var VERSION = '1.25.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -18,3 +18,3 @@ /* | ||
import { hrTimeToNanoseconds, timeInputToHrTime, urlMatches, } from '@opentelemetry/core'; | ||
import { SemanticAttributes } from '@opentelemetry/semantic-conventions'; | ||
import { SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH, SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, } from '@opentelemetry/semantic-conventions'; | ||
// Used to normalize relative URLs | ||
@@ -83,3 +83,3 @@ let urlNormalizingAnchor; | ||
if (encodedLength !== undefined) { | ||
span.setAttribute(SemanticAttributes.HTTP_RESPONSE_CONTENT_LENGTH, encodedLength); | ||
span.setAttribute(SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH, encodedLength); | ||
} | ||
@@ -89,3 +89,3 @@ const decodedLength = resource[PTN.DECODED_BODY_SIZE]; | ||
if (decodedLength !== undefined && encodedLength !== decodedLength) { | ||
span.setAttribute(SemanticAttributes.HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, decodedLength); | ||
span.setAttribute(SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, decodedLength); | ||
} | ||
@@ -92,0 +92,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.24.1"; | ||
export declare const VERSION = "1.25.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -17,3 +17,3 @@ /* | ||
// this is autogenerated file, see scripts/version-update.js | ||
export const VERSION = '1.24.1'; | ||
export const VERSION = '1.25.0'; | ||
//# sourceMappingURL=version.js.map |
@@ -87,3 +87,3 @@ "use strict"; | ||
if (encodedLength !== undefined) { | ||
span.setAttribute(semantic_conventions_1.SemanticAttributes.HTTP_RESPONSE_CONTENT_LENGTH, encodedLength); | ||
span.setAttribute(semantic_conventions_1.SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH, encodedLength); | ||
} | ||
@@ -93,3 +93,3 @@ const decodedLength = resource[PerformanceTimingNames_1.PerformanceTimingNames.DECODED_BODY_SIZE]; | ||
if (decodedLength !== undefined && encodedLength !== decodedLength) { | ||
span.setAttribute(semantic_conventions_1.SemanticAttributes.HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, decodedLength); | ||
span.setAttribute(semantic_conventions_1.SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED, decodedLength); | ||
} | ||
@@ -96,0 +96,0 @@ } |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "1.24.1"; | ||
export declare const VERSION = "1.25.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -20,3 +20,3 @@ "use strict"; | ||
// this is autogenerated file, see scripts/version-update.js | ||
exports.VERSION = '1.24.1'; | ||
exports.VERSION = '1.25.0'; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@opentelemetry/sdk-trace-web", | ||
"version": "1.24.1", | ||
"version": "1.25.0", | ||
"description": "OpenTelemetry Web Tracer", | ||
@@ -25,3 +25,4 @@ "main": "build/src/index.js", | ||
"prewatch": "npm run precompile", | ||
"peer-api-check": "node ../../scripts/peer-api-check.js" | ||
"peer-api-check": "node ../../scripts/peer-api-check.js", | ||
"align-api-deps": "node ../../scripts/align-api-deps.js" | ||
}, | ||
@@ -59,12 +60,12 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/core": "7.23.6", | ||
"@babel/preset-env": "7.22.20", | ||
"@opentelemetry/api": ">=1.0.0 <1.9.0", | ||
"@opentelemetry/context-zone": "1.24.1", | ||
"@opentelemetry/propagator-b3": "1.24.1", | ||
"@opentelemetry/resources": "1.24.1", | ||
"@types/jquery": "3.5.29", | ||
"@babel/core": "7.24.6", | ||
"@babel/preset-env": "7.24.6", | ||
"@opentelemetry/api": ">=1.0.0 <1.10.0", | ||
"@opentelemetry/context-zone": "1.25.0", | ||
"@opentelemetry/propagator-b3": "1.25.0", | ||
"@opentelemetry/resources": "1.25.0", | ||
"@types/jquery": "3.5.30", | ||
"@types/mocha": "10.0.6", | ||
"@types/node": "18.6.5", | ||
"@types/sinon": "10.0.20", | ||
"@types/sinon": "17.0.3", | ||
"@types/webpack-env": "1.16.3", | ||
@@ -75,3 +76,3 @@ "babel-loader": "8.3.0", | ||
"cross-var": "1.1.0", | ||
"karma": "6.4.2", | ||
"karma": "6.4.3", | ||
"karma-chrome-launcher": "3.1.0", | ||
@@ -83,3 +84,3 @@ "karma-coverage": "2.2.1", | ||
"karma-spec-reporter": "0.0.36", | ||
"karma-webpack": "4.0.2", | ||
"karma-webpack": "5.0.1", | ||
"lerna": "6.6.2", | ||
@@ -89,3 +90,3 @@ "mocha": "10.2.0", | ||
"sinon": "15.1.2", | ||
"ts-loader": "8.4.0", | ||
"ts-loader": "9.5.1", | ||
"ts-mocha": "10.0.0", | ||
@@ -98,12 +99,12 @@ "typescript": "4.4.4", | ||
"peerDependencies": { | ||
"@opentelemetry/api": ">=1.0.0 <1.9.0" | ||
"@opentelemetry/api": ">=1.0.0 <1.10.0" | ||
}, | ||
"dependencies": { | ||
"@opentelemetry/core": "1.24.1", | ||
"@opentelemetry/sdk-trace-base": "1.24.1", | ||
"@opentelemetry/semantic-conventions": "1.24.1" | ||
"@opentelemetry/core": "1.25.0", | ||
"@opentelemetry/sdk-trace-base": "1.25.0", | ||
"@opentelemetry/semantic-conventions": "1.25.0" | ||
}, | ||
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-web", | ||
"sideEffects": false, | ||
"gitHead": "41c2626fe0ed03e2e83bd79ee43c9bdf0ffd80d8" | ||
"gitHead": "c4d3351b6b3f5593c8d7cbfec97b45cea9fe1511" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
231383
+ Added@opentelemetry/api@1.9.0(transitive)
+ Added@opentelemetry/core@1.25.0(transitive)
+ Added@opentelemetry/resources@1.25.0(transitive)
+ Added@opentelemetry/sdk-trace-base@1.25.0(transitive)
+ Added@opentelemetry/semantic-conventions@1.25.0(transitive)
- Removed@opentelemetry/api@1.8.0(transitive)
- Removed@opentelemetry/core@1.24.1(transitive)
- Removed@opentelemetry/resources@1.24.1(transitive)
- Removed@opentelemetry/sdk-trace-base@1.24.1(transitive)
- Removed@opentelemetry/semantic-conventions@1.24.1(transitive)
Updated@opentelemetry/core@1.25.0