Giter Club home page Giter Club logo

personal_web's People

Contributors

dependabot[bot] avatar jozefhruska avatar pustelto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

sdennett55

personal_web's Issues

Malformed sizes attribute value for blog post images

Hello!

Just read your Optimizing CSS for faster page loads article, great read! As someone also curious about frontend performance, I decided to check how you were using responsive images and noticed that for your blog post images the sizes attribute is set as as: sizes="100vw, (min-width: 39.5rem) 608px".

The order of the media queries matter, and the first one that "matches" is selected. So the browser goes, oh the display size is 100vw, you got it! Therefore, users are requesting the largest (1800px) file in some cases (my browser window maximized on my display is 1905px wide, so the browser assumes the display size of the image is 1905px).

Just reverse the order sizes="(min-width: 39.5rem) 608px, 100vw" and I think you'll shave off some KBs. I was going to fork and make the one line contribution, but I haven't used eleventy before and so I'm not sure how to build and test.

同学,您这个项目引入了1019个开源组件,存在34个漏洞,辛苦升级一下

检测到 Pustelto/personal_web 一共引入了1019个开源组件,存在34个漏洞

漏洞标题:serialize-javascript 代码问题漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2020-7660
漏洞描述:Verizon serialize-javascript是美国威瑞森电信(Verizon)公司的一款支持将JavaScript序列化为 JSON超集的软件包。
serialize-javascript 3.1.0之前版本中存在代码问题漏洞。远程攻击者可借助index.js文件中的‘deleteFunctions’函数利用该漏洞注入任意代码。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2020-53801
影响范围:(∞, 3.1.0)
最小修复版本:3.1.0
缺陷组件引入路径:[email protected]>[email protected]>[email protected]>[email protected]
[email protected]>[email protected]>[email protected]

另外还有34个漏洞,详细报告:https://mofeisec.com/jr?p=a159e3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.