@mitre/inspec-objects 0.0.10 → 0.0.11

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/package-lock.json CHANGED
@@ -1,24 +1,28 @@
1
1
  {
2
2
  "name": "@mitre/inspec-objects",
3
- "version": "0.0.3",
3
+ "version": "0.0.10",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@mitre/inspec-objects",
9
- "version": "0.0.3",
9
+ "version": "0.0.10",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@types/flat": "^5.0.2",
13
+ "@types/he": "^1.1.2",
13
14
  "@types/json-diff": "^0.7.0",
14
15
  "@types/lodash": "^4.14.178",
16
+ "@types/mustache": "^4.2.0",
15
17
  "fast-xml-parser": "^3.1.19",
16
18
  "flat": "^5.0.2",
19
+ "he": "^1.2.0",
17
20
  "htmlparser2": "^7.2.0",
18
21
  "inspecjs": "^2.6.6",
19
22
  "jest": "^28.1.1",
20
23
  "json-diff": "^0.9.0",
21
24
  "lodash": "^4.17.21",
25
+ "mustache": "^4.2.0",
22
26
  "ts-jest": "^28.0.4",
23
27
  "typescript": "^4.5.5",
24
28
  "yaml": "^1.10.2"
@@ -1068,6 +1072,11 @@
1068
1072
  "@types/node": "*"
1069
1073
  }
1070
1074
  },
1075
+ "node_modules/@types/he": {
1076
+ "version": "1.1.2",
1077
+ "resolved": "https://registry.npmjs.org/@types/he/-/he-1.1.2.tgz",
1078
+ "integrity": "sha512-kSJPcLO1x+oolc0R89pUl2kozldQ/fVQ1C1p5mp8fPoLdF/ZcBvckaTC2M8xXh3GYendXvCpy5m/a2eSbfgNgw=="
1079
+ },
1071
1080
  "node_modules/@types/istanbul-lib-coverage": {
1072
1081
  "version": "2.0.4",
1073
1082
  "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz",
@@ -1195,6 +1204,11 @@
1195
1204
  "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz",
1196
1205
  "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q=="
1197
1206
  },
1207
+ "node_modules/@types/mustache": {
1208
+ "version": "4.2.0",
1209
+ "resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.0.tgz",
1210
+ "integrity": "sha512-FXrh/N8ka/NTwiF9ed/xkStafRDtU9c0PT7VwGKfQ6Vh8OAESc4EuyfF0HIEjq2QuUTY+QOnoiq5Br1rk6G6kw=="
1211
+ },
1198
1212
  "node_modules/@types/node": {
1199
1213
  "version": "17.0.41",
1200
1214
  "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.41.tgz",
@@ -2664,6 +2678,14 @@
2664
2678
  "node": ">=8"
2665
2679
  }
2666
2680
  },
2681
+ "node_modules/he": {
2682
+ "version": "1.2.0",
2683
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
2684
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
2685
+ "bin": {
2686
+ "he": "bin/he"
2687
+ }
2688
+ },
2667
2689
  "node_modules/heap": {
2668
2690
  "version": "0.2.7",
2669
2691
  "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.7.tgz",
@@ -3706,6 +3728,14 @@
3706
3728
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
3707
3729
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
3708
3730
  },
3731
+ "node_modules/mustache": {
3732
+ "version": "4.2.0",
3733
+ "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz",
3734
+ "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==",
3735
+ "bin": {
3736
+ "mustache": "bin/mustache"
3737
+ }
3738
+ },
3709
3739
  "node_modules/natural-compare": {
3710
3740
  "version": "1.4.0",
3711
3741
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
@@ -5458,6 +5488,11 @@
5458
5488
  "@types/node": "*"
5459
5489
  }
5460
5490
  },
