@zwa73/utils 1.0.51 → 1.0.52

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