Fix: json5@2.2.3 is now the 'latest' release according to npm instead of v1.0.2. (#299)
v2.2.2
Fix: Properties with the name __proto__ are added to objects and arrays.
(#199) This also fixes a prototype pollution vulnerability reported by
Jonathan Gregson! (#295).
Fix: Properties with the name __proto__ are added to objects and arrays.
(#199) This also fixes a prototype pollution vulnerability reported by
Jonathan Gregson! (#295).
BabelConfig.fetchBabelRc / static BabelConfig.default / static BabelConfig.generate have all been deprecated. They are no longer used by Mix itself but remain for backwards compatability.
MixDefinitionsPlugin.getDefinitions and static MixDefinitionsPlugin.build have 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 HotReloading are now deprecated. They have been replaced with instance methods.
The use of the globals Mix, Config, and webpackConfig are now deprecated and will warn on use in Mix v7.
We are working toward an API for access to Mix for 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 with Mix.chunks
Uses of Config may be replaced with Mix.config
Uses of webpackConfig may be replaced with Mix.webpackConfig
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.json dependencies 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, the scripts section of your package.json
file 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.
Update postcss and completely remove rework parser.
Breaking Changes
Require node@>=12.
Support webpack@>=4 (no longer tested for earlier versions).
The engine option has been removed.
Migrating
Remove the engine option if you are using it.
Version 4
Features
Better resolution of the original source location - You can more successfully use url() in variables and mixins.
Dependencies now accept a wider range and explicit dependency on rework and rework-visit has been removed.
Breaking Changes
The engine option is deprecated which means the old rework engine is deprecated.
The keepQuery behaviour is now the default, the keepQuery option has been removed.
The removeCR option defaults to true when executing on Windows OS.
The absolute option has been removed.
The join option has changed.
Migrating
Remove the engine option if you are using it - the default "postcss" engine is much more reliable. The "rework" engine will still work for now but will be removed in the next major version.
Remove the keepQuery option if you are using it.
Remove the absolute option, webpack should work fine without it. If you have a specific need to rebase url() then you should use a separate loader.
If you use a custom join function then you will need to refactor it to the new API. Refer to the advanced usage documentation.
If you wish to still use engine: "rework" then note that rework and rework-visit packages are now peerDependencies that must be explicitly installed by you.
Version 3
Features
Use postcss parser by default. This is long overdue as the old rework parser doesn't cope with modern css.
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will 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](https://github.com/ScoutingRudyardKipling/PhotoBook/network/alerts).
Bumps json5 to 2.2.3 and updates ancestor dependencies json5, laravel-mix, resolve-url-loader and webpack. These dependencies need to be updated together.
Updates
json5
from 2.2.1 to 2.2.3Release notes
Sourced from json5's releases.
Changelog
Sourced from json5's changelog.
Commits
c3a7524
2.2.394fd06d
docs: update CHANGELOG for v2.2.33b8cebf
docs(security): use GitHub security advisoriesf0fd9e1
docs: publish a security policy6a91a05
docs(template): bug -> bug report14f8cb1
2.2.210cc7ca
docs: update CHANGELOG for v2.2.27774c10
fix: add proto to objects and arraysedde30a
Readme: slight tweak to intro97286f8
Improve example in readmeUpdates
laravel-mix
from 5.0.9 to 6.0.49Release notes
Sourced from laravel-mix's releases.
Changelog
Sourced from laravel-mix's changelog.
Upgrade guide
Sourced from laravel-mix's upgrade guide.
... (truncated)
Commits
Maintainer changes
This version was pushed to npm by thecrypticace, a new releaser for laravel-mix since your current version.
Updates
resolve-url-loader
from 3.1.4 to 5.0.0Release notes
Sourced from resolve-url-loader's releases.
... (truncated)
Changelog
Sourced from resolve-url-loader's changelog.
... (truncated)
Commits
bf01da9
5.0.078393f6
update branch references to v56787839
github actions for CI1457038
update changelog and readmea01faf9
5.0.0-beta.1fb09fae
remove the engine option harder, ensure deprecation warning is tested5654fa4
remove the engine option and related tests, use getOptions from loader where ...10f9cdb
5.0.0-alpha.1b168dd3
adjust deprecation message for engine option29e142a
normalise windows absolute paths to posix format in log messagesUpdates
webpack
from 4.46.0 to 5.75.0Release notes
Sourced from webpack's releases.
... (truncated)
Commits
8241da7
5.75.0a91d923
Merge pull request #16458 from webpack/bugfix/semi4608b11
Merge pull request #16457 from webpack/tooling/updatedfdd0b0
Merge pull request #16122 from AnmolBansalDEV/bug/compilationCallback23b9a1c
Merge pull request #16167 from exposir/fixts6f2c5e8
Merge pull request #16257 from alexzhang1030/calc_deterministic_verbosef7f36ad
Merge pull request #16339 from Liamolucko/wasm-i64761a542
fix semicolon position2403a36
Merge pull request #16345 from ahabhgk/fix-eval-nosourcesc18203c
update toolingDependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will 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](https://github.com/ScoutingRudyardKipling/PhotoBook/network/alerts).