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.
@mapoio/ctrip-apollo-client
Advanced tools
Apollo(阿波罗)是携程框架部门研发的分布式配置中心,能够集中化管理应用不同环境、不同集群的配置,配置修改后能够实时推送到应用端,并且具备规范的权限、流程治理等特性,适用于微服务配置管理场景。
本项目为Node.js 客户端,工作原理如下:
配置中心配置以点分隔如 mysql.host:127.0.0.1
,客户端会自动转化为Json
{ mysql:{ host: 127.0.0.1 } } }
Examples 使用下面的环境作为测试服务,可直接运行。
apollo
admin
注入方式 | 性能 | 用例数 |
---|---|---|
一次性注入 | 736,896,802 ops/sec | 82 runs sampled |
支持热更新 | 2,021,310 ops/sec | 87 runs sampled |
热更新默认值 | 1,581,645 ops/sec | 87 runs sampled |
装饰器注入 | 2,161,312 ops/sec | 87 runs sampled |
原生访问 | 704,644,395 ops/sec | 82 runs sampled |
MIT
FAQs
本项目为携程配置中心框架 Apollo 提供的Node.js版本客户端。
The npm package @mapoio/ctrip-apollo-client receives a total of 0 weekly downloads. As such, @mapoio/ctrip-apollo-client popularity was classified as not popular.
We found that @mapoio/ctrip-apollo-client 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.