Socket
Socket
Sign inDemoInstall

@slack/logger

Package Overview
Dependencies
Maintainers
10
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slack/logger - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

5

dist/index.d.ts

@@ -46,2 +46,6 @@ /**

/**
* Return the current LogLevel.
*/
getLevel(): LogLevel;
/**
* This allows the instance to be named so that they can easily be filtered when many loggers are sending output

@@ -67,2 +71,3 @@ * to the same destination.

constructor();
getLevel(): LogLevel;
/**

@@ -69,0 +74,0 @@ * Sets the instance's log level so that only messages which are equal or more severe are output to the console.

5

dist/index.js

@@ -21,2 +21,5 @@ "use strict";

}
getLevel() {
return this.level;
}
/**

@@ -73,2 +76,3 @@ * Sets the instance's log level so that only messages which are equal or more severe are output to the console.

}
exports.ConsoleLogger = ConsoleLogger;
/** Map of labels for each log level */

@@ -89,3 +93,2 @@ ConsoleLogger.labels = (() => {

};
exports.ConsoleLogger = ConsoleLogger;
//# sourceMappingURL=index.js.map

12

package.json
{
"name": "@slack/logger",
"version": "1.0.0",
"version": "1.1.0",
"description": "Logging utility used by Node Slack SDK",

@@ -33,3 +33,3 @@ "author": "Slack Technologies, Inc.",

"lint": "tslint --project .",
"test": "npm run build && echo \"Tests are not implemented.\" && exit 0"
"test": "npm run build && nyc mocha --config .mocharc.json src/*.spec.js"
},

@@ -40,3 +40,9 @@ "dependencies": {

"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.6",
"chai": "^4.2.0",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"shx": "^0.3.2",
"ts-node": "^8.2.0",
"tslint": "^5.13.1",

@@ -46,3 +52,3 @@ "tslint-config-airbnb": "^5.11.1",

},
"gitHead": "891307eb5f1625f68b72e4c242ba749a7d6cb996"
"gitHead": "8a3f777519718ffb87cbde712f75b8d594255f84"
}

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