Skip to content

Commit e0213bf

Browse files
authored
Update dependencies in SPA templates (#27219) (#28324)
Description This PR updates the version of the caniuse-lite dependency to the latest version on our React and React/Redux SPA templates. The caniuse-lite dependency provides a database of browser features and their support across different browsers (as seen in caniuse.com). We were getting a warning because the dependency was out-of-date which meant that it was reporting compatibility info that was no longer accurate. This PR also updates the version of node-sass to the latest version which no longer depends on the no-longer-supported Python 2. Customer Impact This bug was discovered during CTI validation. This bug has a low severity because the user application can still run although JavaScript-based build tooling might report that the developer is leveraging browser features that aren't supported by the browser when they actually are. Users can workaround this by running npx browserslist@latest --update-db inside their ClientApp directory. Users can also manually upgrade node-sass to v5 by editing their package.json file. Regression? No. Risk Low risk, because: Change was validated manual This fix applies the changes recommended by the browserlist library
1 parent b9fa0c7 commit e0213bf

File tree

4 files changed

+358
-171
lines changed

4 files changed

+358
-171
lines changed

0 commit comments

Comments
 (0)