@profullstack/threatcrush 0.13.70 → 0.13.71
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/daemon.js +32 -32
- package/dist/daemon.js.map +1 -1
- package/dist/index.js +2159 -768
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/daemon.js
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
mod
|
|
31
31
|
));
|
|
32
32
|
|
|
33
|
-
//
|
|
33
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js
|
|
34
34
|
var require_parser = __commonJS({
|
|
35
|
-
"
|
|
35
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/parser.js"(exports2, module2) {
|
|
36
36
|
"use strict";
|
|
37
37
|
var ParserEND = 1114112;
|
|
38
38
|
var ParserError = class _ParserError extends Error {
|
|
@@ -155,9 +155,9 @@ var require_parser = __commonJS({
|
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
157
|
|
|
158
|
-
//
|
|
158
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js
|
|
159
159
|
var require_create_datetime = __commonJS({
|
|
160
|
-
"
|
|
160
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime.js"(exports2, module2) {
|
|
161
161
|
"use strict";
|
|
162
162
|
module2.exports = (value) => {
|
|
163
163
|
const date = new Date(value);
|
|
@@ -170,9 +170,9 @@ var require_create_datetime = __commonJS({
|
|
|
170
170
|
}
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
//
|
|
173
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js
|
|
174
174
|
var require_format_num = __commonJS({
|
|
175
|
-
"
|
|
175
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/format-num.js"(exports2, module2) {
|
|
176
176
|
"use strict";
|
|
177
177
|
module2.exports = (d, num) => {
|
|
178
178
|
num = String(num);
|
|
@@ -182,9 +182,9 @@ var require_format_num = __commonJS({
|
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
//
|
|
185
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js
|
|
186
186
|
var require_create_datetime_float = __commonJS({
|
|
187
|
-
"
|
|
187
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-datetime-float.js"(exports2, module2) {
|
|
188
188
|
"use strict";
|
|
189
189
|
var f = require_format_num();
|
|
190
190
|
var FloatingDateTime = class extends Date {
|
|
@@ -209,9 +209,9 @@ var require_create_datetime_float = __commonJS({
|
|
|
209
209
|
}
|
|
210
210
|
});
|
|
211
211
|
|
|
212
|
-
//
|
|
212
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js
|
|
213
213
|
var require_create_date = __commonJS({
|
|
214
|
-
"
|
|
214
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-date.js"(exports2, module2) {
|
|
215
215
|
"use strict";
|
|
216
216
|
var f = require_format_num();
|
|
217
217
|
var DateTime = global.Date;
|
|
@@ -235,9 +235,9 @@ var require_create_date = __commonJS({
|
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
|
|
238
|
-
//
|
|
238
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js
|
|
239
239
|
var require_create_time = __commonJS({
|
|
240
|
-
"
|
|
240
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/create-time.js"(exports2, module2) {
|
|
241
241
|
"use strict";
|
|
242
242
|
var f = require_format_num();
|
|
243
243
|
var Time = class extends Date {
|
|
@@ -260,9 +260,9 @@ var require_create_time = __commonJS({
|
|
|
260
260
|
}
|
|
261
261
|
});
|
|
262
262
|
|
|
263
|
-
//
|
|
263
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js
|
|
264
264
|
var require_toml_parser = __commonJS({
|
|
265
|
-
"
|
|
265
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/lib/toml-parser.js"(exports, module) {
|
|
266
266
|
"use strict";
|
|
267
267
|
module.exports = makeParserClass(require_parser());
|
|
268
268
|
module.exports.makeParserClass = makeParserClass;
|
|
@@ -1573,9 +1573,9 @@ var require_toml_parser = __commonJS({
|
|
|
1573
1573
|
}
|
|
1574
1574
|
});
|
|
1575
1575
|
|
|
1576
|
-
//
|
|
1576
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js
|
|
1577
1577
|
var require_parse_pretty_error = __commonJS({
|
|
1578
|
-
"
|
|
1578
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-pretty-error.js"(exports2, module2) {
|
|
1579
1579
|
"use strict";
|
|
1580
1580
|
module2.exports = prettyError;
|
|
1581
1581
|
function prettyError(err, buf) {
|
|
@@ -1609,9 +1609,9 @@ var require_parse_pretty_error = __commonJS({
|
|
|
1609
1609
|
}
|
|
1610
1610
|
});
|
|
1611
1611
|
|
|
1612
|
-
//
|
|
1612
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js
|
|
1613
1613
|
var require_parse_string = __commonJS({
|
|
1614
|
-
"
|
|
1614
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-string.js"(exports2, module2) {
|
|
1615
1615
|
"use strict";
|
|
1616
1616
|
module2.exports = parseString;
|
|
1617
1617
|
var TOMLParser = require_toml_parser();
|
|
@@ -1631,9 +1631,9 @@ var require_parse_string = __commonJS({
|
|
|
1631
1631
|
}
|
|
1632
1632
|
});
|
|
1633
1633
|
|
|
1634
|
-
//
|
|
1634
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js
|
|
1635
1635
|
var require_parse_async = __commonJS({
|
|
1636
|
-
"
|
|
1636
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-async.js"(exports2, module2) {
|
|
1637
1637
|
"use strict";
|
|
1638
1638
|
module2.exports = parseAsync;
|
|
1639
1639
|
var TOMLParser = require_toml_parser();
|
|
@@ -1665,9 +1665,9 @@ var require_parse_async = __commonJS({
|
|
|
1665
1665
|
}
|
|
1666
1666
|
});
|
|
1667
1667
|
|
|
1668
|
-
//
|
|
1668
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js
|
|
1669
1669
|
var require_parse_stream = __commonJS({
|
|
1670
|
-
"
|
|
1670
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse-stream.js"(exports2, module2) {
|
|
1671
1671
|
"use strict";
|
|
1672
1672
|
module2.exports = parseStream;
|
|
1673
1673
|
var stream = require("stream");
|
|
@@ -1744,9 +1744,9 @@ var require_parse_stream = __commonJS({
|
|
|
1744
1744
|
}
|
|
1745
1745
|
});
|
|
1746
1746
|
|
|
1747
|
-
//
|
|
1747
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js
|
|
1748
1748
|
var require_parse = __commonJS({
|
|
1749
|
-
"
|
|
1749
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/parse.js"(exports2, module2) {
|
|
1750
1750
|
"use strict";
|
|
1751
1751
|
module2.exports = require_parse_string();
|
|
1752
1752
|
module2.exports.async = require_parse_async();
|
|
@@ -1755,9 +1755,9 @@ var require_parse = __commonJS({
|
|
|
1755
1755
|
}
|
|
1756
1756
|
});
|
|
1757
1757
|
|
|
1758
|
-
//
|
|
1758
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js
|
|
1759
1759
|
var require_stringify = __commonJS({
|
|
1760
|
-
"
|
|
1760
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/stringify.js"(exports2, module2) {
|
|
1761
1761
|
"use strict";
|
|
1762
1762
|
module2.exports = stringify;
|
|
1763
1763
|
module2.exports.value = stringifyInline;
|
|
@@ -2016,9 +2016,9 @@ var require_stringify = __commonJS({
|
|
|
2016
2016
|
}
|
|
2017
2017
|
});
|
|
2018
2018
|
|
|
2019
|
-
//
|
|
2019
|
+
// ../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js
|
|
2020
2020
|
var require_toml = __commonJS({
|
|
2021
|
-
"
|
|
2021
|
+
"../../node_modules/.pnpm/@iarna+toml@2.2.5/node_modules/@iarna/toml/toml.js"(exports2) {
|
|
2022
2022
|
"use strict";
|
|
2023
2023
|
exports2.parse = require_parse();
|
|
2024
2024
|
exports2.stringify = require_stringify();
|
|
@@ -12015,7 +12015,7 @@ function findingEvents(serverId, results, observedAt = /* @__PURE__ */ new Date(
|
|
|
12015
12015
|
var import_node_fs19 = require("fs");
|
|
12016
12016
|
var import_node_path13 = require("path");
|
|
12017
12017
|
|
|
12018
|
-
//
|
|
12018
|
+
// ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/utilities.js
|
|
12019
12019
|
function stringReplaceAll(string, substring, postfix) {
|
|
12020
12020
|
let index = string.indexOf(substring);
|
|
12021
12021
|
if (index === -1) {
|
|
@@ -12045,7 +12045,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
|
|
|
12045
12045
|
return returnValue;
|
|
12046
12046
|
}
|
|
12047
12047
|
|
|
12048
|
-
//
|
|
12048
|
+
// ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/vendor/ansi-styles/index.js
|
|
12049
12049
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
12050
12050
|
var ANSI_UNDERLINE_OFFSET = 20;
|
|
12051
12051
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
@@ -12267,7 +12267,7 @@ function assembleStyles() {
|
|
|
12267
12267
|
var ansiStyles = assembleStyles();
|
|
12268
12268
|
var ansi_styles_default = ansiStyles;
|
|
12269
12269
|
|
|
12270
|
-
//
|
|
12270
|
+
// ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/vendor/supports-color/index.js
|
|
12271
12271
|
var import_node_process = __toESM(require("process"), 1);
|
|
12272
12272
|
var import_node_os4 = __toESM(require("os"), 1);
|
|
12273
12273
|
var import_node_tty = __toESM(require("tty"), 1);
|
|
@@ -12409,7 +12409,7 @@ var supportsColor = {
|
|
|
12409
12409
|
};
|
|
12410
12410
|
var supports_color_default = supportsColor;
|
|
12411
12411
|
|
|
12412
|
-
//
|
|
12412
|
+
// ../../node_modules/.pnpm/chalk@6.0.1/node_modules/chalk/source/index.js
|
|
12413
12413
|
var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
|
|
12414
12414
|
var GENERATOR = /* @__PURE__ */ Symbol("GENERATOR");
|
|
12415
12415
|
var STYLER = /* @__PURE__ */ Symbol("STYLER");
|