Skip to content

Commit

Permalink
chore: regenerate lockfile
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
darrachequesne committed Jun 26, 2022
1 parent f0350a0 commit 8c659bc
Show file tree
Hide file tree
Showing 3 changed files with 6,341 additions and 5,320 deletions.
2 changes: 1 addition & 1 deletion lib/socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class Socket<
...args: EventParams<EmitEvents, Ev>
): this {
if (RESERVED_EVENTS.hasOwnProperty(ev)) {
throw new Error('"' + ev + '" is a reserved event name');
throw new Error('"' + ev.toString() + '" is a reserved event name');
}

args.unshift(ev);
Expand Down
Loading

0 comments on commit 8c659bc

Please sign in to comment.