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

@botmock-api/utils

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@botmock-api/utils - npm Package Compare versions

Comparing version 0.5.2 to 0.6.0

src/checkEnvVars.js

7

index.js

@@ -1,1 +0,6 @@

export { enumeratePaths, createIntentMap, createNodeCollector } from './src';
export {
enumeratePaths,
createIntentMap,
createNodeCollector
} from './src/flowOperations';
export { checkEnvVars } from './src/checkEnvVars';

2

package.json
{
"name": "@botmock-api/utils",
"version": "0.5.2",
"version": "0.6.0",
"description": "utilities for handling data from the Botmock API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,2 +15,4 @@ # utils

### Flow Operations
#### enumeratePaths

@@ -42,1 +44,10 @@

messages that are not connected by an intent
### Async Operations
```js
await utils.checkEnvVars(n: ?number): Promise<void>
```
Checks that there exist at least `n` `BOTMOCK_`-prefixed environment variables defined in a local `.env` file;
throws if this is not the case
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