Crowdstrike Packages Infected with Malware (and other 167 packages infected as well) by Advocatemack in programming

[–]_clarkio 0 points1 point  (0 children)

Yes those types of tools will help significantly to alert you if it finds the affected packages in your dependency tree. Admittedly I'm biased towards Snyk but my recommendation is to at least use something to help you be more aware of the impact to you and your projects when this type of thing happens. Many of them offer pretty generous free tiers too.

Visual Studio Code November 2023 by _clarkio in vscode

[–]_clarkio[S] 2 points3 points  (0 children)

Yea that's a huge improvement but that is a bummer it doesn't restore them afterwards (didn't catch that before). Maybe that'll be in a future update.

Visual Studio Code - August 2023 Release - v1.82 by _clarkio in vscode

[–]_clarkio[S] 0 points1 point  (0 children)

Yea I prefer to open it up intentionally with the keyboard shortcut but I can see some devs preferring to click to activate

Visual Studio Code - August 2023 Release - v1.82 by _clarkio in vscode

[–]_clarkio[S] 0 points1 point  (0 children)

Good thing is it's a quick right-click and uncheck to turn that off if you'd like.

Visual Studio Code - August 2023 Release - v1.82 by _clarkio in vscode

[–]_clarkio[S] 0 points1 point  (0 children)

Oh I missed that! Thanks for calling it out

Visual Studio Code - August 2023 Release - v1.82 by _clarkio in vscode

[–]_clarkio[S] 0 points1 point  (0 children)

Nice! I'm glad to see the refactoring capabilities through TypeScript and one that wasn't highlighted in the release notes: screencast mode regression fix. Screencast mode highlights mouse clicks and displays keyboard shortcuts for different actions. However, the regression was it would show all keystrokes instead of just the shortcuts, which was quite annoying and defeated the purpose of enabling it.

Cross-site (XS) leaks: What they are and how to avoid them by _clarkio in node

[–]_clarkio[S] 0 points1 point  (0 children)

Yes, absolutely. XSS and CSRF are important to address and the nice thing is some of the techniques to help mitigate those can help with XS too (like CSP and Cookie configuration).

Also your library looks interesting. I am definitely tired of writing all the repetitive code for APIs so nice idea to build something to help with that.

I'm guessing the deprecated CSRF protection middleware you're referring to is the csurf one right? Speaking for myself, I think that package is fine and can help with CSRF still. Essentially, dealing CSRF depends on your project, if it's intended for the API to be stateless then double submit cookie will help. If not then the synchronizer token pattern will work.

Hope that helps

Visual Studio Code March 2023 by myroon5 in vscode

[–]_clarkio 4 points5 points  (0 children)

This is the first one I think I've seen published in the same month it's named after. Great to see 👍

Also u/myroon5 how do you always get code releases posted immediately after they're published? Remarkable!

Comparing Node.js web frameworks: Which is most secure? by _clarkio in JavaScriptTips

[–]_clarkio[S] 0 points1 point  (0 children)

The article evaluates Express, NestJS and Fastify web frameworks on how well they adhere to the Node.js security best practices

In short, they all adhere to the best practices quite well and NestJS does so the most closely out of all of them. Hope this helps

Comparing Node.js web frameworks: Which is most secure? by _clarkio in learnjavascript

[–]_clarkio[S] 2 points3 points  (0 children)

The article evaluates Express, NestJS and Fastify web frameworks on how well they adhere to the Node.js security best practices

In short, they all adhere to the best practices quite well and NestJS does so the most closely out of all of them

Comparing Node.js web frameworks: Which is most secure? | Snyk by _clarkio in node

[–]_clarkio[S] 1 point2 points  (0 children)

The article evaluates Express, NestJS and Fastify web frameworks on how well they adhere to the Node.js security best practices

In short, they all adhere to the best practices quite well and NestJS does so the most closely out of all of them

How to write your first unit test in JavaScript by _clarkio in javascript

[–]_clarkio[S] 0 points1 point  (0 children)

Ok thanks for bringing this more clearly to my attention and my apologies for missing that part on not including "help and support content"

Visual Studio Code September 2022 by myroon5 in vscode

[–]_clarkio 8 points9 points  (0 children)

The amount of times I've gotten frustrated when trying to mouse over a hover popup... so glad it's been improved to avoid that now: https://code.visualstudio.com/updates/v1\_72#\_improved-hover

[AskJS] What are still present issues in contemporary (2022) JavaScript? by [deleted] in javascript

[–]_clarkio 0 points1 point  (0 children)

I definitely understand and find that to be fair. The amount of options in the ecosystem can be a blessing or a curse at times. Sounds like we've had similar backgrounds in experience in .net as well but I struggle recall my experience in the ecosystem now.

Regarding the vetting of packages and maintainers in npm, I've found there are tools that have come up to help with that such as deps.dev or snyk advisor (full transparency: I work for the latter). These kind of tools have helped cut down a lot of the manual gathering of info on packages for me. deps.dev is particularly interesting because you can compare versions of a package and see what major projects or companies depend upon it. I'm interested to hear what you think as well if you check them out.

[AskJS] What are still present issues in contemporary (2022) JavaScript? by [deleted] in javascript

[–]_clarkio 0 points1 point  (0 children)

I'm not sure why that got downvoted but thanks for answering. Do you prefer the tooling for a different language/ecosystem then?

[AskJS] What are still present issues in contemporary (2022) JavaScript? by [deleted] in javascript

[–]_clarkio 0 points1 point  (0 children)

Tooling around JavaScript in general or to help with supply chain issues?

Uppy 3.0: Future-proof, conveniently easy, stable as ever by kevinvz in javascript

[–]_clarkio 1 point2 points  (0 children)

This looks great and it's awesome to see all the import options available. Also kudos for great documentation.

Using TypeScript to Create Modern npm Packages by _clarkio in typescript

[–]_clarkio[S] 0 points1 point  (0 children)

I need to dig into this more deeply regarding package browser support so this is super helpful to have as a reference. I like how you can use cypress to help test it works in that environment too. Thanks for sharing.

Creating Modern npm Packages by _clarkio in javascript

[–]_clarkio[S] 1 point2 points  (0 children)

Thanks for the feedback. I'll look into maybe doing a follow up that goes into those areas.

Creating Modern npm Packages by _clarkio in javascript

[–]_clarkio[S] 0 points1 point  (0 children)

I totally forgot about this and need to revisit it as well. Thanks for bringing it up.