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

@silenteer/natsu-runner

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@silenteer/natsu-runner - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

14

index.js

@@ -15,2 +15,15 @@ #!/usr/bin/env node

const envPath = path.join(process.cwd(), '.env.natsu');
let namespaceConfig;
if (fs.existsSync(envPath)) {
require('dotenv').config({ path: envPath });
const { NATS_GET_NAMESPACE_SUBJECT, NATS_NAMESPACE_SUBJECTS } = process.env;
if (NATS_GET_NAMESPACE_SUBJECT && NATS_NAMESPACE_SUBJECTS) {
namespaceConfig = {
getNamespaceSubject: NATS_GET_NAMESPACE_SUBJECT,
namespaceSubjects: NATS_NAMESPACE_SUBJECTS,
};
}
}
esbuild.buildSync({

@@ -30,2 +43,3 @@ entryPoints: files,

verbose: options.verbose,
namespace: namespaceConfig,
});

@@ -32,0 +46,0 @@

3

package.json
{
"name": "@silenteer/natsu-runner",
"version": "1.0.1",
"version": "1.0.2",
"description": "Nats Unit runner",

@@ -22,2 +22,3 @@ "main": "index.js",

"commander": "^8.2.0",
"dotenv": "^10.0.0",
"esbuild": "^0.12.29",

@@ -24,0 +25,0 @@ "matched": "^5.0.1"

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