Grafana UI: Remove re-export of Ansicolor package (#95531)

chore(grafana-ui): remove re-export of ansicolor package
This commit is contained in:
Jack Westbrook 2024-10-29 10:04:33 +01:00 committed by GitHub
parent 97027834a1
commit eae83609b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 4 deletions

View File

@ -67,7 +67,6 @@
"@types/jquery": "3.5.32",
"@types/lodash": "4.17.12",
"@types/react-table": "7.7.20",
"ansicolor": "1.1.100",
"calculate-size": "1.1.1",
"classnames": "2.5.1",
"d3": "7.9.0",

View File

@ -11,7 +11,6 @@ export * from './table';
export * from './measureText';
export * from './useForceUpdate';
export { SearchFunctionType } from './searchFunctions';
export { ansicolor } from 'ansicolor';
export { DOMUtil };

View File

@ -1,3 +1,4 @@
import ansicolor from 'ansicolor';
import { groupBy, size } from 'lodash';
import { from, isObservable, Observable } from 'rxjs';
@ -41,7 +42,7 @@ import {
import { SIPrefix } from '@grafana/data/src/valueFormats/symbolFormatters';
import { config } from '@grafana/runtime';
import { BarAlignment, GraphDrawStyle, StackingMode } from '@grafana/schema';
import { ansicolor, colors } from '@grafana/ui';
import { colors } from '@grafana/ui';
import { getThemeColor } from 'app/core/utils/colors';
import { LogsFrame, parseLogsFrame } from './logsFrame';

View File

@ -4271,7 +4271,6 @@ __metadata:
"@types/slate-react": "npm:0.22.9"
"@types/tinycolor2": "npm:1.4.6"
"@types/uuid": "npm:9.0.8"
ansicolor: "npm:1.1.100"
calculate-size: "npm:1.1.1"
chance: "npm:1.1.12"
classnames: "npm:2.5.1"