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

[flatbuffers] Remove '__MEDIASOUP_VERSION__' replacement in JS transpiled files #1198

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

ibc
Copy link
Member

@ibc ibc commented Oct 27, 2023

  • Instead of writing into all transpiled JS files in node/lib/, read package.json just once in launch time and read "version" from it.
  • I'm not happy with this, not sure if better than before. But clearly we are gonna remove this useless mediasoup.version public getter in v4.

…iled files

- Instead of writing into all transpiled JS files in `node/lib/`, read `package.json` just once in launch time and read "version" from it.
- I'm not happy with this, not sure if better than before. But clearly we are gonna remove this useless `mediasoup.version` public getter in v4.
@ibc ibc requested review from jmillan and nazar-pc October 27, 2023 09:40
Copy link
Collaborator

@nazar-pc nazar-pc left a comment

Choose a reason for hiding this comment

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

I think it is much better because we no longer need to post-process files

@ibc
Copy link
Member Author

ibc commented Oct 27, 2023

Ok let's go.

@ibc ibc merged commit 5870f7e into flatbuffers Oct 27, 2023
32 checks passed
@ibc ibc deleted the remove-version-replacement-in-js-files branch October 27, 2023 10:17
Copy link
Member

@jmillan jmillan left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants