@markuplint/ml-spec
Advanced tools
Comparing version 4.0.0-dev.20 to 4.0.0-dev.23
@@ -1,1 +0,3 @@ | ||
export declare function isVoidElement(el: Element): boolean; | ||
export declare function isVoidElement(el: { | ||
readonly localName: string; | ||
}): boolean; |
@@ -19,6 +19,4 @@ /** | ||
]); | ||
export function isVoidElement( | ||
// eslint-disable-next-line @typescript-eslint/prefer-readonly-parameter-types | ||
el) { | ||
export function isVoidElement(el) { | ||
return voidElements.has(el.localName); | ||
} |
{ | ||
"name": "@markuplint/ml-spec", | ||
"version": "4.0.0-dev.20+6b35da16", | ||
"version": "4.0.0-dev.23+d6f2aa9bc", | ||
"description": "Types and schema that specs of the Markup languages for markuplint", | ||
@@ -26,20 +26,22 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"clean": "tsc --build --clean", | ||
"schema:gen": "ts-node ./gen/gen.ts; prettier --write './schemas/*.json';", | ||
"schema:content-models": "json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structures.ts; prettier --write ./src/types/permitted-structures.ts; eslint --fix --config ../../../.eslintrc ./src/types/permitted-structures.ts", | ||
"schema:attributes": "json2ts ./schemas/attributes.schema.json --cwd ./schemas > ./src/types/attributes.ts; prettier --write ./src/types/attributes.ts; eslint --fix --config ../../../.eslintrc ./src/types/attributes.ts", | ||
"schema:aria": "json2ts ./schemas/aria.schema.json --cwd ./schemas > ./src/types/aria.ts; prettier --write ./src/types/aria.ts; eslint --fix --config ../../../.eslintrc ./src/types/aria.ts", | ||
"schema": "run-s schema:*" | ||
"schema": "run-s schema:json schema:content-models schema:attributes schema:aria schema:prettier schema:eslint schema:prettier", | ||
"schema:json": "node --loader ts-node/esm ./gen/gen.ts", | ||
"schema:content-models": "json2ts ./schemas/content-models.schema.json > ./src/types/permitted-structures.ts", | ||
"schema:attributes": "json2ts ./schemas/attributes.schema.json --cwd ./schemas > ./src/types/attributes.ts", | ||
"schema:aria": "json2ts ./schemas/aria.schema.json --cwd ./schemas > ./src/types/aria.ts", | ||
"schema:eslint": "eslint --fix --config ../../../.eslintrc \"./src/types/*.ts\"", | ||
"schema:prettier": "prettier --write \"./schemas/*.json\" \"./src/types/*.ts\" --log-level warn" | ||
}, | ||
"dependencies": { | ||
"@markuplint/ml-ast": "4.0.0-dev.20+6b35da16", | ||
"@markuplint/types": "4.0.0-dev.20+6b35da16", | ||
"@markuplint/ml-ast": "4.0.0-dev.23+d6f2aa9bc", | ||
"@markuplint/types": "4.0.0-dev.23+d6f2aa9bc", | ||
"dom-accessibility-api": "^0.6.3", | ||
"is-plain-object": "^5.0.0", | ||
"type-fest": "^4.8.3" | ||
"type-fest": "^4.9.0" | ||
}, | ||
"devDependencies": { | ||
"@markuplint/test-tools": "4.0.0-alpha.6", | ||
"json-schema-to-typescript": "13.1.1" | ||
"@markuplint/test-tools": "4.0.0-alpha.9", | ||
"json-schema-to-typescript": "13.1.2" | ||
}, | ||
"gitHead": "6b35da161d94f784953d0adecc2d28502052d92a" | ||
"gitHead": "d6f2aa9bc287768466f23b5340e4e0eecfa30d59" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
129803