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
显示
- src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/package-lock.json 315 个添加, 164 个删除...plates/content/Angular-CSharp/ClientApp/package-lock.json
- src/ProjectTemplates/Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/package.json 1 个添加, 1 个删除...ctTemplates/content/Angular-CSharp/ClientApp/package.json
- src/ProjectTemplates/Web.Spa.ProjectTemplates/content/React-CSharp/ClientApp/package-lock.json 21 个添加, 3 个删除...emplates/content/React-CSharp/ClientApp/package-lock.json
- src/ProjectTemplates/Web.Spa.ProjectTemplates/content/ReactRedux-CSharp/ClientApp/package-lock.json 21 个添加, 3 个删除...tes/content/ReactRedux-CSharp/ClientApp/package-lock.json
加载中
想要评论请 注册 或 登录