New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@aidc/ali-modules

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aidc/ali-modules

此包内容由脚本自动下载和生成,请勿修改代码!

0.1.75
latest
Version published
Weekly downloads
66
73.68%
Maintainers
2
Weekly downloads
 
Created

请勿修改此包内容

此包内容由脚本自动下载和生成,请勿修改代码!

由于这些依赖只能在阿里内网安装,使用外部平台进行部署时无法安装。所以通过脚本把这些依赖同步到本地,跟源码一起上传到 Git 仓库,这样项目就可以直接部署在 vercel 等外部平台。

同步依赖:(需在阿里内网执行)

$ pnpm x:sync-ali-modules

Hack: 修改代码

我们修改了卡顿插件的 duration 阈值,如果重新同步了依赖,请再加上这行代码。

文件:

/app-packages/ali-modules/@ali/node_modules/@ali/aes-tracker-plugin-longtask/es/index.js

代码:

if (entry.duration < 300) return;

hack

FAQs

Package last updated on 11 Feb 2025

Did you know?

Socket

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.

Install

Related posts