woodenfish-bot 4.5.9 → 4.6.1

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.
package/es/index.js CHANGED
@@ -298,7 +298,7 @@ var Guild = /*#__PURE__*/function () {
298
298
  }]);
299
299
  }();
300
300
 
301
- var version = "4.5.9";
301
+ var version = "4.6.1";
302
302
 
303
303
  function getDefaultExportFromCjs (x) {
304
304
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -860,8 +860,8 @@ var getOrRefreshToken = /*#__PURE__*/function () {
860
860
  } else {
861
861
  default_token_json = {
862
862
  bot: _defineProperty({}, appID, {
863
- access_token: "",
864
- expires_in: ""
863
+ access_token: '',
864
+ expires_in: ''
865
865
  })
866
866
  };
867
867
  fs.writeFileSync(access_token_file, JSON.stringify(default_token_json, null, 2), 'utf-8');
@@ -2537,9 +2537,9 @@ var WsObjRequestOptions = function WsObjRequestOptions(sandbox) {
2537
2537
  Accept: '*/*',
2538
2538
  'Accept-Encoding': 'utf-8',
2539
2539
  'Accept-Language': 'zh-CN,zh;q=0.8',
2540
- 'Connection': 'keep-alive',
2540
+ Connection: 'keep-alive',
2541
2541
  'User-Agent': apiVersion,
2542
- 'Authorization': ''
2542
+ Authorization: ''
2543
2543
  }
2544
2544
  };
2545
2545
  };
package/lib/index.js CHANGED
@@ -300,7 +300,7 @@ var Guild = /*#__PURE__*/function () {
300
300
  }]);
301
301
  }();
302
302
 
303
- var version = "4.5.9";
303
+ var version = "4.6.1";
304
304
 
305
305
  function getDefaultExportFromCjs (x) {
306
306
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -862,8 +862,8 @@ var getOrRefreshToken = /*#__PURE__*/function () {
862
862
  } else {
863
863
  default_token_json = {
864
864
  bot: _defineProperty({}, appID, {
865
- access_token: "",
866
- expires_in: ""
865
+ access_token: '',
866
+ expires_in: ''
867
867
  })
868
868
  };
869
869
  fs.writeFileSync(access_token_file, JSON.stringify(default_token_json, null, 2), 'utf-8');
@@ -2539,9 +2539,9 @@ var WsObjRequestOptions = function WsObjRequestOptions(sandbox) {
2539
2539
  Accept: '*/*',
2540
2540
  'Accept-Encoding': 'utf-8',
2541
2541
  'Accept-Language': 'zh-CN,zh;q=0.8',
2542
- 'Connection': 'keep-alive',
2542
+ Connection: 'keep-alive',
2543
2543
  'User-Agent': apiVersion,
2544
- 'Authorization': ''
2544
+ Authorization: ''
2545
2545
  }
2546
2546
  };
2547
2547
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "woodenfish-bot",
3
- "version": "4.5.9",
3
+ "version": "4.6.1",
4
4
  "description": "woodenfish-bot",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,17 +30,18 @@
30
30
  "linkdev": "node scripts/dev.js"
31
31
  },
32
32
  "devDependencies": {
33
- "@babel/core": "^7.28.6",
34
- "@babel/generator": "^7.28.6",
35
- "@babel/parser": "^7.28.6",
33
+ "@babel/core": "^7.29.0",
34
+ "@babel/generator": "^7.29.1",
35
+ "@babel/parser": "^7.29.0",
36
36
  "@babel/plugin-transform-class-properties": "^7.28.6",
37
- "@babel/plugin-transform-runtime": "^7.28.5",
38
- "@babel/preset-env": "^7.28.6",
37
+ "@babel/plugin-transform-runtime": "^7.29.0",
38
+ "@babel/preset-env": "^7.29.0",
39
39
  "@babel/preset-typescript": "^7.28.5",
40
- "@babel/traverse": "^7.28.6",
41
- "@babel/types": "^7.28.6",
42
- "@commitlint/cli": "^20.4.0",
43
- "@commitlint/config-conventional": "^20.4.0",
40
+ "@babel/traverse": "^7.29.0",
41
+ "@babel/types": "^7.29.0",
42
+ "@commitlint/cli": "^20.4.3",
43
+ "@commitlint/config-conventional": "^20.4.3",
44
+ "@eslint/js": "^9.39.3",
44
45
  "@rollup/plugin-babel": "^6.1.0",
45
46
  "@rollup/plugin-commonjs": "^29.0.0",
46
47
  "@rollup/plugin-json": "^6.1.0",
@@ -50,30 +51,31 @@
50
51
  "@types/lodash.assignin": "^4.2.9",
51
52
  "@types/node": "^22.19.7",
52
53
  "@types/ws": "^8.18.1",
53
- "@typescript-eslint/eslint-plugin": "^8.54.0",
54
- "@typescript-eslint/parser": "^8.54.0",
54
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
55
+ "@typescript-eslint/parser": "^8.56.1",
55
56
  "chalk": "^5.6.2",
56
57
  "commitizen": "^4.3.1",
57
58
  "cross-env": "^10.1.0",
58
59
  "cz-conventional-changelog": "^3.3.0",
59
- "eslint": "^9.39.2",
60
- "eslint-config-alloy": "^5.1.2",
60
+ "eslint": "^9.39.3",
61
61
  "eslint-config-prettier": "^10.1.8",
62
- "eslint-plugin-jest": "^29.12.1",
62
+ "eslint-plugin-jest": "^29.15.0",
63
63
  "eslint-plugin-prettier": "^5.5.5",
64
+ "globals": "^17.4.0",
64
65
  "handlebars": "^4.7.8",
65
- "inquirer": "^13.2.2",
66
+ "inquirer": "^13.3.0",
66
67
  "jest": "^30.2.0",
67
- "lint-staged": "^16.2.7",
68
+ "lint-staged": "^16.3.2",
68
69
  "lodash.clonedeep": "^4.5.0",
69
70
  "prettier": "^3.8.1",
70
71
  "readline-sync": "^1.4.10",
71
- "rimraf": "^6.1.2",
72
- "rollup": "^4.57.1",
72
+ "rimraf": "^6.1.3",
73
+ "rollup": "^4.59.0",
73
74
  "rollup-plugin-dts": "^6.3.0",
74
75
  "rollup-plugin-typescript-paths": "^1.5.0",
75
76
  "standard-version": "^9.5.0",
76
- "typescript": "^5.9.3"
77
+ "typescript": "^5.9.3",
78
+ "typescript-eslint": "^8.56.1"
77
79
  },
78
80
  "dependencies": {
79
81
  "@babel/runtime": "^7.28.6",