humanmade / humanmade/authorship

Missing `lodash` dependency declaration causes error in latest version of Gutenberg plugin

Open
#136 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.