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.22 to 0.2.23

15

dist/mwa-logger/cjs/index.js

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

let id = 1;
let messages = [];

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

type: 'http',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'http',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'debug',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'portals',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'portals',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'webVitals',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'wsod',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

@@ -78,0 +77,0 @@ text: 'WSOD',

import { Metric as WebVitalsMetric } from 'web-vitals';
type BaseMessage = {
id: number;
id: string;
dateTime: Date;

@@ -5,0 +5,0 @@ type: 'http' | 'portals' | 'debug' | 'webVitals' | 'wsod';

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

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

type: 'http',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'http',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'debug',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'portals',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'portals',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'webVitals',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

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

type: 'wsod',
id: id + 1,
id: Math.random().toString(16).slice(2),
dateTime: new Date(),

@@ -75,0 +74,0 @@ text: 'WSOD',

import { Metric as WebVitalsMetric } from 'web-vitals';
type BaseMessage = {
id: number;
id: string;
dateTime: Date;

@@ -5,0 +5,0 @@ type: 'http' | 'portals' | 'debug' | 'webVitals' | 'wsod';

@@ -5,3 +5,3 @@ import { Metric } from 'web-vitals';

type BaseMessage = {
id: number;
id: string;
dateTime: Date;

@@ -8,0 +8,0 @@ type: 'http' | 'portals' | 'debug' | 'webVitals' | 'wsod';

{
"name": "@egym/mwa-logger",
"version": "0.2.22",
"version": "0.2.23",
"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