SwiftPackageIndex / SwiftPackageIndex-Server

The Swift Package Index is the place to find Swift packages!
https://swiftpackageindex.com
Apache License 2.0
554 stars 45 forks source link

NPM: Bump the npm-dependencies group with 2 updates #3190

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 3 months ago

Bumps the npm-dependencies group with 2 updates: highlight.js and esbuild.

Updates highlight.js from 11.9.0 to 11.10.0

Changelog

Sourced from highlight.js's changelog.

Version 11.10.0

CAVEATS / POTENTIALLY BREAKING CHANGES

  • Drops support for Node 16.x, which is no longer supported by Node.js.

Core Grammars:

  • enh(typescript) add support for satisfies operator [Kisaragi Hiu][]
  • enc(c) added more C23 keywords [Melkor-1][]
  • enh(json) added jsonc as an alias [BackupMiles][]
  • enh(gml) updated to latest language version (GML v2024.2) [gnysek][]
  • enh(c) added more C23 keywords and preprcoessor directives [Eisenwave][]
  • enh(js/ts) support namespaced tagged template strings [Aral Balkan][]
  • enh(perl) fix false-positive variable match at end of string [Josh Goebel][]
  • fix(cpp) not all kinds of number literals are highlighted correctly [Lê Duy Quang][]
  • fix(css) fix overly greedy pseudo class matching [Bradley Mackey][]
  • enh(arcade) updated to ArcGIS Arcade version 1.24 [Kristian Ekenes][]
  • fix(typescript): params types [Mohamed Ali][]
  • fix(rust) fix escaped double quotes in string [Mohamed Ali][]
  • fix(rust) fix for r# raw identifier not being highlighted correctly. [JaeBaek Lee][]
  • enh(rust) Adding union to be recognized as a keyword in Rust. [JaeBaek Lee][]
  • fix(yaml) fix for yaml with keys having brackets highlighted incorrectly [Aneesh Kulkarni][]
  • fix(csharp) add raw string highlighting for C# 11. [Tara][]
  • fix(bash) fix # within token being detected as the start of a comment [Felix Uhl][]
  • fix(python) fix or conflicts with string highlighting [Mohamed Ali][]
  • enh(python) adds a scope to the self variable [Lee Falin][]
  • enh(delphi) allow digits to be omitted for hex and binary literals [Jonah Jeleniewski][]
  • enh(delphi) add support for digit separators [Jonah Jeleniewski][]
  • enh(delphi) add support for character strings with non-decimal numerics [Jonah Jeleniewski][]
  • fix(javascript) incorrect function name highlighting [CY Fung][]
  • fix(1c) fix escaped symbols "+-;():=,[]" literals [Vitaly Barilko][]
  • fix(swift) correctly highlight generics and conformances in type definitions [Bradley Mackey][]
  • enh(swift) add package keyword [Bradley Mackey][]
  • fix(swift) ensure keyword attributes highlight correctly [Bradley Mackey][]
  • fix(types) fix interface LanguageDetail > keywords [Patrick Chiu]
  • enh(java) add goto to be recognized as a keyword in Java [Alvin Joy][]
  • enh(bash) add keyword sudo [Alvin Joy][]
  • fix(haxe) captures new keyword without capturing it within variables/class names [Cameron Taylor][]
  • fix(go) fix go number literals to accept _ separators, add hex p exponents [Lisa Ugray][]
  • enh(markdown) add entity support [David Schach][] [TaraLei][]
  • enh(css) add justify-items and justify-self attributes [Vasily Polovnyov][]
  • enh(css) add accent-color, appearance, color-scheme, rotate, scale and translate attributes [Carl Räfting][]
  • fix(fortran) fixes parsing of keywords delimited by dots [Julien Bloino][]
  • enh(css) add select, option, optgroup, picture and source to list of known tags [Vasily Polovnyov][]
  • enh(css) add inset, inset-*, border-start-*-radius and border-end-*-radius attributes [Vasily Polovnyov][]
  • enh(css) add text-decoration-skip-ink, text-decoration-thickness and text-underline-offset attributes [Vasily Polovnyov][]

New Grammars:

... (truncated)

