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

nuxt-i18n

Package Overview
Dependencies
Maintainers
2
Versions
167
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuxt-i18n - npm Package Compare versions

Comparing version 6.20.1 to 6.20.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

### [6.20.2](https://github.com/nuxt-community/i18n-module/compare/v6.20.1...v6.20.2) (2021-02-19)
### Bug Fixes
* **lazy:** only process lang files with js, ts and json extensions ([#1070](https://github.com/nuxt-community/i18n-module/issues/1070)) ([1cf1ac2](https://github.com/nuxt-community/i18n-module/commit/1cf1ac2d031b924b4d2b82113f7580cfa18f7efa)), closes [#1068](https://github.com/nuxt-community/i18n-module/issues/1068)
### [6.20.1](https://github.com/nuxt-community/i18n-module/compare/v6.20.0...v6.20.1) (2021-02-15)

@@ -2,0 +9,0 @@

12

package.json
{
"name": "nuxt-i18n",
"version": "6.20.1",
"version": "6.20.2",
"description": "i18n for Nuxt",

@@ -95,5 +95,5 @@ "license": "MIT",

"devDependencies": {
"@babel/core": "7.12.16",
"@babel/preset-env": "7.12.16",
"@babel/runtime": "7.12.13",
"@babel/core": "7.12.17",
"@babel/preset-env": "7.12.17",
"@babel/runtime": "7.12.18",
"@nuxt/types": "2.15.0",

@@ -114,3 +114,3 @@ "@nuxtjs/eslint-config-typescript": "5.0.0",

"codecov": "3.8.1",
"core-js": "3.8.3",
"core-js": "3.9.0",
"eslint": "7.20.0",

@@ -124,3 +124,3 @@ "finalhandler": "1.1.2",

"playwright-chromium": "1.8.1",
"release-it": "14.4.0",
"release-it": "14.4.1",
"serve-static": "1.14.1",

@@ -127,0 +127,0 @@ "typescript": "4.1.5"

@@ -31,3 +31,7 @@ import { LOCALE_CODE_KEY, LOCALE_FILE_KEY, MODULE_NAME } from './options'

try {
const langFileModule = await import(/* webpackChunkName: "lang-[request]" */ `~/<%= options.langDir %>${file}`)
const langFileModule = await import(
/* webpackChunkName: "lang-[request]" */
/* webpackInclude: /\.(js|ts|json)$/ */
`~/<%= options.langDir %>${file}`
)
const getter = langFileModule.default || langFileModule

@@ -34,0 +38,0 @@ messages = typeof getter === 'function' ? await Promise.resolve(getter(context, locale)) : getter

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