
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
@evilemon/lowcode-datasource-engine
Advanced tools
低代码引擎数据源核心代码
[原理介绍](https://yuque.antfin-inc.com/docs/share/6ba9dab7-0712-4302-a5bb-b17d4a5f8505?# 《DataSource Engine》)
[fetch流程图](https://yuque.antfin-inc.com/docs/share/e9baef9a-3586-40fc-8708-eaeee0d7937e?# 《fetch 流程》)
// 面向运行时渲染,直接给 schema
import { create } from '@alilc/lowcode-datasource-engine/interpret';
// 面向出码,需要给处理过后的内容
import { create } from '@alilc/lowcode-datasource-engine/runtime';
import { createFetchHandler } from '@alilc/lowcode-datasource-fetch-handler';
import { createMtopHandler } from '@alilc/lowcode-datasource-mtop-handler';
// dataSource 可以是 schema 协议内容 或者是运行时的转化后的配置内容 (出码专用)
// context 上下文(setState 为必选)
const dataSourceEngine = create(dataSource, context, {
requestHandlersMap: { // 可选参数,以下内容为当前默认的内容
urlParams: handlersMap.urlParams('?bar=1&test=2'),
fetch: createFetchHandler,
mtop: createMtopHandler
},
});
console.log(dsf.dataSourceMap) // 符合集团协议的 datasourceMap https://yuque.antfin-inc.com/mo/spec/spec-low-code-building-schema#QUSn5
dsf.dataSourceMap['id'].load() // 加载
dsf.dataSourceMap['id'].status // 获取状态
dsf.dataSourceMap['id'].data // 获取数据
dsf.dataSourceMap['id'].error // 获取错误信息
dsf.reloadDataSource(); // 刷新所有数据源
FAQs
DataSource Engine for lowcode
We found that @evilemon/lowcode-datasource-engine demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.