Skip to content

Issue openam#205 Upgrade jQuery to new version#14

Draft
tsujiguchitky wants to merge 11 commits intomasterfrom
issues/openam/205-jquery3
Draft

Issue openam#205 Upgrade jQuery to new version#14
tsujiguchitky wants to merge 11 commits intomasterfrom
issues/openam/205-jquery3

Conversation

@tsujiguchitky
Copy link
Contributor

Analysis

openam-jp/openam#205

jQuery is an important component that affects XUI and other javascript libraly.
jQuery which OpenAM includes is an old version and does not reflect the latest improvements.

And to update jQuery, this project also needs to be modified.

Solution

Upgrade jQuery to 3.5.1 and fixed problems due to following specification changes.

  • Deprecated API
  • jQuery.Deferred is now Promises/A+ compatible
  • jQuery no longer runs any tests on PhantomJS 1.x

And also updated the following libraries and frameworks:

  • QUnit 1.15.0 -> 2.10.0
  • grunt-contrib-qunit -> 0.4.0 -> 3.1.0
  • grunt-contrib-requirejs 0.4.4 -> 1.0.0
  • Node.js 4.2.6 -> 6.4.0
  • RequireJS 2.1.14 -> 2.3.6

Compatibility

The updated version of grunt-contrib-qunit now uses Puppeteer as a headless browser.
Therefore, the libraries required for Puppeteer must be installed in the build environment.

See https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md#troubleshooting

Testing

Unit tests works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant