Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Apr 25, 2023
1 parent 28c7b7c commit be89af9
Show file tree
Hide file tree
Showing 39 changed files with 4,372 additions and 6,468 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Expand Up @@ -611,7 +611,7 @@ Repository: https://github.com/tapjs/signal-exit.git

> The ISC License
>
> Copyright (c) 2015, Contributors
> Copyright (c) 2015-2023 Benjamin Coe, Isaac Z. Schlueter, and Contributors
>
> Permission to use, copy, modify, and/or distribute this software
> for any purpose with or without fee is hereby granted, provided
Expand Down
4 changes: 2 additions & 2 deletions cli/run/watch-cli.ts
Expand Up @@ -4,7 +4,7 @@ import process from 'node:process';
import chokidar from 'chokidar';
import dateTime from 'date-time';
import ms from 'pretty-ms';
import onExit from 'signal-exit';
import { onExit } from 'signal-exit';
import * as rollup from '../../src/node-entry';
import type { MergedRollupOptions, RollupWatcher } from '../../src/rollup/types';
import { bold, cyan, green, underline } from '../../src/utils/colors';
Expand Down Expand Up @@ -146,7 +146,7 @@ export async function watch(command: Record<string, any>): Promise<void> {
});
}

async function close(code: number | null): Promise<void> {
async function close(code: number | null | undefined): Promise<void> {
process.removeListener('uncaughtException', close);
// removing a non-existent listener is a no-op
process.stdin.removeListener('end', close);
Expand Down

0 comments on commit be89af9

Please sign in to comment.