Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@markuplint/ml-spec

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/ml-spec - npm Package Compare versions

Comparing version 4.0.0-dev.10 to 4.0.0-dev.12

4

lib/specs/is-void-element.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc