@polyv/utils 2.0.0-beta.1 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ## 安装
6
6
 
7
7
  ```
8
- npm install @polyv/utils
8
+ npm install @polyv/utils@next
9
9
  ```
10
10
 
11
11
  NPM 包同时提供了 ES 模块以及 CommonJS 模块,分别位于 `dist/es` 和 `dist/cjs` 两个文件夹。它们使用上的区别和优缺点在于:
@@ -93,12 +93,12 @@ import { Countdown } from '@utils/countdown';
93
93
 
94
94
  2.0.0 与 1.x 相比有较大的变更,如需升级,请参阅下方变更说明:
95
95
 
96
- - 部分功能模块分离为独立的 npm 包:
97
- - 原 lang 模块已移除,请使用 [@just4/util](https://www.npmjs.com/package/@just4/util)
98
- - 原 browser 模块已移除,请使用 [@just4/ua-info](https://www.npmjs.com/package/@just4/ua-info)
99
- - 原 cookie 模块已移除,请使用 [@just4/cookie](https://www.npmjs.com/package/@just4/cookie)
100
- - 原 polling 模块已移除,请使用 [@just4/polling](https://www.npmjs.com/package/@just4/polling)
101
- - 原 storage 模块已移除,请使用 [@just4/storage](https://www.npmjs.com/package/@just4/storage)
96
+ - 模块变更:
97
+ - 原 lang 模块已移除,可以使用 [@just4/util](https://www.npmjs.com/package/@just4/util) 或 [lodash-es](https://www.npmjs.com/package/lodash-es) 代替。
98
+ - 原 browser 模块已移除,可以使用 [@just4/ua-info](https://www.npmjs.com/package/@just4/ua-info) 代替。
99
+ - 原 cookie 模块已移除,可以使用 [@just4/cookie](https://www.npmjs.com/package/@just4/cookie) 代替。
100
+ - 原 polling 模块已移除,可以使用 [@just4/polling](https://www.npmjs.com/package/@just4/polling) 代替。
101
+ - 原 storage 模块已移除,可以使用 [@just4/storage](https://www.npmjs.com/package/@just4/storage) 代替。
102
102
  - 部分 API 的变更:
103
103
  - boolean 模块的 `ynToBool` 支持指定默认值。
104
104
  - countdown 模块的 `Countdown` 类增加 `pause` 方法。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyv/utils",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.2",
4
4
  "description": "Utility functions of Polyv frontend development.",
5
5
  "keywords": [
6
6
  "polyv",