
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@ferry-core/oar
Advanced tools
By YanPan
Oar 是基于 Axios 的扩展网络请求库,兼容 Axios 基本用法,并对部分 Axios 的默认配置进行了封装和扩展:
| 参数 | 类型 | default | 说明 |
| --------------- | ------- | ------------- | -------------------------- | ------------------------------- |
| allowCsrf | boolean | true | 默认 post 请求带 csrf 参数 |
| csrfKeyName | string | Array | ['csrf_token', 'csrf'] | post 请求的自定义 csrf 校验字段 |
| withCredentials | boolean | true | 默认允许带 cookie |
Oar 默认设置了请求及响应拦截器,提供了以下功能:
request 拦截器
application/x-www-form-urlencoded 格式发送response 拦截器
npm i -D @ferry-core/oar # 或 yarn add -D @ferry-core/oar
FAQs
A RESTful HTTP request lib with default config
We found that @ferry-core/oar 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 Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.