Skip to content

Commit 7b022ba

Browse files
committed
Rebase and reformat
1 parent 43824b2 commit 7b022ba

File tree

73 files changed

+768
-830
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+768
-830
lines changed

_analysis_config/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: The shared analysis configuration for the webdev packages.
44
publish_to: none
55

66
environment:
7-
sdk: ^3.8.0
7+
sdk: ^3.10.0-0.0.dev
88

99
dependencies:
1010
lints: ^5.0.0

dwds/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 25.1.1-wip
2+
3+
- Bump SDK constraint to ^3.10.0
4+
15
## 25.1.0
26

37
- Added `DartDevelopmentServiceConfiguration` to allow for configuring DDS behavior.

dwds/debug_extension/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: >-
55
A Chrome extension for Dart debugging.
66
77
environment:
8-
sdk: ^3.8.0
8+
sdk: ^3.10.0-0.0.dev
99

1010
dependencies:
1111
built_value: ^8.9.0
@@ -22,7 +22,7 @@ dev_dependencies:
2222
dwds: ^24.1.0
2323
path: ^1.9.0
2424
sse: ^4.1.4
25-
web_socket_channel: '>=2.2.0 <4.0.0'
25+
web_socket_channel: ">=2.2.0 <4.0.0"
2626

2727
dependency_overrides:
2828
dwds:

dwds/debug_extension/tool/copy_builder.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ Builder copyBuilder(_) => _CopyBuilder();
1010
class _CopyBuilder extends Builder {
1111
@override
1212
Map<String, List<String>> get buildExtensions => {
13-
'web/{{}}.dart.js': ['compiled/{{}}.dart.js'],
14-
'web/static_assets/{{}}.png': ['compiled/static_assets/{{}}.png'],
15-
'web/static_assets/{{}}.html': ['compiled/static_assets/{{}}.html'],
16-
'web/static_assets/{{}}.css': ['compiled/static_assets/{{}}.css'],
17-
'web/manifest.json': ['compiled/manifest.json'],
18-
};
13+
'web/{{}}.dart.js': ['compiled/{{}}.dart.js'],
14+
'web/static_assets/{{}}.png': ['compiled/static_assets/{{}}.png'],
15+
'web/static_assets/{{}}.html': ['compiled/static_assets/{{}}.html'],
16+
'web/static_assets/{{}}.css': ['compiled/static_assets/{{}}.css'],
17+
'web/manifest.json': ['compiled/manifest.json'],
18+
};
1919

2020
@override
2121
Future<void> build(BuildStep buildStep) async {

dwds/debug_extension/web/background.dart

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,8 @@ void _setWarningIcon(int tabId) {
279279
}
280280

281281
void _setDefaultIcon(int tabId) {
282-
final iconPath = isDevMode
283-
? 'static_assets/dart_dev.png'
284-
: 'static_assets/dart_grey.png';
282+
final iconPath =
283+
isDevMode ? 'static_assets/dart_dev.png' : 'static_assets/dart_grey.png';
285284
setExtensionIcon(IconInfo(path: iconPath));
286285
setExtensionPopup(PopupDetails(popup: '', tabId: tabId));
287286
}

dwds/debug_extension/web/cider_connection.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ Future<void> _sendInspectorUrl({String? appId}) async {
170170
if (!alreadyDebugging) {
171171
sendErrorMessageToCider(
172172
errorType: CiderErrorType.invalidRequest,
173-
errorDetails:
174-
'Cannot send the inspector URL before '
173+
errorDetails: 'Cannot send the inspector URL before '
175174
'the debugger has been attached.',
176175
);
177176
return;

dwds/debug_extension/web/copier.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ void _copyAppId(String appId) {
4949
}
5050

5151
Future<bool> _notifyCopiedSuccess(String appId) => sendRuntimeMessage(
52-
type: MessageType.appId,
53-
body: appId,
54-
sender: Script.copier,
55-
recipient: Script.background,
56-
);
52+
type: MessageType.appId,
53+
body: appId,
54+
sender: Script.copier,
55+
recipient: Script.background,
56+
);

dwds/debug_extension/web/cross_extension_communication.dart

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,19 @@ ExternalExtensionMessage _debugEventMessage({
126126
required String method,
127127
required dynamic params,
128128
required int tabId,
129-
}) => ExternalExtensionMessage(
130-
name: 'chrome.debugger.event',
131-
tabId: tabId,
132-
options: DebugEvent(method: method, params: params),
133-
);
129+
}) =>
130+
ExternalExtensionMessage(
131+
name: 'chrome.debugger.event',
132+
tabId: tabId,
133+
options: DebugEvent(method: method, params: params),
134+
);
134135

135136
ExternalExtensionMessage _dwdsEventMessage({
136137
required String method,
137138
required dynamic params,
138139
required int tabId,
139-
}) => ExternalExtensionMessage(name: method, tabId: tabId, options: params);
140+
}) =>
141+
ExternalExtensionMessage(name: method, tabId: tabId, options: params);
140142

141143
// This message is used for cross-extension communication between this extension
142144
// and the AngularDart DevTools extension.

dwds/debug_extension/web/data_serializers.g.dart

Lines changed: 16 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dwds/debug_extension/web/data_types.g.dart

Lines changed: 40 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)