humanmade / humanmade/authorship
Missing `lodash` dependency declaration causes error in latest version of Gutenberg plugin
Open
Bug
- Dominant language
- PHP
- Stars
- 68
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Recently Gutenberg finished removing all usage of `lodash`: https://github.com/WordPress/gutenberg/issues/17025#issuecomment-1632633444
Because the editor scripts in Authorship still rely on lodash, but it's not declared as a dependency, they fail in the latest version of the Gutenberg plugin:
```
Uncaught ReferenceError: lodash is not defined
```
It would be good to either rewrite code that depends on lodash or declare it as a dependency.
Contributor guide
Assessment
This issue has not been assessed yet.