nuxt-i18n
Advanced tools
Comparing version 6.15.3 to 6.15.4
@@ -0,1 +1,8 @@ | ||
### [6.15.4](https://github.com/nuxt-community/i18n-module/compare/v6.15.3...v6.15.4) (2020-10-19) | ||
### Bug Fixes | ||
* node-libs-browser being imported on the client ([#936](https://github.com/nuxt-community/i18n-module/issues/936)) ([7490ae9](https://github.com/nuxt-community/i18n-module/commit/7490ae9b742bd60d4f9f8f81f5b540491380c84f)), closes [#907](https://github.com/nuxt-community/i18n-module/issues/907) [#935](https://github.com/nuxt-community/i18n-module/issues/935) | ||
### [6.15.3](https://github.com/nuxt-community/i18n-module/compare/v6.15.2...v6.15.3) (2020-10-14) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "nuxt-i18n", | ||
"version": "6.15.3", | ||
"version": "6.15.4", | ||
"description": "i18n for Nuxt", | ||
@@ -89,5 +89,5 @@ "license": "MIT", | ||
"cookie": "^0.4.0", | ||
"deepcopy": "^2.1.0", | ||
"is-https": "^2.0.0", | ||
"js-cookie": "^2.2.1", | ||
"lodash.clonedeep": "^4.5.0", | ||
"vue-i18n": "^8.18.1" | ||
@@ -94,0 +94,0 @@ }, |
@@ -32,7 +32,2 @@ import { MODULE_NAME, STRATEGIES } from '../helpers/constants' | ||
export function buildHook (moduleContainer, options) { | ||
const nuxtOptions = moduleContainer.options | ||
// Transpile deepcopy dependency that is not sufficiently transpiled for IE11. | ||
nuxtOptions.build.transpile.push(({ isServer, isModern }) => isServer || isModern ? false : 'deepcopy') | ||
if (options.langDir) { | ||
@@ -39,0 +34,0 @@ if (!options.locales.length || typeof options.locales[0] === 'string') { |
@@ -1,2 +0,2 @@ | ||
import deepcopy from 'deepcopy' | ||
import cloneDeep from 'lodash.clonedeep' | ||
import Vue from 'vue' | ||
@@ -228,3 +228,3 @@ import VueI18n from 'vue-i18n' | ||
// Set instance options | ||
const vueI18nOptions = typeof vueI18n === 'function' ? vueI18n(context) : deepcopy(vueI18n) | ||
const vueI18nOptions = typeof vueI18n === 'function' ? vueI18n(context) : cloneDeep(vueI18n) | ||
vueI18nOptions.componentInstanceCreatedListener = extendVueI18nInstance | ||
@@ -231,0 +231,0 @@ app.i18n = new VueI18n(vueI18nOptions) |
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
121426
1459
+ Addedlodash.clonedeep@^4.5.0
+ Added@intlify/shared@9.14.2(transitive)
+ Addedlodash.clonedeep@4.5.0(transitive)
- Removeddeepcopy@^2.1.0
- Removed@intlify/shared@9.14.1(transitive)
- Removeddeepcopy@2.1.0(transitive)
- Removedtype-detect@4.1.0(transitive)