-
New Feature
-
Resolution: Fixed
-
Minor
luxon-1.21.1.js
luxon-1.21.1.min.js
Both are High Findings in Whitesource.
Is it possible to update the libs in the next release?
Thanks in advance
luxon-1.21.1.js
luxon-1.21.1.min.js
Both are High Findings in Whitesource.
Is it possible to update the libs in the next release?
Thanks in advance
The actual problem is that luxon.js is currently deployed as a fixed and checked in JS file that is part of the sources folder. We need to remove that file and deploy the automatically downloaded artifact right after npm install has been invoked. This is done for all other JS libraries of the data tables distribution but Luxon simply has been forgotten.
Steps to fix the problem:
1. Remove Luxon from https://github.com/jenkinsci/data-tables-api-plugin/tree/master/src/main/webapp/js
2. Reference Luxon latest version in package.json
3. Copy Luxon in the same way to the output JS folder as shown in https://github.com/jenkinsci/data-tables-api-plugin/blob/master/pom.xml#L130
4. Create and deploy the plugin to your Jenkins instance to see if timestamps are still correctly shown in a table that uses Luxon