Skip to content

Commit 2854edd

Browse files
committed
chore: update deps
1 parent eb57e57 commit 2854edd

File tree

4 files changed

+53
-33
lines changed

4 files changed

+53
-33
lines changed

package-lock.json

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

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@
2929
},
3030
"homepage": "https://github.com/webcomponents/custom-elements-manifest#readme",
3131
"devDependencies": {
32-
"jsonschema": "^1.4.0",
32+
"@types/node": "^24.0.15",
33+
"jsonschema": "^1.5.0",
3334
"prettier": "^2.2.1",
34-
"tslib": "^2.4.0",
35-
"typescript": "~4.8.0",
3635
"ts-json-schema-generator": "^2.4.0",
37-
"uvu": "^0.5.3"
36+
"tslib": "^2.8.1",
37+
"typescript": "~5.8.3",
38+
"uvu": "^0.5.6"
3839
}
3940
}

src/test/schema_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import {test} from 'uvu';
1212
import * as assert from 'uvu/assert';
1313
import {Validator} from 'jsonschema';
14-
import * as fs from 'fs/promises';
14+
import * as fs from 'node:fs/promises';
1515

1616
const schema = JSON.parse(await fs.readFile('./schema.json', 'utf-8'));
1717

tsconfig.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2+
"include": ["schema.d.ts", "src/**/*.ts"],
3+
"exclude": [],
24
"compilerOptions": {
3-
"target": "es2017",
4-
"module": "esnext",
5-
"lib": ["es2017"],
5+
"target": "es2022",
6+
"module": "nodenext",
7+
"moduleResolution": "nodenext",
68
"declaration": true,
79
"declarationMap": true,
810
"sourceMap": true,
@@ -13,8 +15,21 @@
1315
"noUnusedParameters": true,
1416
"noImplicitReturns": true,
1517
"noFallthroughCasesInSwitch": true,
16-
"moduleResolution": "node",
18+
"lib": [
19+
"DOM.iterable",
20+
"DOM",
21+
"ES5",
22+
"ES6",
23+
"ES2020",
24+
"ES2022",
25+
"ES2024",
26+
"ES2015.Generator",
27+
"ESNext.Collection",
28+
"ESNext.Array",
29+
"ESNext.Iterator",
30+
"ESNext.AsyncIterable",
31+
"ESNext.Disposable",
32+
"ScriptHost"
33+
],
1734
},
18-
"include": ["schema.d.ts", "src/**/*.ts"],
19-
"exclude": []
2035
}

0 commit comments

Comments
 (0)