New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@payloadcms/translations

Package Overview
Dependencies
Maintainers
9
Versions
451
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.2.3-canary.519752f to 3.2.3-canary.5e3c2f6

6

dist/importDateFNSLocale.js

@@ -67,2 +67,8 @@ export const importDateFNSLocale = async (locale) => {

break;
case 'rs':
result = (await import('date-fns/locale/sr')).sr;
break;
case 'rs-Latin':
result = (await import('date-fns/locale/sr-Latn')).srLatn;
break;
case 'ru':

@@ -69,0 +75,0 @@ result = (await import('date-fns/locale/ru')).ru;

2

dist/languages/rs.js

@@ -456,5 +456,5 @@ export const rsTranslations = {

export const rs = {
dateFNSKey: 'en-US',
dateFNSKey: 'rs',
translations: rsTranslations,
};
//# sourceMappingURL=rs.js.map

@@ -456,5 +456,5 @@ export const rsLatinTranslations = {

export const rsLatin = {
dateFNSKey: 'en-US',
dateFNSKey: 'rs-Latin',
translations: rsLatinTranslations,
};
//# sourceMappingURL=rsLatin.js.map

@@ -5,3 +5,3 @@ import type { Locale } from 'date-fns';

import type { acceptedLanguages } from './utilities/languages.js';
type DateFNSKeys = 'ar' | 'az' | 'bg' | 'cs' | 'da' | 'de' | 'en-US' | 'es' | 'fa-IR' | 'fr' | 'he' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'nb' | 'nl' | 'pl' | 'pt' | 'ro' | 'ru' | 'sk' | 'sl-SI' | 'sv' | 'th' | 'tr' | 'uk' | 'vi' | 'zh-CN' | 'zh-TW';
type DateFNSKeys = 'ar' | 'az' | 'bg' | 'cs' | 'da' | 'de' | 'en-US' | 'es' | 'fa-IR' | 'fr' | 'he' | 'hr' | 'hu' | 'it' | 'ja' | 'ko' | 'nb' | 'nl' | 'pl' | 'pt' | 'ro' | 'rs' | 'rs-Latin' | 'ru' | 'sk' | 'sl-SI' | 'sv' | 'th' | 'tr' | 'uk' | 'vi' | 'zh-CN' | 'zh-TW';
export type Language<TDefaultTranslations = DefaultTranslationsObject> = {

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

{
"name": "@payloadcms/translations",
"version": "3.2.3-canary.519752f",
"version": "3.2.3-canary.5e3c2f6",
"homepage": "https://payloadcms.com",

@@ -51,3 +51,3 @@ "repository": {

"devDependencies": {
"@swc/core": "1.7.10",
"@swc/core": "1.9.3",
"@types/react": "npm:types-react@19.0.0-rc.1",

@@ -54,0 +54,0 @@ "@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",

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