"Fossies" - the Fresh Open Source Software Archive

Member "flutter-3.7.0/dev/bots/allowlist.dart" (24 Jan 2023, 1630 Bytes) of package /linux/misc/flutter-3.7.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Dart source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "allowlist.dart": 3.3.10_vs_3.7.0.

    1 // Copyright 2014 The Flutter Authors. All rights reserved.
    2 // Use of this source code is governed by a BSD-style license that can be
    3 // found in the LICENSE file.
    4 
    5 /// The SDK package allowlist for the flutter, flutter_test, flutter_driver, flutter_localizations,
    6 /// and integration_test packages.
    7 ///
    8 /// The goal of the allowlist is to make it more difficult to accidentally add new dependencies
    9 /// to the core SDK packages that users depend on. Any dependencies added to this set can have a
   10 /// large impact on the allowed version solving of a given flutter application because of how
   11 /// the SDK pins to an exact version.
   12 ///
   13 /// Before adding a new Dart Team owned dependency to this set, please clear with natebosch@
   14 /// or jakemac53@. For other packages please contact hixie@ or zanderso@.
   15 ///
   16 /// You may remove entries from this list at any time, but once removed they must stay removed
   17 /// unless the additions are cleared as described above.
   18 const Set<String> kCorePackageAllowList = <String>{
   19   // Please keep this list in alphabetical order.
   20   'archive',
   21   'async',
   22   'boolean_selector',
   23   'characters',
   24   'clock',
   25   'collection',
   26   'crypto',
   27   'fake_async',
   28   'file',
   29   'flutter',
   30   'flutter_driver',
   31   'flutter_localizations',
   32   'flutter_test',
   33   'fuchsia_remote_debug_protocol',
   34   'integration_test',
   35   'intl',
   36   'js',
   37   'matcher',
   38   'material_color_utilities',
   39   'meta',
   40   'path',
   41   'platform',
   42   'process',
   43   'sky_engine',
   44   'source_span',
   45   'stack_trace',
   46   'stream_channel',
   47   'string_scanner',
   48   'sync_http',
   49   'term_glyph',
   50   'test_api',
   51   'typed_data',
   52   'vector_math',
   53   'vm_service',
   54   'webdriver',
   55 };