Skip to content

Commit

Permalink
chore: version upgrade a few packages (#1123)
Browse files Browse the repository at this point in the history
* chore: version upgrade a few packages

* update snapshots

* downgrade typescript

* update qs ts deps
  • Loading branch information
czgu authored Jan 13, 2023
1 parent 0e52c98 commit 30c21f9
Show file tree
Hide file tree
Showing 38 changed files with 358 additions and 235 deletions.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "querybook",
"version": "3.16.0",
"version": "3.16.1",
"description": "A Big Data Webapp",
"private": true,
"scripts": {
Expand Down Expand Up @@ -38,39 +38,39 @@
"@babel/preset-typescript": "^7.16.0",
"@types/diff": "^5.0.2",
"@welldone-software/why-did-you-render": "^6.1.1",
"axios": "0.21.1",
"axios": "^1.2.2",
"bignumber.js": "^9.0.1",
"chart.js": "^3.9.1",
"chartjs-adapter-moment": "^1.0.0",
"chartjs-plugin-datalabels": "^2.1.0",
"clean-webpack-plugin": "3.0.0",
"clsx": "^1.1.1",
"clsx": "^1.2.1",
"codemirror": "^5.64.0",
"core-decorators": "0.20.0",
"core-js": "^3.19.1",
"cron-parser": "4.6.0",
"cron-parser": "^4.7.0",
"dagre": "^0.8.5",
"draft-js": "0.11.7",
"draft-js-export-html": "^1.4.1",
"draft-js-import-html": "^1.4.1",
"fast-json-stable-stringify": "2.0.0",
"formik": "2.2.9",
"fast-json-stable-stringify": "^2.1.0",
"formik": "^2.2.9",
"history": "^4.10.1",
"html-webpack-plugin": "5.3.1",
"immer": "8.0.1",
"immer": "^9.0.17",
"immutable": "3.7.4",
"jsdiff": "^1.1.1",
"json-bigint": "^1.0.0",
"localforage": "^1.7.3",
"localforage": "^1.10.0",
"lodash": "4.17.21",
"lodash-decorators": "6.0.1",
"lucide-react": "^0.17.13",
"markdown-to-jsx": "^7.1.0",
"memoize-one": "5.0.2",
"mini-css-extract-plugin": "2.1.0",
"memoize-one": "^6.0.0",
"mini-css-extract-plugin": "^2.7.2",
"moment": "2.29.4",
"normalizr": "3.3.0",
"qs": "6.10.3",
"normalizr": "^3.6.2",
"qs": "^6.11.0",
"rc-time-picker": "3.6.4",
"re-resizable": "4.9.0",
"react": "17.0.2",
Expand All @@ -79,13 +79,13 @@
"react-dnd": "^15.1.2",
"react-dnd-html5-backend": "^15.1.2",
"react-dom": "17.0.2",
"react-hot-toast": "^2.0.0",
"react-hot-toast": "^2.4.0",
"react-json-view": "^1.21.3",
"react-lazyload": "^3.2.0",
"react-redux": "7.2.4",
"react-router-dom": "5.1.2",
"react-select": "4.3.1",
"react-table": "6.8.6",
"react-table": "^6.8.6",
"react-virtualized": "9.22.3",
"reactflow": "^11.3.0",
"reactour": "^1.18.6",
Expand All @@ -97,8 +97,8 @@
"sass": "^1.50.0",
"smooth-scroll-into-view-if-needed": "^1.1.27",
"socket.io-client": "^4.5.2",
"sql-formatter": "2.3.4",
"styled-components": "5.2.1",
"sql-formatter": "^12.0.4",
"styled-components": "5.3.6",
"typescript": "4.4.4",
"webpack": "5.65.0",
"webpack-cli": "4.7.0",
Expand Down Expand Up @@ -129,7 +129,7 @@
"@types/lodash": "4.14.116",
"@types/markdown-to-jsx": "^6.11.3",
"@types/memoize-one": "3.1.1",
"@types/qs": "^6.5.1",
"@types/qs": "^6.9.7",
"@types/rc-time-picker": "^3.4.1",
"@types/react": "17.0.15",
"@types/react-dom": "17.0.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ FROM
);
expect(format('select ARRAY [1] || ARRAY [2];', 'presto')).toBe(
`SELECT
ARRAY [1] || ARRAY [2];`
ARRAY[1] || ARRAY[2];`
);
});
test('Simple formatting with templating case', () => {
Expand Down Expand Up @@ -58,7 +58,7 @@ from
});

test('Simple formatting tab indent', () => {
expect(format('select * from test;', 'presto', { indent: '\t' })).toBe(
expect(format('select * from test;', 'presto', { useTabs: true })).toBe(
`SELECT
\t*
FROM
Expand All @@ -67,7 +67,7 @@ FROM
});

