capsule-lint
Advanced tools
Comparing version 0.4.7 to 0.4.8
{ | ||
"name": "capsule-lint", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"description": "The official Capsule linting package.", | ||
@@ -39,4 +39,4 @@ "type": "module", | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.23.6", | ||
"@babel/preset-typescript": "^7.23.3", | ||
"@babel/preset-env": "^7.24.4", | ||
"@babel/preset-typescript": "^7.24.1", | ||
"@commitlint/config-conventional": "^17.8.1", | ||
@@ -49,11 +49,11 @@ "@jest/globals": "^29.7.0", | ||
"@types/htmlhint": "^1.1.5", | ||
"@types/jest": "^29.5.11", | ||
"@types/jest": "^29.5.12", | ||
"@types/js-beautify": "^1.14.3", | ||
"@types/node": "^20.10.5", | ||
"@types/node": "^20.12.7", | ||
"@types/nunjucks": "^3.2.6", | ||
"@vitejs/plugin-vue": "^4.5.2", | ||
"@vitejs/plugin-vue": "^4.6.2", | ||
"@vue-interface/eslint-config": "1.0.0-beta.4", | ||
"@vue-interface/form-control": "1.0.0-beta.44", | ||
"@vue-interface/textarea-field": "1.0.0-beta.13", | ||
"autoprefixer": "^10.4.16", | ||
"autoprefixer": "^10.4.19", | ||
"babel-jest": "^29.7.0", | ||
@@ -63,16 +63,16 @@ "chalk": "^4.1.2", | ||
"commitlint": "^17.8.1", | ||
"dotenv": "^16.3.1", | ||
"eslint": "^8.56.0", | ||
"dotenv": "^16.4.5", | ||
"eslint": "^8.57.0", | ||
"husky": "^8.0.3", | ||
"jest": "^29.7.0", | ||
"peggy": "^3.0.2", | ||
"postcss": "^8.4.32", | ||
"postcss": "^8.4.38", | ||
"semantic-release": "^21.1.2", | ||
"tailwindcss": "^3.4.0", | ||
"ts-jest": "^29.1.1", | ||
"tailwindcss": "^3.4.3", | ||
"ts-jest": "^29.1.2", | ||
"tslib": "^2.6.2", | ||
"typescript": "^5.3.3", | ||
"vite": "^4.5.1", | ||
"vite-plugin-dts": "^3.6.4", | ||
"vue": "^3.3.13" | ||
"typescript": "^5.4.5", | ||
"vite": "^4.5.3", | ||
"vite-plugin-dts": "^3.8.3", | ||
"vue": "^3.4.22" | ||
}, | ||
@@ -79,0 +79,0 @@ "dependencies": { |
@@ -48,6 +48,6 @@ import { Block } from 'htmlhint/htmlparser'; | ||
`Tag must be paired, missing: [ ${arrTags.join('')} ], start tag match failed [ ${lastEvent.raw} ] on line ${lastEvent.line}.`, | ||
event.line, | ||
event.col, | ||
lastEvent.line, | ||
lastEvent.col, | ||
this, | ||
event.raw | ||
lastEvent.raw | ||
); | ||
@@ -70,29 +70,11 @@ } | ||
parser.addListener('end', (event) => { | ||
const arrTags = []; | ||
for (let i = stack.length - 1; i >= 0; i--) { | ||
reporter.error( | ||
`Tag must be paired, missing: [ </${stack[i].tagName}> ], start tag match failed [ ${stack[i].raw} ] on line ${stack[i].line}.`, | ||
event.line, | ||
event.col, | ||
stack[i].line, | ||
stack[i].col, | ||
this, | ||
stack[i].raw | ||
); | ||
// arrTags.push(`</${stack[i].tagName}>`); | ||
} | ||
// if (arrTags.length > 0) { | ||
// const lastEvent = stack[stack.length - 1]; | ||
// console.log(stack); | ||
// reporter.error( | ||
// `Tag must be paired, missing: [ ${arrTags.join('')} ], open tag match failed [ ${lastEvent.raw} ] on line ${lastEvent.line}.`, | ||
// event.line, | ||
// event.col, | ||
// this, | ||
// lastEvent.raw | ||
// ); | ||
// } | ||
}); | ||
@@ -99,0 +81,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
0
965151
7277