@mitre/inspec-objects 0.0.12 → 0.0.13
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/utilities/diffMarkdown.js +1 -1
- package/lib/utilities/logging.d.ts +2 -0
- package/lib/utilities/logging.js +15 -0
- package/lib/utilities/update.d.ts +2 -1
- package/lib/utilities/update.js +11 -2
- package/package-lock.json +413 -2
- package/package.json +2 -1
- package/mitre-inspec-objects-v0.0.11.tgz +0 -0
|
@@ -19,7 +19,7 @@ function createDiffMarkdown(diff, updatedProfile) {
|
|
|
19
19
|
};
|
|
20
20
|
Object.entries(diff.simplified.changedControls).forEach(([id, updatedControl]) => {
|
|
21
21
|
if (lodash_1.default.get(updatedControl, "descs.check")) {
|
|
22
|
-
console.log(
|
|
22
|
+
// console.log(removeXMLSpecialCharacters(removeNewlinePlaceholders(getUpdatedCheckForId(id, updatedProfile))))
|
|
23
23
|
renderableDiffData.checks.push({
|
|
24
24
|
id,
|
|
25
25
|
check: (0, xccdf_1.removeXMLSpecialCharacters)((0, global_1.removeNewlinePlaceholders)(getUpdatedCheckForId(id, updatedProfile))),
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createWinstonLogger = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const winston_1 = tslib_1.__importDefault(require("winston"));
|
|
6
|
+
function createWinstonLogger(mapperName, level = 'debug') {
|
|
7
|
+
return winston_1.default.createLogger({
|
|
8
|
+
transports: [new winston_1.default.transports.Console()],
|
|
9
|
+
level: level,
|
|
10
|
+
format: winston_1.default.format.combine(winston_1.default.format.timestamp({
|
|
11
|
+
format: 'MMM-DD-YYYY HH:mm:ss Z',
|
|
12
|
+
}), winston_1.default.format.printf(info => `[${[info.timestamp]}] ${mapperName} ${info.message}`)),
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
exports.createWinstonLogger = createWinstonLogger;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import winston from "winston";
|
|
1
2
|
import Control from '../objects/control';
|
|
2
3
|
import Profile from '../objects/profile';
|
|
3
4
|
import { ProfileDiff } from '../types/diff';
|
|
@@ -12,4 +13,4 @@ export declare type UpdatedProfileReturn = {
|
|
|
12
13
|
};
|
|
13
14
|
export declare function updateControl(from: Control, update: Partial<Control>): Control;
|
|
14
15
|
export declare function updateProfile(from: Profile, using: Profile): Omit<UpdatedProfileReturn, 'markdown'>;
|
|
15
|
-
export declare function updateProfileUsingXCCDF(from: Profile, using: string, id: 'group' | 'rule' | 'version', ovalDefinitions?: Record<string, OvalDefinitionValue>): UpdatedProfileReturn;
|
|
16
|
+
export declare function updateProfileUsingXCCDF(from: Profile, using: string, id: 'group' | 'rule' | 'version', logger: winston.Logger, ovalDefinitions?: Record<string, OvalDefinitionValue>): UpdatedProfileReturn;
|
package/lib/utilities/update.js
CHANGED
|
@@ -72,17 +72,26 @@ function updateProfile(from, using) {
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
exports.updateProfile = updateProfile;
|
|
75
|
-
function updateProfileUsingXCCDF(from, using, id, ovalDefinitions) {
|
|
75
|
+
function updateProfileUsingXCCDF(from, using, id, logger, ovalDefinitions) {
|
|
76
|
+
console.log(from.controls[0].desc);
|
|
76
77
|
// Parse the XCCDF benchmark and convert it into a Profile
|
|
78
|
+
logger.debug('Loading XCCDF File');
|
|
77
79
|
const xccdfProfile = (0, xccdf_1.processXCCDF)(using, false, id);
|
|
80
|
+
logger.debug('Loaded XCCDF File');
|
|
81
|
+
logger.debug('Loading XCCDF File with newline replacements');
|
|
78
82
|
const xccdfProfileWithNLReplacement = (0, xccdf_1.processXCCDF)(using, true, id);
|
|
83
|
+
logger.debug('Loaded XCCDF File with newline replacements');
|
|
79
84
|
// Update the profile and return
|
|
85
|
+
logger.debug('Creating updated profile');
|
|
80
86
|
const updatedProfile = updateProfile(from, xccdfProfile);
|
|
87
|
+
logger.debug('Creating diff markdown');
|
|
81
88
|
// Create the markdown
|
|
89
|
+
const markdown = (0, diffMarkdown_1.createDiffMarkdown)(updatedProfile.diff, xccdfProfileWithNLReplacement);
|
|
90
|
+
logger.debug('Profile update complete');
|
|
82
91
|
return {
|
|
83
92
|
profile: updatedProfile.profile,
|
|
84
93
|
diff: updatedProfile.diff,
|
|
85
|
-
markdown:
|
|
94
|
+
markdown: markdown
|
|
86
95
|
};
|
|
87
96
|
}
|
|
88
97
|
exports.updateProfileUsingXCCDF = updateProfileUsingXCCDF;
|
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mitre/inspec-objects",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@mitre/inspec-objects",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.13",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@types/flat": "^5.0.2",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"mustache": "^4.2.0",
|
|
26
26
|
"ts-jest": "^28.0.4",
|
|
27
27
|
"typescript": "^4.5.5",
|
|
28
|
+
"winston": "^3.8.1",
|
|
28
29
|
"yaml": "^1.10.2"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
@@ -568,6 +569,24 @@
|
|
|
568
569
|
"resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
|
|
569
570
|
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw=="
|
|
570
571
|
},
|
|
572
|
+
"node_modules/@colors/colors": {
|
|
573
|
+
"version": "1.5.0",
|
|
574
|
+
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
|
|
575
|
+
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==",
|
|
576
|
+
"engines": {
|
|
577
|
+
"node": ">=0.1.90"
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"node_modules/@dabh/diagnostics": {
|
|
581
|
+
"version": "2.0.3",
|
|
582
|
+
"resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz",
|
|
583
|
+
"integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==",
|
|
584
|
+
"dependencies": {
|
|
585
|
+
"colorspace": "1.1.x",
|
|
586
|
+
"enabled": "2.0.x",
|
|
587
|
+
"kuler": "^2.0.0"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
571
590
|
"node_modules/@eslint/eslintrc": {
|
|
572
591
|
"version": "1.3.0",
|
|
573
592
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz",
|
|
@@ -1533,6 +1552,11 @@
|
|
|
1533
1552
|
"node": ">=8"
|
|
1534
1553
|
}
|
|
1535
1554
|
},
|
|
1555
|
+
"node_modules/async": {
|
|
1556
|
+
"version": "3.2.4",
|
|
1557
|
+
"resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz",
|
|
1558
|
+
"integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ=="
|
|
1559
|
+
},
|
|
1536
1560
|
"node_modules/babel-jest": {
|
|
1537
1561
|
"version": "28.1.1",
|
|
1538
1562
|
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-28.1.1.tgz",
|
|
@@ -1799,6 +1823,15 @@
|
|
|
1799
1823
|
"resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz",
|
|
1800
1824
|
"integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg=="
|
|
1801
1825
|
},
|
|
1826
|
+
"node_modules/color": {
|
|
1827
|
+
"version": "3.2.1",
|
|
1828
|
+
"resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz",
|
|
1829
|
+
"integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==",
|
|
1830
|
+
"dependencies": {
|
|
1831
|
+
"color-convert": "^1.9.3",
|
|
1832
|
+
"color-string": "^1.6.0"
|
|
1833
|
+
}
|
|
1834
|
+
},
|
|
1802
1835
|
"node_modules/color-convert": {
|
|
1803
1836
|
"version": "2.0.1",
|
|
1804
1837
|
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
@@ -1815,6 +1848,37 @@
|
|
|
1815
1848
|
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
|
1816
1849
|
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
|
1817
1850
|
},
|
|
1851
|
+
"node_modules/color-string": {
|
|
1852
|
+
"version": "1.9.1",
|
|
1853
|
+
"resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
|
|
1854
|
+
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
|
|
1855
|
+
"dependencies": {
|
|
1856
|
+
"color-name": "^1.0.0",
|
|
1857
|
+
"simple-swizzle": "^0.2.2"
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
"node_modules/color/node_modules/color-convert": {
|
|
1861
|
+
"version": "1.9.3",
|
|
1862
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
1863
|
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
|
1864
|
+
"dependencies": {
|
|
1865
|
+
"color-name": "1.1.3"
|
|
1866
|
+
}
|
|
1867
|
+
},
|
|
1868
|
+
"node_modules/color/node_modules/color-name": {
|
|
1869
|
+
"version": "1.1.3",
|
|
1870
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
1871
|
+
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
|
|
1872
|
+
},
|
|
1873
|
+
"node_modules/colorspace": {
|
|
1874
|
+
"version": "1.1.4",
|
|
1875
|
+
"resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz",
|
|
1876
|
+
"integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==",
|
|
1877
|
+
"dependencies": {
|
|
1878
|
+
"color": "^3.1.3",
|
|
1879
|
+
"text-hex": "1.0.x"
|
|
1880
|
+
}
|
|
1881
|
+
},
|
|
1818
1882
|
"node_modules/concat-map": {
|
|
1819
1883
|
"version": "0.0.1",
|
|
1820
1884
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
@@ -2024,6 +2088,11 @@
|
|
|
2024
2088
|
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
|
2025
2089
|
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
|
|
2026
2090
|
},
|
|
2091
|
+
"node_modules/enabled": {
|
|
2092
|
+
"version": "2.0.0",
|
|
2093
|
+
"resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz",
|
|
2094
|
+
"integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ=="
|
|
2095
|
+
},
|
|
2027
2096
|
"node_modules/entities": {
|
|
2028
2097
|
"version": "2.2.0",
|
|
2029
2098
|
"resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz",
|
|
@@ -2462,6 +2531,11 @@
|
|
|
2462
2531
|
"bser": "2.1.1"
|
|
2463
2532
|
}
|
|
2464
2533
|
},
|
|
2534
|
+
"node_modules/fecha": {
|
|
2535
|
+
"version": "4.2.3",
|
|
2536
|
+
"resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz",
|
|
2537
|
+
"integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw=="
|
|
2538
|
+
},
|
|
2465
2539
|
"node_modules/file-entry-cache": {
|
|
2466
2540
|
"version": "6.0.1",
|
|
2467
2541
|
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
|
|
@@ -2524,6 +2598,11 @@
|
|
|
2524
2598
|
"integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==",
|
|
2525
2599
|
"dev": true
|
|
2526
2600
|
},
|
|
2601
|
+
"node_modules/fn.name": {
|
|
2602
|
+
"version": "1.1.0",
|
|
2603
|
+
"resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz",
|
|
2604
|
+
"integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="
|
|
2605
|
+
},
|
|
2527
2606
|
"node_modules/fs.realpath": {
|
|
2528
2607
|
"version": "1.0.0",
|
|
2529
2608
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
@@ -2803,6 +2882,11 @@
|
|
|
2803
2882
|
"resolved": "https://registry.npmjs.org/inspecjs/-/inspecjs-2.6.25.tgz",
|
|
2804
2883
|
"integrity": "sha512-8JAYHOLST8sEkeq/3JPa1kl5BzcdGvBBs1NhpzVDP2i1R4D9786JHQdbIOvxJqPBeDTs+Otyi9H1uU3BPJ9yMQ=="
|
|
2805
2884
|
},
|
|
2885
|
+
"node_modules/is-arrayish": {
|
|
2886
|
+
"version": "0.3.2",
|
|
2887
|
+
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
|
|
2888
|
+
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
|
|
2889
|
+
},
|
|
2806
2890
|
"node_modules/is-core-module": {
|
|
2807
2891
|
"version": "2.9.0",
|
|
2808
2892
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz",
|
|
@@ -3556,6 +3640,11 @@
|
|
|
3556
3640
|
"node": ">=6"
|
|
3557
3641
|
}
|
|
3558
3642
|
},
|
|
3643
|
+
"node_modules/kuler": {
|
|
3644
|
+
"version": "2.0.0",
|
|
3645
|
+
"resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz",
|
|
3646
|
+
"integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A=="
|
|
3647
|
+
},
|
|
3559
3648
|
"node_modules/leven": {
|
|
3560
3649
|
"version": "3.1.0",
|
|
3561
3650
|
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
|
|
@@ -3609,6 +3698,18 @@
|
|
|
3609
3698
|
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
|
|
3610
3699
|
"dev": true
|
|
3611
3700
|
},
|
|
3701
|
+
"node_modules/logform": {
|
|
3702
|
+
"version": "2.4.2",
|
|
3703
|
+
"resolved": "https://registry.npmjs.org/logform/-/logform-2.4.2.tgz",
|
|
3704
|
+
"integrity": "sha512-W4c9himeAwXEdZ05dQNerhFz2XG80P9Oj0loPUMV23VC2it0orMHQhJm4hdnnor3rd1HsGf6a2lPwBM1zeXHGw==",
|
|
3705
|
+
"dependencies": {
|
|
3706
|
+
"@colors/colors": "1.5.0",
|
|
3707
|
+
"fecha": "^4.2.0",
|
|
3708
|
+
"ms": "^2.1.1",
|
|
3709
|
+
"safe-stable-stringify": "^2.3.1",
|
|
3710
|
+
"triple-beam": "^1.3.0"
|
|
3711
|
+
}
|
|
3712
|
+
},
|
|
3612
3713
|
"node_modules/lru-cache": {
|
|
3613
3714
|
"version": "6.0.0",
|
|
3614
3715
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
|
@@ -3783,6 +3884,14 @@
|
|
|
3783
3884
|
"wrappy": "1"
|
|
3784
3885
|
}
|
|
3785
3886
|
},
|
|
3887
|
+
"node_modules/one-time": {
|
|
3888
|
+
"version": "1.0.0",
|
|
3889
|
+
"resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz",
|
|
3890
|
+
"integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==",
|
|
3891
|
+
"dependencies": {
|
|
3892
|
+
"fn.name": "1.x.x"
|
|
3893
|
+
}
|
|
3894
|
+
},
|
|
3786
3895
|
"node_modules/onetime": {
|
|
3787
3896
|
"version": "5.1.2",
|
|
3788
3897
|
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
|
|
@@ -4029,6 +4138,19 @@
|
|
|
4029
4138
|
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.1.0.tgz",
|
|
4030
4139
|
"integrity": "sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg=="
|
|
4031
4140
|
},
|
|
4141
|
+
"node_modules/readable-stream": {
|
|
4142
|
+
"version": "3.6.0",
|
|
4143
|
+
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
|
4144
|
+
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
|
4145
|
+
"dependencies": {
|
|
4146
|
+
"inherits": "^2.0.3",
|
|
4147
|
+
"string_decoder": "^1.1.1",
|
|
4148
|
+
"util-deprecate": "^1.0.1"
|
|
4149
|
+
},
|
|
4150
|
+
"engines": {
|
|
4151
|
+
"node": ">= 6"
|
|
4152
|
+
}
|
|
4153
|
+
},
|
|
4032
4154
|
"node_modules/regexpp": {
|
|
4033
4155
|
"version": "3.2.0",
|
|
4034
4156
|
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
|
|
@@ -4148,6 +4270,33 @@
|
|
|
4148
4270
|
"queue-microtask": "^1.2.2"
|
|
4149
4271
|
}
|
|
4150
4272
|
},
|
|
4273
|
+
"node_modules/safe-buffer": {
|
|
4274
|
+
"version": "5.2.1",
|
|
4275
|
+
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
|
4276
|
+
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
|
|
4277
|
+
"funding": [
|
|
4278
|
+
{
|
|
4279
|
+
"type": "github",
|
|
4280
|
+
"url": "https://github.com/sponsors/feross"
|
|
4281
|
+
},
|
|
4282
|
+
{
|
|
4283
|
+
"type": "patreon",
|
|
4284
|
+
"url": "https://www.patreon.com/feross"
|
|
4285
|
+
},
|
|
4286
|
+
{
|
|
4287
|
+
"type": "consulting",
|
|
4288
|
+
"url": "https://feross.org/support"
|
|
4289
|
+
}
|
|
4290
|
+
]
|
|
4291
|
+
},
|
|
4292
|
+
"node_modules/safe-stable-stringify": {
|
|
4293
|
+
"version": "2.3.1",
|
|
4294
|
+
"resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz",
|
|
4295
|
+
"integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg==",
|
|
4296
|
+
"engines": {
|
|
4297
|
+
"node": ">=10"
|
|
4298
|
+
}
|
|
4299
|
+
},
|
|
4151
4300
|
"node_modules/semver": {
|
|
4152
4301
|
"version": "7.3.7",
|
|
4153
4302
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz",
|
|
@@ -4186,6 +4335,14 @@
|
|
|
4186
4335
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
|
4187
4336
|
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
|
4188
4337
|
},
|
|
4338
|
+
"node_modules/simple-swizzle": {
|
|
4339
|
+
"version": "0.2.2",
|
|
4340
|
+
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
|
4341
|
+
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
|
|
4342
|
+
"dependencies": {
|
|
4343
|
+
"is-arrayish": "^0.3.1"
|
|
4344
|
+
}
|
|
4345
|
+
},
|
|
4189
4346
|
"node_modules/sisteransi": {
|
|
4190
4347
|
"version": "1.0.5",
|
|
4191
4348
|
"resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
|
|
@@ -4221,6 +4378,14 @@
|
|
|
4221
4378
|
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
|
4222
4379
|
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
|
|
4223
4380
|
},
|
|
4381
|
+
"node_modules/stack-trace": {
|
|
4382
|
+
"version": "0.0.10",
|
|
4383
|
+
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
|
|
4384
|
+
"integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==",
|
|
4385
|
+
"engines": {
|
|
4386
|
+
"node": "*"
|
|
4387
|
+
}
|
|
4388
|
+
},
|
|
4224
4389
|
"node_modules/stack-utils": {
|
|
4225
4390
|
"version": "2.0.5",
|
|
4226
4391
|
"resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz",
|
|
@@ -4240,6 +4405,14 @@
|
|
|
4240
4405
|
"node": ">=8"
|
|
4241
4406
|
}
|
|
4242
4407
|
},
|
|
4408
|
+
"node_modules/string_decoder": {
|
|
4409
|
+
"version": "1.3.0",
|
|
4410
|
+
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
|
4411
|
+
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
|
4412
|
+
"dependencies": {
|
|
4413
|
+
"safe-buffer": "~5.2.0"
|
|
4414
|
+
}
|
|
4415
|
+
},
|
|
4243
4416
|
"node_modules/string-length": {
|
|
4244
4417
|
"version": "4.0.2",
|
|
4245
4418
|
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
|
|
@@ -4370,6 +4543,11 @@
|
|
|
4370
4543
|
"node": ">=8"
|
|
4371
4544
|
}
|
|
4372
4545
|
},
|
|
4546
|
+
"node_modules/text-hex": {
|
|
4547
|
+
"version": "1.0.0",
|
|
4548
|
+
"resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz",
|
|
4549
|
+
"integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg=="
|
|
4550
|
+
},
|
|
4373
4551
|
"node_modules/text-table": {
|
|
4374
4552
|
"version": "0.2.0",
|
|
4375
4553
|
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
|
|
@@ -4414,6 +4592,11 @@
|
|
|
4414
4592
|
"node": ">=8.0"
|
|
4415
4593
|
}
|
|
4416
4594
|
},
|
|
4595
|
+
"node_modules/triple-beam": {
|
|
4596
|
+
"version": "1.3.0",
|
|
4597
|
+
"resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz",
|
|
4598
|
+
"integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw=="
|
|
4599
|
+
},
|
|
4417
4600
|
"node_modules/ts-jest": {
|
|
4418
4601
|
"version": "28.0.4",
|
|
4419
4602
|
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.4.tgz",
|
|
@@ -4545,6 +4728,11 @@
|
|
|
4545
4728
|
"punycode": "^2.1.0"
|
|
4546
4729
|
}
|
|
4547
4730
|
},
|
|
4731
|
+
"node_modules/util-deprecate": {
|
|
4732
|
+
"version": "1.0.2",
|
|
4733
|
+
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
4734
|
+
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
|
4735
|
+
},
|
|
4548
4736
|
"node_modules/v8-compile-cache": {
|
|
4549
4737
|
"version": "2.3.0",
|
|
4550
4738
|
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
|
|
@@ -4586,6 +4774,39 @@
|
|
|
4586
4774
|
"node": ">= 8"
|
|
4587
4775
|
}
|
|
4588
4776
|
},
|
|
4777
|
+
"node_modules/winston": {
|
|
4778
|
+
"version": "3.8.1",
|
|
4779
|
+
"resolved": "https://registry.npmjs.org/winston/-/winston-3.8.1.tgz",
|
|
4780
|
+
"integrity": "sha512-r+6YAiCR4uI3N8eQNOg8k3P3PqwAm20cLKlzVD9E66Ch39+LZC+VH1UKf9JemQj2B3QoUHfKD7Poewn0Pr3Y1w==",
|
|
4781
|
+
"dependencies": {
|
|
4782
|
+
"@dabh/diagnostics": "^2.0.2",
|
|
4783
|
+
"async": "^3.2.3",
|
|
4784
|
+
"is-stream": "^2.0.0",
|
|
4785
|
+
"logform": "^2.4.0",
|
|
4786
|
+
"one-time": "^1.0.0",
|
|
4787
|
+
"readable-stream": "^3.4.0",
|
|
4788
|
+
"safe-stable-stringify": "^2.3.1",
|
|
4789
|
+
"stack-trace": "0.0.x",
|
|
4790
|
+
"triple-beam": "^1.3.0",
|
|
4791
|
+
"winston-transport": "^4.5.0"
|
|
4792
|
+
},
|
|
4793
|
+
"engines": {
|
|
4794
|
+
"node": ">= 12.0.0"
|
|
4795
|
+
}
|
|
4796
|
+
},
|
|
4797
|
+
"node_modules/winston-transport": {
|
|
4798
|
+
"version": "4.5.0",
|
|
4799
|
+
"resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz",
|
|
4800
|
+
"integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==",
|
|
4801
|
+
"dependencies": {
|
|
4802
|
+
"logform": "^2.3.2",
|
|
4803
|
+
"readable-stream": "^3.6.0",
|
|
4804
|
+
"triple-beam": "^1.3.0"
|
|
4805
|
+
},
|
|
4806
|
+
"engines": {
|
|
4807
|
+
"node": ">= 6.4.0"
|
|
4808
|
+
}
|
|
4809
|
+
},
|
|
4589
4810
|
"node_modules/word-wrap": {
|
|
4590
4811
|
"version": "1.2.3",
|
|
4591
4812
|
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
|
|
@@ -5076,6 +5297,21 @@
|
|
|
5076
5297
|
"resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
|
|
5077
5298
|
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw=="
|
|
5078
5299
|
},
|
|
5300
|
+
"@colors/colors": {
|
|
5301
|
+
"version": "1.5.0",
|
|
5302
|
+
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
|
|
5303
|
+
"integrity": "sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ=="
|
|
5304
|
+
},
|
|
5305
|
+
"@dabh/diagnostics": {
|
|
5306
|
+
"version": "2.0.3",
|
|
5307
|
+
"resolved": "https://registry.npmjs.org/@dabh/diagnostics/-/diagnostics-2.0.3.tgz",
|
|
5308
|
+
"integrity": "sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==",
|
|
5309
|
+
"requires": {
|
|
5310
|
+
"colorspace": "1.1.x",
|
|
5311
|
+
"enabled": "2.0.x",
|
|
5312
|
+
"kuler": "^2.0.0"
|
|
5313
|
+
}
|
|
5314
|
+
},
|
|
5079
5315
|
"@eslint/eslintrc": {
|
|
5080
5316
|
"version": "1.3.0",
|
|
5081
5317
|
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.0.tgz",
|
|
@@ -5804,6 +6040,11 @@
|
|
|
5804
6040
|
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
|
|
5805
6041
|
"dev": true
|
|
5806
6042
|
},
|
|
6043
|
+
"async": {
|
|
6044
|
+
"version": "3.2.4",
|
|
6045
|
+
"resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz",
|
|
6046
|
+
"integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ=="
|
|
6047
|
+
},
|
|
5807
6048
|
"babel-jest": {
|
|
5808
6049
|
"version": "28.1.1",
|
|
5809
6050
|
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-28.1.1.tgz",
|
|
@@ -5995,6 +6236,30 @@
|
|
|
5995
6236
|
"resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz",
|
|
5996
6237
|
"integrity": "sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg=="
|
|
5997
6238
|
},
|
|
6239
|
+
"color": {
|
|
6240
|
+
"version": "3.2.1",
|
|
6241
|
+
"resolved": "https://registry.npmjs.org/color/-/color-3.2.1.tgz",
|
|
6242
|
+
"integrity": "sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA==",
|
|
6243
|
+
"requires": {
|
|
6244
|
+
"color-convert": "^1.9.3",
|
|
6245
|
+
"color-string": "^1.6.0"
|
|
6246
|
+
},
|
|
6247
|
+
"dependencies": {
|
|
6248
|
+
"color-convert": {
|
|
6249
|
+
"version": "1.9.3",
|
|
6250
|
+
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
|
6251
|
+
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
|
6252
|
+
"requires": {
|
|
6253
|
+
"color-name": "1.1.3"
|
|
6254
|
+
}
|
|
6255
|
+
},
|
|
6256
|
+
"color-name": {
|
|
6257
|
+
"version": "1.1.3",
|
|
6258
|
+
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
|
6259
|
+
"integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw=="
|
|
6260
|
+
}
|
|
6261
|
+
}
|
|
6262
|
+
},
|
|
5998
6263
|
"color-convert": {
|
|
5999
6264
|
"version": "2.0.1",
|
|
6000
6265
|
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
@@ -6008,6 +6273,24 @@
|
|
|
6008
6273
|
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
|
|
6009
6274
|
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
|
|
6010
6275
|
},
|
|
6276
|
+
"color-string": {
|
|
6277
|
+
"version": "1.9.1",
|
|
6278
|
+
"resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz",
|
|
6279
|
+
"integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==",
|
|
6280
|
+
"requires": {
|
|
6281
|
+
"color-name": "^1.0.0",
|
|
6282
|
+
"simple-swizzle": "^0.2.2"
|
|
6283
|
+
}
|
|
6284
|
+
},
|
|
6285
|
+
"colorspace": {
|
|
6286
|
+
"version": "1.1.4",
|
|
6287
|
+
"resolved": "https://registry.npmjs.org/colorspace/-/colorspace-1.1.4.tgz",
|
|
6288
|
+
"integrity": "sha512-BgvKJiuVu1igBUF2kEjRCZXol6wiiGbY5ipL/oVPwm0BL9sIpMIzM8IK7vwuxIIzOXMV3Ey5w+vxhm0rR/TN8w==",
|
|
6289
|
+
"requires": {
|
|
6290
|
+
"color": "^3.1.3",
|
|
6291
|
+
"text-hex": "1.0.x"
|
|
6292
|
+
}
|
|
6293
|
+
},
|
|
6011
6294
|
"concat-map": {
|
|
6012
6295
|
"version": "0.0.1",
|
|
6013
6296
|
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
@@ -6163,6 +6446,11 @@
|
|
|
6163
6446
|
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
|
|
6164
6447
|
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="
|
|
6165
6448
|
},
|
|
6449
|
+
"enabled": {
|
|
6450
|
+
"version": "2.0.0",
|
|
6451
|
+
"resolved": "https://registry.npmjs.org/enabled/-/enabled-2.0.0.tgz",
|
|
6452
|
+
"integrity": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ=="
|
|
6453
|
+
},
|
|
6166
6454
|
"entities": {
|
|
6167
6455
|
"version": "2.2.0",
|
|
6168
6456
|
"resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz",
|
|
@@ -6513,6 +6801,11 @@
|
|
|
6513
6801
|
"bser": "2.1.1"
|
|
6514
6802
|
}
|
|
6515
6803
|
},
|
|
6804
|
+
"fecha": {
|
|
6805
|
+
"version": "4.2.3",
|
|
6806
|
+
"resolved": "https://registry.npmjs.org/fecha/-/fecha-4.2.3.tgz",
|
|
6807
|
+
"integrity": "sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw=="
|
|
6808
|
+
},
|
|
6516
6809
|
"file-entry-cache": {
|
|
6517
6810
|
"version": "6.0.1",
|
|
6518
6811
|
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
|
|
@@ -6560,6 +6853,11 @@
|
|
|
6560
6853
|
"integrity": "sha512-WIWGi2L3DyTUvUrwRKgGi9TwxQMUEqPOPQBVi71R96jZXJdFskXEmf54BoZaS1kknGODoIGASGEzBUYdyMCBJg==",
|
|
6561
6854
|
"dev": true
|
|
6562
6855
|
},
|
|
6856
|
+
"fn.name": {
|
|
6857
|
+
"version": "1.1.0",
|
|
6858
|
+
"resolved": "https://registry.npmjs.org/fn.name/-/fn.name-1.1.0.tgz",
|
|
6859
|
+
"integrity": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw=="
|
|
6860
|
+
},
|
|
6563
6861
|
"fs.realpath": {
|
|
6564
6862
|
"version": "1.0.0",
|
|
6565
6863
|
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
@@ -6752,6 +7050,11 @@
|
|
|
6752
7050
|
"resolved": "https://registry.npmjs.org/inspecjs/-/inspecjs-2.6.25.tgz",
|
|
6753
7051
|
"integrity": "sha512-8JAYHOLST8sEkeq/3JPa1kl5BzcdGvBBs1NhpzVDP2i1R4D9786JHQdbIOvxJqPBeDTs+Otyi9H1uU3BPJ9yMQ=="
|
|
6754
7052
|
},
|
|
7053
|
+
"is-arrayish": {
|
|
7054
|
+
"version": "0.3.2",
|
|
7055
|
+
"resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz",
|
|
7056
|
+
"integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ=="
|
|
7057
|
+
},
|
|
6755
7058
|
"is-core-module": {
|
|
6756
7059
|
"version": "2.9.0",
|
|
6757
7060
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz",
|
|
@@ -7314,6 +7617,11 @@
|
|
|
7314
7617
|
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
|
|
7315
7618
|
"integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w=="
|
|
7316
7619
|
},
|
|
7620
|
+
"kuler": {
|
|
7621
|
+
"version": "2.0.0",
|
|
7622
|
+
"resolved": "https://registry.npmjs.org/kuler/-/kuler-2.0.0.tgz",
|
|
7623
|
+
"integrity": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A=="
|
|
7624
|
+
},
|
|
7317
7625
|
"leven": {
|
|
7318
7626
|
"version": "3.1.0",
|
|
7319
7627
|
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
|
|
@@ -7358,6 +7666,18 @@
|
|
|
7358
7666
|
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
|
|
7359
7667
|
"dev": true
|
|
7360
7668
|
},
|
|
7669
|
+
"logform": {
|
|
7670
|
+
"version": "2.4.2",
|
|
7671
|
+
"resolved": "https://registry.npmjs.org/logform/-/logform-2.4.2.tgz",
|
|
7672
|
+
"integrity": "sha512-W4c9himeAwXEdZ05dQNerhFz2XG80P9Oj0loPUMV23VC2it0orMHQhJm4hdnnor3rd1HsGf6a2lPwBM1zeXHGw==",
|
|
7673
|
+
"requires": {
|
|
7674
|
+
"@colors/colors": "1.5.0",
|
|
7675
|
+
"fecha": "^4.2.0",
|
|
7676
|
+
"ms": "^2.1.1",
|
|
7677
|
+
"safe-stable-stringify": "^2.3.1",
|
|
7678
|
+
"triple-beam": "^1.3.0"
|
|
7679
|
+
}
|
|
7680
|
+
},
|
|
7361
7681
|
"lru-cache": {
|
|
7362
7682
|
"version": "6.0.0",
|
|
7363
7683
|
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
|
|
@@ -7501,6 +7821,14 @@
|
|
|
7501
7821
|
"wrappy": "1"
|
|
7502
7822
|
}
|
|
7503
7823
|
},
|
|
7824
|
+
"one-time": {
|
|
7825
|
+
"version": "1.0.0",
|
|
7826
|
+
"resolved": "https://registry.npmjs.org/one-time/-/one-time-1.0.0.tgz",
|
|
7827
|
+
"integrity": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==",
|
|
7828
|
+
"requires": {
|
|
7829
|
+
"fn.name": "1.x.x"
|
|
7830
|
+
}
|
|
7831
|
+
},
|
|
7504
7832
|
"onetime": {
|
|
7505
7833
|
"version": "5.1.2",
|
|
7506
7834
|
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
|
|
@@ -7663,6 +7991,16 @@
|
|
|
7663
7991
|
"resolved": "https://registry.npmjs.org/react-is/-/react-is-18.1.0.tgz",
|
|
7664
7992
|
"integrity": "sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg=="
|
|
7665
7993
|
},
|
|
7994
|
+
"readable-stream": {
|
|
7995
|
+
"version": "3.6.0",
|
|
7996
|
+
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
|
7997
|
+
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
|
7998
|
+
"requires": {
|
|
7999
|
+
"inherits": "^2.0.3",
|
|
8000
|
+
"string_decoder": "^1.1.1",
|
|
8001
|
+
"util-deprecate": "^1.0.1"
|
|
8002
|
+
}
|
|
8003
|
+
},
|
|
7666
8004
|
"regexpp": {
|
|
7667
8005
|
"version": "3.2.0",
|
|
7668
8006
|
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
|
|
@@ -7733,6 +8071,16 @@
|
|
|
7733
8071
|
"queue-microtask": "^1.2.2"
|
|
7734
8072
|
}
|
|
7735
8073
|
},
|
|
8074
|
+
"safe-buffer": {
|
|
8075
|
+
"version": "5.2.1",
|
|
8076
|
+
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
|
8077
|
+
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
|
|
8078
|
+
},
|
|
8079
|
+
"safe-stable-stringify": {
|
|
8080
|
+
"version": "2.3.1",
|
|
8081
|
+
"resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.3.1.tgz",
|
|
8082
|
+
"integrity": "sha512-kYBSfT+troD9cDA85VDnHZ1rpHC50O0g1e6WlGHVCz/g+JS+9WKLj+XwFYyR8UbrZN8ll9HUpDAAddY58MGisg=="
|
|
8083
|
+
},
|
|
7736
8084
|
"semver": {
|
|
7737
8085
|
"version": "7.3.7",
|
|
7738
8086
|
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz",
|
|
@@ -7759,6 +8107,14 @@
|
|
|
7759
8107
|
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
|
|
7760
8108
|
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ=="
|
|
7761
8109
|
},
|
|
8110
|
+
"simple-swizzle": {
|
|
8111
|
+
"version": "0.2.2",
|
|
8112
|
+
"resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz",
|
|
8113
|
+
"integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==",
|
|
8114
|
+
"requires": {
|
|
8115
|
+
"is-arrayish": "^0.3.1"
|
|
8116
|
+
}
|
|
8117
|
+
},
|
|
7762
8118
|
"sisteransi": {
|
|
7763
8119
|
"version": "1.0.5",
|
|
7764
8120
|
"resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
|
|
@@ -7788,6 +8144,11 @@
|
|
|
7788
8144
|
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
|
7789
8145
|
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="
|
|
7790
8146
|
},
|
|
8147
|
+
"stack-trace": {
|
|
8148
|
+
"version": "0.0.10",
|
|
8149
|
+
"resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz",
|
|
8150
|
+
"integrity": "sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg=="
|
|
8151
|
+
},
|
|
7791
8152
|
"stack-utils": {
|
|
7792
8153
|
"version": "2.0.5",
|
|
7793
8154
|
"resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz",
|
|
@@ -7803,6 +8164,14 @@
|
|
|
7803
8164
|
}
|
|
7804
8165
|
}
|
|
7805
8166
|
},
|
|
8167
|
+
"string_decoder": {
|
|
8168
|
+
"version": "1.3.0",
|
|
8169
|
+
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
|
8170
|
+
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
|
8171
|
+
"requires": {
|
|
8172
|
+
"safe-buffer": "~5.2.0"
|
|
8173
|
+
}
|
|
8174
|
+
},
|
|
7806
8175
|
"string-length": {
|
|
7807
8176
|
"version": "4.0.2",
|
|
7808
8177
|
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
|
|
@@ -7891,6 +8260,11 @@
|
|
|
7891
8260
|
"minimatch": "^3.0.4"
|
|
7892
8261
|
}
|
|
7893
8262
|
},
|
|
8263
|
+
"text-hex": {
|
|
8264
|
+
"version": "1.0.0",
|
|
8265
|
+
"resolved": "https://registry.npmjs.org/text-hex/-/text-hex-1.0.0.tgz",
|
|
8266
|
+
"integrity": "sha512-uuVGNWzgJ4yhRaNSiubPY7OjISw4sw4E5Uv0wbjp+OzcbmVU/rsT8ujgcXJhn9ypzsgr5vlzpPqP+MBBKcGvbg=="
|
|
8267
|
+
},
|
|
7894
8268
|
"text-table": {
|
|
7895
8269
|
"version": "0.2.0",
|
|
7896
8270
|
"resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
|
|
@@ -7929,6 +8303,11 @@
|
|
|
7929
8303
|
"is-number": "^7.0.0"
|
|
7930
8304
|
}
|
|
7931
8305
|
},
|
|
8306
|
+
"triple-beam": {
|
|
8307
|
+
"version": "1.3.0",
|
|
8308
|
+
"resolved": "https://registry.npmjs.org/triple-beam/-/triple-beam-1.3.0.tgz",
|
|
8309
|
+
"integrity": "sha512-XrHUvV5HpdLmIj4uVMxHggLbFSZYIn7HEWsqePZcI50pco+MPqJ50wMGY794X7AOOhxOBAjbkqfAbEe/QMp2Lw=="
|
|
8310
|
+
},
|
|
7932
8311
|
"ts-jest": {
|
|
7933
8312
|
"version": "28.0.4",
|
|
7934
8313
|
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-28.0.4.tgz",
|
|
@@ -8013,6 +8392,11 @@
|
|
|
8013
8392
|
"punycode": "^2.1.0"
|
|
8014
8393
|
}
|
|
8015
8394
|
},
|
|
8395
|
+
"util-deprecate": {
|
|
8396
|
+
"version": "1.0.2",
|
|
8397
|
+
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
8398
|
+
"integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
|
|
8399
|
+
},
|
|
8016
8400
|
"v8-compile-cache": {
|
|
8017
8401
|
"version": "2.3.0",
|
|
8018
8402
|
"resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
|
|
@@ -8045,6 +8429,33 @@
|
|
|
8045
8429
|
"isexe": "^2.0.0"
|
|
8046
8430
|
}
|
|
8047
8431
|
},
|
|
8432
|
+
"winston": {
|
|
8433
|
+
"version": "3.8.1",
|
|
8434
|
+
"resolved": "https://registry.npmjs.org/winston/-/winston-3.8.1.tgz",
|
|
8435
|
+
"integrity": "sha512-r+6YAiCR4uI3N8eQNOg8k3P3PqwAm20cLKlzVD9E66Ch39+LZC+VH1UKf9JemQj2B3QoUHfKD7Poewn0Pr3Y1w==",
|
|
8436
|
+
"requires": {
|
|
8437
|
+
"@dabh/diagnostics": "^2.0.2",
|
|
8438
|
+
"async": "^3.2.3",
|
|
8439
|
+
"is-stream": "^2.0.0",
|
|
8440
|
+
"logform": "^2.4.0",
|
|
8441
|
+
"one-time": "^1.0.0",
|
|
8442
|
+
"readable-stream": "^3.4.0",
|
|
8443
|
+
"safe-stable-stringify": "^2.3.1",
|
|
8444
|
+
"stack-trace": "0.0.x",
|
|
8445
|
+
"triple-beam": "^1.3.0",
|
|
8446
|
+
"winston-transport": "^4.5.0"
|
|
8447
|
+
}
|
|
8448
|
+
},
|
|
8449
|
+
"winston-transport": {
|
|
8450
|
+
"version": "4.5.0",
|
|
8451
|
+
"resolved": "https://registry.npmjs.org/winston-transport/-/winston-transport-4.5.0.tgz",
|
|
8452
|
+
"integrity": "sha512-YpZzcUzBedhlTAfJg6vJDlyEai/IFMIVcaEZZyl3UXIl4gmqRpU7AE89AHLkbzLUsv0NVmw7ts+iztqKxxPW1Q==",
|
|
8453
|
+
"requires": {
|
|
8454
|
+
"logform": "^2.3.2",
|
|
8455
|
+
"readable-stream": "^3.6.0",
|
|
8456
|
+
"triple-beam": "^1.3.0"
|
|
8457
|
+
}
|
|
8458
|
+
},
|
|
8048
8459
|
"word-wrap": {
|
|
8049
8460
|
"version": "1.2.3",
|
|
8050
8461
|
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mitre/inspec-objects",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "Typescript objects for normalizing between InSpec profiles and XCCDF benchmarks",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"mustache": "^4.2.0",
|
|
39
39
|
"ts-jest": "^28.0.4",
|
|
40
40
|
"typescript": "^4.5.5",
|
|
41
|
+
"winston": "^3.8.1",
|
|
41
42
|
"yaml": "^1.10.2"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
Binary file
|