Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@payloadcms/translations

Package Overview
Dependencies
Maintainers
4
Versions
367
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@payloadcms/translations - npm Package Compare versions

Comparing version 3.0.0-beta.24 to 3.0.0-beta.25

dist/languages/sk.d.ts

2

dist/exports/all.js

@@ -24,2 +24,3 @@ import { ar } from '../languages/ar.js';

import { ru } from '../languages/ru.js';
import { sk } from '../languages/sk.js';
import { sv } from '../languages/sv.js';

@@ -56,2 +57,3 @@ import { th } from '../languages/th.js';

ru,
sk,
sv,

@@ -58,0 +60,0 @@ th,

@@ -64,2 +64,5 @@ export const importDateFNSLocale = async (locale) => {

break;
case 'sk':
result = await import('date-fns/locale/sk');
break;
case 'sv':

@@ -66,0 +69,0 @@ result = await import('date-fns/locale/sv');

2

dist/types.d.ts
import type { Locale } from 'date-fns';
import type { acceptedLanguages } from './utilities/languages.js';
type DateFNSKeys = 'ar' | 'az' | 'bg' | 'cs' | 'de' | 'en-US' | 'es' | 'fa-IR' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'nb' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sv' | 'th' | 'tr' | 'uk' | 'vi' | 'zh-CN' | 'zh-TW';
type DateFNSKeys = 'ar' | 'az' | 'bg' | 'cs' | 'de' | 'en-US' | 'es' | 'fa-IR' | 'fr' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'nb' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sk' | 'sv' | 'th' | 'tr' | 'uk' | 'vi' | 'zh-CN' | 'zh-TW';
export type Language = {

@@ -5,0 +5,0 @@ dateFNSKey: DateFNSKeys;

import type { AcceptedLanguages } from '../types.js';
export declare const rtlLanguages: readonly ["ar", "fa"];
export declare const acceptedLanguages: readonly ["ar", "az", "bg", "cs", "de", "en", "es", "fa", "fr", "hr", "hu", "it", "ja", "ko", "my", "nb", "nl", "pl", "pt", "ro", "rs", "rsLatin", "ru", "sv", "th", "tr", "uk", "vi", "zh", "zh-TW"];
export declare const acceptedLanguages: readonly ["ar", "az", "bg", "cs", "de", "en", "es", "fa", "fr", "hr", "hu", "it", "ja", "ko", "my", "nb", "nl", "pl", "pt", "ro", "rs", "rsLatin", "ru", "sk", "sv", "th", "tr", "uk", "vi", "zh", "zh-TW"];
export declare function extractHeaderLanguage(acceptLanguageHeader: string): AcceptedLanguages | undefined;
//# sourceMappingURL=languages.d.ts.map

@@ -26,2 +26,3 @@ export const rtlLanguages = ['ar', 'fa'];

'ru',
'sk',
'sv',

@@ -107,3 +108,2 @@ 'th',

* 'si',
* 'sk',
* 'sl',

@@ -110,0 +110,0 @@ * 'sq',

{
"name": "@payloadcms/translations",
"version": "3.0.0-beta.24",
"version": "3.0.0-beta.25",
"homepage": "https://payloadcms.com",

@@ -40,5 +40,2 @@ "repository": {

},
"publishConfig": {
"access": "public"
},
"scripts": {

@@ -45,0 +42,0 @@ "build": "pnpm build:types",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc