Skip to content

Commit 4f5bc09

Browse files
authored
Merge pull request flutter#7 from devoncarew/sdk_contraint
add library names; increase the sdk constraint
2 parents 3de3bfb + 7d2d99d commit 4f5bc09

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.5
2+
3+
* Increase the SDK version constraint to `<2.0.0-dev.infinity`.
4+
15
## 1.0.4
26

37
* Support `crypto` 2.0.0.

analysis_options.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
analyzer:
2+
strong-mode: true

lib/html.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
library web_socket_channel.html;
6+
57
import 'dart:async';
68
import 'dart:html';
79
import 'dart:typed_data';

lib/io.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// for details. All rights reserved. Use of this source code is governed by a
33
// BSD-style license that can be found in the LICENSE file.
44

5+
library web_socket_channel.io;
6+
57
import 'dart:async';
68
import 'dart:io';
79

lib/src/copy/web_socket_impl.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,18 +57,6 @@ class _WebSocketOpcode {
5757
static const int RESERVED_F = 15;
5858
}
5959

60-
/**
61-
* Stores the header and integer value derived from negotiation of
62-
* client_max_window_bits and server_max_window_bits. headerValue will be
63-
* set in the Websocket response headers.
64-
*/
65-
class _CompressionMaxWindowBits {
66-
String headerValue;
67-
int maxWindowBits;
68-
_CompressionMaxWindowBits([this.headerValue, this.maxWindowBits]);
69-
String toString() => headerValue;
70-
}
71-
7260
/**
7361
* The web socket protocol transformer handles the protocol byte stream
7462
* which is supplied through the [:handleData:]. As the protocol is processed,

lib/status.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
/// channel.close(status.goingAway);
1717
/// }
1818
/// ```
19+
library web_socket_channel.status;
20+
1921
import 'dart:core';
2022

2123
/// The purpose for which the connection was established has been fulfilled.

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: web_socket_channel
2-
version: 1.0.5-dev
2+
version: 1.0.5
33
description: StreamChannel wrappers for WebSockets.
44
author: Dart Team <[email protected]>
55
homepage: https://github.com/dart-lang/web_socket_channel
66

77
environment:
8-
sdk: '>=1.13.0 <2.0.0'
8+
sdk: '>=1.13.0 <2.0.0-dev.infinity'
99

1010
dependencies:
1111
async: '^1.3.0'

0 commit comments

Comments
 (0)