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

@boost/translate

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boost/translate - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

### 1.3.3 - 2019-12-27
#### 🐞 Fixes
- Reduce internal debug output verbosity. ([4b11141](https://github.com/milesj/boost/commit/4b11141))
**Note:** Version bump only for package @boost/translate
### 1.3.2 - 2019-12-07

@@ -8,0 +20,0 @@

6

lib/createTranslator.js

@@ -30,5 +30,3 @@ "use strict";

}
constants_1.debug('New translator created');
constants_1.debug(' Namespaces: %s', namespaces.join(', '));
constants_1.debug(' Resource paths: %s', resourcePaths.join(', '));
constants_1.debug('New translator created: %s namespace(s)', namespaces.join(', '));
const translator = i18next_1.default.createInstance().use(new FileBackend_1.default());

@@ -64,3 +62,3 @@ if (autoDetect) {

msg.changeLocale = (lang) => {
constants_1.debug('Locale manually changed to %s', lang);
constants_1.debug('Locale manually changed to "%s"', lang);
translator.changeLanguage(lang, error => {

@@ -67,0 +65,0 @@ handleError(error);

@@ -14,3 +14,3 @@ import { BackendModule, Resource, ResourceKey } from 'i18next';

format: import("optimal").StringBuilder<Format>;
paths: any;
paths: import("optimal").ArrayBuilder<Path>;
};

@@ -17,0 +17,0 @@ create(): void;

@@ -38,4 +38,3 @@ "use strict";

format: string('yaml').oneOf(['js', 'json', 'yaml']),
// @ts-ignore TODO: Fix upstream
paths: array(instance(common_1.Path, true)),
paths: array(instance(common_1.Path, true).notNullable()),
};

@@ -42,0 +41,0 @@ }

@@ -31,3 +31,3 @@ "use strict";

if (this.locale) {
constants_1.debug('Locale %s manually provided', this.locale);
constants_1.debug('Locale "%s" manually provided', this.locale);
return this.locale;

@@ -43,3 +43,3 @@ }

const locale = args[nextIndex];
constants_1.debug('Locale %s detected from --locale option', locale);
constants_1.debug('Locale "%s" detected from --locale option', locale);
return locale;

@@ -51,3 +51,3 @@ }

const locale = os_locale_1.default.sync().replace(/_/gu, '-');
constants_1.debug('Locale %s detected from operating system', locale);
constants_1.debug('Locale "%s" detected from operating system', locale);
return locale;

@@ -54,0 +54,0 @@ }

{
"name": "@boost/translate",
"version": "1.3.2",
"version": "1.3.3",
"description": "Package and application level translations made easy.",

@@ -24,4 +24,4 @@ "keywords": [

"dependencies": {
"@boost/common": "^1.6.0",
"@boost/internal": "^1.0.1",
"@boost/common": "^1.7.0",
"@boost/internal": "^1.0.2",
"i18next": "^19.0.1",

@@ -34,3 +34,3 @@ "os-locale": "^4.0.0"

},
"gitHead": "a7fac69582efb763b9d5caa525a2f602245506b7"
"gitHead": "2121f3e6c0b9a9db0559abd65a889253a74f3c03"
}

Sorry, the diff of this file is not supported yet

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