InfraRead
InfraRead copied to clipboard
Bump terser and laravel-mix
Bumps terser to 5.15.1 and updates ancestor dependency laravel-mix. These dependencies need to be updated together.
Updates terser
from 3.17.0 to 5.15.1
Changelog
Sourced from terser's changelog.
v5.15.1
- Fixed missing parentheses around optional chains
- Avoid bare
let
orconst
as the bodies ofif
statements (#1253)- Small internal fixes (#1271)
- Avoid inlining a class twice and creating two equivalent but
!==
classes.v5.15.0
- Basic support for ES2022 class static initializer blocks.
- Add
AudioWorkletNode
constructor options to domprops list (#1230)- Make identity function inliner not inline
id(...expandedArgs)
v5.14.2
- Security fix for RegExps that should not be evaluated (regexp DDOS)
- Source maps improvements (#1211)
- Performance improvements in long property access evaluation (#1213)
v5.14.1
- keep_numbers option added to TypeScript defs (#1208)
- Fixed parsing of nested template strings (#1204)
v5.14.0
- Switched to
@jridgewell/source-map
for sourcemap generation (#1190, #1181)- Fixed source maps with non-terminated segments (#1106)
- Enabled typescript types to be imported from the package (#1194)
- Extra DOM props have been added (#1191)
- Delete the AST while generating code, as a means to save RAM
v5.13.1
- Removed self-assignments (
varname=varname
) (closes #1081)- Separated inlining code (for inlining things into references, or removing IIFEs)
- Allow multiple identifiers with the same name in
var
destructuring (egvar { a, a } = x
) (#1176)v5.13.0
- All calls to eval() were removed (#1171, #1184)
source-map
was updated to 0.8.0-beta.0 (#1164)- NavigatorUAData was added to domprops to avoid property mangling (#1166)
v5.12.1
- Fixed an issue with function definitions inside blocks (#1155)
- Fixed parens of
new
in some situations (closes #1159)v5.12.0
TERSER_DEBUG_DIR
environment variable@copyright
comments are now preserved with the comments="some" option (#1153)
... (truncated)
Commits
4255fb3
5.15.1d31c829
update changelogbb2e20f
take optional chains into account when locating the left-most item in an expr...350f965
some cleanups5fc3925
Update actions/setup-node action to v3 (#1156)be73559
Update actions/upload-artifact action to v3 (#1161)666f79e
chore(deps): update actions/checkout action to v3 (#1158)3652dce
fix: incorrectto_simple_statement
(#1253)34e8262
chore: fixed a couple of typos (#1271)089e32a
avoid a class being inlined twice when identity can be compared. (close #1267)- 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.generate
have all been deprecated. They are no longer used by Mix itself but remain for backwards compatability.MixDefinitionsPlugin.getDefinitions
andstatic 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
, andwebpackConfig
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 withMix.chunks
- Uses of
Config
may be replaced withMix.config
- Uses of
webpackConfig
may be replaced withMix.webpackConfig
- Uses of
HotReloading.*
methodsMix.hot.*
6.0
Added
- Support for webpack 5
- New
npx mix
executable 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@latest
Review 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.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
, thescripts
section of yourpackage.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.
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 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.