diff -u b/core/core.libraries.yml b/core/core.libraries.yml --- b/core/core.libraries.yml +++ b/core/core.libraries.yml @@ -322,8 +322,8 @@ drupal: version: VERSION js: - misc/drupal.js: { } - misc/drupal.init.js: { } + misc/drupal.js: {} + misc/drupal.init.js: {} dependencies: - core/drupalSettings drupalSettings: @@ -332,7 +332,7 @@ drupalSettings: version: VERSION js: - misc/drupalSettingsLoader.js: { } + misc/drupalSettingsLoader.js: {} drupalSettings: # These placeholder values will be set by system_js_settings_alter(). path: @@ -396,7 +396,7 @@ drupal.autocomplete: version: VERSION js: - misc/autocomplete.js: { } + misc/autocomplete.js: {} # The remaining JavaScript assets previously came from core/jquery.ui, a # deprecated library. # All weights are based on the requirements defined within each file. @@ -669,7 +669,7 @@ drupal.tabledrag: version: VERSION js: - misc/tabledrag.js: { } + misc/tabledrag.js: {} dependencies: - core/jquery - core/drupal @@ -720,14 +720,12 @@ header: true version: VERSION js: - # Set weight to -21 so it loads alongside Modernizr, the library previously - # responsible for this detection. - misc/touchevents-test.js: { } + misc/touchevents-test.js: {} drupal.vertical-tabs: version: VERSION js: - misc/vertical-tabs.js: { } + misc/vertical-tabs.js: {} css: component: misc/vertical-tabs.css: {} @@ -753,7 +751,7 @@ url: https://raw.githubusercontent.com/jquery/jquery/3.6.3/LICENSE.txt gpl-compatible: true js: - assets/vendor/jquery/jquery.min.js: { minified: true, weight: -20 } + assets/vendor/jquery/jquery.min.js: { minified: true } internal.jquery.form: # Internal library. Do not depend on it outside core nor add new core usage. @@ -798,7 +796,7 @@ gpl-compatible: true version: "3.11.7" js: - assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true } + assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, minified: true } deprecated: The %library_id% asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3333253 normalize: @@ -810,7 +808,7 @@ gpl-compatible: true css: base: - assets/vendor/normalize-css/normalize.css: { } + assets/vendor/normalize-css/normalize.css: {} once: remote: https://git.drupalcode.org/project/once