rsnext/packages
Lachlan Campbell c480c37c8e
Skip undefined attribute in Head (#9856)
* Fix #8655, skip rendering meta tags with undefined props

* Filter all tags, not just meta

* Only render defined props

* Remove filtering of undefined strings

Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>

* Replace Object.entries

* Remove filtering code

* Simplify code

* Add test

* Add tests for undefined head prop value and tweak check

* Update to strip undefined prop values to match react

* Update head.js

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-02-03 14:55:14 -05:00
..
create-next-app v9.2.2-canary.9 2020-02-03 11:42:05 -05:00
next Skip undefined attribute in Head (#9856) 2020-02-03 14:55:14 -05:00
next-bundle-analyzer v9.2.2-canary.9 2020-02-03 11:42:05 -05:00
next-mdx v9.2.2-canary.9 2020-02-03 11:42:05 -05:00
next-plugin-google-analytics v9.2.2-canary.9 2020-02-03 11:42:05 -05:00
next-plugin-material-ui v9.2.2-canary.9 2020-02-03 11:42:05 -05:00
next-plugin-sentry v9.2.2-canary.9 2020-02-03 11:42:05 -05:00
next-polyfill-nomodule v9.2.2-canary.9 2020-02-03 11:42:05 -05:00