HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Ciunkos

no profile record

comments

Ciunkos
·6 месяцев назад·discuss
Ref: https://www.southparkstudios.com/video-clips/qcl2i8/south-pa...
Ciunkos
·7 месяцев назад·discuss
Take a look at GitHub’s <relative-time> element - works great as a progressive enhancement: https://github.com/github/relative-time-element
Ciunkos
·7 месяцев назад·discuss
There is inherent risk of such low level frameworks over React, that is they allow you to easily blow your foot off, by injecting raw unsanitized HTML back for dynamic execution. A thing that would not work in React apps by default. Even on those demos, you can XSS yourself with the simplest payload, confirming my point.
Ciunkos
·7 месяцев назад·discuss
On Node.js there are some hardening flags like --disable-proto=throw and --frozen-intrinsics to mitigate/crash on prototype pollution, and to prevent dynamic evals with --disallow-code-generation-from-strings - however, Vercel doesn't seem to support custom node runtime options.