Re:State of the Web: Deno
by andrewmcwatters on Monday January 10, 2022 @11:06AM
(#29876891)
Now instead of npm packages abusing SemVer unless you use non-default --save-exact behavior as an attack vector, we can import modules from URLs without subresource integrity unless you use non-default lock file behavior! Great! We learned nothing!
[ Parent
| on HN ]
Hence why developers always recommend to use immutable sources when importing modules
Re:State of the Web: Deno
by andrewmcwatters on Monday January 10, 2022 @12:36PM
(#29878369)
The web isn't immutable.
"Immutable" in the sense that packages can't be taken down or modified by authors
If you wanna take it a step further, you can always opt in to that lock file with various degrees of strictness as you yourself mentioned