Skip to content

Commit 05c2d6a

Browse files
committed
Fix potential security vulnerability in transpiler and test files
1 parent edd2759 commit 05c2d6a

File tree

2 files changed

+58
-58
lines changed

2 files changed

+58
-58
lines changed

test/__snapshots__/pre-translation.test.ts.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ return function render(_ctx, _cache) {
1010

1111
exports[`basic > <div v-t="'hello'"/> 2`] = `
1212
{
13-
"cached": 0,
13+
"cached": [],
1414
"children": [
1515
{
1616
"children": [
@@ -204,7 +204,7 @@ return function render(_ctx, _cache) {
204204

205205
exports[`missing translation > <div v-t="'foo.bar'"/> 2`] = `
206206
{
207-
"cached": 0,
207+
"cached": [],
208208
"children": [
209209
{
210210
"children": [
@@ -398,7 +398,7 @@ return function render(_ctx, _cache) {
398398

399399
exports[`named > <div v-t="{ path: 'hello', locale: 'ja', args: { name: 'kazupon' } }"/> 2`] = `
400400
{
401-
"cached": 0,
401+
"cached": [],
402402
"children": [
403403
{
404404
"children": [
@@ -852,7 +852,7 @@ return function render(_ctx, _cache) {
852852

853853
exports[`plural > <div v-t="{ path: 'banana', choice: 2 }"/> 2`] = `
854854
{
855-
"cached": 0,
855+
"cached": [],
856856
"children": [
857857
{
858858
"children": [

0 commit comments

Comments
 (0)