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

@nebula.js/locale

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebula.js/locale - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

12

dist/locale.dev.js
/*
* @nebula.js/locale v0.2.0
* @nebula.js/locale v0.2.1
* Copyright (c) 2020 QlikTech International AB

@@ -32,7 +32,8 @@ * Released under the MIT license.

/**
* @interface Translator
* @class Translator
* @hideconstructor
*/
var api =
/** @lends Translator */
/** @lends Translator# */
{

@@ -48,3 +49,3 @@ language: function language(lang) {

/**
* Register a string in multiple locales
* Registers a string in multiple locales
* @param {object} item

@@ -77,5 +78,6 @@ * @param {string} item.id

/**
* Translate string for current locale
* Translates a string for current locale
* @param {string} str - Id of the registered string
* @param {Array<string>=} args - Values passed down for string interpolation
* @returns {string} The translated string
*/

@@ -82,0 +84,0 @@ get: function get(str, args) {

/*
* @nebula.js/locale v0.2.0
* @nebula.js/locale v0.2.1
* Copyright (c) 2020 QlikTech International AB

@@ -26,7 +26,8 @@ * Released under the MIT license.

/**
* @interface Translator
* @class Translator
* @hideconstructor
*/
var api =
/** @lends Translator */
/** @lends Translator# */
{

@@ -42,3 +43,3 @@ language: function language(lang) {

/**
* Register a string in multiple locales
* Registers a string in multiple locales
* @param {object} item

@@ -71,5 +72,6 @@ * @param {string} item.id

/**
* Translate string for current locale
* Translates a string for current locale
* @param {string} str - Id of the registered string
* @param {Array<string>=} args - Values passed down for string interpolation
* @returns {string} The translated string
*/

@@ -76,0 +78,0 @@ get: function get(str, args) {

/*
* @nebula.js/locale v0.2.0
* @nebula.js/locale v0.2.1
* Copyright (c) 2020 QlikTech International AB

@@ -4,0 +4,0 @@ * Released under the MIT license.

/*
* @nebula.js/locale v0.2.0
* @nebula.js/locale v0.2.1
* Copyright (c) 2020 QlikTech International AB

@@ -4,0 +4,0 @@ * Released under the MIT license.

{
"name": "@nebula.js/locale",
"version": "0.2.0",
"version": "0.2.1",
"description": "",

@@ -27,3 +27,3 @@ "license": "MIT",

},
"gitHead": "f831ff585b2cf3adfa0eda2bf8629b2697527550"
"gitHead": "5d7768efdb31e06bf21278713cda61ffe86435ee"
}
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