kazupon / vue-i18n

:globe_with_meridians: Internationalization plugin for Vue.js

Home Page:https://kazupon.github.io/vue-i18n/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keys containing __proto__ are handled inconsistently

alxndrsn opened this issue · comments

Reporting a bug?

PR demonstrating inconsistencies at #1705

Expected behavior

Either:

  1. treat keys containing __proto__ this same as any other key, or
  2. reject any key containing __proto__

Reproduction

#1705

System Info

N/A

Screenshot

No response

Additional context

Currently the only mention of __proto__ in this repo is at:

// use simple mergeStrategies to prevent i18n instance lose '__proto__'

Validations