Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update npm dev dependencies (major) #5728

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@swc/plugin-remove-console 1.5.121 -> 2.0.4 age adoption passing confidence
@types/node (source) ^18.11.18 -> ^20.0.0 age adoption passing confidence
@​types/prettier ^2.7.2 -> ^3.0.0 age adoption passing confidence
@​types/rimraf 3.0.2 -> 4.0.5 age adoption passing confidence
copy-webpack-plugin 5.1.2 -> 12.0.2 age adoption passing confidence
css-loader ^6.8.1 -> ^7.0.0 age adoption passing confidence
del ^6.0.0 -> ^7.0.0 age adoption passing confidence
execa ^5.0.0 -> ^9.0.0 age adoption passing confidence
filenamify ^4.3.0 -> ^6.0.0 age adoption passing confidence
internal-ip 6.2.0 -> 8.0.0 age adoption passing confidence
node-polyfill-webpack-plugin 3.0.0 -> 4.0.0 age adoption passing confidence
prettier-2 (source) 2.8.8 -> 3.3.0 age adoption passing confidence
rimraf 3.0.2 -> 5.0.7 age adoption passing confidence
style-loader ^3.3.3 -> ^4.0.0 age adoption passing confidence
zod-validation-error 1.3.1 -> 3.3.0 age adoption passing confidence
zx ^7.2.1 -> ^8.0.0 age adoption passing confidence

Release Notes

webpack-contrib/copy-webpack-plugin (copy-webpack-plugin)

v12.0.2

Compare Source

v12.0.1

Compare Source

v12.0.0

Compare Source

