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.2 to 4.1.0

6

lib/dom-traverse/accname-computation.js

@@ -6,3 +6,7 @@ // @ts-ignore

el) {
return computeAccessibleName(el);
const name = computeAccessibleName(el);
if (!name.trim() && el.nodeName === 'INPUT') {
return el.getAttribute('placeholder')?.trim() ?? '';
}
return name;
}

@@ -11,2 +11,3 @@ import { ariaSpecs } from './aria-specs.js';

isAbstract: !!role.isAbstract,
deprecated: !!role.deprecated,
requiredContextRole: role.requiredContextRole ?? [],

@@ -13,0 +14,0 @@ requiredOwnedElements: role.requiredOwnedElements ?? [],

@@ -141,2 +141,3 @@ import type { ARIA } from './aria.js';

readonly isAbstract: boolean;
readonly deprecated: boolean;
readonly requiredContextRole: readonly string[];

@@ -143,0 +144,0 @@ readonly requiredOwnedElements: readonly string[];

6

package.json
{
"name": "@markuplint/ml-spec",
"version": "4.0.2",
"version": "4.1.0",
"description": "Types and schema that specs of the Markup languages for markuplint",

@@ -42,6 +42,6 @@ "repository": "git@github.com:markuplint/markuplint.git",

"devDependencies": {
"@markuplint/test-tools": "4.0.2",
"@markuplint/test-tools": "4.1.0",
"json-schema-to-typescript": "13.1.2"
},
"gitHead": "10ce6c8374106f311eeaaffbae8f3fdcbb40f877"
"gitHead": "d5d99c5d84b676f8b2bb84684533ed74cf2f1da6"
}
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