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

@storybook/client-logger

Package Overview
Dependencies
Maintainers
10
Versions
1942
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/client-logger - npm Package Compare versions

Comparing version 5.1.0-alpha.20 to 5.1.0-alpha.21

dist/index.test.js

85

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var console = global.console;
require("core-js/modules/es6.object.define-property");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.logger = void 0;
var _global = global,
console = _global.console;
/* tslint:disable: no-console */
exports.logger = {
debug: function (message) {
var rest = [];
for (var _i = 1; _i < arguments.length; _i++) {
rest[_i - 1] = arguments[_i];
}
return console.debug.apply(console, [message].concat(rest));
},
log: function (message) {
var rest = [];
for (var _i = 1; _i < arguments.length; _i++) {
rest[_i - 1] = arguments[_i];
}
return console.log.apply(console, [message].concat(rest));
},
info: function (message) {
var rest = [];
for (var _i = 1; _i < arguments.length; _i++) {
rest[_i - 1] = arguments[_i];
}
return console.info.apply(console, [message].concat(rest));
},
warn: function (message) {
var rest = [];
for (var _i = 1; _i < arguments.length; _i++) {
rest[_i - 1] = arguments[_i];
}
return console.warn.apply(console, [message].concat(rest));
},
error: function (message) {
var rest = [];
for (var _i = 1; _i < arguments.length; _i++) {
rest[_i - 1] = arguments[_i];
}
return console.error.apply(console, [message].concat(rest));
},
var logger = {
debug: function debug(message) {
for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
rest[_key - 1] = arguments[_key];
}
return console.debug.apply(console, [message].concat(rest));
},
log: function log(message) {
for (var _len2 = arguments.length, rest = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
rest[_key2 - 1] = arguments[_key2];
}
return console.log.apply(console, [message].concat(rest));
},
info: function info(message) {
for (var _len3 = arguments.length, rest = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
rest[_key3 - 1] = arguments[_key3];
}
return console.info.apply(console, [message].concat(rest));
},
warn: function warn(message) {
for (var _len4 = arguments.length, rest = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
rest[_key4 - 1] = arguments[_key4];
}
return console.warn.apply(console, [message].concat(rest));
},
error: function error(message) {
for (var _len5 = arguments.length, rest = new Array(_len5 > 1 ? _len5 - 1 : 0), _key5 = 1; _key5 < _len5; _key5++) {
rest[_key5 - 1] = arguments[_key5];
}
return console.error.apply(console, [message].concat(rest));
}
};
exports.logger = logger;
{
"name": "@storybook/client-logger",
"version": "5.1.0-alpha.20",
"version": "5.1.0-alpha.21",
"description": "",

@@ -23,9 +23,9 @@ "keywords": [

},
"dependencies": {
"core-js": "^2.6.5"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"core-js": "^2.6.5"
},
"gitHead": "a57917a19ceaafd5f5c42bd47821568f9dc26390"
"gitHead": "99c262545d1c106802ada148883ed371901f971c"
}
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