Advertisement ยท 728 ร— 90

Posts by James

Many of the large supply chain breaches are classic phishing attacks too (fake login flow to capture 2fa).

Generally just a good idea not to click links and not to install prompted things

7 hours ago 2 0 1 0

Awesome work by Florian here. Always happy to be able to collab with such great people too ๐Ÿ™

7 hours ago 14 1 0 0

they're local in this case too - your editor/debugger/etc downloads and caches them at debug time is all, rather than install time.

if the language was always that way, all your tools would do this fetch-on-demand logic. so you'd never know any difference

1 day ago 2 0 0 0

this is why taking that line out of context loses a lot of meaning.

packages shouldn't include sourcemaps _if there was such a thing as a symbol/sourcemap server standardised_

1 day ago 1 0 1 0

you do, because we don't have symbol servers like other languages do.

if node/browsers always had a concept of a symbol server to host sourcemaps, do you think you would still prefer to ship sourcemaps? I doubt it would've even crossed your mind because it would've never been how we do things

1 day ago 2 0 1 0

interesting ๐Ÿ‘€ so does this roughly work by having no sourcemap URLs in the runtime code, but uploading them to sentry somewhere? and this resolves them from the sentry server when processing a stack trace?

1 day ago 1 0 1 0

for sure. some kind of registry that is aware of these IDs would achieve the same as a symbol server i think

1 day ago 1 0 1 0

not quite. you still need to ship your sourcemaps with your production code today, especially since node doesn't support cross-origin sourcemaps yet (or only very recently does).

the package you publish to npm shouldn't contain sourcemaps. a separate resource should (same way symbol servers work)

1 day ago 2 0 1 0

Though this is made difficult by the fact we bundle our dependencies. Often we have maps of maps of maps.

But bundlers too could pull from the server in order to create their own map etc.

1 day ago 3 0 0 0

Source map servers should be a thing ๐Ÿ‘€

Just like in c# land - they should be downloaded when debugging rather than shipped with prod code

1 day ago 26 3 3 0
Advertisement

What was the reasoning for not going esm only?

Can the pre-node-20 cjs consumers not use the old major?

Seems a shame to see packages _introducing_ dual these days

1 day ago 1 0 1 0

Reviving my spare laptop so I can have a Linux machine again and some tiling wm goodness ๐Ÿฅน

1 day ago 13 0 2 0

Very nice work ๐ŸŽ‰ what was the biggest saving?

1 day ago 1 0 0 0

seems my brain still thinks it is in Canada time ๐Ÿ˜ด

1 day ago 3 0 1 0

hah! maybe we need a few more major versions of it to show it isn't unmaintained ๐Ÿ˜‚

2 days ago 2 0 1 0

bad wes! ๐Ÿ˜‚

2 days ago 2 0 1 0

what tools or runtime JS libraries do you use that you wish were faster?

2 days ago 4 0 4 0

I do want to implement that at some point too ๐Ÿ˜€

This is a good start that I'm sure will give me lots of ideas to extend it ๐Ÿ˜„

2 days ago 3 0 1 0
Video

revived the multiline prompt PR that was contributed some time ago in clack.

reworked it heavily and its almost ready to go!

2 days ago 25 1 1 1
Advertisement

npmx.dev/package/is-two

2 days ago 5 0 3 0

i started making an "is this npm package real?" quiz but all the fake ones i could think of were real

2 days ago 57 4 6 1

good to be back home. now time to catch up on too many things ๐Ÿ˜€

2 days ago 5 0 0 0

hah yes sounds very familiar ๐Ÿ˜„

3 days ago 2 0 0 0

Was great to meet you! Glad you could join us ๐Ÿ™

3 days ago 2 0 0 0

Aw yeah look at that awesome @e18e.dev sticker! ๐Ÿ”ฅ

3 days ago 3 0 1 0

ESLint recently decided all their repos will have no lock files so it is "representative of what end users see".

I wish I could kill that myth ๐Ÿ˜… barely any end users have the very latest of everything deeply

3 days ago 6 0 1 0

City life is the best ๐Ÿ˜€

A lot of it will just be the fact you're in a shared office for a change too I suspect ๐Ÿ˜„

3 days ago 4 0 1 0

The e18e GitHub action should do this too if it doesn't already. It's as simple as detecting repo changes

3 days ago 2 0 0 0

I did ๐Ÿ˜„ the flight was too delayed. All good though I'm on my way back home now!

3 days ago 2 0 1 0
Advertisement

maybe this axios supply chain attack will push people to switch to native fetch ๐Ÿ‘€

3 days ago 54 4 0 0