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

@ribajs/i18n

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ribajs/i18n - npm Package Compare versions

Comparing version 0.18.5 to 0.18.6

2

package.json
{
"name": "@ribajs/i18n",
"description": "Internationalization extension for Riba.js",
"version": "0.18.5",
"version": "0.18.6",
"author": "Pascal Garber <pascal@jumplink.eu>",

@@ -6,0 +6,0 @@ "url": "https://github.com/ribajs/riba/tree/master/packages/i18n",

@@ -10,3 +10,3 @@ import { Debug } from '@ribajs/core';

public static getInstance(id: string = 'main') {
public static getInstance(id: string) {
return LocalesStaticService.instances[id];

@@ -27,4 +27,7 @@ }

constructor(protected locales: any, protected id: string = 'main', doNotTranslateDefaultLanguage: boolean = false) {
constructor(protected locales: any, protected id?: string, doNotTranslateDefaultLanguage: boolean = false) {
super(doNotTranslateDefaultLanguage);
if (!id) {
id = 'main';
}

@@ -31,0 +34,0 @@ this.locales = locales;

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