nuxt-i18n
Advanced tools
Comparing version 6.20.0 to 6.20.1
@@ -0,1 +1,9 @@ | ||
### [6.20.1](https://github.com/nuxt-community/i18n-module/compare/v6.20.0...v6.20.1) (2021-02-15) | ||
### Bug Fixes | ||
* compatibility issue with Nuxt 2.15.0 ([9d276d7](https://github.com/nuxt-community/i18n-module/commit/9d276d7943ada9f96cf27d870b0072fae83e9c33)), closes [#1063](https://github.com/nuxt-community/i18n-module/issues/1063) | ||
* **docs:** missing semicolon in Locales option example ([#1056](https://github.com/nuxt-community/i18n-module/issues/1056)) ([e9f2a6a](https://github.com/nuxt-community/i18n-module/commit/e9f2a6a4e07d89bdb4212f43bf2062e0186c8041)) | ||
## [6.20.0](https://github.com/nuxt-community/i18n-module/compare/v6.19.0...v6.20.0) (2021-02-03) | ||
@@ -2,0 +10,0 @@ |
{ | ||
"name": "nuxt-i18n", | ||
"version": "6.20.0", | ||
"version": "6.20.1", | ||
"description": "i18n for Nuxt", | ||
@@ -27,3 +27,3 @@ "license": "MIT", | ||
"dev:basic:generate": "nuxt generate -c ./test/fixture/basic/nuxt.config.js", | ||
"start:dist": "node -r esm ./test/utils/http-server-internal.js --port 8080 -v dist", | ||
"start:dist": "jiti ./test/utils/http-server-internal.js --port 8080 -v dist", | ||
"coverage": "codecov", | ||
@@ -96,6 +96,6 @@ "lint": "eslint --ext .js,.vue,.ts src test types", | ||
"devDependencies": { | ||
"@babel/core": "7.12.13", | ||
"@babel/preset-env": "7.12.13", | ||
"@babel/core": "7.12.16", | ||
"@babel/preset-env": "7.12.16", | ||
"@babel/runtime": "7.12.13", | ||
"@nuxt/types": "2.14.12", | ||
"@nuxt/types": "2.15.0", | ||
"@nuxtjs/eslint-config-typescript": "5.0.0", | ||
@@ -116,3 +116,3 @@ "@nuxtjs/module-test-utils": "1.6.3", | ||
"core-js": "3.8.3", | ||
"eslint": "7.19.0", | ||
"eslint": "7.20.0", | ||
"finalhandler": "1.1.2", | ||
@@ -123,8 +123,8 @@ "jest": "26.6.3", | ||
"messageformat": "2.3.0", | ||
"nuxt": "2.14.12", | ||
"playwright-chromium": "1.8.0", | ||
"release-it": "14.2.2", | ||
"nuxt": "2.15.0", | ||
"playwright-chromium": "1.8.1", | ||
"release-it": "14.4.0", | ||
"serve-static": "1.14.1", | ||
"typescript": "4.1.3" | ||
"typescript": "4.1.5" | ||
} | ||
} |
@@ -51,7 +51,7 @@ import { MODULE_NAME, STRATEGIES } from '../helpers/constants' | ||
moduleContainer.extendBuild(config => { | ||
const loaders = config.module.rules.find(el => el.loader === 'vue-loader').options.loaders | ||
if (loaders) { | ||
const vueLoader = config.module.rules.find(el => el.loader.includes('vue-loader')) | ||
if (vueLoader && vueLoader.options && vueLoader.options.loaders) { | ||
// vue-loader under 15.0.0 | ||
/* istanbul ignore next */ | ||
loaders.i18n = '@intlify/vue-i18n-loader' | ||
vueLoader.options.loaders.i18n = require.resolve('@intlify/vue-i18n-loader') | ||
} else { | ||
@@ -62,3 +62,3 @@ // vue-loader after 15.0.0 | ||
type: 'javascript/auto', | ||
loader: '@intlify/vue-i18n-loader' | ||
loader: require.resolve('@intlify/vue-i18n-loader') | ||
}) | ||
@@ -65,0 +65,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134298