-
Notifications
You must be signed in to change notification settings - Fork 42
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
UIU-3347 bump jspdf to v3.0.0 #2874
Conversation
Addresses security vulnerability within jspdf <3 dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we at least need a CHANGELOG update for this. Also, isn’t there a need to bump module’s major version if dependencies change? CC @zburke
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes LGTM. I'm glad you noticed the jspdf-autotable API change! 🕵️
@s3fs, no, this does not require a major version bump. Changing direct (internal) dependencies does not change the public (external) API either in terms of what is consumed (peer-dependencies, okapi interfaces) or what is provided (public exports, routes, etc).
- Yes, we should add a CHANGELOG entry, describing why we made these changes.
- @JohnC-80, let's generate
yarn.lock
from scratch (rm yarn.lock; yarn install
) to de-duplicate things likedompurify
. Since deps are ultimately resolved at the platform level this doesn't really matter, but it should help keep dependabot off our backs for a little while longer by purging some cruft (e.g. paringdompurify
down to a single, current version instead of installing three, two of which are outdated).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm glad you caught the additional title/header changes and sad I missed that in my first review.
|
UIU-3347
Addresses security vulnerability within
jspdf
< 3 dependencies.This also updates
jspdf-autotable
plug-in to v5Noteworthy changes for the autotable plugin -
doc.autotable.previous
api replaced bydoc.lastAutoTable
.title
key in columns object renamed toheader
.Output pdf:
