@sentry/utils
Advanced tools
Comparing version 8.30.0 to 8.31.0
@@ -76,3 +76,4 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
value == null || // this matches null and undefined -> eqeq not eqeqeq | ||
(['number', 'boolean', 'string'].includes(typeof value) && !Number.isNaN(value)) | ||
['boolean', 'string'].includes(typeof value) || | ||
(typeof value === 'number' && Number.isFinite(value)) | ||
) { | ||
@@ -216,4 +217,4 @@ return value ; | ||
if (typeof value === 'number' && value !== value) { | ||
return '[NaN]'; | ||
if (typeof value === 'number' && !Number.isFinite(value)) { | ||
return `[${value}]`; | ||
} | ||
@@ -220,0 +221,0 @@ |
Object.defineProperty(exports, '__esModule', { value: true }); | ||
const SDK_VERSION = '8.30.0'; | ||
const SDK_VERSION = '8.31.0'; | ||
exports.SDK_VERSION = SDK_VERSION; | ||
//# sourceMappingURL=version.js.map |
@@ -74,3 +74,4 @@ import { isVueViewModel, isSyntheticEvent } from './is.js'; | ||
value == null || // this matches null and undefined -> eqeq not eqeqeq | ||
(['number', 'boolean', 'string'].includes(typeof value) && !Number.isNaN(value)) | ||
['boolean', 'string'].includes(typeof value) || | ||
(typeof value === 'number' && Number.isFinite(value)) | ||
) { | ||
@@ -214,4 +215,4 @@ return value ; | ||
if (typeof value === 'number' && value !== value) { | ||
return '[NaN]'; | ||
if (typeof value === 'number' && !Number.isFinite(value)) { | ||
return `[${value}]`; | ||
} | ||
@@ -218,0 +219,0 @@ |
@@ -1,4 +0,4 @@ | ||
const SDK_VERSION = '8.30.0'; | ||
const SDK_VERSION = '8.31.0'; | ||
export { SDK_VERSION }; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const SDK_VERSION = "8.30.0"; | ||
export declare const SDK_VERSION = "8.31.0"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export declare const SDK_VERSION = "8.30.0"; | ||
export declare const SDK_VERSION = "8.31.0"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "@sentry/utils", | ||
"version": "8.30.0", | ||
"version": "8.31.0", | ||
"description": "Utilities for all Sentry JavaScript SDKs", | ||
@@ -42,3 +42,3 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/types": "8.30.0" | ||
"@sentry/types": "8.31.0" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
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
1187841
13026
+ Added@sentry/types@8.31.0(transitive)
- Removed@sentry/types@8.30.0(transitive)
Updated@sentry/types@8.31.0