Skip to content

Commit 8810a96

Browse files
authored
Merge pull request #247 from knockout/dependabot/npm_and_yarn/eslint/js-10.0.1
build(deps-dev): bump @eslint/js from 9.39.4 to 10.0.1
2 parents e00e9e9 + 736780b commit 8810a96

File tree

5 files changed

+32
-23
lines changed

5 files changed

+32
-23
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export default [
1515
"prefer-spread": "off",
1616
"prefer-const": "off",
1717
"no-useless-escape": "off",
18+
"no-useless-assignment": "off",
1819
// "no-var": "off",
1920
"no-array-constructor": "off",
2021
"no-misleading-character-class": "off",

package-lock.json

Lines changed: 28 additions & 20 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
@@ -16,7 +16,7 @@
1616
],
1717
"devDependencies": {
1818
"@changesets/cli": "^2.30.0",
19-
"@eslint/js": "^9.20.0",
19+
"@eslint/js": "^10.0.1",
2020
"@types/jasmine": "^1.3.7",
2121
"@types/jquery": "^4.0.0",
2222
"@types/mocha": "^10.0.10",

packages/binding.template/helpers/dummyTemplateEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export function dummyTemplateEngine(templates?) {
7070
const evalResult = eval(script)
7171
return evalResult === null || evalResult === undefined ? '' : evalResult.toString()
7272
} catch (ex: any) {
73-
throw new Error('Error evaluating script: [js: ' + script + ']\n\nException: ' + ex.toString())
73+
throw new Error('Error evaluating script: [js: ' + script + ']\n\nException: ' + ex.toString(), { cause: ex })
7474
}
7575
}
7676

packages/utils.parser/spec/identifierBehaviors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('Identifier', function () {
8181

8282
describe('the dereference function', function () {
8383
it('does nothing with no references', function () {
84-
let refs,
84+
let refs = Array(),
8585
ident = new Identifier({}, 'x', refs)
8686
assert.equal(ident.dereference('1', {}), 1)
8787
})

0 commit comments

Comments
 (0)