Socket
Socket
Sign inDemoInstall

@ladjs/i18n

Package Overview
Dependencies
46
Maintainers
4
Versions
55
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.2.4 to 7.2.5

1

index.js

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

const process = require('process');
const { basename, extname, resolve } = require('path');

@@ -2,0 +3,0 @@

42

package.json
{
"name": "@ladjs/i18n",
"description": "i18n wrapper and Koa middleware for Lad",
"version": "7.2.4",
"version": "7.2.5",
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)",

@@ -25,34 +25,34 @@ "ava": {

"dependencies": {
"@hapi/boom": "^9.1.2",
"@hapi/boom": "^9.1.4",
"@ladjs/country-language": "^0.2.1",
"boolean": "3.0.4",
"debug": "^4.3.1",
"i18n": "^0.13.3",
"boolean": "3.1.4",
"debug": "^4.3.3",
"i18n": "^0.13.4",
"i18n-locales": "^0.0.5",
"lodash": "^4.17.21",
"multimatch": "^5.0.0",
"multimatch": "5",
"punycode": "^2.1.1",
"qs": "^6.10.1",
"qs": "^6.10.3",
"titleize": "2",
"tlds": "^1.221.1"
"tlds": "^1.228.0"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"ava": "^3.15.0",
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"ava": "^4.0.1",
"codecov": "^3.8.2",
"cross-env": "^7.0.3",
"eslint": "^7.26.0",
"eslint-config-xo-lass": "^1.0.5",
"eslint": "^8.6.0",
"eslint-config-xo-lass": "^1.0.6",
"fixpack": "^4.0.0",
"husky": "^6.0.0",
"koa": "^2.13.1",
"koa-generic-session": "^2.1.1",
"lint-staged": "^11.0.0",
"husky": "^7.0.4",
"koa": "^2.13.4",
"koa-generic-session": "^2.3.0",
"lint-staged": "^12.1.7",
"nyc": "^15.1.0",
"remark-cli": "^9.0.0",
"remark-cli": "^10.0.1",
"remark-preset-github": "^4.0.1",
"sinon": "^10.0.0",
"supertest": "^6.1.3",
"xo": "^0.40.1"
"sinon": "^12.0.1",
"supertest": "^6.2.1",
"xo": "^0.47.0"
},

@@ -59,0 +59,0 @@ "engines": {

@@ -65,3 +65,3 @@ # [**@ladjs/i18n**](https://github.com/ladjs/i18n)

Returns translation for phrase `key` with the given `locale`. Optionally pass additional arguments, e.g. format specifier replacements for use in the phrase. For example if you have a phrase of "An error occurred %s" with a key of "ERROR_OCCURRED", and you use it as such `i18n.translate('ERROR_OCCURRED', 'en', 'some error message')` then it would return `'An error occurred some error message`.
Returns translation for phrase `key` with the given `locale`. Optionally pass additional arguments, e.g. format specifier replacements for use in the phrase. For example if you have a phrase of "An error occurred %s" with a key of "ERROR\_OCCURRED", and you use it as such `i18n.translate('ERROR_OCCURRED', 'en', 'some error message')` then it would return `'An error occurred some error message`.

@@ -68,0 +68,0 @@ ### i18n.translateError(key, locale, ...args)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc