ecobee / nodejs-gcloud-pubsub-module Goto Github PK
View Code? Open in Web Editor NEWA GCloud Pub/Sub module for NestJS
License: MIT License
A GCloud Pub/Sub module for NestJS
License: MIT License
i always got this problem and it made the service to be dead can't respond all the next things
We have run into an issue in our use in a nest microservice where it will fail to close properly in our end-to-end tests where we do manual cleanup of subscriptions.
The chain of events looks like:
app.close()
Have discussed and landed on adding a simple flag to server to represent whether the server is in a "I am trying to close, do not bother me" state, and then not do the subscription close/open activity in handleError if we are in that don't-bother-me-state.
PR to follow.
The current release @ecobee/[email protected]
has a dependency to the (outdated) @google-cloud/[email protected]
that has a transitive dependency to [email protected]
. This version of json-bigint
has a security issue with severity high. (see https://www.npmjs.com/advisories/1690)
See output of npm dependency graph:
+-- @ecobee/[email protected]
| `-- @google-cloud/[email protected]
| `-- [email protected]
| `-- [email protected]
| `-- [email protected]
Output of npm audit
:
High Uncontrolled Resource Consumption in json-bigint
Package json-bigint
Patched in >=1.0.0
Dependency of @ecobee/nodejs-gcloud-pubsub-module
Path @ecobee/nodejs-gcloud-pubsub-module > @google-cloud/pubsub >
google-gax > google-auth-library > gcp-metadata >
json-bigint
More info https://npmjs.com/advisories/1690
As there is no newer release of @google-cloud/pubsub
with major version 1, it has to be updated to major version 2. (Recent version is 2.17.0) This may contain breaking changes.
The package name is not valid.
npm install nodejs-gcloud-pubsub-module --save
should be
npm install @ecobee/nodejs-gcloud-pubsub-module --save
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.