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

@shopify/react-i18n

Package Overview
Dependencies
Maintainers
25
Versions
289
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-i18n - npm Package Compare versions

Comparing version 0.0.0-snapshot-20230203161211 to 0.0.0-snapshot-20230206191454

2

build/ts/errors.d.ts

@@ -14,3 +14,3 @@ import { Replacements } from './types';

}
export declare type I18nError = MissingTranslationError | MissingReplacementError | MissingCurrencyCodeError | MissingCountryError;
export type I18nError = MissingTranslationError | MissingReplacementError | MissingCurrencyCodeError | MissingCountryError;
//# sourceMappingURL=errors.d.ts.map
import React from 'react';
import { I18n } from './i18n';
import { RegisterOptions } from './manager';
declare type Result = [I18n, React.ComponentType<{
type Result = [I18n, React.ComponentType<{
children: React.ReactNode;

@@ -6,0 +6,0 @@ }>];

@@ -7,3 +7,3 @@ import { I18nDetails, TranslationDictionary, MaybePromise } from './types';

}
declare type TranslationGetter = (locale: string) => MaybePromise<TranslationDictionary | undefined>;
type TranslationGetter = (locale: string) => MaybePromise<TranslationDictionary | undefined>;
interface TranslationMap {

@@ -10,0 +10,0 @@ [key: string]: MaybePromise<TranslationDictionary | undefined>;

@@ -26,5 +26,5 @@ /// <reference types="react" />

}
export declare type MaybePromise<T> = T | Promise<T>;
export type MaybePromise<T> = T | Promise<T>;
export { CurrencyCode } from './currencyCode';
export declare type Replacements = PrimitiveReplacementDictionary | ComplexReplacementDictionary;
export type Replacements = PrimitiveReplacementDictionary | ComplexReplacementDictionary;
//# sourceMappingURL=types.d.ts.map
{
"name": "@shopify/react-i18n",
"version": "0.0.0-snapshot-20230203161211",
"version": "0.0.0-snapshot-20230206191454",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "i18n utilities for React handling translations, formatting, and more",

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