File tree 2 files changed +2
-4
lines changed 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ exports.Decoder = exports.Encoder = exports.PacketType = exports.protocol = void
7
7
const component_emitter_1 = __importDefault ( require ( "component-emitter" ) ) ;
8
8
const binary_1 = require ( "./binary" ) ;
9
9
const is_binary_1 = __importDefault ( require ( "./is-binary" ) ) ;
10
- const debug_1 = __importDefault ( require ( "debug" ) ) ;
11
- const debug = debug_1 . default ( "socket.io-parser" ) ;
10
+ const debug = require ( "debug" ) ( "socket.io-parser" ) ;
12
11
/**
13
12
* Protocol version.
14
13
*
Original file line number Diff line number Diff line change 1
1
import Emitter from "component-emitter" ;
2
2
import { deconstructPacket , reconstructPacket } from "./binary" ;
3
3
import isBinary from "./is-binary" ;
4
- import debugModule from "debug" ;
5
4
6
- const debug = debugModule ( "socket.io-parser" ) ;
5
+ const debug = require ( "debug" ) ( "socket.io-parser" ) ;
7
6
8
7
/**
9
8
* Protocol version.
You can’t perform that action at this time.
0 commit comments