Skip to content

Commit

Permalink
feat(all): update libraries (#1494)
Browse files Browse the repository at this point in the history
* feat(all): update libraries

* update

* update

* uodate
  • Loading branch information
guillaume-chervet authored Jan 12, 2025
1 parent f5fa692 commit 2c08373
Show file tree
Hide file tree
Showing 11 changed files with 2,186 additions and 2,819 deletions.
7 changes: 2 additions & 5 deletions examples/oidc-client-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
"private": true,
"dependencies": {
"@axa-fr/oidc-client": "workspace:~",
"@testing-library/jest-dom": "6.4.2",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.12",
"typescript": "5.4.2",
"web-vitals": "3.5.2"
"typescript": "5.7.3",
"web-vitals": "4.2.4"
},
"scripts": {
"start": "vite",
Expand Down
16 changes: 8 additions & 8 deletions examples/react-oidc-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
"react-router-dom": "^6.22.3"
},
"devDependencies": {
"@testing-library/jest-dom": "6.4.5",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "15.0.7",
"@testing-library/user-event": "14.5.2",
"@types/react": "19.0.0",
"@vitejs/plugin-react": "4.2.1",
"@types/react": "19.0.5",
"@vitejs/plugin-react": "4.3.4",
"bootstrap": "^4.6.2",
"copyfiles": "2.4.1",
"cross-env": "^7.0.3",
"jsdom": " 24.0.0",
"typescript": "5.4.5",
"vite": "5.1.6",
"vite-plugin-dts": "3.9.1",
"vitest": "1.6.0"
"jsdom": "26.0.0",
"typescript": "5.7.3",
"vite": "6.0.7",
"vite-plugin-dts": "4.5.0",
"vitest": "2.1.8"
},
"license": "MIT",
"publishConfig": {
Expand Down
4 changes: 1 addition & 3 deletions examples/react-oidc-demo/src/utils/sleep.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import timer from './timer';

export const sleepAsync = milliseconds => {
return new Promise(resolve => timer.setTimeout(resolve, milliseconds));
return new Promise(resolve => setTimeout(resolve, milliseconds));
};
163 changes: 0 additions & 163 deletions examples/react-oidc-demo/src/utils/timer.ts

This file was deleted.

36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,27 @@
"build": "pnpm -r --filter=./packages/* run build"
},
"devDependencies": {
"@eslint/compat": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"eslint": "^9.7.0",
"@eslint/compat": "^1.2.5",
"@typescript-eslint/eslint-plugin": "^8.19.1",
"@typescript-eslint/parser": "^8.19.1",
"eslint": "^9.18.0",
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.4",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-regexp": "^2.7.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-testing-library": "^6.2.2",
"prettier": "^3.3.3",
"tslib": "^2.6.3",
"tsx": "4.10.5",
"typescript": "5.4.5",
"vitest": "1.6.0"
"eslint-plugin-testing-library": "^7.1.1",
"prettier": "^3.4.2",
"tslib": "^2.8.1",
"tsx": "4.19.2",
"typescript": "5.7.3",
"vitest": "2.1.8"
},
"engines": {
"node": ">= 18.0.0"
Expand Down
10 changes: 5 additions & 5 deletions packages/oidc-client-service-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
"lint": "eslint src"
},
"devDependencies": {
"@vitest/coverage-v8": "2.0.5",
"@vitest/coverage-v8": "2.1.8",
"cpy": "11.1.0",
"cpy-cli": "^5.0.0",
"rimraf": "6.0.1",
"typescript": "5.5.4",
"vite": "5.4.2",
"vite-plugin-dts": "4.1.0",
"vitest": "2.0.5"
"typescript": "5.7.3",
"vite": "6.0.7",
"vite-plugin-dts": "4.5.0",
"vitest": "2.1.8"
},
"publishConfig": {
"access": "public",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export function normalizeUrl(url: string) {
try {
return new URL(url).toString();
} catch (error) {
console.error(`Failed to normalize url: ${url}`);
console.error(`Failed to normalize url: ${url}`, error);
return url;
}
}
14 changes: 7 additions & 7 deletions packages/oidc-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
},
"devDependencies": {
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@vitest/coverage-v8": "2.0.5",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@vitest/coverage-v8": "2.1.8",
"cpy": "11.1.0",
"cpy-cli": "^5.0.0",
"rimraf": "6.0.1",
"typescript": "5.5.4",
"vite": "5.4.2",
"vite-plugin-dts": "4.1.0",
"vitest": "2.0.5"
"typescript": "5.7.3",
"vite": "6.0.7",
"vite-plugin-dts": "4.5.0",
"vitest": "2.1.8"
},
"keywords": [
"oidc",
Expand Down
1 change: 1 addition & 0 deletions packages/oidc-client/src/initWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const initWorkerAsync = async (
if (!navigator.serviceWorker.controller)
await sendMessageAsync(registration)({ type: 'claim' });
} catch (err) {
console.warn(`Failed init ServiceWorker ${err.toString()}`);
return null;
}

Expand Down
28 changes: 14 additions & 14 deletions packages/react-oidc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,27 @@
"@axa-fr/oidc-client": "workspace:*"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0 || ^19.0.0 "
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "6.5.0",
"@testing-library/react": "16.0.1",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/react": "19.0.0",
"@vitejs/plugin-react": "4.3.1",
"@vitest/coverage-v8": "2.0.5",
"@types/react": "19.0.5",
"@vitejs/plugin-react": "4.3.4",
"@vitest/coverage-v8": "2.1.8",
"cpy": "11.1.0",
"cpy-cli": "^5.0.0",
"cross-env": "^7.0.3",
"jsdom": "25.0.0",
"msw": "2.4.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"jsdom": "26.0.0",
"msw": "2.7.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "6.0.1",
"typescript": "5.5.4",
"vite": "5.2.11",
"vite-plugin-dts": "4.1.0",
"vitest": "2.0.5"
"typescript": "5.7.3",
"vite": "6.0.7",
"vite-plugin-dts": "4.5.0",
"vitest": "2.1.8"
},
"license": "MIT",
"publishConfig": {
Expand Down
Loading

0 comments on commit 2c08373

Please sign in to comment.