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

@player-ui/logger

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@player-ui/logger - npm Package Compare versions

Comparing version 0.0.1-next.5 to 0.0.1-next.6

14

dist/index.cjs.js

@@ -5,3 +5,3 @@ 'use strict';

var tapable = require('tapable');
var tapableTs = require('tapable-ts');

@@ -61,8 +61,8 @@ const severities = ["trace", "debug", "info", "warn", "error"];

this.hooks = {
trace: new tapable.SyncHook(["args"]),
debug: new tapable.SyncHook(["args"]),
info: new tapable.SyncHook(["args"]),
warn: new tapable.SyncHook(["args"]),
error: new tapable.SyncHook(["args"]),
log: new tapable.SyncHook(["severity", "args"])
trace: new tapableTs.SyncHook(),
debug: new tapableTs.SyncHook(),
info: new tapableTs.SyncHook(),
warn: new tapableTs.SyncHook(),
error: new tapableTs.SyncHook(),
log: new tapableTs.SyncHook()
};

@@ -69,0 +69,0 @@ this.logHandlers = new Set();

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

import { SyncHook } from 'tapable';
import { SyncHook } from 'tapable-ts';

@@ -37,8 +37,8 @@ declare type LogFn = (...args: Array<any>) => void;

readonly hooks: {
trace: SyncHook<any[], any, any>;
debug: SyncHook<any[], any, any>;
info: SyncHook<any[], any, any>;
warn: SyncHook<any[], any, any>;
error: SyncHook<any[], any, any>;
log: SyncHook<"trace" | "debug" | "info" | "warn" | "error", any[], any>;
trace: SyncHook<[any[]], Record<string, any>>;
debug: SyncHook<[any[]], Record<string, any>>;
info: SyncHook<[any[]], Record<string, any>>;
warn: SyncHook<[any[]], Record<string, any>>;
error: SyncHook<[any[]], Record<string, any>>;
log: SyncHook<["trace" | "debug" | "info" | "warn" | "error", any[]], Record<string, any>>;
};

@@ -45,0 +45,0 @@ private logHandlers;

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

import { SyncHook } from 'tapable';
import { SyncHook } from 'tapable-ts';

@@ -56,8 +56,8 @@ const severities = ["trace", "debug", "info", "warn", "error"];

this.hooks = {
trace: new SyncHook(["args"]),
debug: new SyncHook(["args"]),
info: new SyncHook(["args"]),
warn: new SyncHook(["args"]),
error: new SyncHook(["args"]),
log: new SyncHook(["severity", "args"])
trace: new SyncHook(),
debug: new SyncHook(),
info: new SyncHook(),
warn: new SyncHook(),
error: new SyncHook(),
log: new SyncHook()
};

@@ -64,0 +64,0 @@ this.logHandlers = new Set();

{
"name": "@player-ui/logger",
"version": "0.0.1-next.5",
"version": "0.0.1-next.6",
"private": false,

@@ -10,4 +10,3 @@ "publishConfig": {

"dependencies": {
"@types/tapable": "^1.0.5",
"tapable": "1.1.3",
"tapable-ts": "^0.1.0",
"@babel/runtime": "7.15.4"

@@ -14,0 +13,0 @@ },

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

import { SyncHook } from 'tapable';
import { SyncHook } from 'tapable-ts';
import type { Logger, Severity } from './types';

@@ -7,8 +7,8 @@

public readonly hooks = {
trace: new SyncHook<Array<any>>(['args']),
debug: new SyncHook<Array<any>>(['args']),
info: new SyncHook<Array<any>>(['args']),
warn: new SyncHook<Array<any>>(['args']),
error: new SyncHook<Array<any>>(['args']),
log: new SyncHook<Severity, Array<any>>(['severity', 'args']),
trace: new SyncHook<[Array<any>]>(),
debug: new SyncHook<[Array<any>]>(),
info: new SyncHook<[Array<any>]>(),
warn: new SyncHook<[Array<any>]>(),
error: new SyncHook<[Array<any>]>(),
log: new SyncHook<[Severity, Array<any>]>(),
};

@@ -15,0 +15,0 @@

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