![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
通用前端监控工具,arms寓意为武器。
阿里arms的api未能自动上报前端js错误,不带js错误分析集成(自行解析错误堆栈),不能自动上传souceMap,需要对接上传和解析
本工具定义为前端监控工具包,目的为多项目公用和后续可扩展为多个错误收集源等。功能包括:
- 捕获拦截【全局错误自定义追踪】
- 功能扩展【open api封装扩展】
- 错误自定义上报【区分环境版本,错误堆栈解析和主动上报】
- 分析对接【sourceMap自动上传和分析接入】
目前错误上报源只有阿里arms
$ yarn add @xccjh/arms
// @/utils/alife.js
import store from '@/store'
import envProcess from '@/utils/env'
import { AliArmsManager } from '@xccjh/arms'
import packageJson from '/package.json'
export class AliArms {
static #getAliArms
static initAliArms() {
this.#getAliArms = new AliArmsManager({
uid: store.getters?.curUser?.uid,
pid: 'xxxx', // 👈 这是应用pid
appType: 'web',
imgUrl: 'https://arms-retcode.aliyuncs.com/r.png?',
sendResource: true,
enableLinkTrace: true,
behavior: true,
useFmp: true,
enableSPA: true,
release: packageJson.version,
environment: {
sit: 'local',
test: 'daily',
prod: 'prod',
gray: 'gray'
}[envProcess.env.ENV_CONFIG]
})
return this.#getAliArms
}
static getAliArms() {
return this.#getAliArms ?? this.initAliArms()
}
static errReport(err) {
AliArms.getAliArms().errReport(err)
}
}
// @/main.js
import { AliArms } from '@/utils/alife'
AliArms.initAliArms() // 👈 全局js错误自动上报
// @/errorLog.js
import { AliArms } from '@/utils/alife'
Vue.config.errorHandler = function(err, vm, info, a) {
AliArms.errReport(err) // 👈 手动上报
}
新增api链路追踪对接
FAQs
arms、fs、oss、日志监控
We found that @94ai/arms 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.