Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@deephaven/log

Package Overview
Dependencies
Maintainers
4
Versions
783
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deephaven/log - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1-dashboards.0

1

dist/LogProxy.d.ts

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

import 'custom-event-polyfill';
export declare enum LOG_PROXY_TYPE {

@@ -2,0 +3,0 @@ DEBUG = "D",

19

dist/LogProxy.js
/* eslint-disable no-console */
// eslint-disable-next-line max-classes-per-file
import { EventTarget } from 'event-target-shim';
import 'custom-event-polyfill';
import Log from './Log';

@@ -12,2 +14,7 @@ export var LOG_PROXY_TYPE;

})(LOG_PROXY_TYPE || (LOG_PROXY_TYPE = {}));
function makeEvent(type, detail) {
return new CustomEvent(type, {
detail: detail,
});
}
var LogProxy = /** @class */ (function () {

@@ -25,5 +32,3 @@ function LogProxy() {

}
_this.eventTarget.dispatchEvent(new CustomEvent(LOG_PROXY_TYPE.UNCAUGHT_ERROR, {
detail: messages,
}));
_this.eventTarget.dispatchEvent(makeEvent(LOG_PROXY_TYPE.UNCAUGHT_ERROR, messages));
};

@@ -46,3 +51,3 @@ this.debug = console.debug;

}
_this.eventTarget.dispatchEvent(new CustomEvent(LOG_PROXY_TYPE.DEBUG, { detail: args }));
_this.eventTarget.dispatchEvent(makeEvent(LOG_PROXY_TYPE.DEBUG, args));
_this.debug.apply(console, args);

@@ -55,3 +60,3 @@ };

}
_this.eventTarget.dispatchEvent(new CustomEvent(LOG_PROXY_TYPE.LOG, { detail: args }));
_this.eventTarget.dispatchEvent(makeEvent(LOG_PROXY_TYPE.LOG, args));
_this.log.apply(console, args);

@@ -64,3 +69,3 @@ };

}
_this.eventTarget.dispatchEvent(new CustomEvent(LOG_PROXY_TYPE.WARN, { detail: args }));
_this.eventTarget.dispatchEvent(makeEvent(LOG_PROXY_TYPE.WARN, args));
_this.warn.apply(console, args);

@@ -73,3 +78,3 @@ };

}
_this.eventTarget.dispatchEvent(new CustomEvent(LOG_PROXY_TYPE.ERROR, { detail: args }));
_this.eventTarget.dispatchEvent(makeEvent(LOG_PROXY_TYPE.ERROR, args));
_this.error.apply(console, args);

@@ -76,0 +81,0 @@ };

{
"name": "@deephaven/log",
"version": "0.4.0",
"version": "0.4.1-dashboards.0+68167cf",
"description": "Deephaven Logger",

@@ -54,5 +54,6 @@ "author": "Deephaven Data Labs LLC",

"dependencies": {
"custom-event-polyfill": "^1.0.7",
"event-target-shim": "^6.0.2"
},
"gitHead": "9b983b76cc5bd3785efd737d36c4c0b301734868"
"gitHead": "68167cf5a99251f03d70da0b6f410066c4e5a2eb"
}

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