Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
avoscloud-code-mock-sdk
Advanced tools
为了方便本地运行和调试云代码,请遵照下列步骤进行:
sudo npm install -g avoscloud-code-mock-sdk
安装调试SDK。以后更新升级也请执行此命令。avoscloud
,将启动本地调试服务器。http://localhost:3000/
即可访问到你的云主机代码,子路径按照你在app.js
里配置的即可访问。curl -X POST -H 'Content-Type:application/json' \
-d '{ "name": "dennis"}' \
http://localhost:3000/avos/hello
其中hello是你通过AV.Cloud.define
定义的函数名称。
curl -X POST -H 'Content-Type:application/json' \
-d '{ "name": "dennis"}' \
http://localhost:3000/avos/MyUser/beforeSave
其中MyUser
是className,beforeSave指定调用MyUser
定义的beforeSave函数,其他函数类似。
FAQs
AVOSCloud Cloud Code Mock SDK.!
The npm package avoscloud-code-mock-sdk receives a total of 1 weekly downloads. As such, avoscloud-code-mock-sdk popularity was classified as not popular.
We found that avoscloud-code-mock-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.