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

chore(deps): bump tarteaucitronjs from 1.15.0 to 1.16.1 #2463

Merged
merged 10 commits into from
Jan 30, 2024

Conversation

julien-deramond
Copy link
Contributor

@julien-deramond julien-deramond commented Jan 29, 2024

Description

This PR bumps tarteaucitronjs version from 1.15.0 to 1.16.1:

Tarteaucitronjs now checks the current path whether the file is minified or not to deduce if the other files are minified too.
In our case, it causes an issue either in production or development mode because the minified version of tarteaucitronjs content can be embedded in docs.js (which is not minified). It creates an incompatibility with tarteaucitron.service.js (minified or not). Based on these discrepancies observed either in production or development mode, we decided to simplify our approach.

docs.js is now minified in all cases!

Moreover, we discovered that we embedded tarteaucitronjs in docs.min.js and we also integrated it in a <script> HTML tag. Again, to simplify, we only kept the version embedded into docs.min.js.

Types of change

  • Refactoring (non-breaking change)

Live previews

@julien-deramond julien-deramond added v5 dependencies Pull requests that update a dependency file chore labels Jan 29, 2024
Copy link

netlify bot commented Jan 29, 2024

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 491ed4d
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/65b937b78c79290009cd6d4c
😎 Deploy Preview https://deploy-preview-2463--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@julien-deramond julien-deramond marked this pull request as ready for review January 29, 2024 13:31
@julien-deramond

This comment was marked as outdated.

@julien-deramond julien-deramond merged commit d96f2b0 into main Jan 30, 2024
12 checks passed
@julien-deramond julien-deramond deleted the main-jd-bump-tarteaucitronjs-deps-to-v1.16.1 branch January 30, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore dependencies Pull requests that update a dependency file v5
Projects
Development

Successfully merging this pull request may close these issues.

2 participants