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

i18n-plus

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18n-plus - npm Package Compare versions

Comparing version 3.1.2 to 3.1.3

8

CHANGELOG.md

@@ -10,2 +10,10 @@ # Changelog

## [v3.1.3](https://github.com/artus9033/i18n-plus/compare/v3.1.1...v3.1.3) - 2021-08-26
### Commits
- Added docs for 3.1.1 [`6801ecf`](https://github.com/artus9033/i18n-plus/commit/6801ecfe5cf4a7b7e6cf999b61f385fc63ae7aaa)
- Fixed README YAML sample indentation [`aca9ee2`](https://github.com/artus9033/i18n-plus/commit/aca9ee20348327b7b2219aca5fc0150944ac4c5f)
- Updated CHANGELOG [`b3760dd`](https://github.com/artus9033/i18n-plus/commit/b3760dd1c0d613362a42f0a6061825cd6ea89815)
## [v3.1.1](https://github.com/artus9033/i18n-plus/compare/v3.0.1...v3.1.1) - 2021-08-21

@@ -12,0 +20,0 @@

3

dist/LocaleHelper.js

@@ -26,2 +26,3 @@ "use strict";

exports.LocaleHelper = void 0;
var auto_bind_1 = __importDefault(require("auto-bind"));
var lodash_1 = __importDefault(require("lodash"));

@@ -56,2 +57,4 @@ var Locales_1 = __importStar(require("./Locales"));

this.fallbackLocale = fallbackLocale;
// bind all properties to fix context problems e.g. in React
auto_bind_1.default(this);
}

@@ -58,0 +61,0 @@ /**

6

package.json
{
"name": "i18n-plus",
"version": "3.1.2",
"version": "3.1.3",
"description": "Node.js package providing i18n with variable interpolation & conjugation of words with respect to quantifiers, supporting all languages' conjugation rules.",

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

"prepublishOnly": "npm run build && npm test && npm run changelog",
"changelog": "auto-changelog --template keepachangelog"
"changelog": "npx auto-changelog --template keepachangelog"
},

@@ -23,2 +23,4 @@ "devDependencies": {

"@types/node": "^16.7.0",
"auto-bind": "^4.0.0",
"auto-changelog": "^2.3.0",
"better-docs": "^2.3.2",

@@ -25,0 +27,0 @@ "esm": "^3.2.25",

@@ -0,1 +1,2 @@

import autoBind from "auto-bind";
import _ from "lodash";

@@ -36,2 +37,5 @@

this.fallbackLocale = fallbackLocale;
// bind all properties to fix context problems e.g. in React
autoBind(this);
}

@@ -78,3 +82,3 @@

Object.entries(interpolationParams).forEach(keyValuePair => {
Object.entries(interpolationParams).forEach((keyValuePair) => {
template = template.replace(

@@ -81,0 +85,0 @@ new RegExp(":" + keyValuePair[0], "g"),

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