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

nuclide-logging

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuclide-logging - npm Package Compare versions

Comparing version 0.0.10 to 0.0.12

2

lib/config.js

@@ -22,3 +22,3 @@ 'use babel';

module.exports = {
async getDefaultConfig(): Promise<mixed> {
async getDefaultConfig(): Promise<any> {

@@ -25,0 +25,0 @@ if (!logDirectoryInitialized) {

@@ -13,3 +13,3 @@ 'use babel';

function layout(loggingEvent: mixed): Array<mixed> {
function layout(loggingEvent: any): Array<any> {
var eventInfo = util.format(

@@ -37,3 +37,3 @@ '[%s] [%s] %s - ',

*/
function consoleAppender(): (loggingEvent: mixed) => void {
function consoleAppender(): (loggingEvent: any) => void {
return (loggingEvent) => {

@@ -40,0 +40,0 @@ console.log.apply(console, layout(loggingEvent));

@@ -31,3 +31,3 @@ 'use babel';

*/
function configLog4jsLogger(config: mixed, options: mixed): void {
function configLog4jsLogger(config: any, options: any): void {
var log4js = require('log4js');

@@ -41,7 +41,7 @@ log4js.configure(config, options);

// logger taking too much time.
function createLazyLogger(): mixed {
function createLazyLogger(): any {
lazyLogger = {};
LOGGER_LEVELS.forEach((level) => {
lazyLogger[level] = async (...args: Array<mixed>) => {
lazyLogger[level] = async (...args: Array<any>) => {
if (global[LOG4JS_INSTANCE_KEY] === undefined) {

@@ -48,0 +48,0 @@ var defaultConfig = await require('./config').getDefaultConfig();

{
"dependencies": {
"log4js": "0.6.21",
"nuclide-commons": "0.0.10"
"nuclide-commons": "0.0.12"
},

@@ -14,3 +14,3 @@ "description": "Provides logging on both Nuclide client and Nuclide server",

"repository": "https://github.com/facebook/nuclide",
"version": "0.0.10"
"version": "0.0.12"
}
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