Skip to content

Commit

Permalink
Support Node >= v22 (#1540)
Browse files Browse the repository at this point in the history
Co-authored-by: prosoponator[bot] <[email protected]>
Co-authored-by: Chris <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 9581065 commit 9e08243
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions packages/locale/src/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import z from "zod";
import translationsDe from "./locales/de.json" assert { type: "json" };
import translationsEn from "./locales/en.json" assert { type: "json" };
import translationsEs from "./locales/es.json" assert { type: "json" };
import translationsFr from "./locales/fr.json" assert { type: "json" };
import translationsIt from "./locales/it.json" assert { type: "json" };
import translationsPtBR from "./locales/pt-BR.json" assert { type: "json" };
import translationsPt from "./locales/pt.json" assert { type: "json" };
import translationsDe from "./locales/de.json" with { type: "json" };
import translationsEn from "./locales/en.json" with { type: "json" };
import translationsEs from "./locales/es.json" with { type: "json" };
import translationsFr from "./locales/fr.json" with { type: "json" };
import translationsIt from "./locales/it.json" with { type: "json" };
import translationsPtBR from "./locales/pt-BR.json" with { type: "json" };
import translationsPt from "./locales/pt.json" with { type: "json" };

export const Languages = ["de", "en", "es", "fr", "it", "pt", "pt-BR"] as const;

Expand Down
2 changes: 1 addition & 1 deletion packages/locale/src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import { z } from "zod";
import translationEn from "./locales/en.json" assert { type: "json" };
import translationEn from "./locales/en.json" with { type: "json" };

export function isClientSide(): boolean {
return !!(
Expand Down
2 changes: 1 addition & 1 deletion typedoc.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import pkgJson from "./package.json" assert { type: "json" };
import pkgJson from "./package.json" with { type: "json" };

export default {
extends: "./typedoc.base.config.js",
Expand Down

0 comments on commit 9e08243

Please sign in to comment.