Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@alicloud/console-one-config

Package Overview
Dependencies
Maintainers
5
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicloud/console-one-config - npm Package Compare versions

Comparing version 1.1.83 to 1.1.84

5

CHANGELOG.md

@@ -1,6 +0,5 @@

HISTORY
===
# CHANGELOG
# 1.0.0 2020/11/30 @驳是
## 1.0.0 2020/11/30 @驳是
* 开源第一版

12

package.json
{
"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 的类型做了精简。
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