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 Docker image to Node 22 on Debian Bookworm #5

Merged
merged 4 commits into from
Aug 9, 2024

Conversation

wjt
Copy link
Member

@wjt wjt commented Aug 9, 2024

Node 10 and Debian Buster have been unsupported for a distressingly long
time.

As well as being good practice, this also fixes a failure to start the
service with winston v3.14.1, released yesterday.

/opt/eos-activation-server/node_modules/winston/lib/winston/transports/console.js:24
  _consoleLog = console.log.bind(console);
              ^

SyntaxError: Unexpected token =

I also removed a number of unused dependencies, and fixed package.json a little.

https://phabricator.endlessm.com/T35607

wjt added 4 commits August 9, 2024 22:10
Node 10 and Debian Buster have been unsupported for a distressingly long
time.

As well as being good practice, this also fixes a failure to start the
service with winston v3.14.1, released yesterday.

    /opt/eos-activation-server/node_modules/winston/lib/winston/transports/console.js:24
      _consoleLog = console.log.bind(console);
                  ^
    
    SyntaxError: Unexpected token =
bull, i18n-iso-countries, soap and uuid were used by some historical
code that was not part of the open-source release. In the archived
internal repo, the relevant code was removed in commit
787f18f3b4a096e2bf59d31323fec65f051d2d97 in 2021.
Srdjan originally wrote the bulk of the code, but has not worked on this
project for many years.
When this service was open-sourced we applied GPL-2.0-or-later headers
to every file in commit d2f41d1, but
missed this one.
Copy link
Member

@dbnicholson dbnicholson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice. I'm surprised I let the unused dependencies slide. I'm normally good about that.

@dbnicholson dbnicholson merged commit c490b90 into master Aug 9, 2024
1 check passed
@dbnicholson dbnicholson deleted the update-to-node-22 branch August 9, 2024 21:20
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