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

i18next-hmr

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

i18next-hmr - npm Package Compare versions

Comparing version 1.11.1 to 1.11.2

8

CHANGELOG.md

@@ -7,4 +7,12 @@ ### Changelog

#### [v1.11.2](https://github.com/felixmosh/i18next-hmr/compare/v1.11.1...v1.11.2)
- fix: add defaultNS as an optional ns value [`3a20106`](https://github.com/felixmosh/i18next-hmr/commit/3a2010607a54b2a0bd888a1d52a95101078b1fbc)
- Bump webpack from 5.73.0 to 5.76.1 in /examples/react-i18next [`290d870`](https://github.com/felixmosh/i18next-hmr/commit/290d870a52d31a59b34aeae4bb6901ecf649b271)
- Bump json5 from 1.0.1 to 1.0.2 in /examples/vue-i18next [`e3b4d67`](https://github.com/felixmosh/i18next-hmr/commit/e3b4d674aee778ea4e8d083eaeb2fc46d6643461)
#### [v1.11.1](https://github.com/felixmosh/i18next-hmr/compare/v1.11.0...v1.11.1)
> 9 December 2022
- Bump express from 4.17.1 to 4.18.2 in /examples/vue-i18next [`f571dc1`](https://github.com/felixmosh/i18next-hmr/commit/f571dc16dd076546a7e7895a6a0ca8f1d88555d8)

@@ -11,0 +19,0 @@ - Bump loader-utils from 1.4.0 to 1.4.1 in /examples/vue-i18next [`4cf7127`](https://github.com/felixmosh/i18next-hmr/commit/4cf7127d35123347ced7e650d4b09ec1bbea2374)

8

lib/utils.js

@@ -34,3 +34,9 @@ function extractLangAndNS(changedFile, currentConfig) {

const namespaces = uniqueList(
[].concat(i18nInstance.options.ns, i18nInstance.options.fallbackNS || []).filter(Boolean)
[]
.concat(
i18nInstance.options.ns,
i18nInstance.options.fallbackNS,
i18nInstance.options.defaultNS
)
.filter(Boolean)
);

@@ -37,0 +43,0 @@ const languages = uniqueList(

2

package.json
{
"name": "i18next-hmr",
"version": "1.11.1",
"version": "1.11.2",
"description": "I18Next HMR webpack plugin that allows reloading translation resources on the client & the server.",

@@ -5,0 +5,0 @@ "keywords": [

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