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.15.3 to 6.15.4

7

CHANGELOG.md

@@ -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 @@

4

package.json
{
"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)

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