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

[Snyk] Upgrade: execa, , , , , , semver, , , , minimatch, glob, bindl, conventional-changelog-conventionalcommits, cspell, eslint, eslint-config-prettier, mocha, prettier, prettier-plugin-sh, semantic-release, semantic-release-vsce, ts-loader, typescript, webpack #37

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

Conversation

WontonSam
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯‍♂ The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

Name Versions Released on

execa
from 5.1.1 to 9.3.1 | 15 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
on 2024-08-14
@types/lodash
from 4.14.198 to 4.17.7 | 12 versions ahead of your current version | 2 months ago
on 2024-07-16
@types/mocha
from 10.0.1 to 10.0.7 | 6 versions ahead of your current version | 3 months ago
on 2024-06-22
@types/node
from 16.18.53 to 22.5.0 | 450 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 25 days ago
on 2024-08-21
@types/semver
from 7.5.2 to 7.5.8 | 6 versions ahead of your current version | 7 months ago
on 2024-02-24
@types/vscode
from 1.66.0 to 1.92.0 | 38 versions ahead of your current version | a month ago
on 2024-08-01
semver
from 7.5.4 to 7.6.3 | 4 versions ahead of your current version | 2 months ago
on 2024-07-16
@typescript-eslint/eslint-plugin
from 6.7.2 to 8.2.0 | 642 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
on 2024-08-19
@typescript-eslint/parser
from 6.7.2 to 8.2.0 | 646 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
on 2024-08-19
@vscode/test-electron
from 2.3.4 to 2.4.1 | 8 versions ahead of your current version | 2 months ago
on 2024-07-05
minimatch
from 9.0.3 to 10.0.1 | 4 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 2 months ago
on 2024-07-08
glob
from 10.3.4 to 11.0.0 | 19 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 2 months ago
on 2024-07-08
bindl
from 4.2.3 to 4.2.5 | 2 versions ahead of your current version | 10 months ago
on 2023-11-27
conventional-changelog-conventionalcommits
from 6.1.0 to 8.0.0 | 4 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 4 months ago
on 2024-05-03
cspell
from 7.3.6 to 8.14.2 | 41 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
on 2024-08-20
eslint
from 8.49.0 to 9.9.1 | 27 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | 23 days ago
on 2024-08-23
eslint-config-prettier
from 9.0.0 to 9.1.0 | 1 version ahead of your current version | 9 months ago
on 2023-12-02
mocha
from 10.2.0 to 10.7.3 | 10 versions ahead of your current version | a month ago
on 2024-08-09
prettier
from 3.0.3 to 3.3.3 | 12 versions ahead of your current version | 2 months ago
on 2024-07-13
prettier-plugin-sh
from 0.13.1 to 0.14.0 | 1 version ahead of your current version | 8 months ago
on 2024-01-17
semantic-release
from 19.0.5 to 24.1.0 | 79 versions ahead of your current version
⚠️ This is a major version upgrade, and may be a breaking change | a month ago
on 2024-08-17
semantic-release-vsce
from 5.6.1 to 5.7.4 | 8 versions ahead of your current version | a month ago
on 2024-08-13
ts-loader
from 9.4.4 to 9.5.1 | 2 versions ahead of your current version | 10 months ago
on 2023-11-15
typescript
from 5.2.2 to 5.5.4 | 313 versions ahead of your current version | 2 months ago
on 2024-07-22
webpack
from 5.88.2 to 5.94.0 | 10 versions ahead of your current version | 24 days ago
on 2024-08-22

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
119 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
119 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
119 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
119 Proof of Concept
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
119 Proof of Concept
high severity Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
119 Proof of Concept
high severity Server-side Request Forgery (SSRF)
SNYK-JS-IP-6240864
119 Proof of Concept
medium severity Server-Side Request Forgery (SSRF)
SNYK-JS-IP-7148531
119 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
119 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
119 Proof of Concept
medium severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-JS-TAR-6476909
119 Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-JS-WEBPACK-7840298
119 Proof of Concept
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
119 Proof of Concept
Release notes
Package name: execa

- 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)

Snyk has created this PR to upgrade:
  - execa from 5.1.1 to 9.3.1.
    See this package in npm: https://www.npmjs.com/package/execa
  - @types/lodash from 4.14.198 to 4.17.7.
    See this package in npm: https://www.npmjs.com/package/@types/lodash
  - @types/mocha from 10.0.1 to 10.0.7.
    See this package in npm: https://www.npmjs.com/package/@types/mocha
  - @types/node from 16.18.53 to 22.5.0.
    See this package in npm: https://www.npmjs.com/package/@types/node
  - @types/semver from 7.5.2 to 7.5.8.
    See this package in npm: https://www.npmjs.com/package/@types/semver
  - @types/vscode from 1.66.0 to 1.92.0.
    See this package in npm: https://www.npmjs.com/package/@types/vscode
  - semver from 7.5.4 to 7.6.3.
    See this package in npm: https://www.npmjs.com/package/semver
  - @typescript-eslint/eslint-plugin from 6.7.2 to 8.2.0.
    See this package in npm: https://www.npmjs.com/package/@typescript-eslint/eslint-plugin
  - @typescript-eslint/parser from 6.7.2 to 8.2.0.
    See this package in npm: https://www.npmjs.com/package/@typescript-eslint/parser
  - @vscode/test-electron from 2.3.4 to 2.4.1.
    See this package in npm: https://www.npmjs.com/package/@vscode/test-electron
  - minimatch from 9.0.3 to 10.0.1.
    See this package in npm: https://www.npmjs.com/package/minimatch
  - glob from 10.3.4 to 11.0.0.
    See this package in npm: https://www.npmjs.com/package/glob
  - bindl from 4.2.3 to 4.2.5.
    See this package in npm: https://www.npmjs.com/package/bindl
  - conventional-changelog-conventionalcommits from 6.1.0 to 8.0.0.
    See this package in npm: https://www.npmjs.com/package/conventional-changelog-conventionalcommits
  - cspell from 7.3.6 to 8.14.2.
    See this package in npm: https://www.npmjs.com/package/cspell
  - eslint from 8.49.0 to 9.9.1.
    See this package in npm: https://www.npmjs.com/package/eslint
  - eslint-config-prettier from 9.0.0 to 9.1.0.
    See this package in npm: https://www.npmjs.com/package/eslint-config-prettier
  - mocha from 10.2.0 to 10.7.3.
    See this package in npm: https://www.npmjs.com/package/mocha
  - prettier from 3.0.3 to 3.3.3.
    See this package in npm: https://www.npmjs.com/package/prettier
  - prettier-plugin-sh from 0.13.1 to 0.14.0.
    See this package in npm: https://www.npmjs.com/package/prettier-plugin-sh
  - semantic-release from 19.0.5 to 24.1.0.
    See this package in npm: https://www.npmjs.com/package/semantic-release
  - semantic-release-vsce from 5.6.1 to 5.7.4.
    See this package in npm: https://www.npmjs.com/package/semantic-release-vsce
  - ts-loader from 9.4.4 to 9.5.1.
    See this package in npm: https://www.npmjs.com/package/ts-loader
  - typescript from 5.2.2 to 5.5.4.
    See this package in npm: https://www.npmjs.com/package/typescript
  - webpack from 5.88.2 to 5.94.0.
    See this package in npm: https://www.npmjs.com/package/webpack

See this project in Snyk:
https://app.snyk.io/org/cachiman/project/54da807d-ff36-468a-a378-a147ba87eb94?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

google-cla bot commented Sep 15, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

2 participants