@botmock-api/utils
Advanced tools
Comparing version 0.5.2 to 0.6.0
@@ -1,1 +0,6 @@ | ||
export { enumeratePaths, createIntentMap, createNodeCollector } from './src'; | ||
export { | ||
enumeratePaths, | ||
createIntentMap, | ||
createNodeCollector | ||
} from './src/flowOperations'; | ||
export { checkEnvVars } from './src/checkEnvVars'; |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14433
11
144
52
1