rcf-protocol 1.2.4 → 1.2.5
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/dist/cli/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
// NOTICE: This file is protected under RCF-PL v1.2.
|
|
3
|
+
// NOTICE: This file is protected under RCF-PL v1.2.5
|
|
4
4
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
5
5
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
6
6
|
};
|
|
@@ -53,7 +53,7 @@ program
|
|
|
53
53
|
});
|
|
54
54
|
program
|
|
55
55
|
.command('audit [directory]')
|
|
56
|
-
.description('Generate an RCF Audit Report (Premium Feature)')
|
|
56
|
+
.description('Generate an RCF Audit Report (Premium Feature). Get keys at https://rcf.aliyev.site')
|
|
57
57
|
.option('-k, --license-key <key>', 'RCF Audit License Key')
|
|
58
58
|
.action(async (directory = '.', options) => {
|
|
59
59
|
const licenseKey = options.licenseKey || process.env.RCF_LICENSE_KEY;
|
|
@@ -3,6 +3,10 @@ interface ParserOptions {
|
|
|
3
3
|
extensions?: string[];
|
|
4
4
|
ignore?: string[];
|
|
5
5
|
}
|
|
6
|
+
/**
|
|
7
|
+
* [RCF:PROTECTED]
|
|
8
|
+
* The MarkerParser class implements the core scanning logic for RCF markers.
|
|
9
|
+
*/
|
|
6
10
|
export declare class MarkerParser {
|
|
7
11
|
private extensions;
|
|
8
12
|
private ignore;
|
|
@@ -37,6 +37,10 @@ exports.MarkerParser = void 0;
|
|
|
37
37
|
const fs = __importStar(require("fs/promises"));
|
|
38
38
|
const glob_1 = require("glob");
|
|
39
39
|
const constants_1 = require("./constants");
|
|
40
|
+
/**
|
|
41
|
+
* [RCF:PROTECTED]
|
|
42
|
+
* The MarkerParser class implements the core scanning logic for RCF markers.
|
|
43
|
+
*/
|
|
40
44
|
class MarkerParser {
|
|
41
45
|
constructor(options = {}) {
|
|
42
46
|
this.extensions = options.extensions || ['.ts', '.js', '.tsx', '.jsx', '.py'];
|