Problem/Motivation

As part of #3094468: [plan] Update core JavaScript (and CSS) dependencies prior to 9.0.0-beta1 we need to update jquery-once 2.2.3

It looks there haven't been big changes https://github.com/RobLoach/jquery-once/releases

Proposed resolution

Update it

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tedbow created an issue. See original summary.

tedbow’s picture

Assigned: tedbow » Unassigned
Status: Active » Needs review
FileSize
6.28 KB

Here it is

tedbow’s picture

  1. The tests passed!🎉
  2. updated core.libraries.yml with the new version number
bnjmnm’s picture

Status: Needs review » Reviewed & tested by the community

The difference between 2.2.0 and 2.2.3 is pretty minor and everything looks good here.

+++ b/core/core.libraries.yml
@@ -391,10 +391,10 @@ jquery.joyride:
-    url: https://raw.githubusercontent.com/RobLoach/jquery-once/2.2.0/LICENSE.md
+    url: https://github.com/RobLoach/jquery-once/blob/2.2.3/LICENSE.md

I did notice the license points to the github formatted version vs the raw.githubusercontent.com, but it looks like the two are used interchangeably in core.libraries.yml.

  • lauriii committed b309bbf on 9.0.x
    Issue #3100943 by tedbow, bnjmnm: Update jquery-once to 2.2.3
    

  • lauriii committed 4e5da5d on 8.9.x
    Issue #3100943 by tedbow, bnjmnm: Update jquery-once to 2.2.3
    
    (cherry...
lauriii’s picture

Version: 9.0.x-dev » 8.9.x-dev
Status: Reviewed & tested by the community » Fixed
diff --git a/core/assets/vendor/jquery-once/jquery.once.js b/core/assets/vendor/jquery-once/jquery.once.js
old mode 100644
new mode 100755

diff --git a/core/assets/vendor/jquery-once/jquery.once.min.js b/core/assets/vendor/jquery-once/jquery.once.min.js
old mode 100644
new mode 100755

diff --git a/core/assets/vendor/jquery-once/jquery.once.min.js.map b/core/assets/vendor/jquery-once/jquery.once.min.js.map
old mode 100644
new mode 100755

Reverted these file permission changes and confirmed that the md5 matched with https://github.com/RobLoach/jquery-once/releases/tag/2.2.3.

Committed b309bbf and pushed to 9.0.x and 8.9.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.