Comparing version 9.1.0 to 9.2.0
@@ -36,3 +36,3 @@ import arrayify from 'array-back' | ||
this.jsdocPath = walkBack( | ||
this.jsdocPath = process.env.JSDOC_PATH || walkBack( | ||
path.join(__dirname, '..'), | ||
@@ -39,0 +39,0 @@ path.join('node_modules', 'jsdoc', 'jsdoc.js') |
{ | ||
"name": "jsdoc-api", | ||
"author": "Lloyd Brookes <75pound@gmail.com>", | ||
"version": "9.1.0", | ||
"version": "9.2.0", | ||
"description": "A programmatic interface for jsdoc", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -102,2 +102,9 @@ [![view on npm](https://badgen.net/npm/v/jsdoc-api)](https://www.npmjs.org/package/jsdoc-api) | ||
If you need to use a specific `jsdoc` version or fork, specify its path via `JSDOC_PATH` and jsdoc-api will use it instead of the default. | ||
```sh | ||
$ export JSDOC_PATH=./node_modules/.bin/jsdoc # An alternative jsdoc version you installed | ||
$ node my-jsdoc-api-script.js # Run your jsdoc-api app as usual | ||
``` | ||
See the [API documentation](https://github.com/jsdoc2md/jsdoc-api/blob/master/docs/api.md) for further details. See the [example folder](https://github.com/jsdoc2md/jsdoc-api/tree/master/example) for code examples. | ||
@@ -104,0 +111,0 @@ |
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
308773
116
7