Skip to content

Commit

Permalink
Upgrade dependencies (#668)
Browse files Browse the repository at this point in the history
* Support firebase v10

* Support unknown claims

* Upgrade Jest and related

* Upgrade to Next 13.0.x

* Update Next.js

* Upgrade typescript-eslint

* Upgrade some babel deps

* Upgrade RTL

* Upgrade webpack and babel-loader

* Upgrade jscodeshift

* Upgrade Typescript

* Upgrade firebase

* Upgrade firebase-admin

* Upgrade core-js
  • Loading branch information
kmjennison authored Jul 9, 2023
1 parent 329c3d7 commit 55a029c
Show file tree
Hide file tree
Showing 3 changed files with 1,499 additions and 1,124 deletions.
52 changes: 28 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,26 @@
"version:canary": "yarn version --prerelease --preid=canary"
},
"devDependencies": {
"@babel/cli": "^7.18.9",
"@babel/core": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.18.9",
"@babel/preset-env": "^7.18.9",
"@babel/cli": "^7.22.6",
"@babel/core": "^7.22.8",
"@babel/plugin-transform-runtime": "^7.22.7",
"@babel/preset-env": "^7.22.7",
"@babel/preset-react": "^7.18.6",
"@testing-library/react": "^13.3.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/cookies": "^0.7.7",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^28",
"@types/jest": "^29.5.2",
"@types/keygrip": "^1.0.2",
"@types/set-cookie-parser": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"babel-jest": "^28.1.3",
"babel-loader": "^8.2.5",
"babel-plugin-module-resolver": "^4.1.0",
"@typescript-eslint/eslint-plugin": "^5.61.0",
"@typescript-eslint/parser": "^5.61.0",
"babel-jest": "^29.6.1",
"babel-loader": "^9.1.3",
"babel-plugin-module-resolver": "^5.0.0",
"bundlesize": "^0.18.1",
"copy-webpack-plugin": "^11.0.0",
"core-js": "^3.23.5",
"core-js": "^3.31.1",
"datwd": "^0.2.0",
"dts-bundle-generator": "^8.0.1",
"eslint": "^8.20.0",
Expand All @@ -66,20 +66,20 @@
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.6.0",
"eslint-plugin-jest": "^27.2.2",
"eslint-plugin-jsx-a11y": "^6.6.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"firebase": "^9.9.1",
"firebase-admin": "11.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jscodeshift": "^0.14.0",
"firebase": "^10.0.0",
"firebase-admin": "~11.4.0",
"jest": "^29.6.1",
"jest-environment-jsdom": "^29.6.1",
"jscodeshift": "^0.15.0",
"lodash": "^4.17.21",
"mockdate": "^3.0.2",
"moment": "^2.29.4",
"next": "^12.2.3",
"next": "~13.3.0",
"next-test-api-route-handler": "^3.1.6",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
Expand All @@ -89,18 +89,22 @@
"regenerator-runtime": "^0.13.9",
"set-cookie-parser": "^2.5.0",
"source-map-loader": "^4.0.1",
"ts-jest": "^28",
"ts-jest": "^29.1.1",
"ts-loader": "^9.4.3",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"typescript": "^4.7.4",
"typescript": "^5.1.6",
"webpack": "^5.73.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0",
"yargs": "^17.7.2"
},
"devDependenciesComments": {
"firebase-admin": "v11.5.0 breaks Jest tests. Unknown why. Problem: `jest.requireActual('firebase-admin/auth')`",
"next": "v13.4.x breaks tests. Unknown why. May need to wait for updates to next-test-api-route-handler."
},
"peerDependencies": {
"firebase": "^9.0.0",
"firebase": ">=9.0.0 <11",
"firebase-admin": ">=10.0.0 <12",
"next": ">=9.5.0 <14",
"react": ">=16.8.0 <19",
Expand All @@ -121,7 +125,7 @@
}
},
"dependencies": {
"@babel/runtime": "^7.18.9",
"@babel/runtime": "^7.22.6",
"cookies": "^0.8.0",
"hoist-non-react-statics": "^3.3.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/claims.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const STANDARD_CLAIMS = [
]

export interface Claims {
[key: string]: string | object | undefined
[key: string]: string | object | undefined | unknown
}
/**
* Filter out all standard claims from an object of claims
Expand Down
Loading

0 comments on commit 55a029c

Please sign in to comment.