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

@superset-ui/core

Package Overview
Dependencies
Maintainers
14
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superset-ui/core - npm Package Compare versions

Comparing version 0.14.20 to 0.14.21

23

esm/utils/logging.js

@@ -24,18 +24,19 @@ "use strict";

*/
const logger = window.console || {
debug() {},
const console = window.console || {};
log() {},
const log = console.log || (() => {});
info() {},
warn() {},
error() {},
trace() {}
const logger = {
log,
debug: console.debug || log,
info: console.info || log,
warn: console.warn || log,
error: console.error || log,
trace: console.trace || log,
table: console.table || log
};
/**
* Superset frontend logger, currently just an alias to console.
* This may be extended to support numerous console operations safely
* i.e.: https://developer.mozilla.org/en-US/docs/Web/API/Console
*/

@@ -42,0 +43,0 @@

@@ -19,7 +19,38 @@ /**

*/
declare const logger: Console;
declare const logger: {
log: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
debug: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
info: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
warn: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
error: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
trace: {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
};
table: {
(tabularData?: any, properties?: string[] | undefined): void;
(tabularData: any, properties?: string[] | undefined): void;
};
};
/**
* Superset frontend logger, currently just an alias to console.
* This may be extended to support numerous console operations safely
* i.e.: https://developer.mozilla.org/en-US/docs/Web/API/Console
*/
export default logger;
//# sourceMappingURL=logging.d.ts.map

@@ -24,18 +24,19 @@ "use strict";

*/
const logger = window.console || {
debug() {},
const console = window.console || {};
log() {},
const log = console.log || (() => {});
info() {},
warn() {},
error() {},
trace() {}
const logger = {
log,
debug: console.debug || log,
info: console.info || log,
warn: console.warn || log,
error: console.error || log,
trace: console.trace || log,
table: console.table || log
};
/**
* Superset frontend logger, currently just an alias to console.
* This may be extended to support numerous console operations safely
* i.e.: https://developer.mozilla.org/en-US/docs/Web/API/Console
*/

@@ -42,0 +43,0 @@

{
"name": "@superset-ui/core",
"version": "0.14.20",
"version": "0.14.21",
"description": "Superset UI core",

@@ -35,3 +35,3 @@ "sideEffects": false,

},
"gitHead": "59f81e6c9ddee2a1a039b95b22954dca963db608"
"gitHead": "b952584fc6f52aba65c86af878c07bb6f43ee303"
}

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