
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
astore-loader
Advanced tools
SDK
loader([ComPrototype], {}, (obj) => {
console.log(obj);
this.setState({
ModClass: obj[moduleData.name],
});
})
loader.initRequire(window);
// 浏览器环境传入window对象,weex环境传入global,调用前确保window.useInternalRequire为true
// 开启自动 combo 模式 combine:true, // 加载依赖方式,待定? loaderMode: 'ALL', // js Domain建议改成assetsHost assetsHost: 'g.alicdn.com', // 默认false,如果为true,在script上会增加crossorigin='anonymous' crossorigin: false, // 2k(2048) uri length comboMaxUriLength: 2000, // file limit number for a single combo uri comboMaxFileNum: 40, // 依赖版本白名单 depsWhiteList: [],
| API | 说明 | 类型 | 默认值 | 是否必填 |
|---|---|---|---|---|
| config | 设置加载起配置 | func | {} | 否 |
| require | 加载一段cmd代码 | func | 无 | 否 |
| shim | 设置全局访问 | {} | 无 | 否 |
| loadAssets | 加载资源 | undefined | 无 | 否 |
| loadModules | 加载模块 | undefined | 无 | 否 |
| loadDeps | 加载模块的依赖 | undefined | 无 | 否 |
| loaderConfig | 加载器当前配置 | Object | 无 | 否 |
FAQs
SDK组件加载器
We found that astore-loader 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.