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

@easyv/admin-utils

Package Overview
Dependencies
Maintainers
12
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/admin-utils - npm Package Compare versions

Comparing version 0.0.3-beta.1 to 0.0.3-beta.2

24

dist/types/index.d.ts

@@ -314,17 +314,17 @@ type ComponentConfig = any[];

interface FetchRequest {
url: string
params?: Record<string, any>
query?: Record<string, any>
body?: string | FormData
keys?: unknown[]
url: string;
params?: Record<string, any>;
query?: Record<string, any>;
body?: string | FormData;
keys?: unknown[];
options?: {
headers?: HeadersInit // Record<string, unknown>
credentials?: 'omit' | 'same-origin' | 'include'
signal?: AbortSignal
hideError?: boolean
error?: (...args) => void
}
headers?: HeadersInit; // Record<string, unknown>
credentials?: 'omit' | 'same-origin' | 'include';
signal?: AbortSignal;
hideError?: boolean;
error?: (...args) => void;
};
}
declare function request({ url, params, query, body, options }: FetchRequest): Promise<Response>;
declare function request({ url, params, query, body, options, }: FetchRequest): Promise<Response>;

@@ -331,0 +331,0 @@ /**

{
"name": "@easyv/admin-utils",
"version": "0.0.3-beta.1",
"version": "0.0.3-beta.2",
"description": "easyv/twin 公共 utils 集合",

@@ -5,0 +5,0 @@ "types": "./dist/types/index.d.ts",

@@ -1,46 +0,49 @@

# Modern.js Package
# EasyV 平台侧 utils 合集
## Setup
**用途**: 主要解决不同项目(easyv/twin)使用相同函数,维护起来麻烦且易漏
Install the dependencies:
**目标**: 平台内部项目公共函数大合集
```bash
pnpm run install
```
## 安装
## Get Started
`pnpm add @easyv/admin-utils`
Run and debug the module:
`npm install @easyv/admin-utils`
```bash
pnpm run dev
```
`yarn add @easyv/admin-utils`
Run test cases:
## 用法
```bash
pnpm run test
```
**当前主要分为以下四类** (按照业务划分)
Build the module for production:
- twin
- gui
- easyv
- common
```bash
pnpm run build
```
## 贡献
Enable optional features:
易知微引擎团队负责维护
```bash
pnpm run new
```
## 联系方式
Other commands:
若有需求可直接 pr 或者联系当前易知微引擎团队主管@逍遥
```bash
pnpm run lint # Lint and fix source files
pnpm run change # Add a new changeset
pnpm run bump # Update version and changelog via changeset
pnpm run release # Release the package
```
## 附录
For more information, see the [Modern.js Module documentation](https://modernjs.dev/module-tools/en).
包含任何其他相关信息,例如:
- 常见问题解答
问:后端有使用吗?
答:后端前端共同使用了 `src/easyv/theme*.ts`,用于 easyv 主题替换功能
***
问:gui 是@easyv/gui 全量 utils 吗?
答:是全量 (@easyv/gui@1.20.6)
- 已知问题
- 更新日志

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc