@sentry/utils
Advanced tools
Comparing version 8.0.0-alpha.4 to 8.0.0-alpha.5
@@ -1,1 +0,1 @@ | ||
{ "type": "module" } | ||
{"type":"module","sideEffects":false} |
{ | ||
"name": "@sentry/utils", | ||
"version": "8.0.0-alpha.4", | ||
"version": "8.0.0-alpha.5", | ||
"description": "Utilities for all Sentry JavaScript SDKs", | ||
@@ -45,3 +45,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/types": "8.0.0-alpha.4" | ||
"@sentry/types": "8.0.0-alpha.5" | ||
}, | ||
@@ -48,0 +48,0 @@ "devDependencies": { |
@@ -32,3 +32,2 @@ export * from './aggregate-errors'; | ||
export * from './url'; | ||
export * from './userIntegrations'; | ||
export * from './cache'; | ||
@@ -35,0 +34,0 @@ export * from './eventbuilder'; |
@@ -1,6 +0,1 @@ | ||
import { Primitive } from '@sentry/types'; | ||
import { MemoFunc } from './memo'; | ||
type ObjOrArray<T> = { | ||
[key: string]: T; | ||
}; | ||
/** | ||
@@ -31,16 +26,2 @@ * Recursively normalizes the given object. | ||
/** | ||
* Visits a node to perform normalization on it | ||
* | ||
* @param key The key corresponding to the given node | ||
* @param value The node to be visited | ||
* @param depth Optional number indicating the maximum recursion depth | ||
* @param maxProperties Optional maximum number of properties/elements included in any single object/array | ||
* @param memo Optional Memo class handling decycling | ||
*/ | ||
declare function visit(key: string, value: unknown, depth?: number, maxProperties?: number, memo?: MemoFunc): Primitive | ObjOrArray<unknown>; | ||
/** | ||
* @deprecated This export will be removed in v8. | ||
*/ | ||
export { visit as walk }; | ||
/** | ||
* Normalizes URLs in exceptions and stacktraces to a base path so Sentry can fingerprint | ||
@@ -47,0 +28,0 @@ * across platforms and working directory. |
@@ -18,9 +18,2 @@ /** | ||
/** | ||
* Re-exported with an old name for backwards-compatibility. | ||
* TODO (v8): Remove this | ||
* | ||
* @deprecated Use `timestampInSeconds` instead. | ||
*/ | ||
export declare const timestampWithMs: () => number; | ||
/** | ||
* Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only. | ||
@@ -27,0 +20,0 @@ */ |
import { PropagationContext, TraceparentData } from '@sentry/types'; | ||
import { baggageHeaderToDynamicSamplingContext } from './baggage'; | ||
export declare const TRACEPARENT_REGEXP: RegExp; | ||
@@ -13,12 +12,2 @@ /** | ||
/** | ||
* Create tracing context from incoming headers. | ||
* | ||
* @deprecated Use `propagationContextFromHeaders` instead. | ||
*/ | ||
export declare function tracingContextFromHeaders(sentryTrace: Parameters<typeof extractTraceparentData>[0], baggage: Parameters<typeof baggageHeaderToDynamicSamplingContext>[0]): { | ||
traceparentData: ReturnType<typeof extractTraceparentData>; | ||
dynamicSamplingContext: ReturnType<typeof baggageHeaderToDynamicSamplingContext>; | ||
propagationContext: PropagationContext; | ||
}; | ||
/** | ||
* Create a propagation context from incoming headers. | ||
@@ -25,0 +14,0 @@ */ |
@@ -32,3 +32,2 @@ export * from './aggregate-errors'; | ||
export * from './url'; | ||
export * from './userIntegrations'; | ||
export * from './cache'; | ||
@@ -35,0 +34,0 @@ export * from './eventbuilder'; |
@@ -1,6 +0,1 @@ | ||
import type { Primitive } from '@sentry/types'; | ||
import type { MemoFunc } from './memo'; | ||
type ObjOrArray<T> = { | ||
[key: string]: T; | ||
}; | ||
/** | ||
@@ -31,16 +26,2 @@ * Recursively normalizes the given object. | ||
/** | ||
* Visits a node to perform normalization on it | ||
* | ||
* @param key The key corresponding to the given node | ||
* @param value The node to be visited | ||
* @param depth Optional number indicating the maximum recursion depth | ||
* @param maxProperties Optional maximum number of properties/elements included in any single object/array | ||
* @param memo Optional Memo class handling decycling | ||
*/ | ||
declare function visit(key: string, value: unknown, depth?: number, maxProperties?: number, memo?: MemoFunc): Primitive | ObjOrArray<unknown>; | ||
/** | ||
* @deprecated This export will be removed in v8. | ||
*/ | ||
export { visit as walk }; | ||
/** | ||
* Normalizes URLs in exceptions and stacktraces to a base path so Sentry can fingerprint | ||
@@ -47,0 +28,0 @@ * across platforms and working directory. |
@@ -18,9 +18,2 @@ /** | ||
/** | ||
* Re-exported with an old name for backwards-compatibility. | ||
* TODO (v8): Remove this | ||
* | ||
* @deprecated Use `timestampInSeconds` instead. | ||
*/ | ||
export declare const timestampWithMs: () => number; | ||
/** | ||
* Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only. | ||
@@ -27,0 +20,0 @@ */ |
import type { PropagationContext, TraceparentData } from '@sentry/types'; | ||
import { baggageHeaderToDynamicSamplingContext } from './baggage'; | ||
export declare const TRACEPARENT_REGEXP: RegExp; | ||
@@ -13,12 +12,2 @@ /** | ||
/** | ||
* Create tracing context from incoming headers. | ||
* | ||
* @deprecated Use `propagationContextFromHeaders` instead. | ||
*/ | ||
export declare function tracingContextFromHeaders(sentryTrace: Parameters<typeof extractTraceparentData>[0], baggage: Parameters<typeof baggageHeaderToDynamicSamplingContext>[0]): { | ||
traceparentData: ReturnType<typeof extractTraceparentData>; | ||
dynamicSamplingContext: ReturnType<typeof baggageHeaderToDynamicSamplingContext>; | ||
propagationContext: PropagationContext; | ||
}; | ||
/** | ||
* Create a propagation context from incoming headers. | ||
@@ -25,0 +14,0 @@ */ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
1176876
178
12638
+ Added@sentry/types@8.0.0-alpha.5(transitive)
- Removed@sentry/types@8.0.0-alpha.4(transitive)
Updated@sentry/types@8.0.0-alpha.5