Skip to content

Commit fba9275

Browse files
committed
Lint and audit
1 parent 91313dc commit fba9275

3 files changed

Lines changed: 16 additions & 48 deletions

File tree

package-lock.json

Lines changed: 13 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"prettier": "latest",
5252
"rollup": "latest",
5353
"rollup-plugin-version-injector": "latest",
54-
"sinon": "19.0.4",
54+
"sinon": "^21.0.1",
5555
"typedoc": "latest",
5656
"typescript": "latest",
5757
"vite": "latest"

src/directive/class/class.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ export function arrayDifference(tokens1, tokens2) {
202202
const out = [];
203203

204204
for (let i = 0; i < tokens1.length; i++) {
205-
const t = tokens1[i];
205+
const x = tokens1[i];
206206

207-
if (!set2.has(t)) out.push(t);
207+
if (!set2.has(x)) out.push(x);
208208
}
209209

210210
return out;

0 commit comments

Comments
 (0)