Socket
Socket
Sign inDemoInstall

@lion/localize

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/localize - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

8

CHANGELOG.md

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

## [0.4.4](https://github.com/ing-bank/lion/compare/@lion/localize@0.4.3...@lion/localize@0.4.4) (2019-07-18)
**Note:** Version bump only for package @lion/localize
## [0.4.3](https://github.com/ing-bank/lion/compare/@lion/localize@0.4.2...@lion/localize@0.4.3) (2019-07-15)

@@ -8,0 +16,0 @@

4

package.json
{
"name": "@lion/localize",
"version": "0.4.3",
"version": "0.4.4",
"description": "The localization system helps to manage localization data split into locales and automate its loading",

@@ -44,3 +44,3 @@ "author": "ing-bank",

},
"gitHead": "482bcbeaeda6aa9c931327883b894f442cb23d05"
"gitHead": "09d47944601e362d90806af829af47f900bdeced"
}

@@ -5,4 +5,6 @@ import { localize } from './src/localize.js';

// makes sure that between tests the localization is reset to default state
localize._teardownHtmlLangAttributeObserver();
document.documentElement.lang = 'en-GB';
localize._setupHtmlLangAttributeObserver();
localize.reset();
};

@@ -21,16 +21,10 @@ import {

import { localize } from '../src/localize.js';
import { localizeTearDown } from '../test-helpers.js';
import { LocalizeMixin } from '../src/LocalizeMixin.js';
const reset = () => {
resetFakeImport();
// makes sure that between tests the localization is reset to default state
document.documentElement.lang = 'en-GB';
localize.reset();
};
describe('LocalizeMixin', () => {
reset();
afterEach(async () => {
reset();
afterEach(() => {
resetFakeImport();
localizeTearDown();
});

@@ -37,0 +31,0 @@

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