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 po2json dep to latest available beta version #61

Merged
merged 1 commit into from
May 18, 2022

Conversation

whiteinge
Copy link
Contributor

This fixes a long-standing npm audit failure. This is for a beta version but upstream has been waiting on a stable release for a while now.

As an alternate approach: what do you think about removing the po2json dependency completely? Instead just link to that repo in the README (similar to what #38 is proposing). I'm fuzzy on what the value-add of the bin/po2json wrapper script is, and we just call out to po2json directly. That removal would make gettext.js a zero-dependency library with a stable API and with no now (or future!) NPM drama 😝 ).

This fixes an npm audit failure.

underscore  1.3.2 - 1.12.0
Severity: high
Arbitrary Code Execution in underscore - GHSA-cf4h-3jhx-xvhq
No fix available
node_modules/underscore
  nomnom  >=1.6.0
  Depends on vulnerable versions of underscore
  node_modules/nomnom
    po2json  0.3.1 - 0.4.5
    Depends on vulnerable versions of nomnom
    node_modules/po2json
      gettext.js  >=0.3.0
      Depends on vulnerable versions of po2json
      node_modules/gettext.js
@guillaumepotier guillaumepotier merged commit 21f78fd into guillaumepotier:master May 18, 2022
@guillaumepotier
Copy link
Owner

Hi @whiteinge

Thank you for your PR, much appreciated :)

I'll think about the po2json removal, and make it optional eventually.

Best

@whiteinge whiteinge deleted the po2json-update branch May 18, 2022 23:53
@whiteinge
Copy link
Contributor Author

@guillaumepotier would you mind cutting a new release with the recent PR merges?

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