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

Bump webcrack from 2.12.0 to 2.14.1 #1

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 14, 2024

Bumps webcrack from 2.12.0 to 2.14.1.

Release notes

Sourced from webcrack's releases.

v2.14.1

Security

  • Fixed an arbitrary file write vulnerability: GHSA-ccqh-278p-xq6w Who's affected: Windows users which run the CLI with --output or (await webcrack(input)).save(dir) in JS Credits to @​SteakEnthusiast for finding it

Unminify

  • Fixed a Maximum call stack size exceeded error on some comparisons (NaN == NaN)

v2.14.0

Unminify

  • No longer extract sequence from while (a(), b()) c();
  • No longer invert relational operators (!(a > b); -> a <= b) due to breaking with NaN
  • Faster unminify (mainly string merging and numeric expressions)
  • Remove double negations: if (!!a) b(); -> if (a) b(); in if, ternary, array.filter
  • Extract sequence from for-of: for (let value of (a = 1, array)) {} -> a = 1; for (let value of array) {}
  • Mangle: names are inferred based on type (variable, function, parameter, class) and some expressions:
var iîiíiîï = exports;
function iìíïîíï(iïîiïîï, iìíìïîî, iìiiïiî) {
  var iïíïíiî = Array(Math.max(iïîiïîï.bitLength(), iìiiïiî) + 1);
  iïíïíiî.fill(0);
  var iiïiïîï = 1 << iìíìïîî + 1;
  var iìîíiîí = iïîiïîï.clone();

->

var vExports = exports;
function f(p, p2, p3) {
  var vArray = Array(Math.max(p.bitLength(), p3) + 1);
  vArray.fill(0);
  var v = 1 << p2 + 1;
  var v2 = p.clone();

Transpile

  • Fixed default parameters offset issue
  • Transpile default parameter with value true or false
  • Transpile default destructuring parameters:
function f() {
  let { x, y } = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  let [z] = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
}
</tr></table> 

... (truncated)

Commits
  • 70064cf 2.14.1
  • 4bc5c6f fix: path traversal on windows
  • 73d8afb fix: "Maximum call stack size exceeded" when flipping comparisons
  • 241f946 fix: enable parser error recovery (#102)
  • 9561376 build: fix package name
  • 9b33dff 2.14.0
  • 6acf084 fix: keep value when inlining variable (#101)
  • 0b619e5 feat: configurable smart rename (#100)
  • 2b311e0 docs: remove while(sequence) example
  • d04f0bf fix: inlined control flow function that isn't called
  • Additional commits viewable in compare view

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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [webcrack](https://github.com/j4k0xb/webcrack) from 2.12.0 to 2.14.1.
- [Release notes](https://github.com/j4k0xb/webcrack/releases)
- [Commits](j4k0xb/webcrack@v2.12.0...v2.14.1)

---
updated-dependencies:
- dependency-name: webcrack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants