Skip to content

Commit 0585b5f

Browse files
committed
Use userland punycode module
1 parent 94a4bc0 commit 0585b5f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
unreleased:
2+
fixed bugs:
3+
- Used userland `punycode` module
4+
15
3.0.6:
26
date: 2025-02-21
37
fixed bugs:

encoder/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const encodeSet = require('./encode-set'),
8989

9090
// else, lazy load `punycode` dependency in browser
9191
/* istanbul ignore next */
92-
return require('punycode').toASCII;
92+
return require('punycode/').toASCII;
9393
}());
9494

9595
/**

0 commit comments

Comments
 (0)