@sentry/utils
Advanced tools
Comparing version 5.0.7 to 5.0.8
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { Event, Mechanism } from '@sentry/types'; | ||
@@ -16,3 +15,3 @@ /** Internal */ | ||
*/ | ||
export declare function dynamicRequire(mod: NodeModule, request: string): any; | ||
export declare function dynamicRequire(mod: any, request: string): any; | ||
/** | ||
@@ -19,0 +18,0 @@ * Checks whether we're in the Node.js or Browser environment |
@@ -9,2 +9,3 @@ "use strict"; | ||
function dynamicRequire(mod, request) { | ||
// tslint:disable-next-line: no-unsafe-any | ||
return mod.require(request); | ||
@@ -11,0 +12,0 @@ } |
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import { Event, Mechanism } from '@sentry/types'; | ||
@@ -16,3 +15,3 @@ /** Internal */ | ||
*/ | ||
export declare function dynamicRequire(mod: NodeModule, request: string): any; | ||
export declare function dynamicRequire(mod: any, request: string): any; | ||
/** | ||
@@ -19,0 +18,0 @@ * Checks whether we're in the Node.js or Browser environment |
@@ -7,2 +7,3 @@ /** | ||
export function dynamicRequire(mod, request) { | ||
// tslint:disable-next-line: no-unsafe-any | ||
return mod.require(request); | ||
@@ -9,0 +10,0 @@ } |
{ | ||
"name": "@sentry/utils", | ||
"version": "5.0.7", | ||
"version": "5.0.8", | ||
"description": "Utilities for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
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
260204