Better HN
topnewbestaskshowjobs
Log inSign up

fr3dx

23 karma · joined Mar 3, 2020 (6y ago) · 5 submissions

Submissions

comment 3mo ago · link · parent

> Imported packages are not pinned by default

What do you mean? The lockfile of all package managers is there for pinning the exact versions. For yarn and pnpm, installs on CI run automatically from lockfile only, for npm I think you still need to run `npm ci` instead of `npm install`. But this guarantees that no new versions get pulled automatically in by CI.

> Typescript / Javascript's lack of a standard library

That's true, but it's not an issue of the package manager / registry

> Post install scripts execute external code by default upon downloading dependencies.

They are disabled by default in all package managers now, the user needs to manually allow them

comment 5mo ago · link · parent

There is a builtin sandbox and various third-party options https://code.claude.com/docs/en/sandbox-environments

comment 10mo ago · link · parent

It is mentioned in the cloudflare blog post [1]

"At Cloudflare, we use Astro, too — for our developer docs, website, landing pages, and more"

[1] https://blog.cloudflare.com/astro-joins-cloudflare/

comment 6y ago · link · parent

> But now, browsers don’t share caches between origins for privacy reasons

I didn't heard about this thing until today, are you sure that it is already implemented in all major browsers? I have found this source [1] but for what I can tell, at the moment this feature is behind a flag in chromium and firefox (maybe it is already implemented in Safari).

[1] https://www.jefftk.com/p/shared-cache-is-going-away

5.

Show HN: Web App for generating mocked data from an OpenAPI specification(github.com ↗)

19 points · by fr3dx · 6y ago · 1 comment