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

Fix deprecation warnings #96

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

ChrisdeWolf
Copy link
Contributor

@ChrisdeWolf ChrisdeWolf commented Oct 23, 2024

  • resolve moderate severity npm audit warning with tough-cookie override
  • fix deprecation warning message for tests by updating Buffer
  • add package-lock to .gitignore

…e, fix deprecation warning message for tests by updating Buffer, add package-lock to .gitignore
package.json Outdated
@@ -28,6 +28,7 @@
"lint": "eslint src/ src-test/ --max-warnings 0",
"test": "npm run precheck && mocha src-test/ --timeout 60000 --reporter dot && npm run lint"
},
"overrides": { "tough-cookie": "~4.1.3" },
Copy link
Owner

Choose a reason for hiding this comment

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

Is it wise to put an overrides in a package? This seems like people should do on a per-project basis, not me as a package maintainer

Copy link
Owner

Choose a reason for hiding this comment

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

i.e. Thoughts on making this as a workaround explained in #93 until get-pixels puts out a proper release?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thats a fair workaround. Definitely your call as the package maintainer - removed the override.

Copy link
Owner

Choose a reason for hiding this comment

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

Cool, thanks! I'll post a comment to #93 with attribution to you then =)

@ChrisdeWolf ChrisdeWolf changed the title Fix vulnerability/deprecation warnings Fix deprecation warnings Oct 23, 2024
Copy link
Owner

@twolfson twolfson left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@twolfson twolfson merged commit 85aa32a into twolfson:master Oct 23, 2024
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