-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
help wantedExtra attention is neededExtra attention is neededneeds:engineeringThis requires engineering to resolve.This requires engineering to resolve.type:enhancementNew feature or request.New feature or request.
Description
Thank you for sharing this repos code and its ideas! I really appreciate your open-source contributions.
I followed your instrations on how to do this, but was not able to finish the steps due to a vulnerable dependency.
Describe the bug
The console says:
FATAL: Unable to load template: Cannot find module 'taffydb'
Require stack:
- [...]/node_modules/wp-hookdoc/template/publish.js
- [...]/node_modules/jsdoc/cli.js
- [...]/node_modules/jsdoc/jsdoc.jsThe taffydb is marked as vulnerable in GHSA-mxhp-79qh-mcx6 why it (propably) was not or can not be installed. Thanks to pure dependency hell, because this is our desired stack.
- https://github.com/10up/actions-wordpress
- which uses https://github.com/matzeeable/wp-hookdoc
- which uses Taffydb
- which uses https://github.com/matzeeable/wp-hookdoc
Steps to Reproduce
- Open folder with hookdoc dependencies installed in a terminal and run ...
$ npm run build:docs- See error
$ npm run build:docs
> build:docs
> rm -rf ./docs/dev/hooks && jsdoc -c hookdoc-conf.json plugin.php inc
FATAL: Unable to load template: Cannot find module 'taffydb'
Require stack:
- [...]/node_modules/wp-hookdoc/template/publish.js
- [...]/node_modules/jsdoc/cli.js
- [...]/node_modules/jsdoc/jsdoc.jsExpected behavior
I would love to have my hooks documented.
Additional context
I wrote the little I found at: figuren-theater/ft-admin-ui#17 but I'm unsure this helps.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is neededneeds:engineeringThis requires engineering to resolve.This requires engineering to resolve.type:enhancementNew feature or request.New feature or request.
Type
Projects
Status
To Do