@markuplint/ml-spec
Advanced tools
Comparing version 4.0.0-dev.10 to 4.0.0-dev.12
@@ -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.10+b28398ab", | ||
"version": "4.0.0-dev.12+2275fbeb0", | ||
"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.10+b28398ab", | ||
"@markuplint/types": "4.0.0-dev.10+b28398ab", | ||
"@markuplint/ml-ast": "4.0.0-dev.12+2275fbeb0", | ||
"@markuplint/types": "4.0.0-dev.12+2275fbeb0", | ||
"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": "b28398ab9c8f0ad790f2915ad5da8f3a80e9b8d6" | ||
"gitHead": "2275fbeb053605b636f080f4fafd7cd4fc57a9a3" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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