Commits
  • 366a8bd (maintainer) bump version 11.9.0 => 11.10.0
  • b1fd7cd (maint) build against node 22
  • 221b049 (maint) bump npm dependencies
  • e2e11f7 Add JSONata as supported language (#4069)
  • f41067d improve monokai theme for attr & number (#4067)
  • b9ae5fe add text-decoration-skip-ink, text-decoration-thickness and `text-underli...
  • 888ac75 Add Mirth to SUPPORTED_LANGUAGES.md (#4061)
  • 32f6d13 (chore) Remove unused submodule (#4047)
  • 4bbf361 enh(typescript) add satisfies keyword (#4058)
  • 5237004 enh(c): Added typeof and typeof_qual to the list of keywords (#4055)
  • Additional commits viewable in compare view


Updates esbuild from 0.22.0 to 0.23.0

Release notes

Sourced from esbuild's releases.

v0.23.0

This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of esbuild in your package.json file (recommended) or be using a version range syntax that only accepts patch upgrades such as ^0.22.0 or ~0.22.0. See npm's documentation about semver for more information.

  • Revert the recent change to avoid bundling dependencies for node (#3819)

    This release reverts the recent change in version 0.22.0 that made --packages=external the default behavior with --platform=node. The default is now back to --packages=bundle.

    I've just been made aware that Amazon doesn't pin their dependencies in their "AWS CDK" product, which means that whenever esbuild publishes a new release, many people (potentially everyone?) using their SDK around the world instantly starts using it without Amazon checking that it works first. This change in version 0.22.0 happened to break their SDK. I'm amazed that things haven't broken before this point. This revert attempts to avoid these problems for Amazon's customers. Hopefully Amazon will pin their dependencies in the future.

    In addition, this is probably a sign that esbuild is used widely enough that it now needs to switch to a more complicated release model. I may have esbuild use a beta channel model for further development.

  • Fix preserving collapsed JSX whitespace (#3818)

    When transformed, certain whitespace inside JSX elements is ignored completely if it collapses to an empty string. However, the whitespace should only be ignored if the JSX is being transformed, not if it's being preserved. This release fixes a bug where esbuild was previously incorrectly ignoring collapsed whitespace with --jsx=preserve. Here is an example:

    // Original code
    <Foo>
      <Bar />
    </Foo>
    

    // Old output (with --jsx=preserve)
    <Foo><Bar /></Foo>;

    // New output (with --jsx=preserve)
    <Foo>
    <Bar />
    </Foo>;

Changelog

Sourced from esbuild's changelog.

0.23.0

This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of esbuild in your package.json file (recommended) or be using a version range syntax that only accepts patch upgrades such as ^0.22.0 or ~0.22.0. See npm's documentation about semver for more information.

  • Revert the recent change to avoid bundling dependencies for node (#3819)

    This release reverts the recent change in version 0.22.0 that made --packages=external the default behavior with --platform=node. The default is now back to --packages=bundle.

    I've just been made aware that Amazon doesn't pin their dependencies in their "AWS CDK" product, which means that whenever esbuild publishes a new release, many people (potentially everyone?) using their SDK around the world instantly starts using it without Amazon checking that it works first. This change in version 0.22.0 happened to break their SDK. I'm amazed that things haven't broken before this point. This revert attempts to avoid these problems for Amazon's customers. Hopefully Amazon will pin their dependencies in the future.

    In addition, this is probably a sign that esbuild is used widely enough that it now needs to switch to a more complicated release model. I may have esbuild use a beta channel model for further development.

  • Fix preserving collapsed JSX whitespace (#3818)

    When transformed, certain whitespace inside JSX elements is ignored completely if it collapses to an empty string. However, the whitespace should only be ignored if the JSX is being transformed, not if it's being preserved. This release fixes a bug where esbuild was previously incorrectly ignoring collapsed whitespace with --jsx=preserve. Here is an example:

    // Original code
    <Foo>
      <Bar />
    </Foo>
    

    // Old output (with --jsx=preserve)
    <Foo><Bar /></Foo>;

    // New output (with --jsx=preserve)
    <Foo>
    <Bar />
    </Foo>;

Commits


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 ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions