noyobo / img-spriter-transform

converter img spriter meta datasource to style sheet(css)
MIT License
0 stars 0 forks source link

chore(deps): [security] bump uglify-js from 2.4.24 to 2.6.0 #20

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Bumps uglify-js from 2.4.24 to 2.6.0. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The Node Security Working Group](https://github.com/nodejs/security-wg/blob/master/vuln/npm/48.json).* > **Regular Expression Denial of Service** > uglify-js is vulnerable to regular expression denial of service (ReDoS) when certain types of input is passed into .parse(). > > "The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time." [1] > > ### Proof of Concept > > ``` > var u = require('uglify-js'); > var genstr = function (len, chr) { > var result = ""; > for (i=0; i<=len; i++) { > result = result + chr; > } > > return result; > } > > u.parse("var a = " + genstr(process.argv[2], "1") + ".1ee7;"); > ``` > > ... (truncated) > > Affected versions: <2.6.0
Commits - [`d895c09`](https://github.com/mishoo/UglifyJS2/commit/d895c09c70e66a20fe4fd3a923e6b672437030b9) v2.6.0 - [`08623aa`](https://github.com/mishoo/UglifyJS2/commit/08623aa6a700f62e6b096917d31b0b7a2705d281) Fix output for "use asm" code from SpiderMonkey AST - [`c898a26`](https://github.com/mishoo/UglifyJS2/commit/c898a26117c2687d5707a4e80d6058d5c8601165) Build label def/refs info when figuring out scope - [`619adb0`](https://github.com/mishoo/UglifyJS2/commit/619adb0308dbc794e9c3b77185e886443e03df9e) Replace util.error with console.log - [`7691beb`](https://github.com/mishoo/UglifyJS2/commit/7691bebea525e96cb74d52e0bb8f294cf778c966) Rework has_directive - [`3c43467`](https://github.com/mishoo/UglifyJS2/commit/3c4346728e5067608b6393ba98e24849ac22adea) Merge pull request [#854](https://github-redirect.dependabot.com/mishoo/UglifyJS2/issues/854) from kzc/moz-regexp-2 - [`18d37ac`](https://github.com/mishoo/UglifyJS2/commit/18d37ac761d8f9bb3904d447ddbb0ac471fc161c) Fix parsing invalid input - [`63d35f8`](https://github.com/mishoo/UglifyJS2/commit/63d35f8f6db6d90d6142132d2d5f0bd5d3d698aa) Prevent ReDoS by not using a regexp to verify floating point numbers - [`7dbe961`](https://github.com/mishoo/UglifyJS2/commit/7dbe961b2d49533d54dfe5263f94de27de043316) simplify mozilla AST RegExpLiteral token parse and handle corner cases of reg... - [`94c4daa`](https://github.com/mishoo/UglifyJS2/commit/94c4daaf9ea67875ab1b720d1d7bceef7c690552) Have mozilla AST RegExpLiteral parser use regex.pattern and regex.flags rathe... - Additional commits viewable in [compare view](https://github.com/mishoo/UglifyJS2/compare/v2.4.24...v2.6.0)


Dependabot compatibility score

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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Looks like uglify-js is no longer updatable, so this is no longer needed.

dependabot-preview[bot] commented 5 years ago

Sorry - this PR was generated in error. (If you look at the diff you'll see it doesn't do the update claimed.) We've fixed things on our side, and apologise for the noise.