diff --git a/.changeset/quick-walls-play.md b/.changeset/quick-walls-play.md new file mode 100644 index 0000000000..18d53b36d2 --- /dev/null +++ b/.changeset/quick-walls-play.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-gateway-backend': major +--- + +Initial release of `@backstage/plugin-gateway-backend` diff --git a/.github/vale/config/vocabularies/Backstage/accept.txt b/.github/vale/config/vocabularies/Backstage/accept.txt index 7a83dc6e92..e8c9751ba2 100644 --- a/.github/vale/config/vocabularies/Backstage/accept.txt +++ b/.github/vale/config/vocabularies/Backstage/accept.txt @@ -173,6 +173,7 @@ graphviz Hackathons haproxy hardcoded +hardcoding Harness harness Helidon diff --git a/plugins/gateway-backend/.eslintrc.js b/plugins/gateway-backend/.eslintrc.js new file mode 100644 index 0000000000..e2a53a6ad2 --- /dev/null +++ b/plugins/gateway-backend/.eslintrc.js @@ -0,0 +1 @@ +module.exports = require('@backstage/cli/config/eslint-factory')(__dirname); diff --git a/plugins/gateway-backend/README.md b/plugins/gateway-backend/README.md new file mode 100644 index 0000000000..3bbe728954 --- /dev/null +++ b/plugins/gateway-backend/README.md @@ -0,0 +1,39 @@ +# Gateway Backend Plugin + +A plugin for managing request routing in distributed Backstage deployments. + +## Overview + +This plugin is designed for organizations that have [split their backend plugins across multiple Backstage deployments](https://backstage.io/docs/backend-system/building-backends/index#split-into-multiple-backends) and implemented a custom Discovery service to resolve backend plugin URLs. + +While a custom discovery service handles routing between backend plugins, it doesn't address frontend-to-backend routing without either: + +- Hardcoding URLs in the frontend +- Implementing a custom reverse proxy + +The Gateway Backend Plugin solves this by providing a centralized routing solution in a dedicated "gateway" Backstage deployment. It routes frontend requests to the appropriate backend plugins using the Discovery service, while prioritizing local plugins when available. + +## Installation + +1. Install the plugin package: + +```bash +# From your root directory +yarn --cwd packages/backend add @backstage/plugin-gateway-backend +``` + +2. Add the plugin to your backend in `packages/backend/src/index.ts`: + +```diff + const backend = createBackend(); + // ... ++ backend.add(import('@backstage/plugin-gateway-backend')); +``` + +3. Configure the `baseUrl` in your `app-config.yaml` to point to your gateway deployment: + +```yaml +backend: + # The baseUrl of your gateway Backstage deployment + baseUrl: http://gateway-backstage-backend.example.com +``` diff --git a/plugins/gateway-backend/catalog-info.yaml b/plugins/gateway-backend/catalog-info.yaml new file mode 100644 index 0000000000..880b0d4a25 --- /dev/null +++ b/plugins/gateway-backend/catalog-info.yaml @@ -0,0 +1,9 @@ +apiVersion: backstage.io/v1alpha1 +kind: Component +metadata: + name: backstage-plugin-gateway-backend + title: '@backstage/plugin-gateway-backend' +spec: + lifecycle: experimental + type: backstage-backend-plugin + owner: maintainers diff --git a/plugins/gateway-backend/package.json b/plugins/gateway-backend/package.json new file mode 100644 index 0000000000..adc1669d97 --- /dev/null +++ b/plugins/gateway-backend/package.json @@ -0,0 +1,52 @@ +{ + "name": "@backstage/plugin-gateway-backend", + "version": "0.0.0", + "backstage": { + "role": "backend-plugin", + "pluginId": "gateway", + "pluginPackages": [ + "@backstage/plugin-gateway-backend" + ] + }, + "publishConfig": { + "access": "public", + "main": "dist/index.cjs.js", + "types": "dist/index.d.ts" + }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/gateway-backend" + }, + "license": "Apache-2.0", + "main": "src/index.ts", + "types": "src/index.ts", + "files": [ + "dist" + ], + "scripts": { + "build": "backstage-cli package build", + "clean": "backstage-cli package clean", + "lint": "backstage-cli package lint", + "prepack": "backstage-cli package prepack", + "postpack": "backstage-cli package postpack", + "start": "backstage-cli package start", + "test": "backstage-cli package test" + }, + "dependencies": { + "@backstage/backend-plugin-api": "workspace:^", + "@opentelemetry/api": "^1.9.0", + "@opentelemetry/core": "^1.29.0", + "express": "^4.17.1", + "http-proxy-middleware": "^3.0.3" + }, + "devDependencies": { + "@backstage/backend-app-api": "workspace:^", + "@backstage/backend-defaults": "workspace:^", + "@backstage/backend-test-utils": "workspace:^", + "@backstage/cli": "workspace:^", + "@types/express": "^4.17.6", + "eventsource": "^3.0.6", + "wait-for-expect": "^3.0.2" + } +} diff --git a/plugins/gateway-backend/report.api.md b/plugins/gateway-backend/report.api.md new file mode 100644 index 0000000000..17ccd52094 --- /dev/null +++ b/plugins/gateway-backend/report.api.md @@ -0,0 +1,11 @@ +## API Report File for "@backstage/plugin-gateway-backend" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts +import { BackendFeature } from '@backstage/backend-plugin-api'; + +// @public +const gatewayPlugin: BackendFeature; +export default gatewayPlugin; +``` diff --git a/plugins/gateway-backend/src/index.ts b/plugins/gateway-backend/src/index.ts new file mode 100644 index 0000000000..dd688dce4c --- /dev/null +++ b/plugins/gateway-backend/src/index.ts @@ -0,0 +1,23 @@ +/* + * Copyright 2025 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A plugin for managing request routing in distributed Backstage deployments. + * + * @packageDocumentation + */ + +export { gatewayPlugin as default } from './plugin'; diff --git a/plugins/gateway-backend/src/plugin.test.ts b/plugins/gateway-backend/src/plugin.test.ts new file mode 100644 index 0000000000..078fde044e --- /dev/null +++ b/plugins/gateway-backend/src/plugin.test.ts @@ -0,0 +1,183 @@ +/* + * Copyright 2025 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { createBackend } from '@backstage/backend-defaults'; +import { Backend } from '@backstage/backend-app-api'; +import { mockServices } from '@backstage/backend-test-utils'; +import { + coreServices, + createBackendPlugin, + createServiceFactory, +} from '@backstage/backend-plugin-api'; +import { Router } from 'express'; +import { EventSource } from 'eventsource'; +import waitForExpect from 'wait-for-expect'; + +describe('gateway', () => { + let backend: Backend; + let anotherBackend: Backend; + + const dummyPlugin = createBackendPlugin({ + pluginId: 'dummy', + register(env) { + env.registerInit({ + deps: { + httpRouter: coreServices.httpRouter, + }, + async init({ httpRouter }) { + const router = Router(); + router.get('/foo', (_req, res) => { + res.json({ foo: true }); + }); + + httpRouter.use(router); + }, + }); + }, + }); + + const discovery = mockServices.discovery.mock(); + discovery.getBaseUrl.mockImplementation(async (pluginId: string) => { + if (pluginId === 'external-plugin') { + return 'http://localhost:7778/api/external-plugin'; + } + return `http://localhost:7777/api/${pluginId}`; + }); + + beforeAll(async () => { + backend = createBackend(); + backend.add(mockServices.rootHttpRouter.factory()); + backend.add( + mockServices.rootConfig.factory({ + data: { + backend: { baseUrl: 'http://localhost:7777', listen: { port: 7777 } }, + }, + }), + ); + backend.add(mockServices.auth.factory()); + backend.add(mockServices.httpAuth.factory()); + backend.add( + createServiceFactory({ + service: coreServices.discovery, + deps: {}, + factory: () => discovery, + }), + ); + backend.add(dummyPlugin); + backend.add(import('./')); + + anotherBackend = createBackend(); + anotherBackend.add(mockServices.rootHttpRouter.factory()); + anotherBackend.add( + mockServices.rootConfig.factory({ + data: { + backend: { baseUrl: 'http://localhost:7778', listen: { port: 7778 } }, + }, + }), + ); + anotherBackend.add(mockServices.auth.factory()); + anotherBackend.add(mockServices.httpAuth.factory()); + anotherBackend.add(mockServices.discovery.factory()); + anotherBackend.add( + createBackendPlugin({ + pluginId: 'external-plugin', + register(env) { + env.registerInit({ + deps: { + rootHttpRouter: coreServices.rootHttpRouter, + httpRouter: coreServices.httpRouter, + }, + async init({ httpRouter }) { + const router = Router(); + router.get('/foo', (_req, res) => { + res.json({ bar: true }); + }); + + router.get('/endpoint-sse', async (_req, res) => { + res.setHeader('Content-Type', 'text/event-stream'); + res.setHeader('Cache-Control', 'no-cache'); + res.setHeader('Connection', 'keep-alive'); + + // Send periodic updates + let data = { timestamp: new Date().toISOString() }; + res.write(`data: ${JSON.stringify(data)}\n\n`); + res.flush(); + await pause(50); + + data = { timestamp: new Date().toISOString() }; + res.write(`data: ${JSON.stringify(data)}\n\n`); + res.flush(); + await pause(50); + + data = { timestamp: new Date().toISOString() }; + res.write(`data: ${JSON.stringify(data)}\n\n`); + res.flush(); + await pause(50); + + res.destroy(); + }); + + httpRouter.use(router); + }, + }); + }, + }), + ); + await Promise.all([backend.start(), anotherBackend.start()]); + }, 15_000); + + afterAll(async () => { + await backend.stop(); + await anotherBackend.stop(); + }); + + it('should invoke the endpoint of an installed plugin', async () => { + const response = await fetch('http://localhost:7777/api/dummy/foo'); + expect(response.status).toBe(200); + + const data = await response.json(); + expect(data).toEqual({ foo: true }); + }); + + it('should proxy requests for unknown plugins', async () => { + const response = await fetch( + 'http://localhost:7777/api/external-plugin/foo', + ); + expect(response.status).toBe(200); + + const data = await response.json(); + expect(data).toEqual({ bar: true }); + }); + + it('should close the response for sse connections', async () => { + const eventSource = new EventSource( + 'http://localhost:7777/api/external-plugin/endpoint-sse', + ); + + const mockOnMessage = jest.fn(); + const mockOnError = jest.fn(); + eventSource.addEventListener('message', mockOnMessage); + eventSource.addEventListener('error', mockOnError); + + await waitForExpect(() => { + expect(mockOnMessage).toHaveBeenCalledTimes(3); + expect(mockOnError).toHaveBeenCalled(); + }); + }); +}); + +function pause(ms: number) { + return new Promise(resolve => setTimeout(resolve, ms)); +} diff --git a/plugins/gateway-backend/src/plugin.ts b/plugins/gateway-backend/src/plugin.ts new file mode 100644 index 0000000000..94b979d1bc --- /dev/null +++ b/plugins/gateway-backend/src/plugin.ts @@ -0,0 +1,51 @@ +/* + * Copyright 2025 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { + coreServices, + createBackendPlugin, +} from '@backstage/backend-plugin-api'; +import { createRouter } from './router'; +import { instanceMetadataServiceRef } from '@backstage/backend-plugin-api/alpha'; +import { Handler } from 'express'; + +/** + * gateway backend plugin + * + * @public + */ +export const gatewayPlugin = createBackendPlugin({ + pluginId: 'gateway', + register(env) { + env.registerInit({ + deps: { + logger: coreServices.logger, + rootHttpRouter: coreServices.rootHttpRouter, + instanceMeta: instanceMetadataServiceRef, + discovery: coreServices.discovery, + }, + async init({ logger, discovery, instanceMeta, rootHttpRouter }) { + rootHttpRouter.use( + '/api/:pluginId', + createRouter({ + discovery, + instanceMeta, + logger, + }) as Handler, + ); + }, + }); + }, +}); diff --git a/plugins/gateway-backend/src/router.ts b/plugins/gateway-backend/src/router.ts new file mode 100644 index 0000000000..74b3c6e066 --- /dev/null +++ b/plugins/gateway-backend/src/router.ts @@ -0,0 +1,73 @@ +/* + * Copyright 2025 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import { DiscoveryService, LoggerService } from '@backstage/backend-plugin-api'; +import { InstanceMetadataService } from '@backstage/backend-plugin-api/alpha'; +import { Request, Response, NextFunction } from 'express'; +import { createProxyMiddleware } from 'http-proxy-middleware'; +import { context } from '@opentelemetry/api'; +import { getRPCMetadata } from '@opentelemetry/core'; + +export function createRouter({ + discovery, + instanceMeta, +}: { + discovery: DiscoveryService; + instanceMeta: InstanceMetadataService; + logger: LoggerService; +}) { + const localPluginIds = new Set( + instanceMeta + .getInstalledFeatures() + .filter(f => f.type === 'plugin') + .map(f => f.pluginId), + ); + + const proxy = createProxyMiddleware({ + changeOrigin: true, + router: async (req: Request<{ pluginId: string }>) => { + const pluginId = req.params.pluginId; + return discovery.getBaseUrl(pluginId); + }, + on: { + proxyRes(proxyRes, _req, res) { + // https://github.com/chimurai/http-proxy-middleware/discussions/765 + proxyRes.on('close', () => { + if (!res.writableEnded) { + res.end(); + } + }); + }, + }, + }); + + return function proxyMiddleware( + req: Request<{ pluginId: string }>, + res: Response, + next: NextFunction, + ) { + if (localPluginIds.has(req.params.pluginId)) { + next(); + return; + } + + const rpcMetadata = getRPCMetadata(context.active()); + if (rpcMetadata) { + rpcMetadata.route = req.baseUrl; + } + + proxy(req, res, next); + }; +} diff --git a/plugins/gateway-backend/src/setupTests.ts b/plugins/gateway-backend/src/setupTests.ts new file mode 100644 index 0000000000..f3a222d4e1 --- /dev/null +++ b/plugins/gateway-backend/src/setupTests.ts @@ -0,0 +1,16 @@ +/* + * Copyright 2025 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +export {}; diff --git a/yarn.lock b/yarn.lock index 5885e996ab..6d3a9921ec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6733,6 +6733,25 @@ __metadata: languageName: unknown linkType: soft +"@backstage/plugin-gateway-backend@workspace:plugins/gateway-backend": + version: 0.0.0-use.local + resolution: "@backstage/plugin-gateway-backend@workspace:plugins/gateway-backend" + dependencies: + "@backstage/backend-app-api": "workspace:^" + "@backstage/backend-defaults": "workspace:^" + "@backstage/backend-plugin-api": "workspace:^" + "@backstage/backend-test-utils": "workspace:^" + "@backstage/cli": "workspace:^" + "@opentelemetry/api": "npm:^1.9.0" + "@opentelemetry/core": "npm:^1.29.0" + "@types/express": "npm:^4.17.6" + eventsource: "npm:^3.0.6" + express: "npm:^4.17.1" + http-proxy-middleware: "npm:^3.0.3" + wait-for-expect: "npm:^3.0.2" + languageName: unknown + linkType: soft + "@backstage/plugin-home-react@workspace:^, @backstage/plugin-home-react@workspace:plugins/home-react": version: 0.0.0-use.local resolution: "@backstage/plugin-home-react@workspace:plugins/home-react" @@ -13842,7 +13861,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/core@npm:1.29.0, @opentelemetry/core@npm:^1.0.0, @opentelemetry/core@npm:^1.1.0, @opentelemetry/core@npm:^1.25.0, @opentelemetry/core@npm:^1.25.1, @opentelemetry/core@npm:^1.26.0, @opentelemetry/core@npm:^1.8.0": +"@opentelemetry/core@npm:1.29.0": version: 1.29.0 resolution: "@opentelemetry/core@npm:1.29.0" dependencies: @@ -13853,6 +13872,17 @@ __metadata: languageName: node linkType: hard +"@opentelemetry/core@npm:1.30.1, @opentelemetry/core@npm:^1.0.0, @opentelemetry/core@npm:^1.1.0, @opentelemetry/core@npm:^1.25.0, @opentelemetry/core@npm:^1.25.1, @opentelemetry/core@npm:^1.26.0, @opentelemetry/core@npm:^1.29.0, @opentelemetry/core@npm:^1.8.0": + version: 1.30.1 + resolution: "@opentelemetry/core@npm:1.30.1" + dependencies: + "@opentelemetry/semantic-conventions": "npm:1.28.0" + peerDependencies: + "@opentelemetry/api": ">=1.0.0 <1.10.0" + checksum: 10/fa3df9619fdbf8f607132d72915849754b71c4c5f5f705b30c8c59b209abe97206decf25cb8ebafdbb6105a4baab2acddee47468cb9d0b67f1a8df96cebc3548 + languageName: node + linkType: hard + "@opentelemetry/exporter-logs-otlp-grpc@npm:0.54.2": version: 0.54.2 resolution: "@opentelemetry/exporter-logs-otlp-grpc@npm:0.54.2" @@ -14690,11 +14720,11 @@ __metadata: linkType: hard "@opentelemetry/propagation-utils@npm:^0.30.14": - version: 0.30.14 - resolution: "@opentelemetry/propagation-utils@npm:0.30.14" + version: 0.30.16 + resolution: "@opentelemetry/propagation-utils@npm:0.30.16" peerDependencies: "@opentelemetry/api": ^1.0.0 - checksum: 10/f263a48a4f044160fb8ddffbb008be3d28ea12a4320af9965e9492d98b3fa06e50eb30b0a0682a91e14910ca43e18e1436ddee9e8f3a1dd0ab5d609a96e29064 + checksum: 10/8d282553d08aadfc9f8879ea6fbb33089765a535f960d72ae27fb98e8dab9c7e0394217cb9e2999479f9c2486fa9454cf4ffffeda30f4a96f8fe011276942b75 languageName: node linkType: hard @@ -14750,28 +14780,28 @@ __metadata: linkType: hard "@opentelemetry/resource-detector-alibaba-cloud@npm:^0.29.6": - version: 0.29.6 - resolution: "@opentelemetry/resource-detector-alibaba-cloud@npm:0.29.6" + version: 0.29.7 + resolution: "@opentelemetry/resource-detector-alibaba-cloud@npm:0.29.7" dependencies: "@opentelemetry/core": "npm:^1.26.0" "@opentelemetry/resources": "npm:^1.10.0" "@opentelemetry/semantic-conventions": "npm:^1.27.0" peerDependencies: "@opentelemetry/api": ^1.0.0 - checksum: 10/35f5512a0664e006c59edffca9176b0697e8aff9ceb8c80962723b0dddf5a25ceb2d5f462898e69ab6ce210f977145504faea50ffd22fb5aa1446f6a1efdb0b3 + checksum: 10/1baba0bef0201b4b6f442e3dd47846051b551e5dd0d9c9aaf6223ff292ae719f9263edb81496487166956a5ad67f79f73dda65ec012912f2fab9758fe1199656 languageName: node linkType: hard "@opentelemetry/resource-detector-aws@npm:^1.9.0": - version: 1.9.0 - resolution: "@opentelemetry/resource-detector-aws@npm:1.9.0" + version: 1.12.0 + resolution: "@opentelemetry/resource-detector-aws@npm:1.12.0" dependencies: "@opentelemetry/core": "npm:^1.0.0" "@opentelemetry/resources": "npm:^1.10.0" "@opentelemetry/semantic-conventions": "npm:^1.27.0" peerDependencies: "@opentelemetry/api": ^1.0.0 - checksum: 10/6bb82712d555b43405727684f5e9756738ed4ec3fc97e6aeee20bb2ff205b6af22ffb8cc2ecb2f58c37478f786e5ccdd740ee5d0c9db27e2f1704cdae78e7b32 + checksum: 10/95702aed5d2a22fab0429439d57ede5c53b3512618af21ffc098b0e6fca86266e9703a32325427082bb5776697d5e74a4e99f6c757e4b6bcf497e32663e705f9 languageName: node linkType: hard @@ -14789,15 +14819,15 @@ __metadata: linkType: hard "@opentelemetry/resource-detector-container@npm:^0.5.2": - version: 0.5.2 - resolution: "@opentelemetry/resource-detector-container@npm:0.5.2" + version: 0.5.3 + resolution: "@opentelemetry/resource-detector-container@npm:0.5.3" dependencies: "@opentelemetry/core": "npm:^1.26.0" "@opentelemetry/resources": "npm:^1.10.0" "@opentelemetry/semantic-conventions": "npm:^1.27.0" peerDependencies: "@opentelemetry/api": ^1.0.0 - checksum: 10/1e1b7f197b977a15b5d219a452c46f41196021b625b1d246e0ade5c065201e3553e0ea79fcd0df1b657536319264ad28d98b1acfd5ebcf3866b608cd10449d67 + checksum: 10/79fd039e3f960a8fa31af9df52bffc948c3bc2f384d574061f0e0c47fa9bdb0d4b95ff34e94f72b33746a92a427cf284c069633ad07bfdca52c62e03e5d005c5 languageName: node linkType: hard @@ -14827,7 +14857,7 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/resources@npm:1.29.0, @opentelemetry/resources@npm:^1.10.0, @opentelemetry/resources@npm:^1.10.1, @opentelemetry/resources@npm:^1.24.0": +"@opentelemetry/resources@npm:1.29.0": version: 1.29.0 resolution: "@opentelemetry/resources@npm:1.29.0" dependencies: @@ -14839,6 +14869,18 @@ __metadata: languageName: node linkType: hard +"@opentelemetry/resources@npm:^1.10.0, @opentelemetry/resources@npm:^1.10.1, @opentelemetry/resources@npm:^1.24.0": + version: 1.30.1 + resolution: "@opentelemetry/resources@npm:1.30.1" + dependencies: + "@opentelemetry/core": "npm:1.30.1" + "@opentelemetry/semantic-conventions": "npm:1.28.0" + peerDependencies: + "@opentelemetry/api": ">=1.0.0 <1.10.0" + checksum: 10/9b7544b639e8fee41315e2646615676ffb1020dba0f6c81e6ec1dd2daf5409fc6ce3d2b629bbd9cd32f85decc3a8bfa5dc8cc52bb72bd84c1777ca25b4301aa0 + languageName: node + linkType: hard + "@opentelemetry/sdk-logs@npm:0.54.2": version: 0.54.2 resolution: "@opentelemetry/sdk-logs@npm:0.54.2" @@ -15006,13 +15048,20 @@ __metadata: languageName: node linkType: hard -"@opentelemetry/semantic-conventions@npm:1.28.0, @opentelemetry/semantic-conventions@npm:^1.27.0": +"@opentelemetry/semantic-conventions@npm:1.28.0": version: 1.28.0 resolution: "@opentelemetry/semantic-conventions@npm:1.28.0" checksum: 10/c182a3206769b5d5a8ab89a5c674d046fd789421cef27ea55af179990e314732433c98e5017aa23e99f15fd2b0e13cb129bb6c2282da6860ce9419adf32b2e87 languageName: node linkType: hard +"@opentelemetry/semantic-conventions@npm:^1.27.0": + version: 1.30.0 + resolution: "@opentelemetry/semantic-conventions@npm:1.30.0" + checksum: 10/78df5976f5bcfd00acaea3e609cf06fdd34517ae8db994ae216aaac16c51af97ac22c534bfcbac5218e0086db83ec5ef6cc045b95626cc6ea807686bea549a41 + languageName: node + linkType: hard + "@opentelemetry/sql-common@npm:^0.40.1": version: 0.40.1 resolution: "@opentelemetry/sql-common@npm:0.40.1" @@ -29220,6 +29269,22 @@ __metadata: languageName: node linkType: hard +"eventsource-parser@npm:^3.0.1": + version: 3.0.1 + resolution: "eventsource-parser@npm:3.0.1" + checksum: 10/2730c54c3cb47d55d2967f2ece843f9fc95d8a11c2fef6fece8d17d9080193cbe3cd9ac7b04a325977f63cbf8c1664fdd0512dec1aec601666a5c5bd8564b61f + languageName: node + linkType: hard + +"eventsource@npm:^3.0.6": + version: 3.0.6 + resolution: "eventsource@npm:3.0.6" + dependencies: + eventsource-parser: "npm:^3.0.1" + checksum: 10/ac08c7d1b21e454c7685693fe4ace53fc0b84f3cf752699a556876f2a7f33b7a12972ae33d1c407fb920d6d4aed10de52fdf0dd01902ccdf45cd5da8d55e7f88 + languageName: node + linkType: hard + "evp_bytestokey@npm:^1.0.0, evp_bytestokey@npm:^1.0.3": version: 1.0.3 resolution: "evp_bytestokey@npm:1.0.3" @@ -32056,9 +32121,9 @@ __metadata: languageName: node linkType: hard -"http-proxy-middleware@npm:*": - version: 3.0.3 - resolution: "http-proxy-middleware@npm:3.0.3" +"http-proxy-middleware@npm:*, http-proxy-middleware@npm:^3.0.3": + version: 3.0.5 + resolution: "http-proxy-middleware@npm:3.0.5" dependencies: "@types/http-proxy": "npm:^1.17.15" debug: "npm:^4.3.6" @@ -32066,7 +32131,7 @@ __metadata: is-glob: "npm:^4.0.3" is-plain-object: "npm:^5.0.0" micromatch: "npm:^4.0.8" - checksum: 10/32f58c29288ca63e109909fb998bd0f6f50eb15a98dec9487eac07dfc4f09d8507dbfa00b44442d868bafa904bd633c8bbd55686bb13b4d4af4f5c5b3bbca430 + checksum: 10/83c1956be6451a5f4a2f3c7b3d84085dbd47e1efb5bb684c1ed668a6606c18c7c07be823b0dbba1326955b64cf88de2672492940b0b48d140215fbdb06105c9a languageName: node linkType: hard @@ -43608,7 +43673,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.6.3, semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.2": +"semver@npm:7.6.3": version: 7.6.3 resolution: "semver@npm:7.6.3" bin: @@ -43635,6 +43700,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.1.1, semver@npm:^7.1.2, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:^7.6.0, semver@npm:^7.6.2": + version: 7.7.1 + resolution: "semver@npm:7.7.1" + bin: + semver: bin/semver.js + checksum: 10/4cfa1eb91ef3751e20fc52e47a935a0118d56d6f15a837ab814da0c150778ba2ca4f1a4d9068b33070ea4273629e615066664c2cfcd7c272caf7a8a0f6518b2c + languageName: node + linkType: hard + "send@npm:0.19.0": version: 0.19.0 resolution: "send@npm:0.19.0"