Skip to content

Commit

Permalink
chore: version upgrade a few packages (pinterest#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 and rohan-sh1 committed Jan 19, 2023
1 parent 94b5aa7 commit 572d7ac
Show file tree
Hide file tree
Showing 36 changed files with 145 additions and 132 deletions.
6 changes: 3 additions & 3 deletions __tests__/lib/sql-helper/sql-formatter.test.ts
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
6 changes: 3 additions & 3 deletions __tests__/ui/__snapshots__/AsyncButton.test.js.snap
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 __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
6 changes: 3 additions & 3 deletions __tests__/ui/__snapshots__/Button.test.js.snap
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>
`;
4 changes: 2 additions & 2 deletions __tests__/ui/__snapshots__/Center.test.js.snap
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
8 changes: 4 additions & 4 deletions __tests__/ui/__snapshots__/Column.test.js.snap
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
2 changes: 1 addition & 1 deletion __tests__/ui/__snapshots__/Container.test.js.snap
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
4 changes: 2 additions & 2 deletions __tests__/ui/__snapshots__/Content.test.js.snap
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
6 changes: 3 additions & 3 deletions __tests__/ui/__snapshots__/CopyButton.test.js.snap
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>
`;
6 changes: 3 additions & 3 deletions __tests__/ui/__snapshots__/DisabledSection.test.js.snap
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
2 changes: 1 addition & 1 deletion __tests__/ui/__snapshots__/Dropdown.test.js.snap
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
4 changes: 2 additions & 2 deletions __tests__/ui/__snapshots__/FullHeight.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="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
2 changes: 1 addition & 1 deletion __tests__/ui/__snapshots__/KeyboardKey.test.js.snap
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
4 changes: 2 additions & 2 deletions __tests__/ui/__snapshots__/Level.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="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
2 changes: 1 addition & 1 deletion __tests__/ui/__snapshots__/Link.test.js.snap
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
4 changes: 2 additions & 2 deletions __tests__/ui/__snapshots__/ListMenu.test.js.snap
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
2 changes: 1 addition & 1 deletion __tests__/ui/__snapshots__/Loader.test.js.snap
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
2 changes: 1 addition & 1 deletion __tests__/ui/__snapshots__/Loading.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ exports[`matches enzyme snapshots matches snapshot 1`] = `

exports[`matches test renderer snapshot serializes the styles 1`] = `
<div
className="Loading__StyledLoading-sc-1xendm7-0 ipdtYO Loading flex-center "
className="Loading__StyledLoading-sc-1xendm7-0 otEVA Loading flex-center "
>
<div
className="flex-center"
Expand Down
8 changes: 4 additions & 4 deletions __tests__/ui/__snapshots__/Menu.test.js.snap
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="Menu-sc-13z76nv-0 jonXBt Menu"
className="Menu-sc-13z76nv-0 gVuTdT Menu"
>
<Menu__MenuItem>
<Menu__MenuItemPing />
Expand All @@ -14,17 +14,17 @@ 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="Menu__MenuItemPing-sc-13z76nv-4 gcRlsS MenuItemPing"
className="Menu__MenuItemPing-sc-13z76nv-4 dRFaGc MenuItemPing"
/>
</span>
<div
className="Menu__MenuDivider-sc-13z76nv-3 fCTKBX MenuDivider"
className="Menu__MenuDivider-sc-13z76nv-3 fAvGPx MenuDivider"
/>
<div
className="Menu__MenuInfoItem-sc-13z76nv-2 MenuInfoItem"
Expand Down
2 changes: 1 addition & 1 deletion __tests__/ui/__snapshots__/Message.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ exports[`matches test renderer snapshot serializes the styles - error 1`] = `
className="Message error"
>
<div
className="StyledText__StyledTextDiv-sc-1ldibmc-0 lcQBiO Text"
className="StyledText__StyledTextDiv-sc-1ldibmc-0 buKJrA Text"
>
<div
className="Message-header"
Expand Down
Loading

0 comments on commit 572d7ac

Please sign in to comment.