Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alienfast/i18next-loader

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alienfast/i18next-loader - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

8

index.js

@@ -39,3 +39,9 @@ const path = require('path')

// needs to be ordered in least specialized to most e.g. lib locale -> app locale
const moduleLocalesDirs = options.overrides.map(override => path.join(appLocalesDir, override))
const moduleLocalesDirs = options.overrides.map(override => {
if(path.isAbsolute(override)){
return override
} else {
return path.join(appLocalesDir, override)
}
})
moduleLocalesDirs.push(appLocalesDir)

@@ -42,0 +48,0 @@ moduleLocalesDirs.forEach((localesDir) => {

8

package.json
{
"name": "@alienfast/i18next-loader",
"version": "1.0.15",
"version": "1.0.16",
"description": "Webpack loader for client embedded i18next locales from json or yaml.",

@@ -41,9 +41,9 @@ "main": "index.js",

"loader-utils": "^1.1.0",
"lodash": "^4.17.5"
"lodash": "^4.17.10"
},
"devDependencies": {
"@alienfast/build": "^4.0.18",
"@alienfast/build": "^4.0.108",
"chai": "^4.1.2",
"mocha": "^5.0.5"
"mocha": "^5.1.1"
}
}

@@ -115,3 +115,3 @@ # @alienfast/i18next-loader

```javascript
{overrides: ['../node_modules/lib1/locales']}
{overrides: ['../node_modules/lib1/locales']} // relative or absolute paths
```

@@ -118,0 +118,0 @@ This configures the loader to work on a file structure like the following:

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