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

Lock Javascript dependencies #221

Merged
merged 2 commits into from
Mar 1, 2022
Merged

Lock Javascript dependencies #221

merged 2 commits into from
Mar 1, 2022

Conversation

akikoskinen
Copy link
Contributor

It's a good practice to lock dependency versions. But there's a specific reason why this needs to be done now.

Tunnistamo isn't compatible with bootstrap-sass version 3.4.2. That version switches [1] to a newish Sass syntax that isn't backwards compatible [2]. Tunnistamo uses the django-sass-processor package to do Sass preprocessing. That package uses the libsass library, which is deprecated and will never support any newer Sass syntax [3]. As a result, Tunnistamo is stuck with an old Sass syntax version unless the preprocessor system is changed to something more modern.

In this commit the bootstrap-sass is locked to version 3.4.1 which still uses the older syntax that libsass supports.

[1] twbs/bootstrap-sass#1221
[2] https://sass-lang.com/documentation/breaking-changes/slash-div
[3] https://sass-lang.com/blog/libsass-is-deprecated

It's a good practice to lock dependency versions. But there's a specific
reason why this needs to be done now.

Tunnistamo isn't compatible with bootstrap-sass version 3.4.2. That
version switches [1] to a newish Sass syntax that isn't backwards
compatible [2]. Tunnistamo uses the django-sass-processor package to do
Sass preprocessing. That package uses the libsass library, which is
deprecated and will never support any newer Sass syntax [3]. As a
result, Tunnistamo is stuck with an old Sass syntax version unless the
preprocessor system is changed to something more modern.

In this commit the bootstrap-sass is locked to version 3.4.1 which still
uses the older syntax that libsass supports.

[1] twbs/bootstrap-sass#1221
[2] https://sass-lang.com/documentation/breaking-changes/slash-div
[3] https://sass-lang.com/blog/libsass-is-deprecated
@codecov
Copy link

codecov bot commented Mar 1, 2022

Codecov Report

Merging #221 (297b5a0) into develop (1ba343a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #221   +/-   ##
========================================
  Coverage    78.07%   78.07%           
========================================
  Files           88       88           
  Lines         3680     3680           
========================================
  Hits          2873     2873           
  Misses         807      807           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ba343a...297b5a0. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented Mar 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@akikoskinen akikoskinen merged commit 297b5a0 into develop Mar 1, 2022
@akikoskinen akikoskinen deleted the package-lock-json branch March 1, 2022 12:03
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.

2 participants