Skip to content

Commit

Permalink
build: Update versions of some dependencies with vulnerabilities (#1079)
Browse files Browse the repository at this point in the history
- The only vulnerability left is in jszip, which we still have pinned
  • Loading branch information
mofojed authored Feb 28, 2023
1 parent 3900a2e commit 4ed5787
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 46 deletions.
2 changes: 1 addition & 1 deletion jest.config.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
'.(ts|tsx|js|jsx)': ['babel-jest', { rootMode: 'upward' }],
},
// Makes jest transform monaco, but continue ignoring other node_modules. Used for MonacoUtils test
transformIgnorePatterns: ['node_modules/(?!(monaco-editor)/)'],
transformIgnorePatterns: ['node_modules/(?!(monaco-editor|d3-interpolate|d3-color)/)'],
moduleNameMapper: {
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': path.join(
Expand Down
104 changes: 64 additions & 40 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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"@types/memoizee": "^0.4.5",
"@types/node": "^16.11.7",
"@types/papaparse": "5.3.2",
"@types/plotly.js": "^2.12.13",
"@types/plotly.js": "^2.12.18",
"@types/pouchdb-browser": "^6.1.3",
"@types/prop-types": "^15.7.3",
"@types/react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/chart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"lodash.set": "^4.3.2",
"memoize-one": "^5.1.1",
"memoizee": "^0.4.15",
"plotly.js": "^2.18.0",
"plotly.js": "^2.18.2",
"prop-types": "^15.7.2",
"react-plotly.js": "^2.6.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/chart/src/ChartUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
ErrorBar,
LayoutAxis,
AxisType as PlotlyAxisType,
OhclData,
OhlcData,
MarkerSymbol,
} from 'plotly.js';
import { assertNotNull, Range } from '@deephaven/utils';
Expand Down Expand Up @@ -780,10 +780,10 @@ class ChartUtils {
});
}
} else if (plotStyle === dh.plot.SeriesPlotStyle.OHLC) {
(seriesData as Partial<OhclData>).increasing = {
(seriesData as Partial<OhlcData>).increasing = {
line: { color: theme.ohlc_increasing },
};
(seriesData as Partial<OhclData>).decreasing = {
(seriesData as Partial<OhlcData>).decreasing = {
line: { color: theme.ohlc_decreasing },
};
} else if (plotStyle === dh.plot.SeriesPlotStyle.PIE) {
Expand Down

0 comments on commit 4ed5787

Please sign in to comment.