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

feat/nodejs_sanitize_lockfile #665

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

hsjobeki
Copy link
Contributor

@hsjobeki hsjobeki commented Sep 11, 2023

Adds checks for invalid lockfiles.

Cleanup some comments and variable naming stuff

@hsjobeki hsjobeki changed the title WIP: feat/cleanup v3 feat/nodejs_sanitize_lockfile Oct 13, 2023
@hsjobeki hsjobeki requested a review from DavHau October 13, 2023 08:28
@@ -24,5 +30,5 @@
then throw "${search} not found in package-lock.json."
else findEntry packageLock (stripPath currentPath) search;
in {
inherit findEntry stripPath;
inherit findEntry stripPath sanitizeLockfile;
Copy link
Member

Choose a reason for hiding this comment

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

sanitizeLockFile -> ensureLockFileVersion?

# isOptional = pent: pent.optional or false;
# isInBundle = pent: pent.inBundle or false;
# hasInstallScript = pent: pent.hasInstallScript or false;
# getBin = pent: pent.bin or {};
Copy link
Member

Choose a reason for hiding this comment

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

Can these be removed?

@DavHau DavHau added the nodejs label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants