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

@melloware/react-logviewer

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@melloware/react-logviewer - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

dist/cjs/components/index.d.ts

4

dist/cjs/types/components/LazyLog/index.d.ts

@@ -250,2 +250,6 @@ import { List } from "immutable";

/**
* Minimum number of characters to trigger a search. Defaults to 2.
*/
searchMinCharacters?: number;
/**
* Make the text selectable, allowing to copy & paste. Defaults to `false`.

@@ -252,0 +256,0 @@ */

2

dist/cjs/types/components/LinePart/index.d.ts

@@ -10,3 +10,3 @@ import React, { CSSProperties, Component, ReactNode } from "react";

link?: boolean;
text: string;
text?: string;
wrapLine?: boolean;

@@ -13,0 +13,0 @@ [key: string]: any;

@@ -67,2 +67,6 @@ import React, { Component, RefObject } from "react";

resultsCount?: number | undefined;
/**
* Minimum number of characters to trigger a search. Defaults to 2.
*/
searchMinCharacters?: number;
}

@@ -74,10 +78,11 @@ type SearchBarState = {

static defaultProps: {
onSearch: () => void;
currentResultsPosition: number;
disabled: boolean;
enableHotKeys: boolean;
filterActive: boolean;
onClearSearch: () => void;
onFilterLinesWithMatches: () => void;
onSearch: () => void;
resultsCount: number;
filterActive: boolean;
disabled: boolean;
enableHotKeys: boolean;
currentResultsPosition: number;
searchMinCharacters: number;
};

@@ -84,0 +89,0 @@ state: SearchBarState;

@@ -6,3 +6,2 @@ import { List } from "immutable";

export declare const SEARCH_BAR_HEIGHT = 45;
export declare const SEARCH_MIN_KEYWORDS = 2;
export declare const isNewline: (current: number) => boolean;

@@ -9,0 +8,0 @@ export declare const getScrollIndex: ({ follow, scrollToLine, previousCount, count, offset, }: {

@@ -250,2 +250,6 @@ import { List } from "immutable";

/**
* Minimum number of characters to trigger a search. Defaults to 2.
*/
searchMinCharacters?: number;
/**
* Make the text selectable, allowing to copy & paste. Defaults to `false`.

@@ -252,0 +256,0 @@ */

@@ -10,3 +10,3 @@ import React, { CSSProperties, Component, ReactNode } from "react";

link?: boolean;
text: string;
text?: string;
wrapLine?: boolean;

@@ -13,0 +13,0 @@ [key: string]: any;

@@ -67,2 +67,6 @@ import React, { Component, RefObject } from "react";

resultsCount?: number | undefined;
/**
* Minimum number of characters to trigger a search. Defaults to 2.
*/
searchMinCharacters?: number;
}

@@ -74,10 +78,11 @@ type SearchBarState = {

static defaultProps: {
onSearch: () => void;
currentResultsPosition: number;
disabled: boolean;
enableHotKeys: boolean;
filterActive: boolean;
onClearSearch: () => void;
onFilterLinesWithMatches: () => void;
onSearch: () => void;
resultsCount: number;
filterActive: boolean;
disabled: boolean;
enableHotKeys: boolean;
currentResultsPosition: number;
searchMinCharacters: number;
};

@@ -84,0 +89,0 @@ state: SearchBarState;

@@ -6,3 +6,2 @@ import { List } from "immutable";

export declare const SEARCH_BAR_HEIGHT = 45;
export declare const SEARCH_MIN_KEYWORDS = 2;
export declare const isNewline: (current: number) => boolean;

@@ -9,0 +8,0 @@ export declare const getScrollIndex: ({ follow, scrollToLine, previousCount, count, offset, }: {

@@ -72,2 +72,6 @@ import * as mitt from 'mitt';

resultsCount?: number | undefined;
/**
* Minimum number of characters to trigger a search. Defaults to 2.
*/
searchMinCharacters?: number;
}

@@ -79,10 +83,11 @@ type SearchBarState = {

static defaultProps: {
onSearch: () => void;
currentResultsPosition: number;
disabled: boolean;
enableHotKeys: boolean;
filterActive: boolean;
onClearSearch: () => void;
onFilterLinesWithMatches: () => void;
onSearch: () => void;
resultsCount: number;
filterActive: boolean;
disabled: boolean;
enableHotKeys: boolean;
currentResultsPosition: number;
searchMinCharacters: number;
};

@@ -347,2 +352,6 @@ state: SearchBarState;

/**
* Minimum number of characters to trigger a search. Defaults to 2.
*/
searchMinCharacters?: number;
/**
* Make the text selectable, allowing to copy & paste. Defaults to `false`.

@@ -625,3 +634,3 @@ */

link?: boolean;
text: string;
text?: string;
wrapLine?: boolean;

@@ -628,0 +637,0 @@ [key: string]: any;

{
"name": "@melloware/react-logviewer",
"version": "6.0.1",
"version": "6.0.2",
"description": "React Lazy LogViewer",

@@ -68,11 +68,11 @@ "keywords": [

"eslint-plugin-storybook": "^0.11.0",
"msw": "^2.6.3",
"msw": "^2.6.4",
"msw-storybook-addon": "^2.0.4",
"prop-types": "^15.8.1",
"rimraf": "^6.0.1",
"rollup": "2.79.1",
"rollup": "^2.79.2",
"rollup-plugin-dts": "4.2.3",
"rollup-plugin-postcss": "^4.0.2",
"storybook": "^8.4.2",
"vite": "^5.4.10"
"vite": "^5.4.11"
},

@@ -79,0 +79,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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