laravel-views
laravel-views copied to clipboard
Bump node-forge and laravel-mix
Bumps node-forge to 1.3.1 and updates ancestor dependency laravel-mix. These dependencies need to be updated together.
Updates node-forge from 0.10.0 to 1.3.1
Changelog
Sourced from node-forge's changelog.
1.3.1 - 2022-03-29
Fixes
- RFC 3447 and RFC 8017 allow for optional
DigestAlgorithmNULLparameters forsha*algorithms and requireNULLparamters formd2andmd5algorithms.1.3.0 - 2022-03-17
Security
- Three RSA PKCS#1 v1.5 signature verification issues were reported by Moosa Yahyazadeh ([email protected]).
- HIGH: Leniency in checking
digestAlgorithmstructure can lead to signature forgery.
- The code is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#1 encoded message to forge a signature when a low public exponent is being used. For more information, please see "Bleichenbacher's RSA signature forgery based on implementation error" by Hal Finney.
- CVE ID: CVE-2022-24771
- GHSA ID: GHSA-cfm4-qjh2-4765
- HIGH: Failing to check tailing garbage bytes can lead to signature forgery.
- The code does not check for tailing garbage bytes after decoding a
DigestInfoASN.1 structure. This can allow padding bytes to be removed and garbage data added to forge a signature when a low public exponent is being used. For more information, please see "Bleichenbacher's RSA signature forgery based on implementation error" by Hal Finney.- CVE ID: CVE-2022-24772
- GHSA ID: GHSA-x4jg-mjrx-434g
- MEDIUM: Leniency in checking type octet.
DigestInfois not properly checked for proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest.- CVE ID: CVE-2022-24773
- GHSA ID: GHSA-2r2c-g63r-vccr
Fixed
- [asn1] Add fallback to pretty print invalid UTF8 data.
- [asn1]
fromDeris now more strict and will default to ensuring all input bytes are parsed or throw an error. A new optionparseAllBytescan disable this behavior.
- NOTE: The previous behavior is being changed since it can lead to security issues with crafted inputs. It is possible that code doing custom DER parsing may need to adapt to this new behavior and optional flag.
- [rsa] Add and use a validator to check for proper structure of parsed ASN.1
... (truncated)
Commits
a0a4a42Release 1.3.1.a33830fUpdate changelog.740954dAllow optional DigestAlgorithm parameters.56f4316Allow DigestInfo.DigestAlgorith.parameters to be optionalcbf0bd5Start 1.3.1-0.6c5b901Release 1.3.0.0f3972aUpdate changelog.dc77b39Fix error checking.bb822c0Add advisory links.d4395feUpdate changelog.- Additional commits viewable in compare view
Updates laravel-mix from 5.0.9 to 6.0.49
Release notes
Sourced from laravel-mix's releases.
v6.0.0
This release brings Laravel Mix current with webpack 5. It additionally includes a variety of bug fixes and enhancements.
v6.0.0-alpha.0
Add webpack 5 support.
Changelog
Sourced from laravel-mix's changelog.
Changelog
6.0.14
BabelConfig.fetchBabelRc/static BabelConfig.default/static BabelConfig.generatehave all been deprecated. They are no longer used by Mix itself but remain for backwards compatability.MixDefinitionsPlugin.getDefinitionsandstatic MixDefinitionsPlugin.buildhave been deprecated. They are no longer used by Mix itself but remain for backwards compatability.static Chunks._instance/static Chunks.instance()/static Chunks.reset()are now deprecated and will be removed in a future release.- The static methods on
HotReloadingare now deprecated. They have been replaced with instance methods.- The use of the globals
Mix,Config, andwebpackConfigare now deprecated and will warn on use in Mix v7.We are working toward an API for access to
Mixfor extensions that does not assume that it is a global or that it is the same instance in all cases.In the mean time:
- Uses of
Chunks.instance()may be replaced withMix.chunks- Uses of
Configmay be replaced withMix.config- Uses of
webpackConfigmay be replaced withMix.webpackConfig- Uses of
HotReloading.*methodsMix.hot.*6.0
Added
- Support for webpack 5
- New
npx mixexecutable for triggering your build- Support for Vue 3 applications
- Support for PostCSS 8
- New
mix.vue()andmix.react()commands- New
mix.alias()command (Learn More)- Support for changing the webpack manifest output path (Learn More)
- New
mix.before()hook (Learn More)- Improved
mix.combine()wildcard support- Improved
mix.extract()priority and tree-shaking logicChanged
- Fixed "empty CSS file" extraction bug when using dynamic imports
- Fixed
mix.ts()TypeScript bug that skipped Babel transformation in certain cases- Fixed and improved PostCSS plugin autoloading and merging
- Fixed an issue related to hot module reloading when versioning is enabled
- Added TypeScript types for API
Upgrade guide
Sourced from laravel-mix's upgrade guide.
Upgrade to Mix 6
- Review Your Dependencies
- Check Your Node Version
- Update Your NPM Scripts
- Watch Ignores Node_Modules
- API for JavaScript Frameworks
- Vue Configuration
- Legacy Node Polyfills
- Autoprefixer Options
- Unused Library Extraction
- Automatically Ignored Node Modules
- Did We Miss Something?
npm install laravel-mix@latestReview Your Dependencies
Laravel Mix 6 ships with support for the latest versions of numerous dependencies, including webpack 5, PostCSS 8, Vue Loader 16, and more. These are significant releases with their own sets of breaking changes. We've done our best to normalize these changes, but it's still particularly important that you take the time to fully test your build after upgrading to Mix 6.
Please review your
package.jsondependencies list for any third-party tools or plugins that may not yet be compatible with webpack 5 or PostCSS 8.Check Your Node Version
Mix has bumped its minimum Node requirement from version 8 to 12.14.0. Please check which version you have installed (
node -v) and ensure that it meets this requirement.Update Your NPM Scripts
If your build throws an error such as
Unknown argument: --hide-modules, thescriptssection of yourpackage.jsonfile will need to be updated. The Webpack 5 CLI removed a number of options that your NPM scripts was likely referencing.While you're at it, go ahead and switch over to the new Mix CLI.
Before
"scripts": { "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", "watch": "npm run development -- --watch", "watch-poll": "npm run watch -- --watch-poll", "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --disable-host-check --config=node_modules/laravel-mix/setup/webpack.config.js", "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" } </tr></table>
... (truncated)
Commits
- See full diff in compare view
Maintainer changes
This version was pushed to npm by thecrypticace, a new releaser for laravel-mix since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.