diff --git a/.changeset/quiet-ties-happen.md b/.changeset/quiet-ties-happen.md new file mode 100644 index 0000000000..ece2ff7e23 --- /dev/null +++ b/.changeset/quiet-ties-happen.md @@ -0,0 +1,67 @@ +--- +'@backstage/app-defaults': patch +'@backstage/cli': patch +'@backstage/codemods': patch +'@backstage/config-loader': patch +'@backstage/core-app-api': patch +'@backstage/core-components': patch +'@backstage/core-plugin-api': patch +'@backstage/create-app': patch +'@backstage/integration-react': patch +'@techdocs/cli': patch +'@backstage/test-utils': patch +'@backstage/plugin-airbrake': patch +'@backstage/plugin-allure': patch +'@backstage/plugin-analytics-module-ga': patch +'@backstage/plugin-apache-airflow': patch +'@backstage/plugin-api-docs': patch +'@backstage/plugin-azure-devops': patch +'@backstage/plugin-badges': patch +'@backstage/plugin-bitrise': patch +'@backstage/plugin-circleci': patch +'@backstage/plugin-cloudbuild': patch +'@backstage/plugin-code-climate': patch +'@backstage/plugin-code-coverage': patch +'@backstage/plugin-config-schema': patch +'@backstage/plugin-cost-insights': patch +'@backstage/plugin-explore': patch +'@backstage/plugin-explore-react': patch +'@backstage/plugin-firehydrant': patch +'@backstage/plugin-fossa': patch +'@backstage/plugin-gcalendar': patch +'@backstage/plugin-gcp-projects': patch +'@backstage/plugin-git-release-manager': patch +'@backstage/plugin-github-actions': patch +'@backstage/plugin-github-deployments': patch +'@backstage/plugin-gitops-profiles': patch +'@backstage/plugin-gocd': patch +'@backstage/plugin-graphiql': patch +'@backstage/plugin-home': patch +'@backstage/plugin-ilert': patch +'@backstage/plugin-jenkins': patch +'@backstage/plugin-kafka': patch +'@backstage/plugin-kubernetes': patch +'@backstage/plugin-lighthouse': patch +'@backstage/plugin-newrelic': patch +'@backstage/plugin-org': patch +'@backstage/plugin-pagerduty': patch +'@backstage/plugin-periskop': patch +'@backstage/plugin-rollbar': patch +'@backstage/plugin-scaffolder': patch +'@backstage/plugin-scaffolder-backend-module-rails': patch +'@backstage/plugin-search': patch +'@backstage/plugin-search-backend-node': patch +'@backstage/plugin-sentry': patch +'@backstage/plugin-shortcuts': patch +'@backstage/plugin-sonarqube': patch +'@backstage/plugin-splunk-on-call': patch +'@backstage/plugin-stack-overflow': patch +'@backstage/plugin-tech-insights': patch +'@backstage/plugin-tech-radar': patch +'@backstage/plugin-techdocs': patch +'@backstage/plugin-todo': patch +'@backstage/plugin-user-settings': patch +'@backstage/plugin-xcmetrics': patch +--- + +Bump to using `@types/node` v16 diff --git a/package.json b/package.json index 28e099ea89..13ba3c34ea 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "@changesets/cli": "^2.14.0", "@octokit/rest": "^18.12.0", "@spotify/prettier-config": "^13.0.0", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/webpack": "^5.28.0", "command-exists": "^1.2.9", "cross-env": "^7.0.0", diff --git a/packages/app-defaults/package.json b/packages/app-defaults/package.json index ae5994eaef..0d70d29c92 100644 --- a/packages/app-defaults/package.json +++ b/packages/app-defaults/package.json @@ -51,7 +51,7 @@ "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^12.1.3", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0" }, "files": [ diff --git a/packages/app/package.json b/packages/app/package.json index 813a085c47..4522cabaf1 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -84,7 +84,7 @@ "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", "@types/jquery": "^3.3.34", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react-dom": "*", "@types/zen-observable": "^0.8.0", "cross-env": "^7.0.0", diff --git a/packages/cli/package.json b/packages/cli/package.json index 2a66a0c195..e362caf40e 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -137,7 +137,7 @@ "@types/inquirer": "^8.1.3", "@types/minimatch": "^3.0.5", "@types/mock-fs": "^4.13.0", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/npm-packlist": "^3.0.0", "@types/recursive-readdir": "^2.2.0", "@types/rollup-plugin-peer-deps-external": "^2.2.0", diff --git a/packages/cli/templates/default-plugin/package.json.hbs b/packages/cli/templates/default-plugin/package.json.hbs index dfe084ee24..a174c1bafd 100644 --- a/packages/cli/templates/default-plugin/package.json.hbs +++ b/packages/cli/templates/default-plugin/package.json.hbs @@ -48,7 +48,7 @@ "@testing-library/react": "{{versionQuery '@testing-library/react' '12.1.3'}}", "@testing-library/user-event": "{{versionQuery '@testing-library/user-event' '14.0.0'}}", "@types/jest": "{{versionQuery '@types/jest' '26.0.7'}}", - "@types/node": "{{versionQuery '@types/node' '14.14.32'}}", + "@types/node": "{{versionQuery '@types/node' '16.11.26'}}", "msw": "{{versionQuery 'msw' '0.35.0'}}", "cross-fetch": "{{versionQuery 'cross-fetch' '3.1.5'}}" }, diff --git a/packages/codemods/package.json b/packages/codemods/package.json index a4cd09a0fd..bee26c5f53 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -41,7 +41,7 @@ }, "devDependencies": { "@types/jscodeshift": "^0.11.0", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "commander": "^6.1.0", "ts-node": "^10.0.0" }, diff --git a/packages/config-loader/package.json b/packages/config-loader/package.json index 051048ded6..56c3eefee0 100644 --- a/packages/config-loader/package.json +++ b/packages/config-loader/package.json @@ -54,7 +54,7 @@ "@types/jest": "^26.0.7", "@types/json-schema-merge-allof": "^0.6.0", "@types/mock-fs": "^4.10.0", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/yup": "^0.29.13", "mock-fs": "^5.1.0", "msw": "^0.35.0" diff --git a/packages/core-app-api/package.json b/packages/core-app-api/package.json index 6464d393d6..68763cd306 100644 --- a/packages/core-app-api/package.json +++ b/packages/core-app-api/package.json @@ -56,7 +56,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/zen-observable": "^0.8.0", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/packages/core-components/package.json b/packages/core-components/package.json index add65a1cdd..d7e8be8d8e 100644 --- a/packages/core-components/package.json +++ b/packages/core-components/package.json @@ -93,7 +93,7 @@ "@types/dagre": "^0.7.44", "@types/google-protobuf": "^3.7.2", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react-helmet": "^6.1.0", "@types/react-syntax-highlighter": "^13.5.2", "@types/react-virtualized-auto-sizer": "^1.0.1", diff --git a/packages/core-plugin-api/package.json b/packages/core-plugin-api/package.json index 05194462cf..75e344b5ae 100644 --- a/packages/core-plugin-api/package.json +++ b/packages/core-plugin-api/package.json @@ -54,7 +54,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/prop-types": "^15.7.3", "@types/zen-observable": "^0.8.0", "cross-fetch": "^3.1.5", diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 49cf17506c..502409b8e1 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -45,7 +45,7 @@ "devDependencies": { "@types/fs-extra": "^9.0.1", "@types/inquirer": "^8.1.3", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/recursive-readdir": "^2.2.0", "mock-fs": "^5.1.1", "ts-node": "^10.0.0" diff --git a/packages/e2e-test/package.json b/packages/e2e-test/package.json index 72469875ef..95bc79b7f1 100644 --- a/packages/e2e-test/package.json +++ b/packages/e2e-test/package.json @@ -32,7 +32,7 @@ "@backstage/cli-common": "^0.1.8", "@backstage/errors": "^1.0.0", "@types/fs-extra": "^9.0.1", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/puppeteer": "^5.4.4", "chalk": "^4.0.0", "commander": "^6.1.0", diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index 86914d72be..dc257c6f29 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -380,9 +380,9 @@ async function testAppServe(pluginName: string, appDir: string) { } } finally { // Kill entire process group, otherwise we'll end up with hanging serve processes - await new Promise((res, rej) => - killTree(startApp.pid, err => (err ? rej(err) : res())), - ); + await new Promise((res, rej) => { + killTree(startApp.pid!, err => (err ? rej(err) : res())); + }); } try { @@ -485,9 +485,9 @@ async function testBackendStart(appDir: string, isPostgres: boolean) { } finally { print('Stopping the child process'); // Kill entire process group, otherwise we'll end up with hanging serve processes - await new Promise((res, rej) => - killTree(child.pid, err => (err ? rej(err) : res())), - ); + await new Promise((res, rej) => { + killTree(child.pid!, err => (err ? rej(err) : res())); + }); } try { diff --git a/packages/integration-react/package.json b/packages/integration-react/package.json index 55ef77b6d2..a4322b9c0e 100644 --- a/packages/integration-react/package.json +++ b/packages/integration-react/package.json @@ -45,7 +45,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "msw": "^0.35.0", "cross-fetch": "^3.1.5" }, diff --git a/packages/techdocs-cli-embedded-app/package.json b/packages/techdocs-cli-embedded-app/package.json index 397c99e249..8771d5c14b 100644 --- a/packages/techdocs-cli-embedded-app/package.json +++ b/packages/techdocs-cli-embedded-app/package.json @@ -34,7 +34,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react-dom": "*", "cross-env": "^7.0.0", "cypress": "^9.5.0", diff --git a/packages/techdocs-cli/package.json b/packages/techdocs-cli/package.json index 7b03f0d3ab..28d4b64ebb 100644 --- a/packages/techdocs-cli/package.json +++ b/packages/techdocs-cli/package.json @@ -42,7 +42,7 @@ "@types/fs-extra": "^9.0.6", "@types/http-proxy": "^1.17.4", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/serve-handler": "^6.1.0", "@types/webpack-env": "^1.15.3", "cypress": "^9.5.0", diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 03ba4d714d..fc85ec4606 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -57,7 +57,7 @@ "devDependencies": { "@backstage/cli": "^0.17.0-next.1", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "msw": "^0.35.0" }, "files": [ diff --git a/plugins/airbrake/package.json b/plugins/airbrake/package.json index 5f6d7ff385..383597e7a3 100644 --- a/plugins/airbrake/package.json +++ b/plugins/airbrake/package.json @@ -48,7 +48,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/object-hash": "^2.2.1", "cross-fetch": "^3.1.5", "msw": "^0.35.0", diff --git a/plugins/allure/package.json b/plugins/allure/package.json index 93be4dd5ce..a8c1745518 100644 --- a/plugins/allure/package.json +++ b/plugins/allure/package.json @@ -48,7 +48,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/analytics-module-ga/package.json b/plugins/analytics-module-ga/package.json index 829c3321f9..42e4c7e3e5 100644 --- a/plugins/analytics-module-ga/package.json +++ b/plugins/analytics-module-ga/package.json @@ -46,7 +46,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/apache-airflow/package.json b/plugins/apache-airflow/package.json index 2531936274..86f249a89a 100644 --- a/plugins/apache-airflow/package.json +++ b/plugins/apache-airflow/package.json @@ -44,7 +44,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "msw": "^0.35.0" }, "files": [ diff --git a/plugins/api-docs/package.json b/plugins/api-docs/package.json index 2a0b682cd1..23ebd1cf8a 100644 --- a/plugins/api-docs/package.json +++ b/plugins/api-docs/package.json @@ -64,7 +64,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/swagger-ui-react": "^4.1.1", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/azure-devops/package.json b/plugins/azure-devops/package.json index 9e23ed7c8a..4811233405 100644 --- a/plugins/azure-devops/package.json +++ b/plugins/azure-devops/package.json @@ -57,7 +57,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/badges/package.json b/plugins/badges/package.json index 8e2dd50cfe..0e69b34824 100644 --- a/plugins/badges/package.json +++ b/plugins/badges/package.json @@ -54,7 +54,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/bitrise/package.json b/plugins/bitrise/package.json index 598eba449f..4dbd5c3cae 100644 --- a/plugins/bitrise/package.json +++ b/plugins/bitrise/package.json @@ -51,7 +51,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/recharts": "^1.8.15", "msw": "^0.35.0" }, diff --git a/plugins/circleci/package.json b/plugins/circleci/package.json index fb560e8874..56bbd007f0 100644 --- a/plugins/circleci/package.json +++ b/plugins/circleci/package.json @@ -64,7 +64,7 @@ "@testing-library/user-event": "^14.0.0", "@types/humanize-duration": "^3.25.1", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/cloudbuild/package.json b/plugins/cloudbuild/package.json index d42cb57479..49b58b0ae1 100644 --- a/plugins/cloudbuild/package.json +++ b/plugins/cloudbuild/package.json @@ -60,7 +60,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/code-climate/package.json b/plugins/code-climate/package.json index 3f960fcf48..b09be97d3b 100644 --- a/plugins/code-climate/package.json +++ b/plugins/code-climate/package.json @@ -49,7 +49,7 @@ "@types/humanize-duration": "^3.27.1", "@types/jest": "^26.0.7", "@types/luxon": "^2.0.9", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/code-coverage/package.json b/plugins/code-coverage/package.json index 6a06e0ea8a..89065b231a 100644 --- a/plugins/code-coverage/package.json +++ b/plugins/code-coverage/package.json @@ -55,7 +55,7 @@ "@testing-library/user-event": "^14.0.0", "@types/highlightjs": "^10.1.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/recharts": "^1.8.15", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/config-schema/package.json b/plugins/config-schema/package.json index b39ef87e55..9c8945af29 100644 --- a/plugins/config-schema/package.json +++ b/plugins/config-schema/package.json @@ -49,7 +49,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/cost-insights/package.json b/plugins/cost-insights/package.json index 8bebc963b4..fca3059317 100644 --- a/plugins/cost-insights/package.json +++ b/plugins/cost-insights/package.json @@ -68,7 +68,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/pluralize": "^0.0.29", "@types/recharts": "^1.8.14", "@types/regression": "^2.0.0", diff --git a/plugins/explore-react/package.json b/plugins/explore-react/package.json index e4ec9bad09..1d9611803d 100644 --- a/plugins/explore-react/package.json +++ b/plugins/explore-react/package.json @@ -43,7 +43,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/explore/package.json b/plugins/explore/package.json index 9ab1495e91..f4845f433c 100644 --- a/plugins/explore/package.json +++ b/plugins/explore/package.json @@ -61,7 +61,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/firehydrant/package.json b/plugins/firehydrant/package.json index 5a67ffd52c..86c22d9c40 100644 --- a/plugins/firehydrant/package.json +++ b/plugins/firehydrant/package.json @@ -47,7 +47,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/fossa/package.json b/plugins/fossa/package.json index 42ba6a3e81..49e14dd3f0 100644 --- a/plugins/fossa/package.json +++ b/plugins/fossa/package.json @@ -61,7 +61,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "msw": "^0.35.0" }, "files": [ diff --git a/plugins/gcalendar/package.json b/plugins/gcalendar/package.json index a74c1e9268..103d63a01d 100644 --- a/plugins/gcalendar/package.json +++ b/plugins/gcalendar/package.json @@ -54,7 +54,7 @@ "@types/gapi.auth2": "^0.0.56", "@types/gapi.client.calendar": "^3.0.10", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/sanitize-html": "^2.6.2", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/gcp-projects/package.json b/plugins/gcp-projects/package.json index 271663631b..f5f81660b8 100644 --- a/plugins/gcp-projects/package.json +++ b/plugins/gcp-projects/package.json @@ -55,7 +55,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/git-release-manager/package.json b/plugins/git-release-manager/package.json index beaed66493..701ceb8999 100644 --- a/plugins/git-release-manager/package.json +++ b/plugins/git-release-manager/package.json @@ -52,7 +52,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/recharts": "^1.8.15", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/github-actions/package.json b/plugins/github-actions/package.json index d938d0f5dc..fca4ab1f4e 100644 --- a/plugins/github-actions/package.json +++ b/plugins/github-actions/package.json @@ -63,7 +63,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/github-deployments/package.json b/plugins/github-deployments/package.json index 4348df8312..3f7098f85d 100644 --- a/plugins/github-deployments/package.json +++ b/plugins/github-deployments/package.json @@ -51,7 +51,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/gitops-profiles/package.json b/plugins/gitops-profiles/package.json index 80d1d5e09c..cda82cefb7 100644 --- a/plugins/gitops-profiles/package.json +++ b/plugins/gitops-profiles/package.json @@ -56,7 +56,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/gocd/package.json b/plugins/gocd/package.json index b8c9b30bf3..1920ca4995 100644 --- a/plugins/gocd/package.json +++ b/plugins/gocd/package.json @@ -59,7 +59,7 @@ "@types/jest": "^26.0.7", "@types/lodash": "^4.14.173", "@types/luxon": "^2.0.4", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/graphiql/package.json b/plugins/graphiql/package.json index 1cd7a1970e..9d6a07b4e5 100644 --- a/plugins/graphiql/package.json +++ b/plugins/graphiql/package.json @@ -57,7 +57,7 @@ "@testing-library/user-event": "^14.0.0", "@types/codemirror": "^0.0.108", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0", "react-router-dom": "6.0.0-beta.0" diff --git a/plugins/home/package.json b/plugins/home/package.json index 38d53c09f8..5358f83b55 100644 --- a/plugins/home/package.json +++ b/plugins/home/package.json @@ -62,7 +62,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/ilert/package.json b/plugins/ilert/package.json index 34df77cc2c..e66020d3ac 100644 --- a/plugins/ilert/package.json +++ b/plugins/ilert/package.json @@ -51,7 +51,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/jenkins/package.json b/plugins/jenkins/package.json index 59930bea6d..e7170c012a 100644 --- a/plugins/jenkins/package.json +++ b/plugins/jenkins/package.json @@ -62,7 +62,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/testing-library__jest-dom": "^5.9.1", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/kafka/package.json b/plugins/kafka/package.json index 14fc791d50..5603ad7588 100644 --- a/plugins/kafka/package.json +++ b/plugins/kafka/package.json @@ -48,7 +48,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "jest-when": "^3.1.0", "msw": "^0.35.0" diff --git a/plugins/kubernetes/package.json b/plugins/kubernetes/package.json index b075199da8..c5496226ee 100644 --- a/plugins/kubernetes/package.json +++ b/plugins/kubernetes/package.json @@ -66,7 +66,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/lighthouse/package.json b/plugins/lighthouse/package.json index d685984b31..184a052db4 100644 --- a/plugins/lighthouse/package.json +++ b/plugins/lighthouse/package.json @@ -60,7 +60,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/newrelic/package.json b/plugins/newrelic/package.json index 9be5d535a9..d5f1b098b7 100644 --- a/plugins/newrelic/package.json +++ b/plugins/newrelic/package.json @@ -55,7 +55,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/org/package.json b/plugins/org/package.json index 9cb72c7c2c..1528530eef 100644 --- a/plugins/org/package.json +++ b/plugins/org/package.json @@ -57,7 +57,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/pagerduty/package.json b/plugins/pagerduty/package.json index d64d1dc92d..e2967afc45 100644 --- a/plugins/pagerduty/package.json +++ b/plugins/pagerduty/package.json @@ -60,7 +60,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/periskop/package.json b/plugins/periskop/package.json index 7321332676..e37a14d7ec 100644 --- a/plugins/periskop/package.json +++ b/plugins/periskop/package.json @@ -51,7 +51,7 @@ "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", "@types/luxon": "^2.0.4", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/rollbar/package.json b/plugins/rollbar/package.json index bade8b69b2..81fca1d7c7 100644 --- a/plugins/rollbar/package.json +++ b/plugins/rollbar/package.json @@ -62,7 +62,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/scaffolder-backend-module-rails/package.json b/plugins/scaffolder-backend-module-rails/package.json index abb0bedf74..d1e100720d 100644 --- a/plugins/scaffolder-backend-module-rails/package.json +++ b/plugins/scaffolder-backend-module-rails/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@backstage/cli": "^0.17.0-next.1", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/command-exists": "^1.2.0", "@types/fs-extra": "^9.0.1", "@types/mock-fs": "^4.13.0", diff --git a/plugins/scaffolder/package.json b/plugins/scaffolder/package.json index e98a0f3ebe..0ef620776b 100644 --- a/plugins/scaffolder/package.json +++ b/plugins/scaffolder/package.json @@ -90,7 +90,7 @@ "@testing-library/user-event": "^14.0.0", "@types/humanize-duration": "^3.18.1", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "event-source-polyfill": "1.0.25", "msw": "^0.35.0" diff --git a/plugins/search-backend-node/src/IndexBuilder.ts b/plugins/search-backend-node/src/IndexBuilder.ts index 6be4489127..69c1b2e6fc 100644 --- a/plugins/search-backend-node/src/IndexBuilder.ts +++ b/plugins/search-backend-node/src/IndexBuilder.ts @@ -134,18 +134,21 @@ export class IndexBuilder { // Compose collator/decorators/indexer into a pipeline return new Promise(done => { - pipeline([collator, ...decorators, indexer], error => { - if (error) { - this.logger.error( - `Collating documents for ${type} failed: ${error}`, - ); - } else { - this.logger.info(`Collating documents for ${type} succeeded`); - } + pipeline( + [collator, ...decorators, indexer], + (error: NodeJS.ErrnoException | null) => { + if (error) { + this.logger.error( + `Collating documents for ${type} failed: ${error}`, + ); + } else { + this.logger.info(`Collating documents for ${type} succeeded`); + } - // Signal index pipeline completion! - done(); - }); + // Signal index pipeline completion! + done(); + }, + ); }); }, this.collators[type].refreshInterval * 1000); }); diff --git a/plugins/search-backend-node/src/test-utils/TestPipeline.ts b/plugins/search-backend-node/src/test-utils/TestPipeline.ts index 162572d929..dd90de4f38 100644 --- a/plugins/search-backend-node/src/test-utils/TestPipeline.ts +++ b/plugins/search-backend-node/src/test-utils/TestPipeline.ts @@ -129,7 +129,7 @@ export class TestPipeline { } pipes.push(this.indexer!); - pipeline(pipes, error => { + pipeline(pipes, (error: NodeJS.ErrnoException | null) => { done({ error, documents, diff --git a/plugins/search/package.json b/plugins/search/package.json index aa10c13c67..c32e830950 100644 --- a/plugins/search/package.json +++ b/plugins/search/package.json @@ -65,7 +65,7 @@ "@testing-library/react-hooks": "^7.0.2", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/sentry/package.json b/plugins/sentry/package.json index fbe50c8ac5..f150fb927c 100644 --- a/plugins/sentry/package.json +++ b/plugins/sentry/package.json @@ -62,7 +62,7 @@ "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", "@types/luxon": "^2.0.4", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/shortcuts/package.json b/plugins/shortcuts/package.json index 5204fc7d99..0d2c41e7de 100644 --- a/plugins/shortcuts/package.json +++ b/plugins/shortcuts/package.json @@ -50,7 +50,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/sonarqube/package.json b/plugins/sonarqube/package.json index b40810495b..2b227933da 100644 --- a/plugins/sonarqube/package.json +++ b/plugins/sonarqube/package.json @@ -61,7 +61,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "msw": "^0.35.0" }, "files": [ diff --git a/plugins/splunk-on-call/package.json b/plugins/splunk-on-call/package.json index 47b58ac8b3..56acc410b3 100644 --- a/plugins/splunk-on-call/package.json +++ b/plugins/splunk-on-call/package.json @@ -60,7 +60,7 @@ "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", "@types/luxon": "^2.0.4", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/stack-overflow/package.json b/plugins/stack-overflow/package.json index 31cee115a8..52f9f4cabf 100644 --- a/plugins/stack-overflow/package.json +++ b/plugins/stack-overflow/package.json @@ -49,7 +49,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "msw": "^0.35.0" }, "files": [ diff --git a/plugins/tech-insights/package.json b/plugins/tech-insights/package.json index 18a0ce55b5..2ec49bf21a 100644 --- a/plugins/tech-insights/package.json +++ b/plugins/tech-insights/package.json @@ -55,7 +55,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/tech-radar/package.json b/plugins/tech-radar/package.json index 452c083f33..9d92b51682 100644 --- a/plugins/tech-radar/package.json +++ b/plugins/tech-radar/package.json @@ -59,7 +59,7 @@ "@types/color": "^3.0.1", "@types/d3-force": "^2.1.1", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "@types/react": "^16.13.1 || ^17.0.0", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/techdocs/package.json b/plugins/techdocs/package.json index d5aceb9c7c..8516c09783 100644 --- a/plugins/techdocs/package.json +++ b/plugins/techdocs/package.json @@ -74,7 +74,7 @@ "@testing-library/user-event": "^14.0.0", "@types/dompurify": "^2.2.2", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "canvas": "^2.6.1", "cross-fetch": "^3.1.5", "msw": "^0.35.0" diff --git a/plugins/todo/package.json b/plugins/todo/package.json index 00430642c8..ae991d1f2e 100644 --- a/plugins/todo/package.json +++ b/plugins/todo/package.json @@ -53,7 +53,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0", "react-router": "6.0.0-beta.0" diff --git a/plugins/user-settings/package.json b/plugins/user-settings/package.json index e16ad1c75b..275f971b41 100644 --- a/plugins/user-settings/package.json +++ b/plugins/user-settings/package.json @@ -56,7 +56,7 @@ "@testing-library/react": "^12.1.3", "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/plugins/xcmetrics/package.json b/plugins/xcmetrics/package.json index 8180472905..e809112dae 100644 --- a/plugins/xcmetrics/package.json +++ b/plugins/xcmetrics/package.json @@ -49,7 +49,7 @@ "@testing-library/user-event": "^14.0.0", "@types/jest": "^26.0.7", "@types/luxon": "^2.0.4", - "@types/node": "^14.14.32", + "@types/node": "^16.11.26", "cross-fetch": "^3.1.5", "msw": "^0.35.0" }, diff --git a/yarn.lock b/yarn.lock index 32d11872e2..b738144c91 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2823,9 +2823,9 @@ integrity sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg== "@grpc/grpc-js@~1.4.0": - version "1.4.5" - resolved "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.4.5.tgz#0cd840b47180624eeedf066f2cdc422d052401f8" - integrity sha512-A6cOzSu7dqXZ7rzvh/9JZf+Jg/MOpLEMP0IdT8pT8hrWJZ6TB4ydN/MRuqOtAugInJe/VQ9F8BPricUpYZSaZA== + version "1.4.6" + resolved "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.4.6.tgz#8108d7ab7c0c21b38c538c1a48583edbbf2c2412" + integrity sha512-Byau4xiXfIixb1PnW30V/P9mkrZ05lknyNqiK+cVY9J5hj3gecxd/anwaUbAM8j834zg1x78NvAbwGnMfWEu7A== dependencies: "@grpc/proto-loader" "^0.6.4" "@types/node" ">=12.12.47" @@ -6448,6 +6448,11 @@ resolved "https://registry.npmjs.org/@types/node/-/node-15.14.9.tgz#bc43c990c3c9be7281868bbc7b8fdd6e2b57adfa" integrity sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A== +"@types/node@^16.11.26": + version "16.11.26" + resolved "https://registry.npmjs.org/@types/node/-/node-16.11.26.tgz#63d204d136c9916fb4dcd1b50f9740fe86884e47" + integrity sha512-GZ7bu5A6+4DtG7q9GsoHXy3ALcgeIHP4NnL0Vv2wu0uUB/yQex26v0tf6/na1mm0+bS9Uw+0DFex7aaKr2qawQ== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -6795,18 +6800,10 @@ dependencies: "@types/node" "*" -"@types/ssh2@*": - version "0.5.47" - resolved "https://registry.npmjs.org/@types/ssh2/-/ssh2-0.5.47.tgz#67a8b35a0527b2bb668f6dea4c84be6ff1abdc19" - integrity sha512-ZhqJg8BRV7OsCi0KVqPr27lUMMmLEeHYw1VXUNGGDlQEDq9HTsKx+wYvi8E6oNC6gRZ7PV99ZMZmMr5vztcYYA== - dependencies: - "@types/node" "*" - "@types/ssh2-streams" "*" - -"@types/ssh2@^0.5.48": - version "0.5.48" - resolved "https://registry.npmjs.org/@types/ssh2/-/ssh2-0.5.48.tgz#0d9e8654a76eaaf4cfeaeb88d74c4489cfcf7aea" - integrity sha512-cmQu0gp/6RtDXe1r2xXGgi0V0TeCdueDSRMEvBX8cTRT/sSREkUpgCYZLyh+iI8Ql+VNV8Az9toQoYa/IdgHbQ== +"@types/ssh2@*", "@types/ssh2@^0.5.48": + version "0.5.52" + resolved "https://registry.npmjs.org/@types/ssh2/-/ssh2-0.5.52.tgz#9dbd8084e2a976e551d5e5e70b978ed8b5965741" + integrity sha512-lbLLlXxdCZOSJMCInKH2+9V/77ET2J6NPQHpFI0kda61Dd1KglJs+fPQBchizmzYSOJBgdTajhPqBO1xxLywvg== dependencies: "@types/node" "*" "@types/ssh2-streams" "*"