@alicloud/console-one-config
Advanced tools
Comparing version 1.1.83 to 1.1.84
@@ -1,6 +0,5 @@ | ||
HISTORY | ||
=== | ||
# CHANGELOG | ||
# 1.0.0 2020/11/30 @驳是 | ||
## 1.0.0 2020/11/30 @驳是 | ||
* 开源第一版 |
{ | ||
"name": "@alicloud/console-one-config", | ||
"version": "1.1.83", | ||
"version": "1.1.84", | ||
"description": "OneConsole Config 对象解析与封装", | ||
@@ -28,7 +28,7 @@ "license": "MIT", | ||
"@alicloud/console-toolkit-cli": "^1.2.30", | ||
"@alicloud/console-toolkit-preset-component": "^1.2.32", | ||
"@alicloud/demo-rc-elements": "^1.3.69", | ||
"@types/react": "^17.0.30", | ||
"@alicloud/console-toolkit-preset-component": "^1.2.58", | ||
"@alicloud/demo-rc-elements": "^1.5.5", | ||
"@types/react": "^17.0.45", | ||
"react": "^17.0.2", | ||
"typescript": "^4.4.4" | ||
"typescript": "^4.7.3" | ||
}, | ||
@@ -46,3 +46,3 @@ "scripts": { | ||
}, | ||
"gitHead": "c34c19b55903df37810149470d8fbcb62eaae71f" | ||
"gitHead": "4c525e7246a8cdf73f3b431250125308f11d4151" | ||
} |
@@ -1,3 +0,2 @@ | ||
@alicloud/console-one-config | ||
=== | ||
# @alicloud/console-one-config | ||
@@ -9,3 +8,3 @@ > 仅输出对象和类型,可以不在 OneConsole 下使用(比如用在 console-base 中),但使用前必须做好判断 `ONE_CONF.one` 为 true 才是 OneConsole。 | ||
```sh | ||
```shell | ||
tnpm i @alicloud/console-one-config -S | ||
@@ -20,3 +19,3 @@ ``` | ||
# 哪些优化? | ||
## 哪些优化? | ||
@@ -30,3 +29,3 @@ * 对全局变量 `window.ALIYUN_CONSOLE_CONFIG` 只读一次,避免全局变量引起的安全漏洞 | ||
## `STATIS_API` | ||
### `STATIS_API` | ||
@@ -64,8 +63,8 @@ 设计的无比狗屎,基本上可以认为是由**脚**设计出来的。它输出的原屎格式是 `{ code, data?, message? }`,使用时需要非常小心,因为很容易出错, | ||
## OPEN_STATUS | ||
### OPEN_STATUS | ||
改成了正确的格式,布尔是布尔,数值是数值。 | ||
## REGIONS | ||
### REGIONS | ||
对 REGIONS 的类型做了精简。 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18566
67