@mitre/hdf-generators 3.3.1 → 3.4.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/dist/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { BaselineRequirement, Description, HDFBaseline, Reference } from "@mitre/hdf-schema";
|
|
2
|
-
|
|
3
2
|
//#region src/types.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Options for controlling InSpec profile generation.
|
|
@@ -55,9 +54,9 @@ declare function mergeRequirement(current: BaselineRequirement, upstream: Baseli
|
|
|
55
54
|
* prefer "current": union; current wins on key conflicts.
|
|
56
55
|
* prefer "upstream": upstream replaces all.
|
|
57
56
|
*/
|
|
58
|
-
declare function mergeTags(current: Record<string, any
|
|
59
|
-
upstream: Record<string, any
|
|
60
|
-
prefer?: PreferSide): Record<string, any>;
|
|
57
|
+
declare function mergeTags(current: Record<string, any> // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
58
|
+
, upstream: Record<string, any> // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
59
|
+
, prefer?: PreferSide): Record<string, any>;
|
|
61
60
|
/**
|
|
62
61
|
* Merge two description arrays by label.
|
|
63
62
|
*
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/merge.ts","../src/delta-types.ts","../src/ruby-escape.ts","../src/control-stub.ts","../src/inspec-yml.ts","../src/profile-generator.ts","../src/delta.ts","../src/delta-report.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types.ts","../src/merge.ts","../src/delta-types.ts","../src/ruby-escape.ts","../src/control-stub.ts","../src/inspec-yml.ts","../src/profile-generator.ts","../src/delta.ts","../src/delta-report.ts"],"mappings":";;;;;UAGiB;;EAEf;;EAEA,WAAW;;EAEX;;;;;UAMe;EACf;EACA;EACA;EACA;;;;;UAMe;;EAEf;;EAEA,UAAU;;;;KC3BA;;;;;;;;;;;;;;;iBAgBI,iBACd,SAAS,qBACT,UAAU,qBACV,SAAS,aACR;;;;;;;;iBAwCa,UACd,SAAS;EACT,UAAU;EACV,SAAS,aACR;;;;;;;;iBA4Ba,kBACd,SAAS,eACT,UAAU,eACV,SAAS,aACR;;;;;;;;iBAqCa,UACd,UAAU,aACV,WAAW,aACX,SAAS,aACR;;;;;;UCpIc;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;;;;;;;;;;;;;;UAgBe;EACf;EACA;EACA;EACA;EACA;EACA;EACA;;;;;UAMe;EACf,UAAU;EACV,UAAU;EACV,aAAa;EACb,YAAY;;;KAIF,cAAc;;;;UAKT;;EAEf,SAAS;;EAET;;EAEA;;EAEA;;EAEA,WAAW;;EAEX;;;;;;;;EAQA;;;KAIU,eAAe;;;;;;;;;;;;;;iBCrEX,aAAa;;;;;;;;;;;;;;;;iBCWb,oBAAoB,KAAK;;;;;;;;;iBCbzB,kBACd,UAAU,aACV,UAAU;;;;;;;;;;iBCCI,sBACd,UAAU,aACV,UAAU,mBACT;;;;;;;;;;;;;;iBCGa,gBACd,iBAAiB,aACjB,kBAAkB,aAClB,aAAa,cACb,OAAO,iBACN;;;;;;iBAmFa,cACd,aAAa,aACb,aAAa,cACb,YAAY,qBACZ,OAAO,cACP,2BACC;;;;;;;UC1Gc;EACf,OAAO;;;;;;iBAOO,kBAAkB,QAAQ,cAAc;;;;;;iBAoCxC,sBAAsB,QAAQ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mitre/hdf-generators",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Generate InSpec profile stubs from HDF Baseline definitions",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"author": "MITRE Corporation",
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@mitre/hdf-schema": "^3.
|
|
28
|
+
"@mitre/hdf-schema": "^3.4.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@mitre/hdf-fixtures": "^3.
|
|
31
|
+
"@mitre/hdf-fixtures": "^3.4.0"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=22.0.0"
|