[PR #48] [MERGED] deps(deps): bump @inlang/paraglide-js from 2.5.0 to 2.7.0 #142

Closed
opened 2026-03-15 02:27:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/asalimonov/authelia-admin/pull/48
Author: @dependabot[bot]
Created: 12/15/2025
Status: Merged
Merged: 2/8/2026
Merged by: @asalimonov

Base: mainHead: dependabot/npm_and_yarn/inlang/paraglide-js-2.7.0


📝 Commits (1)

  • d3d7d34 deps(deps): bump @inlang/paraglide-js from 2.5.0 to 2.7.0

📊 Changes

2 files changed (+66 additions, -5 deletions)

View changed files

📝 package-lock.json (+65 -4)
📝 package.json (+1 -1)

📄 Description

Bumps @inlang/paraglide-js from 2.5.0 to 2.7.0.

Changelog

Sourced from @​inlang/paraglide-js's changelog.

@​inlang/paraglide-js

2.6.0

Minor Changes

  • 3d6259c: Add LocalizedString branded type for compile-time i18n safety.

    Message functions now return LocalizedString instead of string, enabling TypeScript users to distinguish between translated and untranslated strings at compile time. This is fully backward compatible since branded types are assignable to their base type.

    import { m } from "./paraglide/messages.js";
    import type { LocalizedString } from "@inlang/paraglide-js";
    

    const greeting: LocalizedString = m.hello(); // ✓ Type-safe
    const raw: LocalizedString = "Hello"; // ✗ Type error

  • 4bde3eb: Add optional chaining to compiled message inputs so missing inputs no longer throw at runtime; include tests covering single- and multi-variant messages.

    Closes opral/inlang-paraglide-js#568

    Example:

    // compiled translation
    export const greeting = (i) => `Hello ${i?.name}`;
    

    // TypeScript still enforces the input shape; this is purely runtime safety (handy in dev).
    greeting(); // no throw, returns "Hello undefined"
    greeting({ name: "Ada" }); // "Hello Ada"

    // previously (boom 💥)
    export const greetingOld = (i) => Hello ${i.name};
    greetingOld(); // TypeError: Cannot read properties of undefined (reading 'name')

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/asalimonov/authelia-admin/pull/48 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 12/15/2025 **Status:** ✅ Merged **Merged:** 2/8/2026 **Merged by:** [@asalimonov](https://github.com/asalimonov) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/inlang/paraglide-js-2.7.0` --- ### 📝 Commits (1) - [`d3d7d34`](https://github.com/asalimonov/authelia-admin/commit/d3d7d34b325eebf8636bb6b40312f59f62330c7e) deps(deps): bump @inlang/paraglide-js from 2.5.0 to 2.7.0 ### 📊 Changes **2 files changed** (+66 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+65 -4) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [@inlang/paraglide-js](https://github.com/opral/inlang-paraglide-js) from 2.5.0 to 2.7.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/opral/inlang-paraglide-js/blob/main/CHANGELOG.md"><code>@​inlang/paraglide-js</code>'s changelog</a>.</em></p> <blockquote> <h1><code>@​inlang/paraglide-js</code></h1> <h2>2.6.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>3d6259c: Add <code>LocalizedString</code> branded type for compile-time i18n safety.</p> <p>Message functions now return <code>LocalizedString</code> instead of <code>string</code>, enabling TypeScript users to distinguish between translated and untranslated strings at compile time. This is fully backward compatible since branded types are assignable to their base type.</p> <pre lang="typescript"><code>import { m } from &quot;./paraglide/messages.js&quot;; import type { LocalizedString } from &quot;@inlang/paraglide-js&quot;; <p>const greeting: LocalizedString = m.hello(); // ✓ Type-safe<br /> const raw: LocalizedString = &quot;Hello&quot;; // ✗ Type error<br /> </code></pre></p> </li> <li> <p>4bde3eb: Add optional chaining to compiled message inputs so missing inputs no longer throw at runtime; include tests covering single- and multi-variant messages.</p> <p>Closes <a href="https://redirect.github.com/opral/inlang-paraglide-js/issues/568">opral/inlang-paraglide-js#568</a></p> <p>Example:</p> <pre lang="js"><code>// compiled translation export const greeting = (i) =&gt; `Hello ${i?.name}`; <p>// TypeScript still enforces the input shape; this is purely runtime safety (handy in dev).<br /> greeting(); // no throw, returns &quot;Hello undefined&quot;<br /> greeting({ name: &quot;Ada&quot; }); // &quot;Hello Ada&quot;</p> <p>// previously (boom 💥)<br /> export const greetingOld = (i) =&gt; <code>Hello ${i.name}</code>;<br /> greetingOld(); // TypeError: Cannot read properties of undefined (reading 'name')<br /> </code></pre></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/opral/inlang-paraglide-js/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@inlang/paraglide-js&package-manager=npm_and_yarn&previous-version=2.5.0&new-version=2.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 02:27:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/authelia-admin#142
No description provided.