Skip to content

Fix security issue & updates dependencies#307

Merged
dschenk merged 3 commits intogridonic:masterfrom
Antonio-Laguna:master
Mar 21, 2023
Merged

Fix security issue & updates dependencies#307
dschenk merged 3 commits intogridonic:masterfrom
Antonio-Laguna:master

Conversation

@Antonio-Laguna
Copy link
Copy Markdown
Contributor

Hey @dschenk !

Hope everything is going well. I've been getting alerts when using this plugin because there is a critical security issue. I've linked it on the CHANGELOG.

I also took the chance to bump everything else as much as I could without any major hiccups except for the exception test.

Let me know if you have further questions here!

Comment thread test/index.test.js
expect(e).toBeInstanceOf(TypeError)
)
expect(() => {
return run('basic', { data: pkg, pattern: null })
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Changed '' by null given that the original code tests for typeof options.pattern === 'string' I'm unsure how this worked before since an empty string is actually a string after all

@dschenk
Copy link
Copy Markdown
Member

dschenk commented Mar 21, 2023

Hi Antonio-Laguna

Thanks for the PR! Greatly appreciated.

@dschenk dschenk merged commit 95ea15d into gridonic:master Mar 21, 2023
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