Skip to content

Commit f5427de

Browse files
committed
Update dependencies (escept Demitasse)
Brings all dependencies (except Demitasse) up to latest. I mainly did this now to get TS 4.4 which includes some significant improvements to type inference based on upstream code. It will also quiet those security warnings. Also adds a new package.json script to make updating deps easier in the future. Now you can run `npm run update` which runs `npm-check-updates` which will update all non-Demitasse deps in package.json. Just remember to run `npm i` afterwards to actually install the new deps! Also re-ran prettier on all files, which resulted in one minor change.
1 parent 67f9f6b commit f5427de

File tree

3 files changed

+584
-566
lines changed

3 files changed

+584
-566
lines changed

lib/intrinsicclass.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ type customFormatFunction<T> = (
2525
depth: number,
2626
options: { stylize: (value: unknown, type: 'number' | 'special') => string }
2727
) => string;
28-
const customUtilInspectFormatters: Partial<
29-
{ [key in keyof TemporalIntrinsicRegistrations]: customFormatFunction<TemporalIntrinsicRegistrations[key]> }
30-
> = {
28+
const customUtilInspectFormatters: Partial<{
29+
[key in keyof TemporalIntrinsicRegistrations]: customFormatFunction<TemporalIntrinsicRegistrations[key]>;
30+
}> = {
3131
['Temporal.Duration'](depth, options) {
3232
const descr = options.stylize(`${this[Symbol.toStringTag]} <${this}>`, 'special');
3333
if (depth < 1) return descr;

0 commit comments

Comments
 (0)