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
57
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.7.0 to 3.7.1

2

app/assets/javascripts/i18n.js

@@ -682,3 +682,3 @@ // I18n.js

return (this.missingTranslationPrefix.length > 0 ? this.missingTranslationPrefix : '') +
s.replace('_',' ').replace(/([a-z])([A-Z])/g,
s.replace(/_/g,' ').replace(/([a-z])([A-Z])/g,
function(match, p1, p2) {return p1 + ' ' + p2.toLowerCase()} );

@@ -685,0 +685,0 @@ }

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

## [3.7.1] - 2020-06-30
### Fixed
- [JS] For translation missing behaviour `guess`, replace all underscores to spaces properly
(PR: https://github.com/fnando/i18n-js/pull/574)
## [3.7.0] - 2020-05-29

@@ -461,4 +469,5 @@

[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.7.0...HEAD
[3.6.0]: https://github.com/fnando/i18n-js/compare/v3.6.0...v3.7.0
[Unreleased]: https://github.com/fnando/i18n-js/compare/v3.7.1...HEAD
[3.7.1]: https://github.com/fnando/i18n-js/compare/v3.7.0...v3.7.1
[3.7.0]: https://github.com/fnando/i18n-js/compare/v3.6.0...v3.7.0
[3.6.0]: https://github.com/fnando/i18n-js/compare/v3.5.1...v3.6.0

@@ -465,0 +474,0 @@ [3.5.1]: https://github.com/fnando/i18n-js/compare/v3.5.0...v3.5.1

{
"name": "i18n-js",
"version": "3.7.0",
"version": "3.7.1",
"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