We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34bb27e commit f9a28edCopy full SHA for f9a28ed
lib/src/utils.test.ts
@@ -5,6 +5,8 @@ describe('utils', () => {
5
describe('pathToUrlString', () => {
6
it('encode relative path like `pathToFileURL`', () => {
7
const baseURL = pathToFileURL('').toString();
8
+ // Skip charcodes 0-32 to work around Node trailing whitespace regression:
9
+ // https://github.com/nodejs/node/issues/51167
10
for (let i = 33; i < 128; i++) {
11
const char = String.fromCharCode(i);
12
const filename = `${i}-${char}`;
0 commit comments