🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@nvidia-elements/lint

Package Overview
Dependencies
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nvidia-elements/lint - npm Package Compare versions

Comparing version
2.1.1
to
2.1.2
+11
-0
CHANGELOG.md

@@ -0,1 +1,12 @@

## <small>2.1.2 (2026-07-21)</small>
* chore(ci): update lighthouse ([b5b71ca](https://github.com/NVIDIA/elements/commit/b5b71ca))
* chore(release): @nvidia-elements/core-v2.1.4 [skip ci] ([047fc0d](https://github.com/NVIDIA/elements/commit/047fc0d))
* chore(release): @nvidia-elements/forms-v2.0.4 [skip ci] ([65b4f9e](https://github.com/NVIDIA/elements/commit/65b4f9e))
* fix(cli): improve api metadata ([b2c13ab](https://github.com/NVIDIA/elements/commit/b2c13ab))
* fix(core): collapsed tab group ([b7be2d9](https://github.com/NVIDIA/elements/commit/b7be2d9))
* fix(core): ensure proper property and attribute reflection for button types ([af780c6](https://github.com/NVIDIA/elements/commit/af780c6))
* fix(forms): proper property and attribute reflection for button mixin ([e6093dd](https://github.com/NVIDIA/elements/commit/e6093dd))
* fix(lint): enhance data binding checks and update test cases for popover triggers ([56e4701](https://github.com/NVIDIA/elements/commit/56e4701))
## <small>2.1.1 (2026-07-20)</small>

@@ -2,0 +13,0 @@

+1
-1

@@ -5,3 +5,3 @@ import { elementsHtmlConfig as e } from "../lint/src/eslint/configs/html.js";

//#region src/eslint/index.ts
var r = "2.1.1", i = [
var r = "2.1.2", i = [
e,

@@ -8,0 +8,0 @@ t,

//#region src/index.ts
var e = "2.1.1";
var e = "2.1.2";
//#endregion
export { e as VERSION };

@@ -10,25 +10,27 @@ import { createVisitors as e } from "@html-eslint/eslint-plugin/lib/rules/utils/visitors.js";

function r(e) {
return e ? n.some((t) => t.test(e)) : !1;
return !!e && n.some((t) => t.test(e));
}
function i(e, n) {
let i = t(e, n);
if (i) return {
attr: i,
hasBinding: r(i.value?.value)
};
let a = t(e, `[${n}]`);
function i(e, n, i = n) {
let a = t(e, n);
if (a) return {
attr: a,
hasBinding: !0
hasBinding: r(a.value?.value)
};
let o = t(e, `.${n}`);
if (o) return {
let o = t(e, i);
if (o && r(o.value?.value)) return {
attr: o,
hasBinding: !0
};
let s = t(e, `?${n}`);
return s ? {
attr: s,
hasBinding: !0
} : {
for (let r of [
`[${i}]`,
`.${i}`,
`?${n}`
]) {
let n = t(e, r);
if (n) return {
attr: n,
hasBinding: !0
};
}
return {
attr: void 0,

@@ -48,5 +50,5 @@ hasBinding: !1

], o = [
"popovertarget",
"commandfor",
"interestfor"
["popovertarget", "popoverTargetElement"],
["commandfor", "commandForElement"],
["interestfor", "interestForElement"]
], s = {

@@ -71,9 +73,9 @@ meta: {

function l(e) {
for (let n of o) {
let { attr: r, hasBinding: a } = i(e, n);
if (r) {
if (a) c = !0;
else if (r.value?.value) {
for (let [n, r] of o) {
let { attr: a, hasBinding: o } = i(e, n, r);
if (a) {
if (o) c = !0;
else if (a.value?.value) {
let n = t(e, "id")?.value?.value;
s.set(r.value.value, n ?? r.value.value);
s.set(a.value.value, n ?? a.value.value);
}

@@ -80,0 +82,0 @@ }

{
"name": "@nvidia-elements/lint",
"version": "2.1.1",
"version": "2.1.2",
"release": {

@@ -77,4 +77,4 @@ "extends": "../../release.config.js"

"vitest": "4.1.10",
"@internals/eslint": "0.0.0",
"@internals/metadata": "0.0.0",
"@internals/eslint": "0.0.0",
"@internals/vite": "0.0.0"

@@ -81,0 +81,0 @@ },

Sorry, the diff of this file is too big to display