5491
+ "@types/he": {
5492
+ "version": "1.1.2",
5493
+ "resolved": "https://registry.npmjs.org/@types/he/-/he-1.1.2.tgz",
5494
+ "integrity": "sha512-kSJPcLO1x+oolc0R89pUl2kozldQ/fVQ1C1p5mp8fPoLdF/ZcBvckaTC2M8xXh3GYendXvCpy5m/a2eSbfgNgw=="
5495
+ },
5461
5496
  "@types/istanbul-lib-coverage": {
5462
5497
  "version": "2.0.4",
5463
5498
  "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz",
@@ -5566,6 +5601,11 @@
5566
5601
  "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz",
5567
5602
  "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q=="
5568
5603
  },
5604
+ "@types/mustache": {
5605
+ "version": "4.2.0",
5606
+ "resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.0.tgz",
5607
+ "integrity": "sha512-FXrh/N8ka/NTwiF9ed/xkStafRDtU9c0PT7VwGKfQ6Vh8OAESc4EuyfF0HIEjq2QuUTY+QOnoiq5Br1rk6G6kw=="
5608
+ },
5569
5609
  "@types/node": {
5570
5610
  "version": "17.0.41",
5571
5611
  "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.41.tgz",
@@ -6625,6 +6665,11 @@
6625
6665
  "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
6626
6666
  "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
6627
6667
  },
6668
+ "he": {
6669
+ "version": "1.2.0",
6670
+ "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
6671
+ "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
6672
+ },
6628
6673
  "heap": {
6629
6674
  "version": "0.2.7",
6630
6675
  "resolved": "https://registry.npmjs.org/heap/-/heap-0.2.7.tgz",
@@ -7410,6 +7455,11 @@
7410
7455
  "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
7411
7456
  "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
7412
7457
  },
7458
+ "mustache": {
7459
+ "version": "4.2.0",
7460
+ "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz",
7461
+ "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ=="
7462
+ },
7413
7463
  "natural-compare": {
7414
7464
  "version": "1.4.0",
7415
7465
  "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mitre/inspec-objects",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Typescript objects for normalizing between InSpec profiles and XCCDF benchmarks",
5
5
  "main": "lib/index.js",
6
6
  "publishConfig": {
@@ -23,15 +23,19 @@
23
23
  "homepage": "https://github.com/mitre/ts-inspec-objects#readme",
24
24
  "dependencies": {
25
25
  "@types/flat": "^5.0.2",
26
+ "@types/he": "^1.1.2",
26
27
  "@types/json-diff": "^0.7.0",
27
28
  "@types/lodash": "^4.14.178",
29
+ "@types/mustache": "^4.2.0",
28
30
  "fast-xml-parser": "^3.1.19",
29
31
  "flat": "^5.0.2",
32
+ "he": "^1.2.0",
30
33
  "htmlparser2": "^7.2.0",
31
34
  "inspecjs": "^2.6.6",
32
35
  "jest": "^28.1.1",
33
36
  "json-diff": "^0.9.0",
34
37
  "lodash": "^4.17.21",
38
+ "mustache": "^4.2.0",
35
39
  "ts-jest": "^28.0.4",
36
40
  "typescript": "^4.5.5",
37
41
  "yaml": "^1.10.2"
@@ -1,29 +0,0 @@
1
- package { 'screen':
2
- ensure => 'installed',
3
- tag => 'V-71897'
4
- }
5
-
6
- Package {
7
- ensure => 'installed'
8
- }
9
- $mfa = ['esc','pam_pkcs11','authconfig-gtk']
10
- package {
11
- $mfa: tag => 'V-72417'
12
- }
13
-
14
- sysctl { 'net.ipv4.conf.all.accept_redirects':
15
- ensure => present,
16
- value => '0',
17
- tag => 'V-73175'
18
- }
19
-
20
- sysctl { 'net.ipv6.conf.all.accept_source_route':
21
- ensure => present,
22
- value => '0',
23
- tag => 'V-72319'
24
- }
25
-
26
- package { 'sssd':
27
- ensure => 'installed',
28
- tag => 'V-72427'
29
- }