Releases: marcoandre1/react-snap
Releases · marcoandre1/react-snap
v1.23.13
- I had removed the
waitUntil: "networkidle0"
option in a previous release. Based on another package (minimal-css-test) I had been working on, I came to the conclusion that this option was not working properly when using puppeteer +20. However, tests seem ok. The purpose of the upgrade is to fix rendering when using react-helmet because I noticedreact-snap-test
is not waiting for react-helmet. Hopefully, this release fixes this. - Add favicon.ico now required by puppeteer (@marcoandre1)
v1.23.12
-
Normalize all the line endings (@marcoandre1)
When runningreact-snap
with yarn on Github (ubuntu), got the error :$ react-snap /usr/bin/env: ‘node\r’: No such file or directory error Command failed with exit code 127.
According to yarnpkg/yarn#8106, the problem seems to be that Unix line endings should be
LF
.I followed the Configuring Git to handle line endings from GitHub
- Add
.gitattributes
- Run :
git rm -rf --cached . git reset --hard HEAD
- Add
v1.23.11
- Switched html-minifier to html-minifier-terser fixes #22 (@marcoandre1)
- Bumped clean-css and express (@marcoandre1)
v1.23.10
- Updated README to fix React 18 hydration bug (@marcoandre1)
- Added build and test pipeline (@marcoandre1)
- Fixed all test for node 20 (@marcoandre1)
v1.23.9
- Bump minimalcss-test from 0.11.6 to 0.11.7 (@marcoandre1)
- Bump puppeteer from 19.4.1 to 23.4.0 (@marcoandre1)
- Bump serve-static from 1.14.1 tot 2.1.0 (@marcoandre1)
v1.23.8
- Bump minimalcss-test from 0.11.5 to 0.11.6 (@marcoandre1)
- Bump sourcemapped-stacktrace-test from 2.1.11 to 2.1.12 (@marcoandre1)
- Bumped minimalcss version 0.8.3 to minimalcss-test 0.11.5 (@marcoandre1)
- Bumped sourcemapped-stacktrace-node version 2.1.8 to sourcemapped-stacktrace-test 2.1.9 (@marcoandre1)
- Bumped express and mkdirp with carret (^)
- Bumped puppeteer version from 2.0.0 to 19.4.1 (@marcoandre1)