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

@payloadcms/translations

Package Overview
Dependencies
Maintainers
9
Versions
409
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.1-canary.34c6cc0 to 3.0.1-canary.c98d392

3

dist/types.d.ts
import type { Locale } from 'date-fns';
import type { clientTranslationKeys } from './clientKeys.js';
import type { enTranslations } from './languages/en.js';

@@ -47,3 +46,3 @@ import type { acceptedLanguages } from './utilities/languages.js';

export type DefaultTranslationKeys = NestedKeysStripped<DefaultTranslationsObject>;
export type ClientTranslationKeys<TExtraProps = (typeof clientTranslationKeys)[number]> = TExtraProps;
export type ClientTranslationKeys<TExtraProps = DefaultTranslationKeys> = TExtraProps;
export type ClientTranslationsObject = GenericTranslationsObject;

@@ -50,0 +49,0 @@ export type TFunction<TTranslationKeys = DefaultTranslationKeys> = (key: TTranslationKeys, options?: Record<string, any>) => string;

{
"name": "@payloadcms/translations",
"version": "3.0.1-canary.34c6cc0",
"version": "3.0.1-canary.c98d392",
"homepage": "https://payloadcms.com",

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

"typescript": "5.6.3",
"@payloadcms/eslint-config": "3.0.0-beta.112"
"@payloadcms/eslint-config": "3.0.0"
},

@@ -60,0 +60,0 @@ "overrides": {

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