chore: 添加 vue-i18n 依赖并更新 package.json

This commit is contained in:
2025-08-29 12:49:55 +08:00
parent 66b6943d54
commit bf5b1b5408
3598 changed files with 929083 additions and 130 deletions

View File

@@ -0,0 +1,22 @@
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _keywords = require('../parser/tokenizer/keywords');
var _types = require('../parser/tokenizer/types');
/**
* Starting at a potential `with` or (legacy) `assert` token, remove the import
* attributes if they exist.
*/
function removeMaybeImportAttributes(tokens) {
if (
tokens.matches2(_types.TokenType._with, _types.TokenType.braceL) ||
(tokens.matches2(_types.TokenType.name, _types.TokenType.braceL) && tokens.matchesContextual(_keywords.ContextualKeyword._assert))
) {
// assert
tokens.removeToken();
// {
tokens.removeToken();
tokens.removeBalancedCode();
// }
tokens.removeToken();
}
} exports.removeMaybeImportAttributes = removeMaybeImportAttributes;