Skip to content

Commit

Permalink
fix(react-components): update date-fns dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
corteggiano committed May 20, 2024
1 parent b08b001 commit 1267b65
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
"babel-plugin-formatjs": "10.5.3",
"copyfiles": "^2.4.1",
"cytoscape": "^3.25.0",
"date-fns": "^3.4.0",
"eslint-config-iot-app-kit": "10.4.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"flush-promises": "^1.0.2",
Expand Down Expand Up @@ -125,6 +124,7 @@
"d3-array": "^3.2.3",
"d3-format": "^3.1.0",
"d3-shape": "^3.2.0",
"date-fns": "^3.4.0",
"dompurify": "3.0.5",
"echarts": "^5.4.3",
"is-hotkey": "^0.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import {
import { AnomalyObjectDataSource } from './datasource';
import { AnomalyObjectDataSourceValue, Diagnostic, Diagnostics } from './input';
import { AnomalyData, AnomalyDescription, DiagnosticData } from './output';
import { isAfter } from 'date-fns/isAfter';
import { isBefore } from 'date-fns/isBefore';
import { isAfter, isBefore } from 'date-fns';

/**
* Transformer for AnomalyResult type responses from
Expand Down

0 comments on commit 1267b65

Please sign in to comment.