⚠ BREAKING CHANGES
  • update globby to 14.0.0
  • minimum supported Node.js version is 18.12.0 (#​759) (a5b7d06)

v11.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 14.15.0
build
10.2.4 (2022-01-31)
Bug Fixes
10.2.3 (2022-01-29)
Bug Fixes
10.2.2 (2022-01-28)
Bug Fixes
10.2.1 (2022-01-20)
Bug Fixes

v10.2.4

Compare Source

v10.2.3

Compare Source

v10.2.2

Compare Source

v10.2.1

Compare Source

v10.2.0

Compare Source

Features
  • removed cjs wrapper and generated types in commonjs format (export = and namespaces used in types), now you can directly use exported types (#​654) (5901006)

v10.1.0

Compare Source

Features
Bug Fixes

v10.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 12.20.0
  • update globby to 12.0.2 version

v9.1.0

Compare Source

Features
Bug Fixes
  • compatibility with Node.js 17 (20af0c7)
9.0.1 (2021-06-25)
Chore
  • update serialize-javascript

v9.0.1

Compare Source

v9.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0
8.1.1 (2021-04-06)
Bug Fixes

v8.1.1

Compare Source

v8.1.0

Compare Source

Features

v8.0.0

Compare Source

⚠ BREAKING CHANGES
  • logic for some placeholders was changed:
    • [hash] and [fullhash] works as in webpack (i.e. it is hash of build, not content hash of file), to migrate change [name].[hash].[ext] to [name].[contenthash][ext]
    • [ext] doesn't require . (dot) before, i.e. change [name].[ext] to [name][ext]
    • [<hashType>:contenthash:<digestType>:<length>] and [<hashType>:hash:<digestType>:<length>] is not supported anymore, you can use output.hashDigest, output.hashDigestLength and output.hashFunction options to setup it
    • [N] was removed in favor of using the to option as a function
    • [folder] was removed
    • [emoji] was removed
Features

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported webpack version is 5
  • the flatten option was removed in favor [name].[ext] value for the to option,
  • the transformPath option was removed in favor Function type of the to option, look at examples
  • the cacheTransform option was removed in favor Object type of the transform option, look at examples
  • migration on the compilation.hooks.processAssets hook
  • empty filtered paths throw an error, you can disable this behaviour using the noErrorOnMissing option

v6.4.1

Compare Source

6.4.1 (2020-12-16)
Bug Fixes

v6.4.0

Compare Source

Features
6.3.2 (2020-11-19)
Bug Fixes
6.3.1 (2020-11-13)
Bug Fixes

v6.3.2

Compare Source

v6.3.1

Compare Source

v6.3.0

Compare Source

Features
  • added the sourceFilename info (original source filename) to assets info (#​542) (db2e3bf)
  • persistent cache between compilations (webpack@5 only) (#​541) (c892451)
6.2.1 (2020-10-09)
Chore
  • update schema-utils

v6.2.1

Compare Source

v6.2.0

Compare Source

Features
6.1.1 (2020-09-18)
Chore
  • updated serialize-javascript

v6.1.1

Compare Source

v6.1.0

Compare Source

Features
  • added filter option (#​524) (1496f85)
  • added the copied flag to asset info (09b1dc9)
  • added the immutable flag to asset info with hash in name (#​525) (a1989d5)
  • webpack@5: improve stats output for copied files
6.0.4 (2020-08-29)
Bug Fixes
6.0.3 (2020-06-30)
Bug Fixes
  • do not execute on a child compiler (42f27c7)
6.0.2 (2020-06-03)
Bug Fixes
  • security problem
  • compatibility with 10.13 version of Node.js
6.0.1 (2020-05-16)
Bug Fixes
  • concurrency writing assets (#​484) (bfc712d)
  • escaping special characters in the context option (0e62695)

v6.0.4

Compare Source

v6.0.3

Compare Source

v6.0.2

Compare Source

v6.0.1

Compare Source

v6.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 10.13,
  • the plugin now accepts an object, you should change new CopyPlugin(patterns, options) to new CopyPlugin({ patterns, options })
  • migrate on compilation.additionalAssets hook
  • the ignore option (which accepted micromatch syntax) was removed in favor globOptions.ignore (which accepts fast-glob pattern-syntax)
  • the test option was removed in favor the transformPath option
  • the cache option was renamed to the cacheTransform option, cacheTransform option should have only directory and keys properties when it is an object
  • global context and ignore options were removed in favor patten.context and pattern.globOptions.ignore options
  • the missing file error is now an error, before it was a warning
  • the from option now can only be a string, if you use { from: { glob: 'directory/**', dot: false } } changed it to { from: 'directory/**', globOptions: { dot: false } }
  • the copyUnmodified was removed without replacements
  • the 2 version of webpack-dev-server is not supported anymore
  • the logLevel was removed in favor the infrastructureLogging.level option, please read the documentation
Features
Bug Fixes
5.1.1 (2019-12-12)
Bug Fixes
webpack-contrib/css-loader (css-loader)

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

Features
  • added the getJSON option to output CSS modules mapping (#​1577) (af834b4)

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • The modules.namedExport option is true by default if you enable the esModule option

Migration guide:

Before:

import style from "./style.css";

console.log(style.myClass);

After:

import * as style from "./style.css";

console.log(style.myClass);
  • The modules.exportLocalsConvention has the value as-is when the modules.namedExport option is true and you don't specify a value
  • Minimum supported webpack version is 5.27.0
  • Minimum supported Node.js version is 18.12.0
Features
  • The modules.namedExports option works fine with any modules.exportLocalsConvention values (f96a110)
  • Added dashed variants for the modules.exportLocalsConvention options (40e1668)
sindresorhus/del (del)

v7.1.0

Compare Source

v7.0.0

Compare Source

Breaking
  • Require Node.js 14 (#​143) 106d7d8
  • This package is now pure ESM. Please read this.
  • Moved from a default export to named exports:
    • require('del')import {deleteAsync} from 'del'
    • require('del').syncimport {deleteSync} from 'del'
sindresorhus/execa (execa)

v9.1.0

Compare Source

Features (types)

v9.0.2

Compare Source

Bug fixes (types)

v9.0.1

Compare Source

Bug fixes (types)

v9.0.0

Compare Source

This major release brings many important features including:

Please check the release post for a high-level overview! For the full list of breaking changes, features and bug fixes, please read below.

Thanks @​younggglcy, @​koshic, @​am0o0 and @​codesmith-emmy for your help!


One of the maintainers @​ehmicky is looking for a remote full-time position. Specialized in Node.js back-ends and CLIs, he led Netlify Build, Plugins and Configuration for 2.5 years. Feel free to contact him on his website or on LinkedIn!


Breaking changes

const {stdout} = await execa('node', ['file.js'], {encoding: 'buffer'});
console.log(stdout); // This is now an Uint8Array
- await execa('node', ['file.js'], {encoding: null});
+ await execa('node', ['file.js'], {encoding: 'buffer'});

- await execa('node', ['file.js'], {encoding: 'utf-8'});
+ await execa('node', ['file.js'], {encoding: 'utf8'});

- await execa('node', ['file.js'], {encoding: 'UTF8'});
+ await execa('node', ['file.js'], {encoding: 'utf8'});

- await execa('node', ['file.js'], {encoding: 'utf-16le'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'ucs2'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'ucs-2'});
+ await execa('node', ['file.js'], {encoding: 'utf16le'});

- await execa('node', ['file.js'], {encoding: 'binary'});
+ await execa('node', ['file.js'], {encoding: 'latin1'});
  • Passing a file path to subprocess.pipeStdout(), subprocess.pipeStderr() and subprocess.pipeAll() has been removed. Instead, a {file: './path'} object should be passed to the stdout or stderr option. (#​752)
- await execa('node', ['file.js']).pipeStdout('output.txt');
+ await execa('node', ['file.js'], {stdout: {file: 'output.txt'}});

- await execa('node', ['file.js']).pipeStderr('output.txt');
+ await execa('node', ['file.js'], {stderr: {file: 'output.txt'}});

- await execa('node', ['file.js']).pipeAll('output.txt');
+ await execa('node', ['file.js'], {
+	stdout: {file: 'output.txt'},
+	stderr: {file: 'output.txt'},
+});
- await execa('node', ['file.js']).pipeStdout(stream);
+ await execa('node', ['file.js'], {stdout: ['pipe', stream]});

- await execa('node', ['file.js']).pipeStderr(stream);
+ await execa('node', ['file.js'], {stderr: ['pipe', stream]});

- await execa('node', ['file.js']).pipeAll(stream);
+ await execa('node', ['file.js'], {
+	stdout: ['pipe', stream],
+	stderr: ['pipe', stream],
+});
  • The subprocess.pipeStdout(), subprocess.pipeStderr() and subprocess.pipeAll() methods have been renamed to subprocess.pipe(). The command and its arguments can be passed to subprocess.pipe() directly, without calling execa() a second time. The from piping option can specify 'stdout' (the default value), 'stderr' or 'all'. (#​757)
- await execa('node', ['file.js']).pipeStdout(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js']);

- await execa('node', ['file.js']).pipeStderr(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js'], {from: 'stderr'});

- await execa('node', ['file.js']).pipeAll(execa('node', ['other.js']));
+ await execa('node', ['file.js']).pipe('node', ['other.js'], {from: 'all'});
- await execa('node', ['file.js'], {signal: abortController.signal});
+ await execa('node', ['file.js'], {cancelSignal: abortController.signal});
try {
	await execa('node', ['file.js']);
} catch (error) {
- if (error.killed) {
+ if (error.isTerminated) {
		// ...
	}
}
- subprocess.cancel();
+ subprocess.kill();
- const subprocess = execa('node', ['file.js']);
- subprocess.kill('SIGTERM', {forceKillAfterTimeout: 1000});
+ const subprocess = execa('node', ['file.js'], {forceKillAfterDelay: 1000});
+ subprocess.kill('SIGTERM');
  • The verbose option is now a string enum instead of a boolean. false has been renamed to 'none' and true has been renamed to 'short'. (#​884)
- await execa('node', ['file.js'], {verbose: false});
+ await execa('node', ['file.js'], {verbose: 'none'});

- await execa('node', ['file.js'], {verbose: true});
+ await execa('node', ['file.js'], {verbose: 'short'});
- await execa('node', ['file.js'], {execPath: './path/to/node'});
+ await execa('node', ['file.js'], {nodePath: './path/to/node'});
- subprocess.send({example: true, getExample() {}});
+ subprocess.send({example: true});
const subprocess = execa('node', ['file.js']);
- setTimeout(() => {
	subprocess.stdout.pipe(process.stdout);
- }, 0);
- const subprocess = execa('node', ['file.js'], {killSignal: 'sigterm'});
+ const subprocess = execa('node', ['file.js'], {killSignal: 'SIGTERM'});

- subprocess.kill('sigterm');
+ subprocess.kill('SIGTERM');

Features

Execution
Text lines
Piping multiple subprocesses
Input/output

Configuration

📅 Schedule: Branch creation - "before 8am on wednesday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from hardfist as a code owner February 20, 2024 16:26
@Boshen Boshen marked this pull request as draft February 21, 2024 05:45
@Boshen
Copy link
Contributor

Boshen commented Feb 21, 2024

Need to fix or ignore some of these breaking changes

@Boshen
Copy link
Contributor

Boshen commented Feb 27, 2024

rimraf:

v4 to v5
There is no default export anymore. Import the functions directly using, e.g., import { rimrafSync } from 'rimraf.

@Boshen Boshen force-pushed the renovate/major-npm-dev-dependencies branch from 5aa3537 to 354f122 Compare February 27, 2024 09:34
@Boshen
Copy link
Contributor

Boshen commented Feb 27, 2024

invalid rimraf options

@Boshen Boshen force-pushed the renovate/major-npm-dev-dependencies branch from d2b71a1 to ac9d978 Compare February 29, 2024 07:32
Boshen
Boshen previously approved these changes Feb 29, 2024
@Boshen Boshen force-pushed the renovate/major-npm-dev-dependencies branch from a6ed8b1 to 8aa5d41 Compare February 29, 2024 08:44
@Boshen Boshen marked this pull request as ready for review February 29, 2024 08:52
@Boshen
Copy link
Contributor

Boshen commented Feb 29, 2024

execa and internal-ip are esm only.

copy-webpack-plugin and sass-loader breaks.

Boshen
Boshen previously approved these changes Feb 29, 2024
@Boshen Boshen enabled auto-merge (squash) February 29, 2024 08:54
@Boshen Boshen force-pushed the renovate/major-npm-dev-dependencies branch 3 times, most recently from 99f9cfd to bb6490b Compare February 29, 2024 09:18
Boshen
Boshen previously approved these changes Feb 29, 2024
Boshen
Boshen previously approved these changes Feb 29, 2024
@Boshen Boshen force-pushed the renovate/major-npm-dev-dependencies branch from c7d104b to 86c7bb3 Compare March 12, 2024 10:26
@Boshen Boshen disabled auto-merge March 12, 2024 12:54
@Boshen Boshen removed their assignment May 11, 2024
@renovate renovate bot force-pushed the renovate/major-npm-dev-dependencies branch from 86c7bb3 to 065c886 Compare May 15, 2024 04:31
Copy link

netlify bot commented May 15, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 1116f94
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/665b693124ba7f0008f881d9
😎 Deploy Preview https://deploy-preview-5728--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@renovate renovate bot force-pushed the renovate/major-npm-dev-dependencies branch 4 times, most recently from 7e06a17 to 5929187 Compare May 24, 2024 12:25
@renovate renovate bot force-pushed the renovate/major-npm-dev-dependencies branch from 5929187 to 1116f94 Compare June 1, 2024 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant