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

i18n-js

Package Overview
Dependencies
Maintainers
2
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-js - npm Package Compare versions

Comparing version 3.0.8 to 3.0.9

6

app/assets/javascripts/i18n.js

@@ -391,3 +391,2 @@ // I18n.js

var locales = this.locales.get(options.locale).slice()
, requestedLocale = locales[0]
, locale

@@ -451,3 +450,2 @@ , scopes

var locales = this.locales.get(options.locale).slice()
, requestedLocale = locales[0]
, locale

@@ -616,2 +614,6 @@ , scopes

I18n.interpolate = function(message, options) {
if (message === null) {
return message;
}
options = options || {}

@@ -618,0 +620,0 @@ var matches = message.match(this.placeholder)

@@ -21,2 +21,9 @@ # Change Log

## [3.0.9] - 2018-06-21
### Fixed
- [JS] Fix translation array interpolation for array with null
## [3.0.8] - 2018-06-06

@@ -313,3 +320,4 @@

[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.8...HEAD
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.0.9...HEAD
[3.0.9]: https://github.com/fnando/i18n-js/compare/v3.0.8...v3.0.9
[3.0.8]: https://github.com/fnando/i18n-js/compare/v3.0.7...v3.0.8

@@ -316,0 +324,0 @@ [3.0.7]: https://github.com/fnando/i18n-js/compare/v3.0.6...v3.0.7

{
"name": "i18n-js",
"version": "3.0.8",
"version": "3.0.9",
"description": "A javascript library similar to Ruby on Rails i18n gem",

@@ -5,0 +5,0 @@ "author": "Nando Vieira",

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