Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue openam#205 Upgrade jQuery to new version #14

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

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