Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@backstage/plugin-events-node

Package Overview
Dependencies
Maintainers
0
Versions
756
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/plugin-events-node - npm Package Compare versions

Comparing version 0.0.0-nightly-20241031023248 to 0.0.0-nightly-20241101023511

2

alpha/package.json
{
"name": "@backstage/plugin-events-node__alpha",
"version": "0.0.0-nightly-20241031023248",
"version": "0.0.0-nightly-20241101023511",
"main": "../dist/alpha.cjs.js",
"types": "../dist/alpha.d.ts"
}
# @backstage/plugin-events-node
## 0.0.0-nightly-20241031023248
## 0.0.0-nightly-20241101023511

@@ -12,4 +12,5 @@ ### Patch Changes

- e02a02b: Fix `events.useEventBus` by propagating config to `DefaultEventsService`
- 0b57aa1: Fixed an issue where the event bus polling would duplicate and increase exponentially over time.
- Updated dependencies
- @backstage/backend-plugin-api@0.0.0-nightly-20241031023248
- @backstage/backend-plugin-api@0.0.0-nightly-20241101023511
- @backstage/errors@1.2.4

@@ -16,0 +17,0 @@ - @backstage/types@1.1.1

@@ -138,17 +138,5 @@ 'use strict';

);
if (!res.ok) {
if (res.status === 404) {
this.logger.info(
`Polling event subscription resulted in a 404, recreating subscription`
);
hasSubscription = false;
} else {
throw await errors.ResponseError.fromResponse(res);
}
}
backoffMs = POLL_BACKOFF_START_MS;
if (res.status === 202) {
lock.release();
await res.body?.getReader()?.closed;
process.nextTick(poll);
await res.text();
} else if (res.status === 200) {

@@ -170,6 +158,11 @@ const data = await res.json();

}
}
} else {
if (res.status === 404) {
this.logger.info(
`Polling event subscription resulted in a 404, recreating subscription`
);
hasSubscription = false;
} else {
this.logger.warn(
`Unexpected response status ${res.status} from events backend for subscription "${subscriptionId}"`
);
throw await errors.ResponseError.fromResponse(res);
}

@@ -198,2 +191,3 @@ }

}
backoffMs = POLL_BACKOFF_START_MS;
process.nextTick(poll);

@@ -200,0 +194,0 @@ } catch (error) {

{
"name": "@backstage/plugin-events-node",
"version": "0.0.0-nightly-20241031023248",
"version": "0.0.0-nightly-20241101023511",
"description": "The plugin-events-node module for @backstage/plugin-events-backend",

@@ -54,3 +54,3 @@ "backstage": {

"dependencies": {
"@backstage/backend-plugin-api": "0.0.0-nightly-20241031023248",
"@backstage/backend-plugin-api": "0.0.0-nightly-20241101023511",
"@backstage/errors": "1.2.4",

@@ -63,4 +63,4 @@ "@backstage/types": "1.1.1",

"@backstage/backend-common": "^0.25.0",
"@backstage/backend-test-utils": "0.0.0-nightly-20241031023248",
"@backstage/cli": "0.0.0-nightly-20241031023248",
"@backstage/backend-test-utils": "0.0.0-nightly-20241101023511",
"@backstage/cli": "0.0.0-nightly-20241101023511",
"msw": "^1.0.0"

@@ -67,0 +67,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc