Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuejs/vue-eslint-parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.1.2
Choose a base ref
...
head repository: vuejs/vue-eslint-parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.1.3
Choose a head ref
  • 3 commits
  • 8 files changed
  • 2 contributors

Commits on Apr 5, 2025

  1. Chore: remove codecov workflow (#262)

    ota-meshi authored Apr 5, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    519d2ba View commit details
  2. fix: text token type in V_EXPRESSION_DATA state (#257)

    woongsikchoi authored Apr 5, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d09047a View commit details
  3. 10.1.3

    ota-meshi committed Apr 5, 2025
    Copy the full SHA
    01ed265 View commit details
25 changes: 0 additions & 25 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -83,28 +83,3 @@ jobs:
run: node scripts/ci-install-eslint ${{ matrix.eslint }}
- name: Test
run: npm run -s test:debug

test-cov:
name: Test and Send Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Checkout submodules
run: git submodule update --init
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Install Packages
run: npm install
- name: Install ESLint v9
run: node scripts/ci-install-eslint 9
- name: Build
run: npm run -s build
- name: Test
run: npm run -s test:cover
- name: Send Coverage
run: npm run -s codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
[![npm version](https://img.shields.io/npm/v/vue-eslint-parser.svg)](https://www.npmjs.com/package/vue-eslint-parser)
[![Downloads/month](https://img.shields.io/npm/dm/vue-eslint-parser.svg)](http://www.npmtrends.com/vue-eslint-parser)
[![Build Status](https://github.com/vuejs/vue-eslint-parser/workflows/CI/badge.svg)](https://github.com/vuejs/vue-eslint-parser/actions)
[![Coverage Status](https://codecov.io/gh/vuejs/vue-eslint-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/vuejs/vue-eslint-parser)

The ESLint custom parser for `.vue` files.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-eslint-parser",
"version": "10.1.2",
"version": "10.1.3",
"description": "The ESLint custom parser for `.vue` files.",
"main": "index.js",
"files": [
@@ -38,7 +38,6 @@
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"chokidar": "^3.5.2",
"codecov": "^3.8.3",
"cross-spawn": "^7.0.3",
"dts-bundle": "^0.7.3",
"eslint": "^9.19.0",
@@ -69,7 +68,6 @@
"prebuild": "npm run -s clean",
"build": "tsc --module es2015 && rollup -c -o index.js && dts-bundle --name vue-eslint-parser --main .temp/index.d.ts --out ../index.d.ts",
"clean": "rimraf .nyc_output .temp coverage index.*",
"codecov": "codecov",
"coverage": "opener ./coverage/lcov-report/index.html",
"lint": "eslint src test package.json",
"pretest": "run-s build lint",
4 changes: 2 additions & 2 deletions src/html/tokenizer.ts
Original file line number Diff line number Diff line change
@@ -1892,9 +1892,9 @@ export class Tokenizer {
const type = isWhitespace(cp)
? "HTMLWhitespace"
: state === "RCDATA"
? "HTMLRawText"
? "HTMLRCDataText"
: state === "RAWTEXT"
? "HTMLRCDataText"
? "HTMLRawText"
: "HTMLText"
if (this.currentToken != null && this.currentToken.type !== type) {
this.endToken()
Loading