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: , , acorn, data-uri-to-buffer, dotenv, glob-stream, preact, reflect-metadata, ws #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

organich
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.

Name Versions Released on

@jridgewell/trace-mapping
from 0.3.22 to 0.3.25 | 3 versions ahead of your current version | 6 months ago
on 2024-03-02
@jridgewell/gen-mapping
from 0.3.3 to 0.3.5 | 2 versions ahead of your current version | 6 months ago
on 2024-03-01
acorn
from 8.11.3 to 8.12.1 | 2 versions ahead of your current version | 2 months ago
on 2024-07-03
data-uri-to-buffer
from 6.0.1 to 6.0.2 | 1 version ahead of your current version | 7 months ago
on 2024-02-12
dotenv
from 16.4.1 to 16.4.5 | 4 versions ahead of your current version | 7 months ago
on 2024-02-20
glob-stream
from 8.0.0 to 8.0.2 | 2 versions ahead of your current version | 5 months ago
on 2024-04-08
preact
from 10.19.3 to 10.23.2 | 13 versions ahead of your current version | a month ago
on 2024-08-12
reflect-metadata
from 0.2.1 to 0.2.2 | 1 version ahead of your current version | 6 months ago
on 2024-03-29
ws
from 8.17.1 to 8.18.0 | 1 version ahead of your current version | 2 months ago
on 2024-07-03

Release notes
Package name: @jridgewell/trace-mapping from @jridgewell/trace-mapping GitHub release notes
Package name: @jridgewell/gen-mapping from @jridgewell/gen-mapping GitHub release notes
Package name: acorn
  • 8.12.1 - 2024-07-03

    Bug fixes

    Fix a regression that caused Acorn to no longer run on Node versions <8.10.

  • 8.12.0 - 2024-06-14

    New features

    Support ES2025 duplicate capture group names in regular expressions.

    Bug fixes

    Include VariableDeclarator in the AnyNode type so that walker objects can refer to it without getting a type error.

    Properly raise a parse error for invalid for/of statements using async as binding name.

    Properly recognize "use strict" when preceded by a string with an escaped newline.

    Mark the Parser constructor as protected, not private, so plugins can extend it without type errors.

    Fix a bug where some invalid delete expressions were let through when the operand was parenthesized and preserveParens was enabled.

    Properly normalize line endings in raw strings of invalid template tokens.

    Properly track line numbers for escaped newlines in strings.

    Fix a bug that broke line number accounting after a template literal with invalid escape sequences.

  • 8.11.3 - 2023-12-29

    Bug fixes

    Add Function and Class to the AggregateType type, so that they can be used in walkers without raising a type error.

    Make sure onToken get an import keyword token when parsing import.meta.

    Fix a bug where .loc.start could be undefined for new.target meta nodes.

from acorn GitHub release notes
Package name: data-uri-to-buffer
  • 6.0.2 - 2024-02-12
  • 6.0.1 - 2023-09-30
from data-uri-to-buffer GitHub release notes
Package name: dotenv from dotenv GitHub release notes
Package name: glob-stream
  • 8.0.2 - 2024-04-08

    Bug Fixes

    • Avoid blowing the call stack when processing many files (#133) (bb21c9d)
    • Avoid following circular symlinks (#126) (cf8b197)
    • Only traverse directories that can match the glob base (#131) (8e74e21)
  • 8.0.1 - 2024-03-25

    Bug Fixes

    • Avoid pushing additional paths to queue when error occurs (#124) (8eaab85)
    • Traverse symlink folders (#122) (d49d9bd)
  • 8.0.0 - 2023-04-23

    ⚠ BREAKING CHANGES

    • Switch to streamx (#119)
    • Combine GlobStream & GlobReadable into unified API
    • Replace glob with anymatch & custom directory walk (#118)
    • Drop support for ordered globs (#115)

    Features

    • Combine GlobStream & GlobReadable into unified API (6aad264)
    • Replace glob with anymatch & custom directory walk (#118) (6aad264)
    • Switch to streamx (#119) (8d6b35c)

    Bug Fixes

    • Normalize cwd on windows (8d6b35c)
    • Properly handle glob-like characters in paths (#117) (872a957)
    • Resolve cwd to support relative cwd paths (8d6b35c)

    Miscellaneous Chores

from glob-stream GitHub release notes
Package name: preact from preact GitHub release notes
Package name: reflect-metadata from reflect-metadata GitHub release notes
Package name: ws
  • 8.18.0 - 2024-07-03

    Features

    • Added support for Blob (#2229).
  • 8.17.1 - 2024-06-16

    Bug fixes

    • Fixed a DoS vulnerability (#2231).

    A request with a number of headers exceeding theserver.maxHeadersCount
    threshold could be used to crash a ws server.

    const http = require('http');
    const WebSocket = require('ws');

    const wss = new WebSocket.Server({ port: 0 }, function () {
    const chars = "!#$%&'*+-.0123456789abcdefghijklmnopqrstuvwxyz^_`|~".split('');
    const headers = {};
    let count = 0;

    for (let i = 0; i < chars.length; i++) {
    if (count === 2000<span class="pl-kos...

connor4312 and others added 5 commits September 10, 2024 11:33
* feat: improve display of HTML in the debugger

Advertises ANSI styles as proposed in microsoft/debug-adapter-protocol#500,
though it works without them too, just without colors!

Previously the Nodes were displayed as naive objects, so we'd just
list their properties, which was quite useless when trying to get
a handle on the DOM. Now we display their children as the primary
element display, and have "Node Attributes" in a separate section.

![](https://memes.peet.io/img/24-09-9b2b35e1-3874-4e06-825a-5c84abeeb6e4.png)

Refs microsoft/vscode#227729

* fix comment display
* fix: don't inject NODE_OPTIONS in Deno

In Deno 2, Deno has a `process` global. However when running Deno without I/O permissions (the default), accessing process.env.* will show a permission prompt. This is confusing for users, as their code did not trigger this prompt, but VS Code did.

Because this code doesn't do anything in Deno anyway (because we do not respect `NODE_OPTIONS`), there is no point in running it in Deno at all. I disable the code path in Deno through environment detection now.

* review comment
Snyk has created this PR to upgrade:
  - @jridgewell/trace-mapping from 0.3.22 to 0.3.25.
    See this package in npm: https://www.npmjs.com/package/@jridgewell/trace-mapping
  - @jridgewell/gen-mapping from 0.3.3 to 0.3.5.
    See this package in npm: https://www.npmjs.com/package/@jridgewell/gen-mapping
  - acorn from 8.11.3 to 8.12.1.
    See this package in npm: https://www.npmjs.com/package/acorn
  - data-uri-to-buffer from 6.0.1 to 6.0.2.
    See this package in npm: https://www.npmjs.com/package/data-uri-to-buffer
  - dotenv from 16.4.1 to 16.4.5.
    See this package in npm: https://www.npmjs.com/package/dotenv
  - glob-stream from 8.0.0 to 8.0.2.
    See this package in npm: https://www.npmjs.com/package/glob-stream
  - preact from 10.19.3 to 10.23.2.
    See this package in npm: https://www.npmjs.com/package/preact
  - reflect-metadata from 0.2.1 to 0.2.2.
    See this package in npm: https://www.npmjs.com/package/reflect-metadata
  - ws from 8.17.1 to 8.18.0.
    See this package in npm: https://www.npmjs.com/package/ws

See this project in Snyk:
https://app.snyk.io/org/organich/project/92930878-01dd-4ea8-a902-57c4539fd95c?utm_source=github&utm_medium=referral&page=upgrade-pr
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.

4 participants