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

Bump semver to 7.5.4 #240

Merged
merged 3 commits into from Jan 17, 2024
Merged

Bump semver to 7.5.4 #240

merged 3 commits into from Jan 17, 2024

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Jan 13, 2024

Description

... as per Dependabot (CVE-2022-25883).

After the first release of this feature the version will
always be non-undefined
@paulo-ferraz-oliveira
Copy link
Collaborator Author

We should probably create a minor release, after this one, for the security update, and for the new feature.

@@ -20,13 +20,6 @@ jobs:
sed -i'.bak' \
-e "s/const setupBeamVersion = '.*'/const setupBeamVersion = '${SHA}'/g" \
dist/index.js
# it always starts by being 'undefined'
Copy link
Member

Choose a reason for hiding this comment

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

Is this intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes. I mean it's not directly related to my initial intention, but it doesn't always start by being undefined, since once we change it, it goes to the dist and then it's not undefined any more 👍

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I ended up tweaking it more after I tried to do another pull request and run into "issues". (basically we need to update the .js that we usually do and then run npm run build-dist instead of only doing the change in the dist files)

We stop doing dist vs. src checks on non-main,
  since main will always run `npm run build-dist`
We start changing `src/setup-beam.js` instead of `dist`,
  so local changes don't show changes to untouched elements
We improve on the commit message to show this was not
  a pull request or human
@paulo-ferraz-oliveira paulo-ferraz-oliveira merged commit bc84950 into main Jan 17, 2024
60 checks passed
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the fix/semver branch January 17, 2024 23:32
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.

None yet

2 participants