Unverified Commit 49a6133d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3272872 by nod_: deprecate underscore and mark it internal

parent 426e5178
Loading
Loading
Loading
Loading
+19 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ backbone:
  js:
    assets/vendor/backbone/backbone-min.js: { weight: -19, minified: true }
  dependencies:
    - core/underscore
    - core/internal.underscore

ckeditor:
  remote: https://github.com/ckeditor/ckeditor4
@@ -1082,6 +1082,24 @@ underscore:
    gpl-compatible: true
  js:
    assets/vendor/underscore/underscore-min.js: { weight: -20, minified: true }
  deprecated: The %library_id% asset library is deprecated in Drupal 9.4.0 and will be removed in Drupal 10.0.0.

internal.underscore:
  # Internal library, do not depend on it.
  # The library will be removed as soon as the following issues are fixed:
  #  - https://www.drupal.org/project/drupal/issues/3270395
  #  - https://www.drupal.org/project/drupal/issues/3203920
  #  - https://www.drupal.org/project/drupal/issues/3204011
  #  - https://www.drupal.org/project/drupal/issues/3204015
  remote: https://github.com/jashkenas/underscore
  version: "1.13.2"
  license:
    name: MIT
    url: https://raw.githubusercontent.com/jashkenas/underscore/1.13.2/LICENSE
    gpl-compatible: true
  js:
    assets/vendor/underscore/underscore-min.js: { weight: -20, minified: true }


drupal.dialog.off_canvas:
  version: VERSION
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ drupal.editor.admin:
    - core/jquery
    - core/once
    - core/drupal
    - core/underscore
    - core/internal.underscore

drupal.editor:
  version: VERSION
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ drupal.filter.filter_html.admin:
  dependencies:
    - core/jquery
    - core/once
    - core/underscore
    - core/internal.underscore

drupal.filter:
  version: VERSION
+1 −1
Original line number Diff line number Diff line
@@ -17,5 +17,5 @@ quickedit.inPlaceEditor.image:
  dependencies:
    - core/jquery
    - core/drupal
    - core/underscore
    - core/internal.underscore
    - quickedit/quickedit
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ quickedit:
  dependencies:
    - core/jquery
    - core/once
    - core/underscore
    - core/internal.underscore
    - core/backbone
    - core/jquery.form
    - core/drupal
Loading