@zwa73/utils 1.0.52 → 1.0.53

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/package.json +1 -1
  2. package/postinstall.js +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zwa73/utils",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "my utils",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/postinstall.js CHANGED
@@ -1,4 +1,6 @@
1
- console.notice(`测试消息1`);
1
+ console.error(`测试消息1err`);
2
+ console.info(`测试消息1info`);
3
+
2
4
  const currentVersion = require('./package.json').version;
3
5
  const path = require('path');
4
6
  const { UtilFT } = require("./index");
@@ -9,7 +11,8 @@ dataTable.utils = dataTable.utils??{};
9
11
  let prevVersion = dataTable.utils.version;
10
12
  dataTable.utils.version = currentVersion;
11
13
 
12
- console.notice(`测试消息2`);
14
+ console.error(`测试消息2err`);
15
+ console.info(`测试消息2info`);
13
16
  console.notice(`${currentVersion} 版本已安装`);
14
17
 
15
18
  // 将版本号转换为可以比较的数字