Socket
Socket
Sign inDemoInstall

@sentry/utils

Package Overview
Dependencies
Maintainers
9
Versions
499
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/utils - npm Package Compare versions

Comparing version 5.0.7 to 5.0.8

3

dist/misc.d.ts

@@ -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

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