idurar / mern-admin Goto Github PK
View Code? Open in Web Editor NEWMERN Antd Admin MongoDB Nodejs React Node Js Rest Api CRUD Auth
Home Page: https://cloud.idurarapp.com/
License: MIT License
MERN Antd Admin MongoDB Nodejs React Node Js Rest Api CRUD Auth
Home Page: https://cloud.idurarapp.com/
License: MIT License
when u delete one row you can't delete another one
检测到 idurar/starter-antd-admin-crud-auth-mern 一共引入了210个开源组件,存在1个漏洞
漏洞标题:mpath module 安全漏洞
缺陷组件:[email protected]
漏洞编号:CVE-2021-23438
漏洞描述:mpath module是一款使用类似MongoDB的路径表示法获取/设置javascript对象值的模块。
mpath module 0.8.4 之前存在安全漏洞,该漏洞源于类型混淆,如果输入是数组,则调用的方法是 Array.prototype.indexOf() 而不是 String.prototype.indexOf()。
影响范围:(∞, 0.8.4)
最小修复版本:0.8.4
缺陷组件引入路径:[email protected]>[email protected]>[email protected]
另外还有几个漏洞,详细报告:https://mofeisec.com/jr?p=aba3f8
nodemon not working is there any errors in building the model? If I run it with npm start, nothing is visible in the browser after a while
I am going to subscribe event from polygon mainnet token contract, but connection not open to send() error comes out
`
const { contractAddress } = process.env;
const Web3 = require('web3');
const url = 'wss://ws-mumbai.matic.today/';
const web3 = new Web3(url);
const options = {
reconnect: {
auto: true,
delay: 1000, // ms
maxAttempts: 1,
onTimeout: false,
},
address: contractAddress,
topics: [
'0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef',
],
function initSubscription() {
web3.eth
.subscribe('logs', options, (error, result) => {
if (!error) console.log('got result');
else console.log('error - ', error);
})
.on('data', (log) => {
console.log('got data', log);
})
.on('changed', (log) => {
console.log('changed');
});
}
};`
wss url is not right?
This error probably occurred because you updated react-scripts or craco. Please try updating craco-less to the latest version:
$ yarn upgrade craco-less
Or:
$ npm update craco-less
If that doesn't work, craco-less needs to be fixed to support the latest version.
Please check to see if there's already an issue in the DocSpring/craco-less repo:
If not, please open an issue and we'll take a look. (Or you can send a PR!)
You might also want to look for related issues in the craco and create-react-app repos:
at throwUnexpectedConfigError (C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\plugin-utils.js:29:11)
at throwError (C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:14:5)
at C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:100:9
at Array.forEach (<anonymous>)
at createLessRule (C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:32:13)
at Object.overrideWebpackConfig (C:\Users\aec\Downloads\CMS\frontend\node_modules\craco-less\lib\craco-less.js:127:18)
at overrideWebpack (C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\features\plugins.js:42:40)
at C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\features\plugins.js:64:29
at Array.forEach (<anonymous>)
at applyWebpackConfigPlugins (C:\Users\aec\Downloads\CMS\frontend\node_modules\@craco\craco\lib\features\plugins.js:63:29)
(Use node --trace-warnings ...
to show where the warning was created)
(node:11292) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:11292) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Hello,
Can you provide some details on how to setup everything up for devs to work on the project as a boilerplate? there does not seem to be any documentation in the readme on setup. Specifically for the backend and database.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.