New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@exceptionless/node

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exceptionless/node - npm Package Compare versions

Comparing version 2.0.0-beta2 to 2.0.0-beta3

4

dist/NodeExceptionlessClient.js

@@ -13,3 +13,3 @@ import { DefaultSubmissionClient, ExceptionlessClient, LocalStorage, SimpleErrorPlugin } from "@exceptionless/core";

const config = this.config;
if (configurationOrApiKey) {
if (configurationOrApiKey && !this._initialized) {
if (!(globalThis === null || globalThis === void 0 ? void 0 : globalThis.localStorage)) {

@@ -33,3 +33,3 @@ const storage = new LocalStorage(undefined, new LocalStoragePolyfill(process.cwd() + '/.exceptionless'));

await super.startup(configurationOrApiKey);
if (configurationOrApiKey) {
if (configurationOrApiKey && !this._initialized) {
config.removePlugin(new SimpleErrorPlugin());

@@ -36,0 +36,0 @@ }

@@ -1,2 +0,3 @@

export declare class NodeDirectoryStorage {
import { IStorage } from "@exceptionless/core";
export declare class NodeDirectoryStorage implements IStorage {
private directory;

@@ -3,0 +4,0 @@ constructor(directory?: string);

{
"name": "@exceptionless/node",
"version": "2.0.0-beta2",
"version": "2.0.0-beta3",
"description": "JavaScript client for Exceptionless",

@@ -67,3 +67,3 @@ "author": {

"dependencies": {
"@exceptionless/core": "2.0.0-beta2",
"@exceptionless/core": "2.0.0-beta3",
"node-fetch": "^3.0.0-beta.9",

@@ -70,0 +70,0 @@ "node-localstorage": "^2.2.1",

@@ -23,3 +23,3 @@ import {

if (configurationOrApiKey) {
if (configurationOrApiKey && !this._initialized) {
if (!globalThis?.localStorage) {

@@ -47,3 +47,3 @@ const storage = new LocalStorage(undefined, new LocalStoragePolyfill(process.cwd() + '/.exceptionless'));

if (configurationOrApiKey) {
if (configurationOrApiKey && !this._initialized) {
config.removePlugin(new SimpleErrorPlugin());

@@ -50,0 +50,0 @@ }

@@ -0,1 +1,5 @@

import {
IStorage
} from "@exceptionless/core";
import { mkdirSync } from "fs";

@@ -6,3 +10,3 @@ import { readdir, readFile, unlink, writeFile } from "fs/promises";

export class NodeDirectoryStorage {
export class NodeDirectoryStorage implements IStorage {
private directory: string;

@@ -9,0 +13,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 not supported yet

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