@hexonet/semantic-release-whmcs 5.0.69 → 5.1.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.
Files changed (37) hide show
  1. package/HISTORY.md +35 -0
  2. package/extensions/I-Still-Dont-Care-About-Cookies/LICENSE +14 -0
  3. package/extensions/I-Still-Dont-Care-About-Cookies/_locales/en/messages.json +160 -0
  4. package/extensions/I-Still-Dont-Care-About-Cookies/_metadata/generated_indexed_rulesets/_ruleset1 +0 -0
  5. package/extensions/I-Still-Dont-Care-About-Cookies/data/background.html +2 -0
  6. package/extensions/I-Still-Dont-Care-About-Cookies/data/background.js +681 -0
  7. package/extensions/I-Still-Dont-Care-About-Cookies/data/css/common.css +14306 -0
  8. package/extensions/I-Still-Dont-Care-About-Cookies/data/hotreload.js +43 -0
  9. package/extensions/I-Still-Dont-Care-About-Cookies/data/js/0_defaultClickHandler.js +590 -0
  10. package/extensions/I-Still-Dont-Care-About-Cookies/data/js/2_sessionStorageHandler.js +30 -0
  11. package/extensions/I-Still-Dont-Care-About-Cookies/data/js/3_localStorageHandler.js +243 -0
  12. package/extensions/I-Still-Dont-Care-About-Cookies/data/js/5_clickHandler.js +8523 -0
  13. package/extensions/I-Still-Dont-Care-About-Cookies/data/js/6_cookieHandler.js +764 -0
  14. package/extensions/I-Still-Dont-Care-About-Cookies/data/js/8_googleHandler.js +105 -0
  15. package/extensions/I-Still-Dont-Care-About-Cookies/data/js/embedsHandler.js +107 -0
  16. package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/index.html +79 -0
  17. package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/script.js +161 -0
  18. package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/spinner.svg +12 -0
  19. package/extensions/I-Still-Dont-Care-About-Cookies/data/menu/style.css +68 -0
  20. package/extensions/I-Still-Dont-Care-About-Cookies/data/options.html +42 -0
  21. package/extensions/I-Still-Dont-Care-About-Cookies/data/options.js +63 -0
  22. package/extensions/I-Still-Dont-Care-About-Cookies/data/rules.js +20684 -0
  23. package/extensions/I-Still-Dont-Care-About-Cookies/icons/128.png +0 -0
  24. package/extensions/I-Still-Dont-Care-About-Cookies/icons/16.png +0 -0
  25. package/extensions/I-Still-Dont-Care-About-Cookies/icons/32.png +0 -0
  26. package/extensions/I-Still-Dont-Care-About-Cookies/icons/48.png +0 -0
  27. package/extensions/I-Still-Dont-Care-About-Cookies/manifest.json +47 -0
  28. package/extensions/I-Still-Dont-Care-About-Cookies/manifest_v2.json +46 -0
  29. package/extensions/I-Still-Dont-Care-About-Cookies/rules.json +19539 -0
  30. package/lib/delete-marketplace-version.js +82 -31
  31. package/lib/publish.js +52 -43
  32. package/lib/puppet-utils.js +145 -0
  33. package/lib/puppet.js +68 -41
  34. package/lib/resolve-config.js +1 -0
  35. package/lib/set-compatible-versions.js +26 -10
  36. package/package.json +6 -6
  37. package/whmcs.js +7 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hexonet/semantic-release-whmcs",
3
3
  "description": "`semantic-release` plugin for auto-publishing on WHMCS marketplace",
4
- "version": "5.0.69",
4
+ "version": "5.1.1",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "publishConfig": {
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "engines": {
16
- "node": ">=20.6.1"
16
+ "node": "20.19.0 || ^22.12.0 || >=23"
17
17
  },
18
18
  "homepage": "https://github.com/centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs#readme",
19
19
  "repository": "github:centralnicgroup-opensource/rtldev-middleware-semantic-release-whmcs",
@@ -40,7 +40,7 @@
40
40
  "nodeArguments": [
41
41
  "--no-warnings"
42
42
  ],
43
- "timeout": "2m"
43
+ "timeout": "10m"
44
44
  },
45
45
  "prettier": {
46
46
  "printWidth": 120,
@@ -74,7 +74,7 @@
74
74
  "@semantic-release/changelog": "^6.0.3",
75
75
  "@semantic-release/exec": "^7.0.3",
76
76
  "@semantic-release/git": "^10.0.1",
77
- "ava": "6.3.0",
77
+ "ava": "6.4.1",
78
78
  "c8": "^10.0.0",
79
79
  "prettier": "^3.0.0",
80
80
  "semantic-release": "^24.0.0",
@@ -82,11 +82,11 @@
82
82
  "stream-buffers": "^3.0.2"
83
83
  },
84
84
  "dependencies": {
85
- "@octokit/rest": "^21.1.1",
85
+ "@octokit/rest": "^22.0.0",
86
86
  "@semantic-release/error": "^4.0.0",
87
87
  "aggregate-error": "^5.0.0",
88
88
  "debug": "^4.3.4",
89
89
  "puppeteer": ">=23.4.0",
90
- "yargs": "^17.7.1"
90
+ "yargs": "^18.0.0"
91
91
  }
92
92
  }
package/whmcs.js CHANGED
@@ -1,3 +1,5 @@
1
+ import yargs from "yargs";
2
+ import { hideBin } from "yargs/helpers";
1
3
  import { createRequire } from "node:module";
2
4
  import { publish, syncVersions, delVersion, updateCompatibility } from "./index.js";
3
5
  const require = createRequire(import.meta.url);
@@ -18,7 +20,7 @@ const context = {
18
20
  };
19
21
 
20
22
  // eslint-disable-next-line no-unused-expressions
21
- require("yargs")
23
+ yargs(hideBin(process.argv))
22
24
  .scriptName("whmcs.js")
23
25
  .usage("$0 <cmd> [args]")
24
26
  .command(
@@ -37,7 +39,7 @@ require("yargs")
37
39
  describe: "the changelog",
38
40
  });
39
41
  },
40
- function (argv) {
42
+ (argv) => {
41
43
  context.nextRelease = {
42
44
  version: argv.ver,
43
45
  notes: argv.notes,
@@ -51,7 +53,7 @@ require("yargs")
51
53
  "sync",
52
54
  "adds missing versions to the WHMCS Marketplace",
53
55
  () => {},
54
- function () {
56
+ () => {
55
57
  syncVersions({}, context).then((r) => {
56
58
  console.log(r === false ? "Failed" : "Successful");
57
59
  });
@@ -67,7 +69,7 @@ require("yargs")
67
69
  describe: "the version to delete",
68
70
  });
69
71
  },
70
- function (argv) {
72
+ (argv) => {
71
73
  context.version = argv.ver;
72
74
  delVersion({}, context).then((r) => {
73
75
  console.log(r === false ? "Failed" : "Successful");
@@ -78,7 +80,7 @@ require("yargs")
78
80
  "compatibility",
79
81
  "set the compatible WHMCS versions in the Marketplace",
80
82
  () => {},
81
- function () {
83
+ () => {
82
84
  updateCompatibility({}, context).then((r) => {
83
85
  console.log(r === false ? "Failed" : "Successful");
84
86
  });