
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
egg-assets提供了通用的静态资源管理和本地开发方案,有如下功能
灵感主要来自于egg-view-essets,部分区别于它
| egg-assets 版本 | egg 1.x |
|---|---|
| 1.x | 😁 |
| 0.x | ❌ |
// config/plugin.js
exports.assets = {
enable: true,
package: 'egg-assets',
};
在模板中通过 helper 引用 assets,只需要传入 entry 即可
helper.assets.getStyle('css/entry.css')
helper.assets.getScript('js/entry.js')
请到 config/config.default.js 查看详细配置项说明。
请到 egg issues 异步交流。
FAQs
Manage frontend assets in development and production with webpack manifest.json
We found that egg-assets 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.