Skip to content

Commit 484658c

Browse files
committed
Fix lint
1 parent 6abebb5 commit 484658c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/server/src/handlers/GetHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import stream from 'node:stream'
22

33
import {BaseHandler} from './BaseHandler'
4-
import {ERRORS, Upload} from '@tus/utils'
4+
import {ERRORS, type Upload} from '@tus/utils'
55

66
import type http from 'node:http'
77
import type {RouteHandler} from '../types'
@@ -20,6 +20,7 @@ export class GetHandler extends BaseHandler {
2020
* See: https://datatracker.ietf.org/doc/html/rfc1341 (Page 6)
2121
*/
2222
reMimeType =
23+
// biome-ignore lint/suspicious/noControlCharactersInRegex: it's fine
2324
/^(?:application|audio|example|font|haptics|image|message|model|multipart|text|video|x-(?:[0-9A-Za-z!#$%&'*+.^_`|~-]+))\/([0-9A-Za-z!#$%&'*+.^_`|~-]+)((?:[ ]*;[ ]*[0-9A-Za-z!#$%&'*+.^_`|~-]+=(?:[0-9A-Za-z!#$%&'*+.^_`|~-]+|"(?:[^"\\]|\.)*"))*)$/
2425

2526
/**

0 commit comments

Comments
 (0)