test('Simple formatting four space indent', () => {
expect(format('select * from test;', 'presto', { indent: ' ' })).toBe(
expect(format('select * from test;', 'presto', { tabWidth: 4 })).toBe(
`SELECT
*
FROM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<span
className="StyledButton-aqwbwz-0 krfWYh Button fill"
className="StyledButton-aqwbwz-0 AohKP Button fill"
color="var(--text-light)"
disabled={false}
onClick={[Function]}
size="medium"
>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bLpBLx Text"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bAiAjz Text"
>
test
</div>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bLpBLx Text flex-row"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bAiAjz Text flex-row"
/>
</span>
`;
4 changes: 2 additions & 2 deletions querybook/webapp/__tests__/ui/__snapshots__/Box.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

exports[`matches enzyme snapshots matches snapshot 1`] = `
<div
className="Box-sc-11jncwz-0 daXhWU Box"
className="Box-sc-11jncwz-0 fa-DQmi Box"
>
Test
</div>
`;

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Box-sc-11jncwz-0 daXhWU Box"
className="Box-sc-11jncwz-0 fa-DQmi Box"
>
Test
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,18 +142,18 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<span
className="StyledButton-aqwbwz-0 krfWYh Button fill"
className="StyledButton-aqwbwz-0 AohKP Button fill"
color="var(--text-light)"
onClick={[Function]}
size="medium"
>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bLpBLx Text"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bAiAjz Text"
>
test
</div>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bLpBLx Text flex-row"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bAiAjz Text flex-row"
/>
</span>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Center__CenterDivContainer-sc-1kqp0n6-0 hFbxlS"
className="Center__CenterDivContainer-sc-1kqp0n6-0 lkMJTk"
>
<div
className="Center__CenterDiv-sc-1kqp0n6-1 kKQJv"
className="Center__CenterDiv-sc-1kqp0n6-1 iTeUjJ"
>
Test
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`matches enzyme snapshots matches snapshot 1`] = `
<div
className="Column__Columns-sl2jp4-0 gOWWVh Columns"
className="Column__Columns-sl2jp4-0 eLaonr Columns"
>
<Column>
Test
Expand All @@ -15,15 +15,15 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Column__Columns-sl2jp4-0 gOWWVh Columns"
className="Column__Columns-sl2jp4-0 eLaonr Columns"
>
<div
className="Column-sl2jp4-1 gozZXJ Column"
className="Column-sl2jp4-1 jSJrkP Column"
>
Test
</div>
<div
className="Column-sl2jp4-1 gozZXJ Column"
className="Column-sl2jp4-1 jSJrkP Column"
>
Test
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports[`matches test renderer snapshot serializes the styles 1`] = `
className="TestContainer Container"
>
<div
className="FullHeight-p6umsy-0 kFdkFT Container-content"
className="FullHeight-p6umsy-0 ipLfZZ Container-content"
>
Test
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`matches enzyme snapshots matches snapshot 1`] = `
<div
className="Content-sc-13ypr6e-0 eZoqhG Content"
className="Content-sc-13ypr6e-0 fBLcsc Content"
dangerouslySetInnerHTML={
Object {
"__html": "<p>test</p>",
Expand All @@ -13,7 +13,7 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Content-sc-13ypr6e-0 eZoqhG Content"
className="Content-sc-13ypr6e-0 fBLcsc Content"
dangerouslySetInnerHTML={
Object {
"__html": "<p>test</p>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `
exports[`matches test renderer snapshot serializes the styles 1`] = `
<span
aria-label="Click To Copy"
className="StyledButton-aqwbwz-0 kHAKid Button CopyButton flex-row text"
className="StyledButton-aqwbwz-0 quRXb Button CopyButton flex-row text"
color="var(--text-light)"
data-balloon-pos="up"
fontWeight="700"
Expand All @@ -25,12 +25,12 @@ exports[`matches test renderer snapshot serializes the styles 1`] = `
size="small"
>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bLpBLx Text"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bAiAjz Text"
>
Test Copy
</div>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bLpBLx Text flex-row"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bAiAjz Text flex-row"
/>
</span>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`matches enzyme snapshots matches snapshot - false 1`] = `
<div
className="DisabledSection-dp9deb-0 jsfwHA"
className="DisabledSection-dp9deb-0 burDkq"
disabled={false}
>
<input />
Expand All @@ -11,15 +11,15 @@ exports[`matches enzyme snapshots matches snapshot - false 1`] = `

exports[`matches enzyme snapshots matches snapshot 1`] = `
<div
className="DisabledSection-dp9deb-0 bvmtDu"
className="DisabledSection-dp9deb-0 bAEMhI"
>
<input />
</div>
`;

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="DisabledSection-dp9deb-0 bvmtDu"
className="DisabledSection-dp9deb-0 bAEMhI"
>
<input />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports[`matches test renderer snapshot serializes the styles 1`] = `
onMouseLeave={[Function]}
>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 lcQBiO Text Dropdown-trigger"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 buKJrA Text Dropdown-trigger"
>
<span
className="IconButton no-padding"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

exports[`matches enzyme snapshots matches snapshot 1`] = `
<div
className="FullHeight-p6umsy-0 kFdkFT TestFullHeight"
className="FullHeight-p6umsy-0 ipLfZZ TestFullHeight"
>
Test
</div>
`;

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="FullHeight-p6umsy-0 kFdkFT TestFullHeight"
className="FullHeight-p6umsy-0 ipLfZZ TestFullHeight"
>
Test
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<span
className="KeyboardKey__StyledKeyboardKey-sc-1o6e5rh-0 fCjCIz KeyboardKey mr4"
className="KeyboardKey__StyledKeyboardKey-sc-1o6e5rh-0 jsijyx KeyboardKey mr4"
>
test
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

exports[`matches enzyme snapshots matches snapshot 1`] = `
<div
className="Level-qauoxs-0 jimMja Level horizontal-space-between "
className="Level-qauoxs-0 isoeeI Level horizontal-space-between "
>
<Level__LevelItem />
</div>
`;

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Level-qauoxs-0 jimMja Level horizontal-space-between "
className="Level-qauoxs-0 isoeeI Level horizontal-space-between "
>
<div
className="Level__LevelItem-qauoxs-1 LevelItem flex-row"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<a
className="Link__StyledLink-sc-1k0sviq-0 gVoECW"
className="Link__StyledLink-sc-1k0sviq-0 ewXLHc"
href="https://test.com"
onClick={[Function]}
rel="noopener noreferrer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Menu-sc-13z76nv-0 jonXBt Menu"
className="Menu-sc-13z76nv-0 gVuTdT Menu"
>
<span
className="Menu__MenuItem-sc-13z76nv-1 MenuItem"
>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bLpBLx Text"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 bAiAjz Text"
>
<span
className="flex-row flex1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`matches enzyme snapshots matches snapshot 2`] = `"children"`;

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Loading__StyledLoading-sc-1xendm7-0 IsqoY Loading flex-center "
className="Loading__StyledLoading-sc-1xendm7-0 gFkREe Loading flex-center "
>
<div
className="flex-center"
Expand Down
Loading

0 comments on commit 30c21f9

Please sign in to comment.