From 3a7f8b65fe7596a385e1ffc119847375c7011a37 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Tue, 19 Dec 2023 12:29:24 -0500 Subject: [PATCH] add type package --- packages/react-router/package.json | 1 + pnpm-lock.yaml | 24 +++++++++--------------- 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/packages/react-router/package.json b/packages/react-router/package.json index f932c1be97..02b1ab2988 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -49,6 +49,7 @@ "@ionic/eslint-config": "^0.3.0", "@ionic/prettier-config": "^2.0.0", "@rollup/plugin-typescript": "^11.1.5", + "@types/history": "4", "@types/node": "^14.0.14", "@types/react": "16.14.0", "@types/react-dom": "^16.9.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c447de8fa5..d1f92febe4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -415,6 +415,9 @@ importers: '@rollup/plugin-typescript': specifier: ^11.1.5 version: 11.1.5(rollup@4.9.1)(tslib@2.4.0)(typescript@4.8.4) + '@types/history': + specifier: '4' + version: 4.7.11 '@types/node': specifier: ^14.0.14 version: 14.0.14 @@ -4248,11 +4251,8 @@ packages: '@types/node': 14.10.1 dev: true - /@types/history@5.0.0: - resolution: {integrity: sha512-hy8b7Y1J8OGe6LbAjj3xniQrj3v6lsivCcrmf4TzSgPzLkhIeKgc5IZnT7ReIqmEuodjfO8EYAuoFvIrHi/+jQ==} - deprecated: This is a stub types definition. history provides its own type definitions, so you do not need this installed. - dependencies: - history: 5.3.0 + /@types/history@4.7.11: + resolution: {integrity: sha512-qjDJRrmvBMiTx+jyLxvLfJU7UznFuokDv4f3WRuriHKERccVpFU+8XMQUAbDzoiJCsmexxRExQeMwwCdamSKDA==} dev: true /@types/http-cache-semantics@4.0.3: @@ -4385,7 +4385,7 @@ packages: /@types/react-router-dom@5.1.5: resolution: {integrity: sha512-ArBM4B1g3BWLGbaGvwBGO75GNFbLDUthrDojV2vHLih/Tq8M+tgvY1DSwkuNrPSwdp/GUL93WSEpTZs8nVyJLw==} dependencies: - '@types/history': 5.0.0 + '@types/history': 4.7.11 '@types/react': 16.14.0 '@types/react-router': 5.0.3 dev: true @@ -4393,7 +4393,7 @@ packages: /@types/react-router@5.0.3: resolution: {integrity: sha512-j2Gge5cvxca+5lK9wxovmGPgpVJMwjyu5lTA/Cd6fLGoPq7FXcUE1jFkEdxeyqGGz8VfHYSHCn5Lcn24BzaNKA==} dependencies: - '@types/history': 5.0.0 + '@types/history': 4.7.11 '@types/react': 16.14.0 dev: true @@ -8154,7 +8154,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 4.33.0(eslint@7.32.0)(typescript@4.7.4) + '@typescript-eslint/parser': 4.33.0(eslint@7.32.0)(typescript@4.8.4) debug: 3.2.7 eslint: 7.32.0 eslint-import-resolver-node: 0.3.9 @@ -8321,7 +8321,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 4.33.0(eslint@7.32.0)(typescript@4.7.4) + '@typescript-eslint/parser': 4.33.0(eslint@7.32.0)(typescript@4.8.4) array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 array.prototype.flat: 1.3.2 @@ -9584,12 +9584,6 @@ packages: tiny-warning: 1.0.3 value-equal: 1.0.1 - /history@5.3.0: - resolution: {integrity: sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==} - dependencies: - '@babel/runtime': 7.23.2 - dev: true - /hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} dependencies: