GithubHelp home page GithubHelp logo

react-bilibili's Issues

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

检测到 dxx/react-bilibili 一共引入了615个开源组件,存在28个漏洞

漏洞标题: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]

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

近期有没有升级webpack5的打算?

我自己尝试升级,遇到一个问题,无法解决

Your app is running
(node:78354) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
	Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
	Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
webpack built 557c9f15e8f62ac12901 in 4803ms
No issues found.
======enter server======
visit url: /
[class ServerRenderer] serverEntry
TypeError: createStore is not a function
    at /Users/dingxiaohui/Documents/web/react-ssr/server/renderer.js:23:21
    at new Promise (<anonymous>)
    at ServerRenderer.renderToString (/Users/dingxiaohui/Documents/web/react-ssr/server/renderer.js:14:12)
    at render (/Users/dingxiaohui/Documents/web/react-ssr/server/index.js:36:12)
    at /Users/dingxiaohui/Documents/web/react-ssr/server/index.js:53:27
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
======enter server======
visit url: /favicon.ico

目前就这一个错误了,如果你有打算升级webpack5,到时候可以学习一下。

真不错

其实不是提问题,但是老哥写的确实不错,对我这种刚开始写react的有很多参考意义。

跑不起来,报错

报错1:Interface 'NodeRequire' cannot simultaneously extend types 'RequireFunction' and 'Require'. Named property 'resolve' of types 'RequireFunction' and 'Require' are not identical
报错2:Subsequent variable declarations must have the same type. Variable 'URL' must be of type '{ new (url: string, base?: string | URL): URL; prototype: URL; createObjectURL(object: any): string; revokeObjectURL(url: string): void; }', but here has type '{} | typeof URL'.
还有很多报错,暂时列出了这几个,网上找了很久也没找到答案

请求一下后端开发的相关流程

大佬 想请问一下你的数据获取的接口大致有什么 我们这个学期大作业想模仿B站做个网页,不需要做完(也做不完~~~) 想问一下访问例如首页时 需要什么接口等等

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.