Skip to content

Commit 0510de5

Browse files
committed
remove outdated code and js dependency
1 parent b2f6d7c commit 0510de5

File tree

3 files changed

+2
-21
lines changed

3 files changed

+2
-21
lines changed

lib/src/engine/socket.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ class Socket extends EventEmitter {
6262
opts['hostname'] = Uri.parse(opts['host']).host;
6363
}
6464

65-
secure = opts['secure'] ?? false /*?? (window.location.protocol == 'https:')*/;
65+
secure =
66+
opts['secure'] ?? false /*?? (window.location.protocol == 'https:')*/;
6667

6768
if (opts['hostname'] != null && !opts.containsKey('port')) {
6869
// if no port is specified manually, use the protocol default

lib/src/engine/transport/js_array.dart

-19
This file was deleted.

pubspec.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ environment:
1111
dependencies:
1212
logging: '^1.2.0'
1313
socket_io_common: '^3.0.0-beta.0'
14-
js: '^0.7.1'
1514

1615
dev_dependencies:
1716
lints: ^3.0.0

0 commit comments

Comments
 (0)