Skip to content

Commit 470e588

Browse files
author
Luke Bowerman
authored
Dependency updates (minor version bumps) (#1701)
- Storybook - Gatsby - Babel + related packages - popper.js/core - uuid - @types - tabbable - polished - eslint and lint standards - prettier - webpack-bundle-analyzer - Minor test fixes to make lints happy - Tweak to action name
1 parent 160f071 commit 470e588

File tree

25 files changed

+915
-1044
lines changed

25 files changed

+915
-1044
lines changed

.github/workflows/pullrequest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
env:
2121
CI: true
2222
build:
23-
name: "ES modules & Typescript"
23+
name: "Build: ES & Typescript"
2424
runs-on: ubuntu-latest
2525
steps:
2626
- uses: actions/checkout@v1
@@ -44,8 +44,8 @@ jobs:
4444
- run : yarn --silent
4545
- run: yarn workspace storybook build
4646
image-snapshots:
47-
if: false # Disabled until snapshot issues can be resolved
4847
name: "Image Snapshots"
48+
if: false # Disabled until snapshot issues can be resolved
4949
runs-on: ubuntu-latest
5050
steps:
5151
- uses: actions/checkout@v1

package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,35 +52,35 @@
5252
"image-snapshots-update": "rm -rf packages/*/snapshots && yarn image-snapshots"
5353
},
5454
"devDependencies": {
55-
"@babel/cli": "^7.12.7",
56-
"@babel/core": "^7.12.7",
55+
"@babel/cli": "^7.12.10",
56+
"@babel/core": "^7.12.10",
5757
"@babel/plugin-proposal-class-properties": "^7.12.1",
5858
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
5959
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
6060
"@babel/plugin-proposal-optional-chaining": "^7.12.7",
61-
"@babel/preset-env": "^7.12.7",
62-
"@babel/preset-react": "7.12.7",
61+
"@babel/preset-env": "^7.12.10",
62+
"@babel/preset-react": "7.12.10",
6363
"@babel/preset-typescript": "^7.12.7",
6464
"@babel/runtime": "^7.12.5",
6565
"@babel/runtime-corejs3": "^7.12.5",
6666
"@testing-library/jest-dom": "^5.11.6",
6767
"@types/jest-image-snapshot": "^4.1.3",
68-
"@types/node": "^14.14.9",
69-
"babel-plugin-styled-components": "^1.11.1",
70-
"core-js": "^3.7.0",
68+
"@types/node": "^14.14.12",
69+
"babel-plugin-styled-components": "1.12.0",
70+
"core-js": "^3.8.1",
7171
"enzyme": "^3.11.0",
7272
"enzyme-adapter-react-16": "^1.15.5",
73-
"eslint": "^7.13.0",
73+
"eslint": "^7.15.0",
7474
"jest": "^26.6.3",
7575
"jest-canvas-mock": "^2.3.0",
7676
"jest-image-snapshot": "^4.2.0",
7777
"jest-styled-components": "^7.0.3",
7878
"lerna": "^3.22.1",
79-
"lint-staged": "^10.5.1",
79+
"lint-staged": "^10.5.3",
8080
"node-fetch": "2.6.1",
8181
"npm-run-all": "^4.1.5",
8282
"pre-commit": "1.2.2",
83-
"prettier": "2.2.0",
83+
"prettier": "2.2.1",
8484
"puppeteer": "5.5.0",
8585
"react": "^16.14.0",
8686
"react-dom": "^16.14.0",
@@ -92,6 +92,7 @@
9292
},
9393
"resolutions": {
9494
"eslint-plugin-react-hooks": "4.2.0",
95+
"highlight.js": "10.4.1",
9596
"node-fetch": "2.6.1",
9697
"node-forge": "0.10.0",
9798
"prismjs": "1.22.0",

packages/components-providers/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"dependencies": {
1919
"@looker/design-tokens": "^0.9.25",
2020
"lodash": "^4.17.20",
21-
"tabbable": "^5.1.3"
21+
"tabbable": "^5.1.4"
2222
},
2323
"devDependencies": {
2424
"@types/lodash": "^4.14.165",
2525
"@types/react": "^16.9.56",
26-
"@types/styled-components": "^5.1.4",
26+
"@types/styled-components": "^5.1.5",
2727
"react": "^16.14.0",
2828
"react-is": "^16.13.1",
2929
"styled-components": "^5.2.1"

packages/components-test-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@looker/components-providers": "^0.9.25",
2020
"@testing-library/react": "^11.2.2",
2121
"@types/enzyme": "^3.10.8",
22-
"@types/jest": "^26.0.15",
22+
"@types/jest": "^26.0.19",
2323
"@types/react": "^16.9.56",
2424
"@types/react-test-renderer": "^16.9.3",
2525
"enzyme": "^3.11.0",

packages/components-theme-editor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"devDependencies": {
2424
"@types/react": "^16.9.56",
25-
"@types/styled-components": "^5.1.4",
25+
"@types/styled-components": "^5.1.5",
2626
"react": "^16.14.0",
2727
"react-is": "^16.13.1",
2828
"styled-components": "^5.2.1"

packages/components/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@looker/components-providers": "^0.9.25",
2424
"@looker/design-tokens": "^0.9.25",
2525
"@looker/icons": "^0.9.23",
26-
"@popperjs/core": "^2.5.3",
26+
"@popperjs/core": "^2.5.4",
2727
"d3-color": "^2.0.0",
2828
"d3-hsv": "^0.1.0",
2929
"date-fns": "^2.16.1",
@@ -35,12 +35,12 @@
3535
"react-resize-detector": "^5.2.0",
3636
"resize-observer-polyfill": "^1.5.1",
3737
"styled-system": "^5.1.5",
38-
"uuid": "^8.3.1"
38+
"uuid": "^8.3.2"
3939
},
4040
"devDependencies": {
4141
"@looker/components-test-utils": "^0.9.25",
42-
"@storybook/addon-storyshots": "^6.1.1",
43-
"@storybook/react": "^6.1.1",
42+
"@storybook/addon-storyshots": "^6.1.10",
43+
"@storybook/react": "^6.1.10",
4444
"@testing-library/jest-dom": "^5.11.6",
4545
"@testing-library/react": "^11.2.2",
4646
"@testing-library/user-event": "^12.5.0",
@@ -50,14 +50,14 @@
5050
"@types/react": "^16.9.56",
5151
"@types/react-dom": "^16.9.9",
5252
"@types/react-resize-detector": "^5.0.0",
53-
"@types/styled-components": "^5.1.4",
53+
"@types/styled-components": "^5.1.5",
5454
"@types/uuid": "^8.3.0",
5555
"csstype": "^3.0.5",
5656
"jest-styled-components": "^7.0.3",
5757
"react": "^16.14.0",
5858
"react-dom": "^16.14.0",
5959
"react-is": "^16.13.1",
60-
"storybook": "^6.1.1",
60+
"storybook": "^6.1.10",
6161
"styled-components": "^5.2.1"
6262
},
6363
"peerDependencies": {

packages/components/src/Button/IconButton.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ describe('IconButton', () => {
9797
const label = 'Mark as my Favorite'
9898
renderWithTheme(<IconButton label={label} icon="Favorite" />)
9999

100-
const notTooltip = screen.getAllByText(label)
101-
expect(notTooltip).toHaveLength(1) // accessibility text
100+
const notTooltip = screen.getByText(label)
101+
expect(notTooltip).toBeInTheDocument() // accessibility text
102102

103103
const icon = screen.getByText(label)
104104
fireEvent.mouseOver(icon)

packages/components/src/Dialog/Confirm/Confirm.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ test('<Confirm/> with defaults', async () => {
7272

7373
fireEvent.click(getByText('Cancel'))
7474
await waitForElementToBeRemoved(() => queryByText(requiredProps.title))
75-
expect(queryByText(requiredProps.title)).toBeNull()
75+
expect(queryByText(requiredProps.title)).not.toBeInTheDocument()
7676
})
7777

7878
test('<Confirm/> with custom props', () => {

packages/components/src/Dialog/Layout/DialogHeader.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ describe('DialogHeader', () => {
5454
test(`detail`, async () => {
5555
renderWithTheme(<DialogHeader detail="Hello world">Header</DialogHeader>)
5656
expect(await screen.findByText('Hello world')).toBeTruthy()
57-
expect(screen.queryByLabelText('Close')).toBeNull()
57+
expect(screen.queryByLabelText('Close')).not.toBeInTheDocument()
5858
})
5959

6060
test('hideClose', () => {
6161
renderWithTheme(<DialogHeader hideClose>Heading</DialogHeader>)
62-
expect(screen.queryByLabelText('Close')).toBeNull()
62+
expect(screen.queryByLabelText('Close')).not.toBeInTheDocument()
6363
})
6464
})

packages/components/src/Dialog/Prompt/Prompt.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ test('<Prompt/> with defaults', async () => {
8181
expect(onSaveCallback).toHaveBeenCalledTimes(1)
8282

8383
await waitForElementToBeRemoved(() => queryByText(requiredProps.inputLabel))
84-
expect(queryByText(requiredProps.inputLabel)).toBeNull()
85-
expect(queryByText(requiredProps.title)).toBeNull()
84+
expect(queryByText(requiredProps.inputLabel)).not.toBeInTheDocument()
85+
expect(queryByText(requiredProps.title)).not.toBeInTheDocument()
8686
})
8787

8888
test('<Prompt/> with custom props', () => {

0 commit comments

Comments
 (0)