React: Bug: [eslint-plugin-react-hooks] In comment, the version notation is broken.

Created on 20 Feb 2020  Â·  4Comments  Â·  Source: facebook/react

[email protected]

At cjs/eslint-plugin-react-hooks.development.js and cjs/eslint-plugin-react-hooks.production.min.js, the version notation in the comment is broken.

v2.3.0 is ok.

Not fatal, but could be a bug.

The current behavior

/** @license React vundefined

The expected behavior

/** @license React v2.4.0
Build Infrastructure Bug

All 4 comments

Confirmed.

v2.3.0: https://unpkg.com/[email protected]/cjs/eslint-plugin-react-hooks.development.js

vundefined: https://unpkg.com/[email protected]/cjs/eslint-plugin-react-hooks.development.js

The root package.json doesn't have a version so I'm confused how this ever worked…

https://github.com/facebook/react/blob/78e816032c8af962343abbf384e06f3e9bae9269/scripts/rollup/wrappers.js#L67

There's a script that updates the versions ci-update-package-versions.js

It looks like that's been fixed in v3. 🎉

Was this page helpful?
0 / 5 - 0 ratings