chore(deps): add @intlify/shared
and vue-i18n
v11.0.0 to peer dependencies
#226
ci.yml
on: pull_request
Matrix: build
Matrix: lint
Matrix: test
Matrix: Nightly release
Annotations
40 errors and 3 warnings
Lint on Node.js 18:
src/transpiler.ts#L33
Unsafe call of a(n) `Function` typed value
|
Lint on Node.js 18:
test/helper.ts#L180
Unsafe call of a(n) `Function` typed value
|
Lint on Node.js 18:
test/ssr.test.ts#L24
Unsafe call of a(n) `Function` typed value
|
Lint on Node.js 18:
test/ssr.test.ts#L60
Unsafe call of a(n) `Function` typed value
|
Lint on Node.js 18:
test/ssr.test.ts#L97
Unsafe call of a(n) `Function` typed value
|
Lint on Node.js 18:
test/ssr.test.ts#L147
Unsafe call of a(n) `Function` typed value
|
Lint on Node.js 18:
test/transform.test.ts#L317
Unsafe call of a(n) `Function` typed value
|
Lint on Node.js 18
Process completed with exit code 1.
|
test/pre-translation.test.ts > basic:
test/pre-translation.test.ts#L33
Error: Snapshot `basic > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは!",
❯ test/pre-translation.test.ts:33:15
|
test/pre-translation.test.ts > named:
test/pre-translation.test.ts#L53
Error: Snapshot `named > <div v-t="{ path: 'hello', locale: 'ja', args: { name: 'kazupon' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは、kazupon!",
❯ test/pre-translation.test.ts:53:15
|
test/pre-translation.test.ts > plural:
test/pre-translation.test.ts#L75
Error: Snapshot `plural > <div v-t="{ path: 'banana', choice: 2 }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "2 bananas",
❯ test/pre-translation.test.ts:75:15
|
test/pre-translation.test.ts > missing translation:
test/pre-translation.test.ts#L97
Error: Snapshot `missing translation > <div v-t="'foo.bar'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "foo.bar",
❯ test/pre-translation.test.ts:97:15
|
test/transform.test.ts > literal > path:
test/transform.test.ts#L24
Error: Snapshot `literal > path > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -255,11 +255,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:24:17
|
test/transform.test.ts > literal > object: path, locale, args, plural:
test/transform.test.ts#L37
Error: Snapshot `literal > object: path, locale, args, plural > <div v-t="{ path: 'dessert', locale: 'en', plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -581,11 +581,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:37:17
|
test/transform.test.ts > binding > simple variable:
test/transform.test.ts#L52
Error: Snapshot `binding > simple variable > <div v-t="hello"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -227,11 +227,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:52:17
|
test/transform.test.ts > binding > object:
test/transform.test.ts#L65
Error: Snapshot `binding > object > <div v-t="{ path: foo.bar.buz, locale, plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -739,11 +739,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:65:17
|
test/transform.test.ts > no specify:
test/transform.test.ts#L79
Error: Snapshot `no specify > <div v-t=""/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -226,11 +226,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:79:15
|
test/transform.test.ts > invalid expression:
test/transform.test.ts#L105
Error: Snapshot `invalid expression > <p v-t="[0]"></p> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"loc": {
@@ -277,11 +277,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:105:15
|
Test on Node.js 18
The job was canceled because "_22_ubuntu-latest" failed.
|
test/pre-translation.test.ts > basic:
test/pre-translation.test.ts#L33
Error: Snapshot `basic > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは!",
❯ test/pre-translation.test.ts:33:15
|
test/pre-translation.test.ts > named:
test/pre-translation.test.ts#L53
Error: Snapshot `named > <div v-t="{ path: 'hello', locale: 'ja', args: { name: 'kazupon' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは、kazupon!",
❯ test/pre-translation.test.ts:53:15
|
test/pre-translation.test.ts > plural:
test/pre-translation.test.ts#L75
Error: Snapshot `plural > <div v-t="{ path: 'banana', choice: 2 }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "2 bananas",
❯ test/pre-translation.test.ts:75:15
|
test/pre-translation.test.ts > missing translation:
test/pre-translation.test.ts#L97
Error: Snapshot `missing translation > <div v-t="'foo.bar'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "foo.bar",
❯ test/pre-translation.test.ts:97:15
|
test/transform.test.ts > literal > path:
test/transform.test.ts#L24
Error: Snapshot `literal > path > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -255,11 +255,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:24:17
|
test/transform.test.ts > literal > object: path, locale, args, plural:
test/transform.test.ts#L37
Error: Snapshot `literal > object: path, locale, args, plural > <div v-t="{ path: 'dessert', locale: 'en', plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -581,11 +581,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:37:17
|
test/transform.test.ts > binding > simple variable:
test/transform.test.ts#L52
Error: Snapshot `binding > simple variable > <div v-t="hello"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -227,11 +227,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:52:17
|
test/transform.test.ts > binding > object:
test/transform.test.ts#L65
Error: Snapshot `binding > object > <div v-t="{ path: foo.bar.buz, locale, plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -739,11 +739,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:65:17
|
test/transform.test.ts > no specify:
test/transform.test.ts#L79
Error: Snapshot `no specify > <div v-t=""/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -226,11 +226,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:79:15
|
test/transform.test.ts > invalid expression:
test/transform.test.ts#L105
Error: Snapshot `invalid expression > <p v-t="[0]"></p> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"loc": {
@@ -277,11 +277,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:105:15
|
Test on Node.js 20
The job was canceled because "_22_ubuntu-latest" failed.
|
test/pre-translation.test.ts > basic:
test/pre-translation.test.ts#L33
Error: Snapshot `basic > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは!",
❯ test/pre-translation.test.ts:33:15
|
test/pre-translation.test.ts > named:
test/pre-translation.test.ts#L53
Error: Snapshot `named > <div v-t="{ path: 'hello', locale: 'ja', args: { name: 'kazupon' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "こんにちは、kazupon!",
❯ test/pre-translation.test.ts:53:15
|
test/pre-translation.test.ts > plural:
test/pre-translation.test.ts#L75
Error: Snapshot `plural > <div v-t="{ path: 'banana', choice: 2 }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "2 bananas",
❯ test/pre-translation.test.ts:75:15
|
test/pre-translation.test.ts > missing translation:
test/pre-translation.test.ts#L97
Error: Snapshot `missing translation > <div v-t="'foo.bar'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": "foo.bar",
❯ test/pre-translation.test.ts:97:15
|
test/transform.test.ts > literal > path:
test/transform.test.ts#L24
Error: Snapshot `literal > path > <div v-t="'hello'"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -255,11 +255,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:24:17
|
test/transform.test.ts > literal > object: path, locale, args, plural:
test/transform.test.ts#L37
Error: Snapshot `literal > object: path, locale, args, plural > <div v-t="{ path: 'dessert', locale: 'en', plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -581,11 +581,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:37:17
|
test/transform.test.ts > binding > simple variable:
test/transform.test.ts#L52
Error: Snapshot `binding > simple variable > <div v-t="hello"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -227,11 +227,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:52:17
|
test/transform.test.ts > binding > object:
test/transform.test.ts#L65
Error: Snapshot `binding > object > <div v-t="{ path: foo.bar.buz, locale, plural: 2, args: { name: 'banana' } }"/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -739,11 +739,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:65:17
|
test/transform.test.ts > no specify:
test/transform.test.ts#L79
Error: Snapshot `no specify > <div v-t=""/> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"isSelfClosing": true,
@@ -226,11 +226,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""div"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:79:15
|
test/transform.test.ts > invalid expression:
test/transform.test.ts#L105
Error: Snapshot `invalid expression > <p v-t="[0]"></p> 2` mismatched
- Expected
+ Received
@@ -1,7 +1,7 @@
{
- "cached": 0,
+ "cached": [],
"children": [
{
"children": [
{
"content": {
@@ -101,11 +101,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"loc": {
@@ -277,11 +277,11 @@
"column": 1,
"line": 1,
"offset": 0,
},
},
- "patchFlag": "1 /* TEXT */",
+ "patchFlag": 1,
"props": undefined,
"tag": ""p"",
"type": 13,
},
"components": [],
❯ test/transform.test.ts:105:15
|
Lint on Node.js 18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build on Node.js 18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test on Node.js 22
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|