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

@egym/mwa-logger

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@egym/mwa-logger - npm Package Compare versions

Comparing version 0.2.20 to 0.2.22

17

dist/mwa-logger/cjs/index.js

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

let id = 1;
let messages = [];

@@ -18,3 +19,3 @@ let listeners = [];

type: 'http',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -29,3 +30,3 @@ method,

type: 'http',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -40,3 +41,3 @@ method,

type: 'debug',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -48,3 +49,3 @@ text,

type: 'portals',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -57,3 +58,3 @@ text: topic,

type: 'portals',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -66,3 +67,3 @@ text: topic,

type: 'webVitals',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -74,3 +75,3 @@ text: metric.name,

type: 'wsod',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -287,3 +288,3 @@ text: 'WSOD',

return (React.createElement("div", { style: wrapperStyle }, (Array.isArray(data) || typeof data === 'object')
? (React.createElement("pre", { style: Object.assign({ fontFamily: 'HelveticaNeue' }, preStyle) }, JSON.stringify(data, null, 2))) : data));
? (React.createElement("pre", { style: Object.assign({ fontFamily: 'HelveticaNeue' }, preStyle) }, JSON.stringify(data, null, 2))) : String(data)));
};

@@ -290,0 +291,0 @@

import React, { useState, useCallback, useMemo, useSyncExternalStore, useEffect } from 'react';
let id = 1;
let messages = [];

@@ -15,3 +16,3 @@ let listeners = [];

type: 'http',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -26,3 +27,3 @@ method,

type: 'http',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -37,3 +38,3 @@ method,

type: 'debug',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -45,3 +46,3 @@ text,

type: 'portals',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -54,3 +55,3 @@ text: topic,

type: 'portals',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -63,3 +64,3 @@ text: topic,

type: 'webVitals',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -71,3 +72,3 @@ text: metric.name,

type: 'wsod',
id: Date.now(),
id: id + 1,
dateTime: new Date(),

@@ -284,3 +285,3 @@ text: 'WSOD',

return (React.createElement("div", { style: wrapperStyle }, (Array.isArray(data) || typeof data === 'object')
? (React.createElement("pre", { style: Object.assign({ fontFamily: 'HelveticaNeue' }, preStyle) }, JSON.stringify(data, null, 2))) : data));
? (React.createElement("pre", { style: Object.assign({ fontFamily: 'HelveticaNeue' }, preStyle) }, JSON.stringify(data, null, 2))) : String(data)));
};

@@ -287,0 +288,0 @@

{
"name": "@egym/mwa-logger",
"version": "0.2.20",
"version": "0.2.22",
"description": "",

@@ -5,0 +5,0 @@ "author": "EGYM",

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