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 e318c36 commit c04571dCopy full SHA for c04571d
packages/saslprep/src/node.ts
@@ -4,8 +4,11 @@ import data from './code-points-data';
4
5
const codePoints = createMemoryCodePoints(data);
6
7
-const saslprep = _saslprep.bind(null, codePoints);
+function saslprep(input: string, opts?: { allowUnassigned?: boolean }): string {
8
+ return _saslprep(codePoints, input, opts);
9
+}
10
-Object.assign(saslprep, { saslprep, default: saslprep });
11
+saslprep.saslprep = saslprep;
12
+saslprep.default = saslprep;
13
14
export = saslprep;
0 commit comments