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

spawnpoint-nats

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spawnpoint-nats - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

4

package.json
{
"name": "spawnpoint-nats",
"version": "2.0.4",
"version": "2.1.0",
"description": "NATS Plugin for Spawnpoint on NPM",

@@ -40,3 +40,3 @@ "main": "spawnpoint.nats.js",

"@nodecraft/eslint-config": "^28.0.0",
"eslint": "^8.50.0",
"eslint": "^8.52.0",
"eslint-plugin-json": "^3.1.0",

@@ -43,0 +43,0 @@ "eslint-plugin-node": "^11.1.0"

@@ -57,2 +57,13 @@ /* eslint-disable node/no-missing-require */

// Setup an authenticator if available
if(config.connection.auth) {
// We want to read in the creds file given to us
const authCredsFile = path.join(app.cwd, config.connection.auth.creds_file);
delete config.connection.auth.creds_file;
const authCreds = fs.readFileSync(authCredsFile);
// Create a new credsAuthenticator
config.connection.authenticator = nats.credsAuthenticator(authCreds);
delete config.connection.auth;
}
const helpers = {

@@ -59,0 +70,0 @@ wrapMessageError(error) {

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