mega-linter-runner 8.8.1-beta202509132332.0 → 8.8.1-beta202509141159.0

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/lib/config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as path from "path";
2
2
 
3
- const DEFAULT_RELEASE = 'v8';
3
+ const DEFAULT_RELEASE = 'v9';
4
4
  const OX_PROTOCOL = process.env.OX_PROTOCOL || "https";
5
5
  const OX_BASE_URL =
6
6
  process.env.OX_BASE_URL || `${OX_PROTOCOL}://app.ox.security`;
package/lib/upgrade.js CHANGED
@@ -509,6 +509,59 @@ jobs:
509
509
  test: "uses: actions/upload-artifact@v3",
510
510
  testRes: "uses: actions/upload-artifact@v4",
511
511
  },
512
+ // V8 to V9 migration rules
513
+ // Github actions flavors
514
+ {
515
+ regex: /oxsecurity\/megalinter\/flavors\/([a-z]*)@v8\.(.*)/gm,
516
+ replacement: `oxsecurity/megalinter/flavors/$1@${DEFAULT_RELEASE}`,
517
+ test: "oxsecurity/megalinter/flavors/python@v8.1.2",
518
+ testRes: `oxsecurity/megalinter/flavors/python@${DEFAULT_RELEASE}`,
519
+ },
520
+ {
521
+ regex: /oxsecurity\/megalinter\/flavors\/([a-z]*)@v8/gm,
522
+ replacement: `oxsecurity/megalinter/flavors/$1@${DEFAULT_RELEASE}`,
523
+ test: "oxsecurity/megalinter/flavors/python@v8",
524
+ testRes: `oxsecurity/megalinter/flavors/python@${DEFAULT_RELEASE}`,
525
+ },
526
+ // Docker image flavors
527
+ {
528
+ regex: /oxsecurity\/megalinter-([a-z]*):v8\.(.*)/gm,
529
+ replacement: `oxsecurity/megalinter-$1:${DEFAULT_RELEASE}`,
530
+ test: "oxsecurity/megalinter-python:v8.1.2",
531
+ testRes: `oxsecurity/megalinter-python:${DEFAULT_RELEASE}`,
532
+ },
533
+ {
534
+ regex: /oxsecurity\/megalinter-([a-z]*):v8/gm,
535
+ replacement: `oxsecurity/megalinter-$1:${DEFAULT_RELEASE}`,
536
+ test: "oxsecurity/megalinter-python:v8",
537
+ testRes: `oxsecurity/megalinter-python:${DEFAULT_RELEASE}`,
538
+ },
539
+ // Github actions using main flavor
540
+ {
541
+ regex: /oxsecurity\/megalinter@v8\.(.*)/gm,
542
+ replacement: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
543
+ test: "oxsecurity/megalinter@v8.2.4",
544
+ testRes: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
545
+ },
546
+ {
547
+ regex: /oxsecurity\/megalinter@v8/gm,
548
+ replacement: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
549
+ test: "oxsecurity/megalinter@v8",
550
+ testRes: `oxsecurity/megalinter@${DEFAULT_RELEASE}`,
551
+ },
552
+ // Docker images using main flavor
553
+ {
554
+ regex: /oxsecurity\/megalinter:v8\.(.*)/gm,
555
+ replacement: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
556
+ test: "oxsecurity/megalinter:v8.2.4",
557
+ testRes: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
558
+ },
559
+ {
560
+ regex: /oxsecurity\/megalinter:v8/gm,
561
+ replacement: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
562
+ test: "oxsecurity/megalinter:v8",
563
+ testRes: `oxsecurity/megalinter:${DEFAULT_RELEASE}`,
564
+ },
512
565
  ];
513
566
  }
514
567
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mega-linter-runner",
3
- "version": "8.8.1-beta202509132332.0",
3
+ "version": "8.8.1-beta202509141159.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/oxsecurity/megalinter.git"