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

Update dependencies for early October 2022 #676

Merged

Conversation

DeeDeeG
Copy link
Contributor

@DeeDeeG DeeDeeG commented Oct 10, 2022

Context

  • Update and dedupe some JS dependencies in yarn.lock
  • Bump Ruby version from 3.1.0 (major version was just recently bumped in update to new maps public key #675) to 3.1.2 for patch-level updates

Summary of Changes

  • Update the "terser" JS package
    • terser version 4.8.0 --> 4.8.1
    • terser version 5.7.0 --> 5.15.1
  • Dedupe all JS dependencies in yarn.lock
    • Saves about 6 to 8 MB on disk, and reduces node_modules by about 900 files
      • Before: "Total disk usage: 202.0 MiB Apparent size: 129.0 MiB Items: 28309"
      • After: "Total disk usage: 194.4 MiB Apparent size: 122.8 MiB Items: 27395"
  • Update the Ruby version from 3.1.0, which it was updated to just recently in PR update to new maps public key #675, to now be version 3.1.2
    • Ruby version 3.1.0 --> 3.1.2, for patch-level updates

Checklist

  • Tested Mobile Responsiveness
  • Added Unit Tests
  • CI Passes
  • Deploys to Heroku on test Correctly (Maintainers will handle)
  • Added Documentation (Service and Code when required)

@DeeDeeG DeeDeeG merged commit b77d752 into RefugeRestrooms:develop Oct 10, 2022
@DeeDeeG DeeDeeG mentioned this pull request Oct 10, 2022
5 tasks
DeeDeeG added a commit that referenced this pull request Oct 11, 2022
* Fixes Apple M1 Issue w/ Docker (#672)
  - This causes problems in docker+apple m1
      (`ActiveSupport::EventedFileUpdateChecker`
      isn't working on Docker for Apple Silicon (M1) at the moment.)
      More here: evilmartians/terraforming-rails#34
  - Make sure we use amd64 for Mac OS X M1 compatibility

* Update Dependencies for May 2022 (#673)
  - ruby: Upgrade Ruby from 2.7.5 to 2.7.6
  - Gemfile.lock: Update nokogiri from 1.13.3 to 1.13.6
  - Gemfile[.lock]: Update rails (5.2.6.3 --> 5.2.8) and its dependencies
      Also updates a few indirect dependencies.
      Specifically: concurrent-ruby, i18n, loofah, mini_mime, and thor.
  - Gemfile.lock: Update puma from 5.6.2 to 5.6.4
  - yarn.lock: Update minimist from 1.2.5 to 1.2.6
  - yarn.lock: Update node-forge from 1.2.1 to 1.3.1
  - yarn.lock: Update swagger-ui from 4.1.3 to 4.7.0
      Also update some of its dependencies, such as @braintree/sanitize-url.
  - yarn.lock: Update async from 2.6.3 to 2.6.4
  - Revert "yarn.lock: Update swagger-ui from 4.1.3 to 4.7.0"
      It broke when updating, not sure why. Possibly webpack-related???
      Back to swagger-ui 4.1.3.
  - deps: Resolve @braintree/sanitize-url to v6.x
      Was v5.x. (This is a JS dependency, in package.json and yarn.lock.)
  - yarn.lock: Update eventsource from 1.0.7 to 1.1.1
  - Gemfile.lock: Update rack from 2.2.3 to 2.2.3.1

* update to new maps public key (#675)
  - update to new public key
  - upgrade to rails 6
  - add net gems to Gemfile
  - update lock file
  - fix linting errors with upgrade
  - use proper "visible" syntax
  - update API gems
  - change to old css rspec helper

* Update dependencies for early October 2022 (#676)
  - yarn.lock: Update terser
  - yarn.lock: Dedupe dependencies
  - ruby: Bump Ruby from 3.1.0 to 3.1.2
      (Was recently updated from 2.7.6 to 3.1.0 in PR 675)

Co-authored-by: Mikena Wood <mi-wood@users.noreply.github.com>
Co-authored-by: Ernesto Tagwerker <ernesto+github@ombulabs.com>
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