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

rosetty

Package Overview
Dependencies
Maintainers
1
Versions
352
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rosetty - npm Package Compare versions

Comparing version 1.3.51 to 1.3.52

4

dist/index.d.ts

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

}
export interface RosettyReturn<T> {
export interface RosettyReturn<T extends AnyObject> {
changeLang: (lang: string) => void;

@@ -176,3 +176,3 @@ languages: string[];

export declare const locales: Locales;
export declare const rosetty: <T>(initialConfig: Record<string, Language>, defaultLang?: string) => RosettyReturn<T>;
export declare const rosetty: <T extends AnyObject>(initialConfig: Record<string, Language>, defaultLang?: string) => RosettyReturn<T>;
export {};
{
"version": "1.3.51",
"version": "1.3.52",
"license": "MIT",

@@ -61,3 +61,3 @@ "main": "dist/index.js",

"resolutions": {
"typescript": "4.7.4"
"typescript": "4.8.2"
},

@@ -79,3 +79,3 @@ "devDependencies": {

"tslib": "2.4.0",
"typescript": "4.7.4"
"typescript": "4.8.2"
},

@@ -82,0 +82,0 @@ "dependencies": {

@@ -138,3 +138,3 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */

export interface RosettyReturn<T> {
export interface RosettyReturn<T extends AnyObject> {
changeLang: (lang: string) => void;

@@ -249,3 +249,3 @@ languages: string[];

export const rosetty = <T>(
export const rosetty = <T extends AnyObject>(
initialConfig: Record<string, Language>,

@@ -252,0 +252,0 @@ defaultLang?: string

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