Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Commit

Permalink
Revert "Update dev deps"
Browse files Browse the repository at this point in the history
This reverts commit 75cb3cc.
  • Loading branch information
sndrs committed Jul 25, 2022
1 parent 75cb3cc commit 74a7fa1
Show file tree
Hide file tree
Showing 4 changed files with 683 additions and 994 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ import { loadScript, storage, ...etc } from '@guardian/libs';

### TypeScript

If you are using this library with TypeScript, make sure you are using at least TypeScript v<!-- TS_VERSION -->4.7.4<!-- /TS_VERSION -->.
If you are using this library with TypeScript, make sure you are using at least TypeScript v<!-- TS_VERSION -->4.2.2<!-- /TS_VERSION -->.

### Bundling

Expand Down
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,30 @@
"devDependencies": {
"@guardian/eslint-config": "1.0.1",
"@guardian/eslint-config-typescript": "1.0.2",
"@guardian/pkgu": "0.6.2",
"@guardian/prettier": "2.0.0",
"@semantic-release/github": "8.0.5",
"@types/jest": "28.1.6",
"@types/node": "18.6.1",
"@guardian/pkgu": "0.6.0",
"@guardian/prettier": "1.0.0",
"@semantic-release/github": "8.0.4",
"@types/jest": "27.4.1",
"@types/node": "16.11.44",
"@types/wcag-contrast": "3.0.0",
"conventional-changelog-conventionalcommits": "5.0.0",
"eslint": "8.20.0",
"eslint": "8.18.0",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-environment-jsdom": "28.1.3",
"jest": "27.5.1",
"jest-fetch-mock": "3.0.3",
"mockdate": "3.0.5",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"semantic-release": "19.0.3",
"ts-jest": "28.0.7",
"ts-node": "10.9.1",
"ts-jest": "27.1.4",
"ts-node": "10.8.1",
"tslib": "2.4.0",
"typescript": "4.7.4",
"typescript": "4.2.2",
"wcag-contrast": "3.0.0",
"web-vitals": "2.1.4"
"web-vitals": "2.0.0"
},
"peerDependencies": {
"web-vitals": "^2.1.4"
"web-vitals": "^2.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion src/coreWebVitals/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const mockConsoleWarn = jest

const spyLog = jest.spyOn(logger, 'log');

const setVisibilityState = (value: DocumentVisibilityState = 'visible') => {
const setVisibilityState = (value: VisibilityState = 'visible') => {
Object.defineProperty(document, 'visibilityState', {
writable: true,
configurable: true,
Expand Down
Loading

0 comments on commit 74a7fa1

Please sign in to comment.