[go: nahoru, domu]

Skip to content

Commit

Permalink
Update web library and package support (#2820)
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Feb 13, 2024
1 parent e69f2d9 commit 40311ba
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 39 deletions.
22 changes: 0 additions & 22 deletions pkgs/dart_services/.gitpod.yml

This file was deleted.

9 changes: 4 additions & 5 deletions pkgs/dart_services/lib/src/project_templates.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ const Set<String> supportedBasicDartPackages = {
'fast_immutable_collections',
'http',
'intl',
'js',
'lints',
'matcher',
'meta',
Expand All @@ -107,6 +106,7 @@ const Set<String> supportedBasicDartPackages = {
'timezone',
'tuple',
'vector_math',
'web',
'yaml',
'yaml_edit',
};
Expand All @@ -116,12 +116,15 @@ const Set<String> _deprecatedPackages = {
'tuple',
'flutter_processing',
'riverpod_navigator',
'js',
};

/// The set of core web libraries whose support in
/// DartPad or Dart is deprecated.
const Set<String> _deprecatedCoreWebLibraries = {
'js',
'html',
'js_util',
};

/// A set of all allowed `dart:` libraries, includes
Expand All @@ -134,13 +137,9 @@ const Set<String> _allowedCoreLibraries = {
'developer',
'math',
'typed_data',

'html', // TODO(parlough): Deprecate soon.
'js_util', // TODO(parlough): Deprecate soon.
'js_interop',
'js_interop_unsafe',
..._deprecatedCoreWebLibraries,

'ui',
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
"flutter_adaptive_scaffold": "0.1.8",
"flutter_bloc": "8.1.4",
"flutter_hooks": "0.18.6",
"flutter_lints": "3.0.1",
"flutter_map": "6.1.0",
"flutter_markdown": "0.6.18+3",
"flutter_markdown": "0.6.19",
"flutter_processing": "0.2.0",
"flutter_riverpod": "2.4.10",
"flutter_spinkit": "5.2.0",
Expand Down Expand Up @@ -127,7 +126,7 @@
"typed_data": "1.3.2",
"unicode": "0.3.1",
"url_launcher": "6.2.4",
"url_launcher_android": "6.2.2",
"url_launcher_android": "6.3.0",
"url_launcher_ios": "6.2.4",
"url_launcher_linux": "3.1.1",
"url_launcher_macos": "3.1.0",
Expand All @@ -154,4 +153,4 @@
"xml": "6.5.0",
"yaml": "3.1.2",
"yaml_edit": "2.1.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
"flutter_adaptive_scaffold": "0.1.8",
"flutter_bloc": "8.1.4",
"flutter_hooks": "0.18.6",
"flutter_lints": "3.0.1",
"flutter_map": "6.1.0",
"flutter_markdown": "0.6.18+3",
"flutter_markdown": "0.6.19",
"flutter_processing": "0.2.0",
"flutter_riverpod": "2.4.10",
"flutter_spinkit": "5.2.0",
Expand Down Expand Up @@ -127,7 +126,7 @@
"typed_data": "1.3.2",
"unicode": "0.3.1",
"url_launcher": "6.2.4",
"url_launcher_android": "6.2.2",
"url_launcher_android": "6.3.0",
"url_launcher_ios": "6.2.4",
"url_launcher_linux": "3.1.1",
"url_launcher_macos": "3.1.0",
Expand All @@ -154,4 +153,4 @@
"xml": "6.5.0",
"yaml": "3.1.2",
"yaml_edit": "2.1.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@
"flutter_adaptive_scaffold": "0.1.8",
"flutter_bloc": "8.1.4",
"flutter_hooks": "0.18.6",
"flutter_lints": "3.0.1",
"flutter_map": "6.1.0",
"flutter_markdown": "0.6.18+3",
"flutter_markdown": "0.6.19",
"flutter_processing": "0.2.0",
"flutter_riverpod": "2.4.10",
"flutter_spinkit": "5.2.0",
Expand Down Expand Up @@ -124,7 +123,7 @@
"typed_data": "1.3.2",
"unicode": "0.3.1",
"url_launcher": "6.2.4",
"url_launcher_android": "6.2.2",
"url_launcher_android": "6.3.0",
"url_launcher_ios": "6.2.4",
"url_launcher_linux": "3.1.1",
"url_launcher_macos": "3.1.0",
Expand All @@ -151,4 +150,4 @@
"xml": "6.5.0",
"yaml": "3.1.2",
"yaml_edit": "2.1.1"
}
}

0 comments on commit 40311ba

Please sign in to comment.