Skip to content

Commit 8c659bc

Browse files
chore: regenerate lockfile
For some reason, the lockfile was not in sync anymore with the package.json file: > `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. That may be linked to a new version of Node.js (v16.15.1).
1 parent f0350a0 commit 8c659bc

File tree

3 files changed

+6341
-5320
lines changed

3 files changed

+6341
-5320
lines changed

lib/socket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class Socket<
168168
...args: EventParams<EmitEvents, Ev>
169169
): this {
170170
if (RESERVED_EVENTS.hasOwnProperty(ev)) {
171-
throw new Error('"' + ev + '" is a reserved event name');
171+
throw new Error('"' + ev.toString() + '" is a reserved event name');
172172
}
173173

174174
args.unshift(ev);

0 commit comments

Comments
 (0)