eslint-plugin-sonarjs 4.0.1 → 4.0.3
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/README.md +23 -22
- package/cjs/S100/config.js +3 -3
- package/cjs/S100/generated-meta.js +3 -3
- package/cjs/S100/index.js +3 -3
- package/cjs/S100/meta.js +3 -3
- package/cjs/S100/rule.js +10 -8
- package/cjs/S101/config.js +4 -4
- package/cjs/S101/generated-meta.js +4 -4
- package/cjs/S101/index.js +3 -3
- package/cjs/S101/meta.js +3 -3
- package/cjs/S101/rule.js +6 -6
- package/cjs/S104/config.js +3 -3
- package/cjs/S104/generated-meta.js +3 -3
- package/cjs/S104/index.js +3 -3
- package/cjs/S104/meta.js +3 -3
- package/cjs/S104/rule.js +5 -5
- package/cjs/S105/generated-meta.js +3 -3
- package/cjs/S105/index.js +3 -3
- package/cjs/S105/meta.js +3 -3
- package/cjs/S105/rule.js +5 -5
- package/cjs/S1066/generated-meta.js +3 -3
- package/cjs/S1066/index.js +3 -3
- package/cjs/S1066/meta.js +3 -3
- package/cjs/S1066/rule.js +8 -7
- package/cjs/S1067/config.js +3 -3
- package/cjs/S1067/generated-meta.js +3 -3
- package/cjs/S1067/index.js +3 -3
- package/cjs/S1067/meta.js +3 -3
- package/cjs/S1067/rule.js +11 -9
- package/cjs/S1110/generated-meta.js +3 -3
- package/cjs/S1110/index.js +3 -3
- package/cjs/S1110/meta.js +3 -3
- package/cjs/S1110/rule.js +10 -8
- package/cjs/S1119/generated-meta.js +3 -3
- package/cjs/S1119/index.js +3 -3
- package/cjs/S1119/meta.js +3 -3
- package/cjs/S1119/rule.js +5 -5
- package/cjs/S1121/generated-meta.js +3 -3
- package/cjs/S1121/index.js +3 -3
- package/cjs/S1121/meta.js +3 -3
- package/cjs/S1121/rule.js +7 -6
- package/cjs/S1125/generated-meta.js +3 -3
- package/cjs/S1125/index.js +3 -3
- package/cjs/S1125/meta.js +3 -3
- package/cjs/S1125/rule.js +12 -11
- package/cjs/S1126/generated-meta.js +3 -3
- package/cjs/S1126/index.js +3 -3
- package/cjs/S1126/meta.js +3 -3
- package/cjs/S1126/rule.js +31 -12
- package/cjs/S1128/generated-meta.js +5 -4
- package/cjs/S1128/index.js +3 -3
- package/cjs/S1128/meta.js +3 -3
- package/cjs/S1128/rule.js +11 -8
- package/cjs/S1134/generated-meta.js +3 -3
- package/cjs/S1134/index.js +3 -3
- package/cjs/S1134/meta.js +3 -3
- package/cjs/S1134/rule.js +5 -5
- package/cjs/S1135/generated-meta.js +3 -3
- package/cjs/S1135/index.js +3 -3
- package/cjs/S1135/meta.js +3 -3
- package/cjs/S1135/rule.js +5 -5
- package/cjs/S1154/generated-meta.js +3 -3
- package/cjs/S1154/index.js +3 -3
- package/cjs/S1154/meta.js +3 -3
- package/cjs/S1154/rule.js +9 -7
- package/cjs/S117/config.js +3 -3
- package/cjs/S117/generated-meta.js +3 -3
- package/cjs/S117/index.js +3 -3
- package/cjs/S117/meta.js +3 -3
- package/cjs/S117/rule.js +9 -8
- package/cjs/S1172/generated-meta.js +3 -3
- package/cjs/S1172/index.js +3 -3
- package/cjs/S1172/meta.js +3 -3
- package/cjs/S1172/rule.js +5 -5
- package/cjs/S1192/config.js +3 -3
- package/cjs/S1192/generated-meta.js +3 -3
- package/cjs/S1192/index.js +3 -3
- package/cjs/S1192/meta.js +3 -3
- package/cjs/S1192/rule.js +10 -9
- package/cjs/S1219/generated-meta.js +3 -3
- package/cjs/S1219/index.js +3 -3
- package/cjs/S1219/meta.js +3 -3
- package/cjs/S1219/rule.js +7 -6
- package/cjs/S1226/generated-meta.js +3 -3
- package/cjs/S1226/index.js +3 -3
- package/cjs/S1226/meta.js +3 -3
- package/cjs/S1226/rule.js +9 -7
- package/cjs/S124/config.js +3 -3
- package/cjs/S124/generated-meta.js +3 -3
- package/cjs/S124/index.js +3 -3
- package/cjs/S124/meta.js +3 -3
- package/cjs/S124/rule.js +5 -5
- package/cjs/S125/generated-meta.js +3 -3
- package/cjs/S125/index.js +3 -3
- package/cjs/S125/meta.js +3 -3
- package/cjs/S125/rule.js +76 -27
- package/cjs/S126/generated-meta.js +3 -3
- package/cjs/S126/index.js +3 -3
- package/cjs/S126/meta.js +3 -3
- package/cjs/S126/rule.js +5 -5
- package/cjs/S1264/generated-meta.js +3 -3
- package/cjs/S1264/index.js +3 -3
- package/cjs/S1264/meta.js +3 -3
- package/cjs/S1264/rule.js +5 -5
- package/cjs/S128/generated-meta.js +3 -3
- package/cjs/S128/index.js +3 -3
- package/cjs/S128/meta.js +3 -3
- package/cjs/S128/rule.js +7 -6
- package/cjs/S1291/generated-meta.js +3 -3
- package/cjs/S1291/index.js +3 -3
- package/cjs/S1291/meta.js +3 -3
- package/cjs/S1291/rule.js +5 -5
- package/cjs/S1301/generated-meta.js +3 -3
- package/cjs/S1301/index.js +3 -3
- package/cjs/S1301/meta.js +3 -3
- package/cjs/S1301/rule.js +143 -5
- package/cjs/S1313/generated-meta.js +5 -5
- package/cjs/S1313/index.js +3 -3
- package/cjs/S1313/meta.js +3 -3
- package/cjs/S1313/rule.js +5 -5
- package/cjs/S134/config.js +4 -4
- package/cjs/S134/generated-meta.js +3 -3
- package/cjs/S134/index.js +3 -3
- package/cjs/S134/meta.js +3 -3
- package/cjs/S134/rule.js +10 -8
- package/cjs/S135/generated-meta.js +3 -3
- package/cjs/S135/index.js +3 -3
- package/cjs/S135/meta.js +3 -3
- package/cjs/S135/rule.js +8 -7
- package/cjs/S138/config.js +3 -3
- package/cjs/S138/generated-meta.js +3 -3
- package/cjs/S138/index.js +3 -3
- package/cjs/S138/meta.js +3 -3
- package/cjs/S138/rule.js +12 -9
- package/cjs/S1439/generated-meta.js +3 -3
- package/cjs/S1439/index.js +3 -3
- package/cjs/S1439/meta.js +3 -3
- package/cjs/S1439/rule.js +5 -5
- package/cjs/S1444/generated-meta.js +3 -3
- package/cjs/S1444/index.js +3 -3
- package/cjs/S1444/meta.js +3 -3
- package/cjs/S1444/rule.js +5 -5
- package/cjs/S1451/config.js +3 -3
- package/cjs/S1451/generated-meta.js +3 -3
- package/cjs/S1451/index.js +3 -3
- package/cjs/S1451/meta.js +3 -3
- package/cjs/S1451/rule.js +5 -5
- package/cjs/S1472/generated-meta.js +3 -3
- package/cjs/S1472/index.js +3 -3
- package/cjs/S1472/meta.js +3 -3
- package/cjs/S1472/rule.js +5 -5
- package/cjs/S1479/config.js +3 -3
- package/cjs/S1479/generated-meta.js +3 -3
- package/cjs/S1479/index.js +3 -3
- package/cjs/S1479/meta.js +3 -3
- package/cjs/S1479/rule.js +5 -5
- package/cjs/S1481/generated-meta.js +3 -3
- package/cjs/S1481/index.js +3 -3
- package/cjs/S1481/meta.js +3 -3
- package/cjs/S1481/rule.js +5 -5
- package/cjs/S1488/generated-meta.js +3 -3
- package/cjs/S1488/index.js +3 -3
- package/cjs/S1488/meta.js +3 -3
- package/cjs/S1488/rule.js +14 -10
- package/cjs/S1515/generated-meta.js +3 -3
- package/cjs/S1515/index.js +3 -3
- package/cjs/S1515/meta.js +3 -3
- package/cjs/S1515/rule.js +13 -11
- package/cjs/S1523/generated-meta.js +3 -3
- package/cjs/S1523/index.js +3 -3
- package/cjs/S1523/meta.js +3 -3
- package/cjs/S1523/rule.js +8 -8
- package/cjs/S1526/generated-meta.js +3 -3
- package/cjs/S1526/index.js +3 -3
- package/cjs/S1526/meta.js +3 -3
- package/cjs/S1526/rule.js +8 -7
- package/cjs/S1527/generated-meta.js +3 -3
- package/cjs/S1527/index.js +3 -3
- package/cjs/S1527/meta.js +3 -3
- package/cjs/S1527/rule.js +5 -5
- package/cjs/S1528/generated-meta.js +3 -3
- package/cjs/S1528/index.js +3 -3
- package/cjs/S1528/meta.js +3 -3
- package/cjs/S1528/rule.js +2 -2
- package/cjs/S1529/generated-meta.js +3 -3
- package/cjs/S1529/index.js +3 -3
- package/cjs/S1529/meta.js +3 -3
- package/cjs/S1529/rule.js +7 -6
- package/cjs/S1530/generated-meta.js +3 -3
- package/cjs/S1530/index.js +3 -3
- package/cjs/S1530/meta.js +3 -3
- package/cjs/S1530/rule.js +8 -6
- package/cjs/S1533/generated-meta.js +3 -3
- package/cjs/S1533/index.js +3 -3
- package/cjs/S1533/meta.js +3 -3
- package/cjs/S1533/rule.js +5 -5
- package/cjs/S1535/generated-meta.js +3 -3
- package/cjs/S1535/index.js +3 -3
- package/cjs/S1535/meta.js +3 -3
- package/cjs/S1535/rule.js +5 -5
- package/cjs/S1541/config.js +3 -3
- package/cjs/S1541/generated-meta.js +3 -3
- package/cjs/S1541/index.js +3 -3
- package/cjs/S1541/meta.js +3 -3
- package/cjs/S1541/rule.js +13 -10
- package/cjs/S1607/generated-meta.js +3 -3
- package/cjs/S1607/index.js +3 -3
- package/cjs/S1607/meta.js +3 -3
- package/cjs/S1607/rule.js +25 -23
- package/cjs/S1764/generated-meta.js +3 -3
- package/cjs/S1764/index.js +3 -3
- package/cjs/S1764/meta.js +3 -3
- package/cjs/S1764/rule.js +13 -10
- package/cjs/S1821/generated-meta.js +3 -3
- package/cjs/S1821/index.js +3 -3
- package/cjs/S1821/meta.js +3 -3
- package/cjs/S1821/rule.js +5 -5
- package/cjs/S1848/generated-meta.js +3 -3
- package/cjs/S1848/index.js +3 -3
- package/cjs/S1848/meta.js +3 -3
- package/cjs/S1848/rule.js +13 -10
- package/cjs/S1854/generated-meta.js +3 -3
- package/cjs/S1854/index.js +3 -3
- package/cjs/S1854/meta.js +3 -3
- package/cjs/S1854/rule.js +21 -17
- package/cjs/S1862/generated-meta.js +3 -3
- package/cjs/S1862/index.js +3 -3
- package/cjs/S1862/meta.js +3 -3
- package/cjs/S1862/rule.js +13 -11
- package/cjs/S1871/generated-meta.js +3 -3
- package/cjs/S1871/index.js +3 -3
- package/cjs/S1871/meta.js +3 -3
- package/cjs/S1871/rule.js +24 -19
- package/cjs/S1874/generated-meta.js +3 -3
- package/cjs/S1874/index.js +3 -3
- package/cjs/S1874/meta.js +3 -3
- package/cjs/S1874/rule.js +7 -6
- package/cjs/S1940/generated-meta.js +3 -3
- package/cjs/S1940/index.js +3 -3
- package/cjs/S1940/meta.js +3 -3
- package/cjs/S1940/rule.js +5 -5
- package/cjs/S1994/generated-meta.js +3 -3
- package/cjs/S1994/index.js +3 -3
- package/cjs/S1994/meta.js +3 -3
- package/cjs/S1994/rule.js +13 -10
- package/cjs/S2004/config.js +3 -3
- package/cjs/S2004/generated-meta.js +3 -3
- package/cjs/S2004/index.js +3 -3
- package/cjs/S2004/meta.js +3 -3
- package/cjs/S2004/rule.js +12 -10
- package/cjs/S2068/config.js +3 -3
- package/cjs/S2068/generated-meta.js +3 -3
- package/cjs/S2068/index.js +3 -3
- package/cjs/S2068/meta.js +3 -3
- package/cjs/S2068/rule.js +102 -15
- package/cjs/S2077/generated-meta.js +3 -3
- package/cjs/S2077/index.js +3 -3
- package/cjs/S2077/meta.js +3 -3
- package/cjs/S2077/rule.js +45 -9
- package/cjs/S2092/generated-meta.js +4 -4
- package/cjs/S2092/index.js +3 -3
- package/cjs/S2092/meta.js +3 -3
- package/cjs/S2092/rule.js +5 -5
- package/cjs/S2123/generated-meta.js +3 -3
- package/cjs/S2123/index.js +3 -3
- package/cjs/S2123/meta.js +3 -3
- package/cjs/S2123/rule.js +5 -5
- package/cjs/S2137/generated-meta.js +3 -3
- package/cjs/S2137/index.js +3 -3
- package/cjs/S2137/meta.js +3 -3
- package/cjs/S2137/rule.js +5 -5
- package/cjs/S2138/generated-meta.js +3 -3
- package/cjs/S2138/index.js +3 -3
- package/cjs/S2138/meta.js +3 -3
- package/cjs/S2138/rule.js +7 -6
- package/cjs/S2187/generated-meta.js +3 -3
- package/cjs/S2187/index.js +3 -3
- package/cjs/S2187/meta.js +3 -3
- package/cjs/S2187/rule.js +5 -5
- package/cjs/S2201/generated-meta.js +3 -3
- package/cjs/S2201/index.js +3 -3
- package/cjs/S2201/meta.js +3 -3
- package/cjs/S2201/rule.js +11 -8
- package/cjs/S2208/generated-meta.js +5 -4
- package/cjs/S2208/index.js +3 -3
- package/cjs/S2208/meta.js +3 -3
- package/cjs/S2208/rule.js +5 -5
- package/cjs/S2234/generated-meta.js +3 -3
- package/cjs/S2234/index.js +3 -3
- package/cjs/S2234/meta.js +3 -3
- package/cjs/S2234/rule.js +163 -16
- package/cjs/S2245/generated-meta.js +3 -3
- package/cjs/S2245/index.js +3 -3
- package/cjs/S2245/meta.js +3 -3
- package/cjs/S2245/rule.js +7 -6
- package/cjs/S2251/generated-meta.js +3 -3
- package/cjs/S2251/index.js +3 -3
- package/cjs/S2251/meta.js +3 -3
- package/cjs/S2251/rule.js +8 -7
- package/cjs/S2255/generated-meta.js +3 -3
- package/cjs/S2255/index.js +3 -3
- package/cjs/S2255/meta.js +3 -3
- package/cjs/S2255/rule.js +9 -8
- package/cjs/S2259/generated-meta.js +3 -3
- package/cjs/S2259/index.js +3 -3
- package/cjs/S2259/meta.js +3 -3
- package/cjs/S2259/rule.js +17 -12
- package/cjs/S2301/generated-meta.js +3 -3
- package/cjs/S2301/index.js +3 -3
- package/cjs/S2301/meta.js +3 -3
- package/cjs/S2301/rule.js +24 -13
- package/cjs/S2310/generated-meta.js +3 -3
- package/cjs/S2310/index.js +3 -3
- package/cjs/S2310/meta.js +3 -3
- package/cjs/S2310/rule.js +17 -14
- package/cjs/S2392/generated-meta.js +3 -3
- package/cjs/S2392/index.js +3 -3
- package/cjs/S2392/meta.js +3 -3
- package/cjs/S2392/rule.js +51 -8
- package/cjs/S2424/generated-meta.js +3 -3
- package/cjs/S2424/index.js +3 -3
- package/cjs/S2424/meta.js +3 -3
- package/cjs/S2424/rule.js +5 -5
- package/cjs/S2428/generated-meta.js +3 -3
- package/cjs/S2428/index.js +3 -3
- package/cjs/S2428/meta.js +3 -3
- package/cjs/S2428/rule.js +11 -9
- package/cjs/S2486/generated-meta.js +3 -3
- package/cjs/S2486/index.js +3 -3
- package/cjs/S2486/meta.js +3 -3
- package/cjs/S2486/rule.js +7 -6
- package/cjs/S2589/generated-meta.js +3 -3
- package/cjs/S2589/index.js +3 -3
- package/cjs/S2589/meta.js +3 -3
- package/cjs/S2589/rule.js +15 -13
- package/cjs/S2598/generated-meta.js +3 -3
- package/cjs/S2598/index.js +3 -3
- package/cjs/S2598/meta.js +3 -3
- package/cjs/S2598/rule.js +20 -17
- package/cjs/S2612/generated-meta.js +4 -4
- package/cjs/S2612/index.js +3 -3
- package/cjs/S2612/meta.js +3 -3
- package/cjs/S2612/rule.js +11 -9
- package/cjs/S2639/generated-meta.js +3 -3
- package/cjs/S2639/index.js +3 -3
- package/cjs/S2639/meta.js +3 -3
- package/cjs/S2639/rule.js +5 -5
- package/cjs/S2681/generated-meta.js +3 -3
- package/cjs/S2681/index.js +3 -3
- package/cjs/S2681/meta.js +3 -3
- package/cjs/S2681/rule.js +5 -5
- package/cjs/S2692/generated-meta.js +3 -3
- package/cjs/S2692/index.js +3 -3
- package/cjs/S2692/meta.js +3 -3
- package/cjs/S2692/rule.js +9 -7
- package/cjs/S2699/generated-meta.js +3 -3
- package/cjs/S2699/index.js +3 -3
- package/cjs/S2699/meta.js +3 -3
- package/cjs/S2699/rule.js +40 -31
- package/cjs/S2703/generated-meta.js +3 -3
- package/cjs/S2703/index.js +3 -3
- package/cjs/S2703/meta.js +3 -3
- package/cjs/S2703/rule.js +5 -5
- package/cjs/S2737/generated-meta.js +3 -3
- package/cjs/S2737/index.js +3 -3
- package/cjs/S2737/meta.js +3 -3
- package/cjs/S2737/rule.js +9 -7
- package/cjs/S2755/generated-meta.js +3 -3
- package/cjs/S2755/index.js +3 -3
- package/cjs/S2755/meta.js +3 -3
- package/cjs/S2755/rule.js +12 -9
- package/cjs/S2757/generated-meta.js +3 -3
- package/cjs/S2757/index.js +3 -3
- package/cjs/S2757/meta.js +3 -3
- package/cjs/S2757/rule.js +5 -5
- package/cjs/S2817/generated-meta.js +3 -3
- package/cjs/S2817/index.js +3 -3
- package/cjs/S2817/meta.js +3 -3
- package/cjs/S2817/rule.js +13 -10
- package/cjs/S2819/generated-meta.js +3 -3
- package/cjs/S2819/index.js +3 -3
- package/cjs/S2819/meta.js +3 -3
- package/cjs/S2819/rule.js +19 -15
- package/cjs/S2870/generated-meta.js +3 -3
- package/cjs/S2870/index.js +3 -3
- package/cjs/S2870/meta.js +3 -3
- package/cjs/S2870/rule.js +11 -8
- package/cjs/S2871/generated-meta.js +3 -3
- package/cjs/S2871/index.js +3 -3
- package/cjs/S2871/meta.js +3 -3
- package/cjs/S2871/rule.js +15 -12
- package/cjs/S2970/generated-meta.js +3 -3
- package/cjs/S2970/index.js +3 -3
- package/cjs/S2970/meta.js +3 -3
- package/cjs/S2970/rule.js +12 -11
- package/cjs/S2990/generated-meta.js +3 -3
- package/cjs/S2990/index.js +3 -3
- package/cjs/S2990/meta.js +3 -3
- package/cjs/S2990/rule.js +5 -5
- package/cjs/S2999/config.js +3 -3
- package/cjs/S2999/generated-meta.js +3 -3
- package/cjs/S2999/index.js +3 -3
- package/cjs/S2999/meta.js +3 -3
- package/cjs/S2999/rule.js +13 -10
- package/cjs/S3001/generated-meta.js +3 -3
- package/cjs/S3001/index.js +3 -3
- package/cjs/S3001/meta.js +3 -3
- package/cjs/S3001/rule.js +5 -5
- package/cjs/S3003/generated-meta.js +3 -3
- package/cjs/S3003/index.js +3 -3
- package/cjs/S3003/meta.js +3 -3
- package/cjs/S3003/rule.js +13 -10
- package/cjs/S3317/generated-meta.js +5 -4
- package/cjs/S3317/index.js +3 -3
- package/cjs/S3317/meta.js +3 -3
- package/cjs/S3317/rule.js +7 -6
- package/cjs/S3330/generated-meta.js +3 -3
- package/cjs/S3330/index.js +3 -3
- package/cjs/S3330/meta.js +3 -3
- package/cjs/S3330/rule.js +5 -5
- package/cjs/S3358/generated-meta.js +3 -3
- package/cjs/S3358/index.js +3 -3
- package/cjs/S3358/meta.js +3 -3
- package/cjs/S3358/rule.js +5 -5
- package/cjs/S3402/generated-meta.js +3 -3
- package/cjs/S3402/index.js +3 -3
- package/cjs/S3402/meta.js +3 -3
- package/cjs/S3402/rule.js +17 -13
- package/cjs/S3403/generated-meta.js +3 -3
- package/cjs/S3403/index.js +3 -3
- package/cjs/S3403/meta.js +3 -3
- package/cjs/S3403/rule.js +13 -10
- package/cjs/S3415/generated-meta.js +3 -3
- package/cjs/S3415/index.js +3 -3
- package/cjs/S3415/meta.js +3 -3
- package/cjs/S3415/rule.js +19 -16
- package/cjs/S3499/generated-meta.js +5 -4
- package/cjs/S3499/index.js +3 -3
- package/cjs/S3499/meta.js +3 -3
- package/cjs/S3499/rule.js +8 -7
- package/cjs/S3500/generated-meta.js +5 -4
- package/cjs/S3500/index.js +3 -3
- package/cjs/S3500/meta.js +3 -3
- package/cjs/S3500/rule.js +8 -7
- package/cjs/S3513/generated-meta.js +5 -4
- package/cjs/S3513/index.js +3 -3
- package/cjs/S3513/meta.js +3 -3
- package/cjs/S3513/rule.js +8 -7
- package/cjs/S3514/generated-meta.js +5 -4
- package/cjs/S3514/index.js +3 -3
- package/cjs/S3514/meta.js +3 -3
- package/cjs/S3514/rule.js +13 -10
- package/cjs/S3516/generated-meta.js +3 -3
- package/cjs/S3516/index.js +3 -3
- package/cjs/S3516/meta.js +3 -3
- package/cjs/S3516/rule.js +112 -10
- package/cjs/S3524/config.js +3 -3
- package/cjs/S3524/generated-meta.js +5 -4
- package/cjs/S3524/index.js +3 -3
- package/cjs/S3524/meta.js +3 -3
- package/cjs/S3524/rule.js +5 -5
- package/cjs/S3525/generated-meta.js +5 -4
- package/cjs/S3525/index.js +3 -3
- package/cjs/S3525/meta.js +3 -3
- package/cjs/S3525/rule.js +9 -7
- package/cjs/S3531/generated-meta.js +5 -4
- package/cjs/S3531/index.js +3 -3
- package/cjs/S3531/meta.js +3 -3
- package/cjs/S3531/rule.js +8 -6
- package/cjs/S3533/generated-meta.js +5 -4
- package/cjs/S3533/index.js +3 -3
- package/cjs/S3533/meta.js +3 -3
- package/cjs/S3533/rule.js +11 -10
- package/cjs/S3579/generated-meta.js +3 -3
- package/cjs/S3579/index.js +3 -3
- package/cjs/S3579/meta.js +3 -3
- package/cjs/S3579/rule.js +9 -7
- package/cjs/S3616/generated-meta.js +3 -3
- package/cjs/S3616/index.js +3 -3
- package/cjs/S3616/meta.js +3 -3
- package/cjs/S3616/rule.js +9 -7
- package/cjs/S3626/generated-meta.js +3 -3
- package/cjs/S3626/index.js +3 -3
- package/cjs/S3626/meta.js +3 -3
- package/cjs/S3626/rule.js +7 -6
- package/cjs/S3686/generated-meta.js +3 -3
- package/cjs/S3686/index.js +3 -3
- package/cjs/S3686/meta.js +3 -3
- package/cjs/S3686/rule.js +10 -8
- package/cjs/S3699/generated-meta.js +3 -3
- package/cjs/S3699/index.js +3 -3
- package/cjs/S3699/meta.js +3 -3
- package/cjs/S3699/rule.js +8 -7
- package/cjs/S3735/generated-meta.js +3 -3
- package/cjs/S3735/index.js +3 -3
- package/cjs/S3735/meta.js +3 -3
- package/cjs/S3735/rule.js +11 -8
- package/cjs/S3757/generated-meta.js +3 -3
- package/cjs/S3757/index.js +3 -3
- package/cjs/S3757/meta.js +3 -3
- package/cjs/S3757/rule.js +11 -9
- package/cjs/S3758/generated-meta.js +3 -3
- package/cjs/S3758/index.js +3 -3
- package/cjs/S3758/meta.js +3 -3
- package/cjs/S3758/rule.js +12 -10
- package/cjs/S3760/generated-meta.js +3 -3
- package/cjs/S3760/index.js +3 -3
- package/cjs/S3760/meta.js +3 -3
- package/cjs/S3760/rule.js +27 -24
- package/cjs/S3776/config.js +3 -3
- package/cjs/S3776/generated-meta.js +3 -3
- package/cjs/S3776/index.js +3 -3
- package/cjs/S3776/meta.js +12 -4
- package/cjs/S3776/rule.js +39 -38
- package/cjs/S3782/generated-meta.js +3 -3
- package/cjs/S3782/index.js +3 -3
- package/cjs/S3782/meta.js +3 -3
- package/cjs/S3782/rule.js +10 -8
- package/cjs/S3785/generated-meta.js +3 -3
- package/cjs/S3785/index.js +3 -3
- package/cjs/S3785/meta.js +3 -3
- package/cjs/S3785/rule.js +12 -9
- package/cjs/S3796/generated-meta.js +3 -3
- package/cjs/S3796/index.js +3 -3
- package/cjs/S3796/meta.js +3 -3
- package/cjs/S3796/rule.js +15 -11
- package/cjs/S3798/generated-meta.js +3 -3
- package/cjs/S3798/index.js +3 -3
- package/cjs/S3798/meta.js +3 -3
- package/cjs/S3798/rule.js +4 -3
- package/cjs/S3800/generated-meta.js +3 -3
- package/cjs/S3800/index.js +3 -3
- package/cjs/S3800/meta.js +3 -3
- package/cjs/S3800/rule.js +19 -14
- package/cjs/S3801/generated-meta.js +3 -3
- package/cjs/S3801/index.js +3 -3
- package/cjs/S3801/meta.js +3 -3
- package/cjs/S3801/rule.js +18 -14
- package/cjs/S3827/generated-meta.js +3 -3
- package/cjs/S3827/index.js +3 -3
- package/cjs/S3827/meta.js +3 -3
- package/cjs/S3827/rule.js +9 -6
- package/cjs/S3923/generated-meta.js +3 -3
- package/cjs/S3923/index.js +3 -3
- package/cjs/S3923/meta.js +3 -3
- package/cjs/S3923/rule.js +12 -9
- package/cjs/S3972/generated-meta.js +3 -3
- package/cjs/S3972/index.js +3 -3
- package/cjs/S3972/meta.js +3 -3
- package/cjs/S3972/rule.js +8 -7
- package/cjs/S3973/generated-meta.js +3 -3
- package/cjs/S3973/index.js +3 -3
- package/cjs/S3973/meta.js +3 -3
- package/cjs/S3973/rule.js +10 -8
- package/cjs/S3981/generated-meta.js +3 -3
- package/cjs/S3981/index.js +3 -3
- package/cjs/S3981/meta.js +3 -3
- package/cjs/S3981/rule.js +7 -6
- package/cjs/S3984/generated-meta.js +3 -3
- package/cjs/S3984/index.js +3 -3
- package/cjs/S3984/meta.js +3 -3
- package/cjs/S3984/rule.js +7 -6
- package/cjs/S4030/generated-meta.js +3 -3
- package/cjs/S4030/index.js +3 -3
- package/cjs/S4030/meta.js +3 -3
- package/cjs/S4030/rule.js +15 -12
- package/cjs/S4036/generated-meta.js +3 -3
- package/cjs/S4036/index.js +3 -3
- package/cjs/S4036/meta.js +3 -3
- package/cjs/S4036/rule.js +11 -9
- package/cjs/S4043/generated-meta.js +3 -3
- package/cjs/S4043/index.js +3 -3
- package/cjs/S4043/meta.js +3 -3
- package/cjs/S4043/rule.js +15 -11
- package/cjs/S4139/generated-meta.js +3 -3
- package/cjs/S4139/index.js +3 -3
- package/cjs/S4139/meta.js +3 -3
- package/cjs/S4139/rule.js +10 -8
- package/cjs/S4143/generated-meta.js +3 -3
- package/cjs/S4143/index.js +3 -3
- package/cjs/S4143/meta.js +3 -3
- package/cjs/S4143/rule.js +15 -12
- package/cjs/S4144/config.js +3 -3
- package/cjs/S4144/generated-meta.js +3 -3
- package/cjs/S4144/index.js +3 -3
- package/cjs/S4144/meta.js +3 -3
- package/cjs/S4144/rule.js +15 -12
- package/cjs/S4158/generated-meta.js +3 -3
- package/cjs/S4158/index.js +3 -3
- package/cjs/S4158/meta.js +3 -3
- package/cjs/S4158/rule.js +15 -12
- package/cjs/S4165/generated-meta.js +3 -3
- package/cjs/S4165/index.js +3 -3
- package/cjs/S4165/meta.js +3 -3
- package/cjs/S4165/rule.js +17 -15
- package/cjs/S4322/generated-meta.js +3 -3
- package/cjs/S4322/index.js +3 -3
- package/cjs/S4322/meta.js +3 -3
- package/cjs/S4322/rule.js +11 -8
- package/cjs/S4323/generated-meta.js +3 -3
- package/cjs/S4323/index.js +3 -3
- package/cjs/S4323/meta.js +3 -3
- package/cjs/S4323/rule.js +7 -6
- package/cjs/S4324/generated-meta.js +3 -3
- package/cjs/S4324/index.js +3 -3
- package/cjs/S4324/meta.js +3 -3
- package/cjs/S4324/rule.js +10 -8
- package/cjs/S4328/config.js +3 -3
- package/cjs/S4328/generated-meta.js +3 -3
- package/cjs/S4328/index.js +3 -3
- package/cjs/S4328/meta.js +3 -3
- package/cjs/S4328/rule.js +5 -5
- package/cjs/S4335/generated-meta.js +3 -3
- package/cjs/S4335/index.js +3 -3
- package/cjs/S4335/meta.js +3 -3
- package/cjs/S4335/rule.js +9 -7
- package/cjs/S4423/generated-meta.js +3 -3
- package/cjs/S4423/index.js +3 -3
- package/cjs/S4423/meta.js +3 -3
- package/cjs/S4423/rule.aws.js +3 -3
- package/cjs/S4423/rule.js +7 -6
- package/cjs/S4423/rule.lib.js +11 -10
- package/cjs/S4426/generated-meta.js +3 -3
- package/cjs/S4426/index.js +3 -3
- package/cjs/S4426/meta.js +3 -3
- package/cjs/S4426/rule.js +14 -13
- package/cjs/S4502/generated-meta.js +3 -3
- package/cjs/S4502/index.js +3 -3
- package/cjs/S4502/meta.js +3 -3
- package/cjs/S4502/rule.js +19 -16
- package/cjs/S4507/generated-meta.js +3 -3
- package/cjs/S4507/index.js +3 -3
- package/cjs/S4507/meta.js +3 -3
- package/cjs/S4507/rule.js +11 -9
- package/cjs/S4524/generated-meta.js +3 -3
- package/cjs/S4524/index.js +3 -3
- package/cjs/S4524/meta.js +3 -3
- package/cjs/S4524/rule.js +5 -5
- package/cjs/S4619/generated-meta.js +3 -3
- package/cjs/S4619/index.js +3 -3
- package/cjs/S4619/meta.js +3 -3
- package/cjs/S4619/rule.js +9 -7
- package/cjs/S4621/generated-meta.js +3 -3
- package/cjs/S4621/index.js +3 -3
- package/cjs/S4621/meta.js +3 -3
- package/cjs/S4621/rule.js +8 -7
- package/cjs/S4622/config.js +3 -3
- package/cjs/S4622/generated-meta.js +3 -3
- package/cjs/S4622/index.js +3 -3
- package/cjs/S4622/meta.js +3 -3
- package/cjs/S4622/rule.js +8 -6
- package/cjs/S4623/generated-meta.js +3 -3
- package/cjs/S4623/index.js +3 -3
- package/cjs/S4623/meta.js +3 -3
- package/cjs/S4623/rule.js +11 -8
- package/cjs/S4624/generated-meta.js +5 -4
- package/cjs/S4624/index.js +3 -3
- package/cjs/S4624/meta.js +3 -3
- package/cjs/S4624/rule.js +9 -7
- package/cjs/S4634/generated-meta.js +5 -4
- package/cjs/S4634/index.js +3 -3
- package/cjs/S4634/meta.js +3 -3
- package/cjs/S4634/rule.js +7 -6
- package/cjs/S4721/generated-meta.js +3 -3
- package/cjs/S4721/index.js +3 -3
- package/cjs/S4721/meta.js +3 -3
- package/cjs/S4721/rule.js +10 -8
- package/cjs/S4782/generated-meta.js +3 -3
- package/cjs/S4782/index.js +3 -3
- package/cjs/S4782/meta.js +3 -3
- package/cjs/S4782/rule.js +10 -8
- package/cjs/S4784/generated-meta.js +3 -3
- package/cjs/S4784/index.js +3 -3
- package/cjs/S4784/meta.js +3 -3
- package/cjs/S4784/rule.js +8 -7
- package/cjs/S4787/generated-meta.js +3 -3
- package/cjs/S4787/index.js +3 -3
- package/cjs/S4787/meta.js +3 -3
- package/cjs/S4787/rule.js +12 -10
- package/cjs/S4790/generated-meta.js +3 -3
- package/cjs/S4790/index.js +3 -3
- package/cjs/S4790/meta.js +3 -3
- package/cjs/S4790/rule.js +10 -8
- package/cjs/S4798/generated-meta.js +3 -3
- package/cjs/S4798/index.js +3 -3
- package/cjs/S4798/meta.js +3 -3
- package/cjs/S4798/rule.js +5 -5
- package/cjs/S4817/generated-meta.js +3 -3
- package/cjs/S4817/index.js +3 -3
- package/cjs/S4817/meta.js +3 -3
- package/cjs/S4817/rule.js +13 -11
- package/cjs/S4818/generated-meta.js +3 -3
- package/cjs/S4818/index.js +3 -3
- package/cjs/S4818/meta.js +3 -3
- package/cjs/S4818/rule.js +7 -6
- package/cjs/S4822/generated-meta.js +5 -4
- package/cjs/S4822/index.js +3 -3
- package/cjs/S4822/meta.js +3 -3
- package/cjs/S4822/rule.js +16 -12
- package/cjs/S4823/generated-meta.js +3 -3
- package/cjs/S4823/index.js +3 -3
- package/cjs/S4823/meta.js +3 -3
- package/cjs/S4823/rule.js +7 -6
- package/cjs/S4829/generated-meta.js +3 -3
- package/cjs/S4829/index.js +3 -3
- package/cjs/S4829/meta.js +3 -3
- package/cjs/S4829/rule.js +7 -6
- package/cjs/S4830/generated-meta.js +3 -3
- package/cjs/S4830/index.js +3 -3
- package/cjs/S4830/meta.js +3 -3
- package/cjs/S4830/rule.js +14 -11
- package/cjs/S5042/generated-meta.js +7 -7
- package/cjs/S5042/index.js +3 -3
- package/cjs/S5042/meta.js +3 -3
- package/cjs/S5042/rule.js +12 -10
- package/cjs/S5122/generated-meta.js +4 -4
- package/cjs/S5122/index.js +3 -3
- package/cjs/S5122/meta.js +3 -3
- package/cjs/S5122/rule.js +43 -39
- package/cjs/S5148/generated-meta.js +4 -4
- package/cjs/S5148/index.js +3 -3
- package/cjs/S5148/meta.js +3 -3
- package/cjs/S5148/rule.js +12 -11
- package/cjs/S5247/generated-meta.js +3 -3
- package/cjs/S5247/index.js +3 -3
- package/cjs/S5247/meta.js +3 -3
- package/cjs/S5247/rule.js +25 -21
- package/cjs/S5256/generated-meta.js +3 -3
- package/cjs/S5256/index.js +3 -3
- package/cjs/S5256/meta.js +3 -3
- package/cjs/S5256/rule.js +8 -7
- package/cjs/S5257/generated-meta.js +3 -3
- package/cjs/S5257/index.js +3 -3
- package/cjs/S5257/meta.js +3 -3
- package/cjs/S5257/rule.js +7 -6
- package/cjs/S5260/generated-meta.js +3 -3
- package/cjs/S5260/index.js +3 -3
- package/cjs/S5260/meta.js +3 -3
- package/cjs/S5260/rule.js +7 -6
- package/cjs/S5264/generated-meta.js +3 -3
- package/cjs/S5264/index.js +3 -3
- package/cjs/S5264/meta.js +3 -3
- package/cjs/S5264/rule.js +7 -6
- package/cjs/S5332/generated-meta.js +3 -3
- package/cjs/S5332/index.js +3 -3
- package/cjs/S5332/meta.js +3 -3
- package/cjs/S5332/rule.aws.js +3 -3
- package/cjs/S5332/rule.js +7 -6
- package/cjs/S5332/rule.lib.js +22 -20
- package/cjs/S5443/generated-meta.js +4 -4
- package/cjs/S5443/index.js +3 -3
- package/cjs/S5443/meta.js +3 -3
- package/cjs/S5443/rule.js +5 -5
- package/cjs/S5527/generated-meta.js +3 -3
- package/cjs/S5527/index.js +3 -3
- package/cjs/S5527/meta.js +3 -3
- package/cjs/S5527/rule.js +21 -17
- package/cjs/S5542/generated-meta.js +3 -3
- package/cjs/S5542/index.js +3 -3
- package/cjs/S5542/meta.js +3 -3
- package/cjs/S5542/rule.js +9 -7
- package/cjs/S5547/generated-meta.js +3 -3
- package/cjs/S5547/index.js +3 -3
- package/cjs/S5547/meta.js +3 -3
- package/cjs/S5547/rule.js +9 -7
- package/cjs/S5604/config.js +3 -3
- package/cjs/S5604/generated-meta.js +3 -3
- package/cjs/S5604/index.js +3 -3
- package/cjs/S5604/meta.js +3 -3
- package/cjs/S5604/rule.js +18 -17
- package/cjs/S5659/generated-meta.js +3 -3
- package/cjs/S5659/index.js +3 -3
- package/cjs/S5659/meta.js +3 -3
- package/cjs/S5659/rule.js +18 -15
- package/cjs/S5689/generated-meta.js +4 -4
- package/cjs/S5689/index.js +3 -3
- package/cjs/S5689/meta.js +3 -3
- package/cjs/S5689/rule.js +14 -11
- package/cjs/S5691/generated-meta.js +3 -3
- package/cjs/S5691/index.js +3 -3
- package/cjs/S5691/meta.js +3 -3
- package/cjs/S5691/rule.js +10 -8
- package/cjs/S5693/config.js +3 -3
- package/cjs/S5693/generated-meta.js +4 -4
- package/cjs/S5693/index.js +3 -3
- package/cjs/S5693/meta.js +3 -3
- package/cjs/S5693/rule.js +17 -15
- package/cjs/S5725/generated-meta.js +3 -3
- package/cjs/S5725/index.js +3 -3
- package/cjs/S5725/meta.js +3 -3
- package/cjs/S5725/rule.js +12 -9
- package/cjs/S5728/generated-meta.js +3 -3
- package/cjs/S5728/index.js +3 -3
- package/cjs/S5728/meta.js +3 -3
- package/cjs/S5728/rule.js +10 -7
- package/cjs/S5730/generated-meta.js +3 -3
- package/cjs/S5730/index.js +3 -3
- package/cjs/S5730/meta.js +3 -3
- package/cjs/S5730/rule.js +12 -9
- package/cjs/S5732/generated-meta.js +3 -3
- package/cjs/S5732/index.js +3 -3
- package/cjs/S5732/meta.js +3 -3
- package/cjs/S5732/rule.js +11 -8
- package/cjs/S5734/generated-meta.js +3 -3
- package/cjs/S5734/index.js +3 -3
- package/cjs/S5734/meta.js +3 -3
- package/cjs/S5734/rule.js +10 -7
- package/cjs/S5736/generated-meta.js +3 -3
- package/cjs/S5736/index.js +3 -3
- package/cjs/S5736/meta.js +3 -3
- package/cjs/S5736/rule.js +11 -8
- package/cjs/S5739/generated-meta.js +3 -3
- package/cjs/S5739/index.js +3 -3
- package/cjs/S5739/meta.js +3 -3
- package/cjs/S5739/rule.js +14 -11
- package/cjs/S5742/generated-meta.js +3 -3
- package/cjs/S5742/index.js +3 -3
- package/cjs/S5742/meta.js +3 -3
- package/cjs/S5742/rule.js +10 -7
- package/cjs/S5743/generated-meta.js +3 -3
- package/cjs/S5743/index.js +3 -3
- package/cjs/S5743/meta.js +3 -3
- package/cjs/S5743/rule.js +11 -9
- package/cjs/S5757/generated-meta.js +3 -3
- package/cjs/S5757/index.js +3 -3
- package/cjs/S5757/meta.js +3 -3
- package/cjs/S5757/rule.js +16 -13
- package/cjs/S5759/generated-meta.js +3 -3
- package/cjs/S5759/index.js +3 -3
- package/cjs/S5759/meta.js +3 -3
- package/cjs/S5759/rule.js +13 -10
- package/cjs/S5842/generated-meta.js +3 -3
- package/cjs/S5842/index.js +3 -3
- package/cjs/S5842/meta.js +3 -3
- package/cjs/S5842/rule.js +5 -5
- package/cjs/S5843/config.js +3 -3
- package/cjs/S5843/generated-meta.js +3 -3
- package/cjs/S5843/index.js +3 -3
- package/cjs/S5843/meta.js +3 -3
- package/cjs/S5843/rule.js +25 -22
- package/cjs/S5850/generated-meta.js +3 -3
- package/cjs/S5850/index.js +3 -3
- package/cjs/S5850/meta.js +3 -3
- package/cjs/S5850/rule.js +7 -6
- package/cjs/S5852/generated-meta.js +3 -3
- package/cjs/S5852/index.js +3 -3
- package/cjs/S5852/meta.js +3 -3
- package/cjs/S5852/rule.js +5 -5
- package/cjs/S5856/generated-meta.js +3 -3
- package/cjs/S5856/index.js +3 -3
- package/cjs/S5856/meta.js +3 -3
- package/cjs/S5856/rule.js +13 -10
- package/cjs/S5860/generated-meta.js +3 -3
- package/cjs/S5860/index.js +3 -3
- package/cjs/S5860/meta.js +3 -3
- package/cjs/S5860/rule.js +33 -29
- package/cjs/S5863/generated-meta.js +3 -3
- package/cjs/S5863/index.js +3 -3
- package/cjs/S5863/meta.js +3 -3
- package/cjs/S5863/rule.js +18 -14
- package/cjs/S5867/generated-meta.js +3 -3
- package/cjs/S5867/index.js +3 -3
- package/cjs/S5867/meta.js +3 -3
- package/cjs/S5867/rule.js +11 -10
- package/cjs/S5868/generated-meta.js +3 -3
- package/cjs/S5868/index.js +3 -3
- package/cjs/S5868/meta.js +3 -3
- package/cjs/S5868/rule.js +10 -8
- package/cjs/S5869/generated-meta.js +3 -3
- package/cjs/S5869/index.js +3 -3
- package/cjs/S5869/meta.js +3 -3
- package/cjs/S5869/rule.js +9 -8
- package/cjs/S5876/generated-meta.js +3 -3
- package/cjs/S5876/index.js +3 -3
- package/cjs/S5876/meta.js +3 -3
- package/cjs/S5876/rule.js +15 -11
- package/cjs/S5958/generated-meta.js +3 -3
- package/cjs/S5958/index.js +3 -3
- package/cjs/S5958/meta.js +3 -3
- package/cjs/S5958/rule.js +15 -12
- package/cjs/S5973/generated-meta.js +3 -3
- package/cjs/S5973/index.js +3 -3
- package/cjs/S5973/meta.js +3 -3
- package/cjs/S5973/rule.js +13 -10
- package/cjs/S6019/generated-meta.js +3 -3
- package/cjs/S6019/index.js +3 -3
- package/cjs/S6019/meta.js +3 -3
- package/cjs/S6019/rule.js +7 -6
- package/cjs/S6035/generated-meta.js +3 -3
- package/cjs/S6035/index.js +3 -3
- package/cjs/S6035/meta.js +3 -3
- package/cjs/S6035/rule.js +5 -5
- package/cjs/S6079/generated-meta.js +3 -3
- package/cjs/S6079/index.js +3 -3
- package/cjs/S6079/meta.js +3 -3
- package/cjs/S6079/rule.js +12 -9
- package/cjs/S6080/generated-meta.js +3 -3
- package/cjs/S6080/index.js +3 -3
- package/cjs/S6080/meta.js +3 -3
- package/cjs/S6080/rule.js +16 -13
- package/cjs/S6092/generated-meta.js +3 -3
- package/cjs/S6092/index.js +3 -3
- package/cjs/S6092/meta.js +3 -3
- package/cjs/S6092/rule.js +12 -10
- package/cjs/S6245/generated-meta.js +3 -3
- package/cjs/S6245/index.js +3 -3
- package/cjs/S6245/meta.js +3 -3
- package/cjs/S6245/rule.js +17 -12
- package/cjs/S6249/generated-meta.js +3 -3
- package/cjs/S6249/index.js +3 -3
- package/cjs/S6249/meta.js +3 -3
- package/cjs/S6249/rule.js +10 -8
- package/cjs/S6252/generated-meta.js +3 -3
- package/cjs/S6252/index.js +3 -3
- package/cjs/S6252/meta.js +3 -3
- package/cjs/S6252/rule.js +15 -11
- package/cjs/S6265/generated-meta.js +4 -4
- package/cjs/S6265/index.js +3 -3
- package/cjs/S6265/meta.js +3 -3
- package/cjs/S6265/rule.js +30 -23
- package/cjs/S6268/generated-meta.js +3 -3
- package/cjs/S6268/index.js +3 -3
- package/cjs/S6268/meta.js +3 -3
- package/cjs/S6268/rule.js +8 -7
- package/cjs/S6270/generated-meta.js +4 -4
- package/cjs/S6270/index.js +3 -3
- package/cjs/S6270/meta.js +3 -3
- package/cjs/S6270/rule.js +15 -12
- package/cjs/S6275/generated-meta.js +4 -4
- package/cjs/S6275/index.js +3 -3
- package/cjs/S6275/meta.js +3 -3
- package/cjs/S6275/rule.js +5 -5
- package/cjs/S6281/generated-meta.js +3 -3
- package/cjs/S6281/index.js +3 -3
- package/cjs/S6281/meta.js +3 -3
- package/cjs/S6281/rule.js +25 -20
- package/cjs/S6299/generated-meta.js +3 -3
- package/cjs/S6299/index.js +3 -3
- package/cjs/S6299/meta.js +3 -3
- package/cjs/S6299/rule.js +5 -5
- package/cjs/S6302/generated-meta.js +4 -4
- package/cjs/S6302/index.js +3 -3
- package/cjs/S6302/meta.js +3 -3
- package/cjs/S6302/rule.js +9 -8
- package/cjs/S6303/generated-meta.js +4 -4
- package/cjs/S6303/index.js +3 -3
- package/cjs/S6303/meta.js +3 -3
- package/cjs/S6303/rule.js +15 -13
- package/cjs/S6304/generated-meta.js +3 -3
- package/cjs/S6304/index.js +3 -3
- package/cjs/S6304/meta.js +3 -3
- package/cjs/S6304/rule.js +9 -8
- package/cjs/S6308/generated-meta.js +4 -4
- package/cjs/S6308/index.js +3 -3
- package/cjs/S6308/meta.js +3 -3
- package/cjs/S6308/rule.js +10 -8
- package/cjs/S6317/generated-meta.js +3 -3
- package/cjs/S6317/index.js +3 -3
- package/cjs/S6317/meta.js +3 -3
- package/cjs/S6317/rule.js +8 -7
- package/cjs/S6319/generated-meta.js +3 -3
- package/cjs/S6319/index.js +3 -3
- package/cjs/S6319/meta.js +3 -3
- package/cjs/S6319/rule.js +5 -5
- package/cjs/S6321/generated-meta.js +3 -3
- package/cjs/S6321/index.js +3 -3
- package/cjs/S6321/meta.js +3 -3
- package/cjs/S6321/rule.js +28 -26
- package/cjs/S6323/generated-meta.js +3 -3
- package/cjs/S6323/index.js +3 -3
- package/cjs/S6323/meta.js +3 -3
- package/cjs/S6323/rule.js +7 -6
- package/cjs/S6324/generated-meta.js +3 -3
- package/cjs/S6324/index.js +3 -3
- package/cjs/S6324/meta.js +3 -3
- package/cjs/S6324/rule.js +5 -5
- package/cjs/S6326/generated-meta.js +3 -3
- package/cjs/S6326/index.js +3 -3
- package/cjs/S6326/meta.js +3 -3
- package/cjs/S6326/rule.js +5 -5
- package/cjs/S6327/generated-meta.js +3 -3
- package/cjs/S6327/index.js +3 -3
- package/cjs/S6327/meta.js +3 -3
- package/cjs/S6327/rule.js +5 -5
- package/cjs/S6328/generated-meta.js +3 -3
- package/cjs/S6328/index.js +3 -3
- package/cjs/S6328/meta.js +3 -3
- package/cjs/S6328/rule.js +7 -6
- package/cjs/S6329/generated-meta.js +3 -3
- package/cjs/S6329/index.js +3 -3
- package/cjs/S6329/meta.js +3 -3
- package/cjs/S6329/rule.js +10 -8
- package/cjs/S6330/generated-meta.js +4 -4
- package/cjs/S6330/index.js +3 -3
- package/cjs/S6330/meta.js +3 -3
- package/cjs/S6330/rule.js +5 -5
- package/cjs/S6331/generated-meta.js +3 -3
- package/cjs/S6331/index.js +3 -3
- package/cjs/S6331/meta.js +3 -3
- package/cjs/S6331/rule.js +3 -3
- package/cjs/S6332/generated-meta.js +3 -3
- package/cjs/S6332/index.js +3 -3
- package/cjs/S6332/meta.js +3 -3
- package/cjs/S6332/rule.js +5 -5
- package/cjs/S6333/generated-meta.js +3 -3
- package/cjs/S6333/index.js +3 -3
- package/cjs/S6333/meta.js +3 -3
- package/cjs/S6333/rule.js +11 -9
- package/cjs/S6351/generated-meta.js +3 -3
- package/cjs/S6351/index.js +3 -3
- package/cjs/S6351/meta.js +3 -3
- package/cjs/S6351/rule.js +25 -22
- package/cjs/S6353/generated-meta.js +3 -3
- package/cjs/S6353/index.js +3 -3
- package/cjs/S6353/meta.js +3 -3
- package/cjs/S6353/rule.js +5 -5
- package/cjs/S6397/generated-meta.js +3 -3
- package/cjs/S6397/index.js +3 -3
- package/cjs/S6397/meta.js +3 -3
- package/cjs/S6397/rule.js +5 -5
- package/cjs/S6418/config.js +3 -3
- package/cjs/S6418/generated-meta.js +3 -3
- package/cjs/S6418/index.js +3 -3
- package/cjs/S6418/meta.js +3 -3
- package/cjs/S6418/rule.js +12 -27
- package/cjs/S6426/generated-meta.js +3 -3
- package/cjs/S6426/index.js +3 -3
- package/cjs/S6426/meta.js +3 -3
- package/cjs/S6426/rule.js +8 -7
- package/cjs/S6437/generated-meta.js +3 -3
- package/cjs/S6437/index.js +3 -3
- package/cjs/S6437/meta.js +3 -3
- package/cjs/S6437/rule.js +18 -10
- package/cjs/S6439/generated-meta.js +4 -4
- package/cjs/S6439/index.js +3 -3
- package/cjs/S6439/meta.js +3 -3
- package/cjs/S6439/rule.js +12 -10
- package/cjs/S6442/generated-meta.js +4 -4
- package/cjs/S6442/index.js +3 -3
- package/cjs/S6442/meta.js +3 -3
- package/cjs/S6442/rule.js +14 -11
- package/cjs/S6443/generated-meta.js +4 -4
- package/cjs/S6443/index.js +3 -3
- package/cjs/S6443/meta.js +3 -3
- package/cjs/S6443/rule.js +12 -10
- package/cjs/S6486/generated-meta.js +3 -3
- package/cjs/S6486/index.js +3 -3
- package/cjs/S6486/meta.js +3 -3
- package/cjs/S6486/rule.js +9 -8
- package/cjs/S6564/generated-meta.js +3 -3
- package/cjs/S6564/index.js +3 -3
- package/cjs/S6564/meta.js +3 -3
- package/cjs/S6564/rule.js +7 -6
- package/cjs/S6594/generated-meta.js +3 -3
- package/cjs/S6594/index.js +3 -3
- package/cjs/S6594/meta.js +3 -3
- package/cjs/S6594/rule.js +15 -11
- package/cjs/S6627/generated-meta.js +3 -3
- package/cjs/S6627/index.js +3 -3
- package/cjs/S6627/meta.js +3 -3
- package/cjs/S6627/rule.js +9 -7
- package/cjs/S6759/generated-meta.js +3 -3
- package/cjs/S6759/index.js +3 -3
- package/cjs/S6759/meta.js +3 -3
- package/cjs/S6759/rule.js +13 -9
- package/cjs/S6958/generated-meta.js +3 -3
- package/cjs/S6958/index.js +3 -3
- package/cjs/S6958/meta.js +3 -3
- package/cjs/S6958/rule.js +2 -2
- package/cjs/S6959/generated-meta.js +3 -3
- package/cjs/S6959/index.js +3 -3
- package/cjs/S6959/meta.js +3 -3
- package/cjs/S6959/rule.js +12 -9
- package/cjs/S7059/generated-meta.js +5 -4
- package/cjs/S7059/index.js +3 -3
- package/cjs/S7059/meta.js +3 -3
- package/cjs/S7059/rule.js +11 -8
- package/cjs/S7639/generated-meta.js +3 -3
- package/cjs/S7639/index.js +3 -3
- package/cjs/S7639/meta.js +3 -3
- package/cjs/S7639/rule.js +8 -7
- package/cjs/S7790/generated-meta.js +3 -3
- package/cjs/S7790/index.js +3 -3
- package/cjs/S7790/meta.js +3 -3
- package/cjs/S7790/rule.js +10 -8
- package/cjs/S8441/generated-meta.js +3 -3
- package/cjs/S8441/index.js +3 -3
- package/cjs/S8441/meta.js +3 -3
- package/cjs/S8441/rule.js +16 -12
- package/cjs/{helpers/aws/index.js → S8479/generated-meta.js} +35 -19
- package/cjs/S8479/index.js +21 -0
- package/cjs/S8479/meta.js +22 -0
- package/cjs/S8479/rule.js +239 -0
- package/cjs/S881/generated-meta.js +3 -3
- package/cjs/S881/index.js +3 -3
- package/cjs/S881/meta.js +3 -3
- package/cjs/S881/rule.js +5 -5
- package/cjs/S888/generated-meta.js +3 -3
- package/cjs/S888/index.js +3 -3
- package/cjs/S888/meta.js +3 -3
- package/cjs/S888/rule.js +7 -6
- package/cjs/S930/generated-meta.js +3 -3
- package/cjs/S930/index.js +3 -3
- package/cjs/S930/meta.js +3 -3
- package/cjs/S930/rule.js +17 -15
- package/cjs/helpers/accessibility.js +3 -3
- package/cjs/helpers/ast.js +12 -9
- package/cjs/helpers/aws/s3.js +9 -6
- package/cjs/helpers/cache.js +3 -3
- package/cjs/helpers/chai.js +41 -43
- package/cjs/helpers/collection.js +3 -3
- package/cjs/helpers/configs.js +2 -2
- package/cjs/helpers/cookie-flag-check.js +19 -17
- package/cjs/helpers/entropy.js +33 -0
- package/cjs/helpers/express.js +127 -128
- package/cjs/helpers/files.js +4 -4
- package/cjs/helpers/find-up/closest.js +3 -3
- package/cjs/helpers/internal-metrics.js +27 -0
- package/cjs/helpers/mocha.js +50 -54
- package/cjs/helpers/module-ts.js +8 -3
- package/cjs/helpers/package-jsons/closest.js +3 -3
- package/cjs/helpers/package-jsons/dependencies.js +135 -1
- package/cjs/helpers/package-jsons/index.js +1 -0
- package/cjs/helpers/package-jsons/parse.js +3 -3
- package/cjs/helpers/recognizers/Detector.js +3 -3
- package/cjs/helpers/recognizers/detectors/CamelCaseDetector.js +3 -3
- package/cjs/helpers/recognizers/detectors/ContainsDetector.js +3 -3
- package/cjs/helpers/recognizers/detectors/EndWithDetector.js +3 -3
- package/cjs/helpers/recognizers/detectors/KeywordsDetector.js +3 -3
- package/cjs/helpers/regex/ast.js +7 -6
- package/cjs/helpers/regex/extract.js +11 -11
- package/cjs/helpers/regex/group.js +2 -2
- package/cjs/helpers/regex/location.js +2 -2
- package/cjs/helpers/regex/range.js +5 -4
- package/cjs/helpers/regex/rule-template.js +4 -3
- package/cjs/helpers/sinon.js +33 -36
- package/cjs/helpers/supertest.js +34 -37
- package/cjs/helpers/vitest.js +29 -32
- package/cjs/plugin-rules.js +5 -3
- package/docs/aws-ec2-unencrypted-ebs-volume.md +1 -1
- package/docs/aws-iam-all-privileges.md +1 -1
- package/docs/aws-iam-public-access.md +1 -1
- package/docs/aws-opensearchservice-domain.md +1 -1
- package/docs/aws-rds-unencrypted-databases.md +1 -1
- package/docs/aws-s3-bucket-granted-access.md +1 -1
- package/docs/aws-sqs-unencrypted-queue.md +1 -1
- package/docs/class-name.md +3 -3
- package/docs/content-length.md +1 -1
- package/docs/cors.md +1 -1
- package/docs/dompurify-unsafe-config.md +7 -0
- package/docs/file-permissions.md +1 -1
- package/docs/insecure-cookie.md +1 -1
- package/docs/link-with-target-blank.md +1 -1
- package/docs/no-hardcoded-ip.md +1 -1
- package/docs/no-unsafe-unzip.md +4 -2
- package/docs/publicly-writable-directories.md +1 -1
- package/docs/x-powered-by.md +1 -1
- package/package.json +39 -1
- package/types/S101/config.d.ts +1 -1
- package/types/S1128/generated-meta.d.ts +1 -0
- package/types/S1313/generated-meta.d.ts +1 -1
- package/types/S134/config.d.ts +1 -1
- package/types/S2208/generated-meta.d.ts +1 -0
- package/types/S3317/generated-meta.d.ts +1 -0
- package/types/S3499/generated-meta.d.ts +1 -0
- package/types/S3500/generated-meta.d.ts +1 -0
- package/types/S3513/generated-meta.d.ts +1 -0
- package/types/S3514/generated-meta.d.ts +1 -0
- package/types/S3524/generated-meta.d.ts +1 -0
- package/types/S3525/generated-meta.d.ts +1 -0
- package/types/S3531/generated-meta.d.ts +1 -0
- package/types/S3533/generated-meta.d.ts +1 -0
- package/types/S3776/meta.d.ts +2 -0
- package/types/S4624/generated-meta.d.ts +1 -0
- package/types/S4634/generated-meta.d.ts +1 -0
- package/types/S4822/generated-meta.d.ts +1 -0
- package/types/S5042/generated-meta.d.ts +2 -2
- package/types/S6439/generated-meta.d.ts +1 -1
- package/types/S6442/generated-meta.d.ts +1 -1
- package/types/S6443/generated-meta.d.ts +1 -1
- package/types/S7059/generated-meta.d.ts +1 -0
- package/types/S8479/generated-meta.d.ts +17 -0
- package/types/S8479/index.d.ts +1 -0
- package/types/S8479/meta.d.ts +2 -0
- package/types/S8479/rule.d.ts +2 -0
- package/types/helpers/ancestor.d.ts +1 -1
- package/types/helpers/aws/s3.d.ts +1 -1
- package/types/helpers/chai.d.ts +3 -5
- package/types/helpers/entropy.d.ts +1 -0
- package/types/helpers/express.d.ts +38 -43
- package/types/helpers/files.d.ts +6 -21
- package/types/helpers/internal-metrics.d.ts +5 -0
- package/types/helpers/mocha.d.ts +19 -21
- package/types/helpers/package-jsons/dependencies.d.ts +36 -0
- package/types/helpers/regex/ast.d.ts +1 -1
- package/types/helpers/regex/rule-template.d.ts +1 -1
- package/types/helpers/sinon.d.ts +3 -5
- package/types/helpers/supertest.d.ts +3 -5
- package/types/helpers/type.d.ts +1 -1
- package/types/helpers/vitest.d.ts +3 -5
- package/types/plugin-rules.d.ts +1 -0
- package/cjs/helpers/decorators/index.js +0 -34
- package/cjs/helpers/decorators/interceptor.js +0 -88
- package/cjs/helpers/index.js +0 -60
- package/cjs/helpers/recognizers/index.js +0 -37
- package/cjs/helpers/rule-detect-react.js +0 -29
- package/cjs/helpers/validate-version.js +0 -94
- package/types/helpers/aws/index.d.ts +0 -3
- package/types/helpers/decorators/index.d.ts +0 -2
- package/types/helpers/decorators/interceptor.d.ts +0 -16
- package/types/helpers/index.d.ts +0 -28
- package/types/helpers/recognizers/index.d.ts +0 -2
- package/types/helpers/rule-detect-react.d.ts +0 -2
- package/types/helpers/validate-version.d.ts +0 -13
package/cjs/S5527/index.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.rule = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5527/meta.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.hasSecondaries = exports.eslintId = exports.implementation = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5527/rule.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -51,10 +51,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
51
51
|
})();
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
53
|
exports.rule = void 0;
|
|
54
|
-
const
|
|
54
|
+
const location_js_1 = require("../helpers/location.js");
|
|
55
|
+
const ancestor_js_1 = require("../helpers/ancestor.js");
|
|
56
|
+
const generate_meta_js_1 = require("../helpers/generate-meta.js");
|
|
57
|
+
const module_js_1 = require("../helpers/module.js");
|
|
58
|
+
const ast_js_1 = require("../helpers/ast.js");
|
|
55
59
|
const meta = __importStar(require("./generated-meta.js"));
|
|
56
60
|
exports.rule = {
|
|
57
|
-
meta: (0,
|
|
61
|
+
meta: (0, generate_meta_js_1.generateMeta)(meta),
|
|
58
62
|
create(context) {
|
|
59
63
|
const MESSAGE = 'Enable server hostname verification on this SSL/TLS connection.';
|
|
60
64
|
const SECONDARY_MESSAGE = 'Set "rejectUnauthorized" to "true".';
|
|
@@ -65,26 +69,26 @@ exports.rule = {
|
|
|
65
69
|
const sensitiveArgument = callExpression.arguments[sensitiveArgumentIndex];
|
|
66
70
|
const secondaryLocations = [];
|
|
67
71
|
let shouldReport = false;
|
|
68
|
-
const argumentValue = (0,
|
|
72
|
+
const argumentValue = (0, ast_js_1.getValueOfExpression)(context, sensitiveArgument, 'ObjectExpression');
|
|
69
73
|
if (!argumentValue) {
|
|
70
74
|
return;
|
|
71
75
|
}
|
|
72
76
|
if (sensitiveArgument !== argumentValue) {
|
|
73
|
-
secondaryLocations.push((0,
|
|
77
|
+
secondaryLocations.push((0, location_js_1.toSecondaryLocation)(argumentValue));
|
|
74
78
|
}
|
|
75
|
-
const unsafeRejectUnauthorizedConfiguration = (0,
|
|
79
|
+
const unsafeRejectUnauthorizedConfiguration = (0, ast_js_1.getPropertyWithValue)(context, argumentValue, 'rejectUnauthorized', false);
|
|
76
80
|
if (unsafeRejectUnauthorizedConfiguration) {
|
|
77
|
-
secondaryLocations.push((0,
|
|
81
|
+
secondaryLocations.push((0, location_js_1.toSecondaryLocation)(unsafeRejectUnauthorizedConfiguration, SECONDARY_MESSAGE));
|
|
78
82
|
shouldReport = true;
|
|
79
83
|
}
|
|
80
|
-
const checkServerIdentityProperty = (0,
|
|
84
|
+
const checkServerIdentityProperty = (0, ast_js_1.getProperty)(argumentValue, 'checkServerIdentity', context);
|
|
81
85
|
if (checkServerIdentityProperty &&
|
|
82
86
|
shouldReportOnCheckServerIdentityCallBack(checkServerIdentityProperty)) {
|
|
83
|
-
secondaryLocations.push((0,
|
|
87
|
+
secondaryLocations.push((0, location_js_1.toSecondaryLocation)(checkServerIdentityProperty));
|
|
84
88
|
shouldReport = true;
|
|
85
89
|
}
|
|
86
90
|
if (shouldReport) {
|
|
87
|
-
(0,
|
|
91
|
+
(0, location_js_1.report)(context, {
|
|
88
92
|
node: callExpression.callee,
|
|
89
93
|
message: MESSAGE,
|
|
90
94
|
}, secondaryLocations);
|
|
@@ -92,12 +96,12 @@ exports.rule = {
|
|
|
92
96
|
}
|
|
93
97
|
function shouldReportOnCheckServerIdentityCallBack(checkServerIdentityProperty) {
|
|
94
98
|
let baseFunction;
|
|
95
|
-
baseFunction = (0,
|
|
96
|
-
baseFunction ??= (0,
|
|
99
|
+
baseFunction = (0, ast_js_1.getValueOfExpression)(context, checkServerIdentityProperty.value, 'FunctionExpression');
|
|
100
|
+
baseFunction ??= (0, ast_js_1.getValueOfExpression)(context, checkServerIdentityProperty.value, 'ArrowFunctionExpression');
|
|
97
101
|
if (baseFunction?.body.type === 'BlockStatement') {
|
|
98
102
|
const returnStatements = ReturnStatementsVisitor.getReturnStatements(baseFunction.body, context);
|
|
99
103
|
if (returnStatements.every(r => {
|
|
100
|
-
return (!r.argument || (0,
|
|
104
|
+
return (!r.argument || (0, ast_js_1.getValueOfExpression)(context, r.argument, 'Literal')?.value === true);
|
|
101
105
|
})) {
|
|
102
106
|
return true;
|
|
103
107
|
}
|
|
@@ -107,7 +111,7 @@ exports.rule = {
|
|
|
107
111
|
return {
|
|
108
112
|
CallExpression: (node) => {
|
|
109
113
|
const callExpression = node;
|
|
110
|
-
const fqn = (0,
|
|
114
|
+
const fqn = (0, module_js_1.getFullyQualifiedName)(context, callExpression);
|
|
111
115
|
if (fqn === 'https.request') {
|
|
112
116
|
checkSensitiveArgument(callExpression, 0);
|
|
113
117
|
}
|
|
@@ -141,7 +145,7 @@ class ReturnStatementsVisitor {
|
|
|
141
145
|
case 'ArrowFunctionExpression':
|
|
142
146
|
return;
|
|
143
147
|
}
|
|
144
|
-
for (const childNode of (0,
|
|
148
|
+
for (const childNode of (0, ancestor_js_1.childrenOf)(node, context.sourceCode.visitorKeys)) {
|
|
145
149
|
visitNode(childNode);
|
|
146
150
|
}
|
|
147
151
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5542/index.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.rule = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5542/meta.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.eslintId = exports.implementation = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5542/rule.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -51,7 +51,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
51
51
|
})();
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
53
|
exports.rule = void 0;
|
|
54
|
-
const
|
|
54
|
+
const generate_meta_js_1 = require("../helpers/generate-meta.js");
|
|
55
|
+
const module_js_1 = require("../helpers/module.js");
|
|
56
|
+
const ast_js_1 = require("../helpers/ast.js");
|
|
55
57
|
const meta = __importStar(require("./generated-meta.js"));
|
|
56
58
|
const aliases = [
|
|
57
59
|
'AES128',
|
|
@@ -75,7 +77,7 @@ const aliases = [
|
|
|
75
77
|
'SEED',
|
|
76
78
|
];
|
|
77
79
|
exports.rule = {
|
|
78
|
-
meta: (0,
|
|
80
|
+
meta: (0, generate_meta_js_1.generateMeta)(meta, {
|
|
79
81
|
messages: {
|
|
80
82
|
useSecureMode: 'Use a secure mode and padding scheme.',
|
|
81
83
|
},
|
|
@@ -88,11 +90,11 @@ exports.rule = {
|
|
|
88
90
|
return {
|
|
89
91
|
CallExpression: (node) => {
|
|
90
92
|
const callExpression = node;
|
|
91
|
-
if ((0,
|
|
93
|
+
if ((0, module_js_1.getFullyQualifiedName)(context, callExpression) !== 'crypto.createCipheriv') {
|
|
92
94
|
return;
|
|
93
95
|
}
|
|
94
96
|
const sensitiveArgument = callExpression.arguments[0];
|
|
95
|
-
const sensitiveArgumentValue = (0,
|
|
97
|
+
const sensitiveArgumentValue = (0, ast_js_1.getValueOfExpression)(context, sensitiveArgument, 'Literal');
|
|
96
98
|
if (!sensitiveArgumentValue) {
|
|
97
99
|
return;
|
|
98
100
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5547/index.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.rule = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5547/meta.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.eslintId = exports.implementation = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5547/rule.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -51,11 +51,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
51
51
|
})();
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
53
|
exports.rule = void 0;
|
|
54
|
-
const
|
|
54
|
+
const generate_meta_js_1 = require("../helpers/generate-meta.js");
|
|
55
|
+
const module_js_1 = require("../helpers/module.js");
|
|
56
|
+
const ast_js_1 = require("../helpers/ast.js");
|
|
55
57
|
const meta = __importStar(require("./generated-meta.js"));
|
|
56
58
|
const WEAK_CIPHERS = ['bf', 'blowfish', 'des', 'rc2', 'rc4'];
|
|
57
59
|
exports.rule = {
|
|
58
|
-
meta: (0,
|
|
60
|
+
meta: (0, generate_meta_js_1.generateMeta)(meta, {
|
|
59
61
|
messages: {
|
|
60
62
|
strongerCipher: 'Use a strong cipher algorithm.',
|
|
61
63
|
},
|
|
@@ -64,8 +66,8 @@ exports.rule = {
|
|
|
64
66
|
return {
|
|
65
67
|
CallExpression(node) {
|
|
66
68
|
const callExpression = node;
|
|
67
|
-
if ((0,
|
|
68
|
-
const algorithm = (0,
|
|
69
|
+
if ((0, module_js_1.getFullyQualifiedName)(context, callExpression) === 'crypto.createCipheriv') {
|
|
70
|
+
const algorithm = (0, ast_js_1.getValueOfExpression)(context, callExpression.arguments[0], 'Literal');
|
|
69
71
|
const algorithmValue = algorithm?.value?.toString().toLowerCase();
|
|
70
72
|
if (algorithm &&
|
|
71
73
|
algorithmValue &&
|
package/cjs/S5604/config.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5604/index.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.rule = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5604/meta.js
CHANGED
|
@@ -17,11 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
exports.schema = exports.eslintId = exports.implementation = void 0;
|
|
18
18
|
/*
|
|
19
19
|
* SonarQube JavaScript Plugin
|
|
20
|
-
* Copyright (C)
|
|
20
|
+
* Copyright (C) SonarSource Sàrl
|
|
21
21
|
* mailto:info AT sonarsource DOT com
|
|
22
22
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
23
|
+
* You can redistribute and/or modify this program under the terms of
|
|
24
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
25
25
|
*
|
|
26
26
|
* This program is distributed in the hope that it will be useful,
|
|
27
27
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5604/rule.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -51,7 +51,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
51
51
|
})();
|
|
52
52
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
53
|
exports.rule = void 0;
|
|
54
|
-
const
|
|
54
|
+
const generate_meta_js_1 = require("../helpers/generate-meta.js");
|
|
55
|
+
const ast_js_1 = require("../helpers/ast.js");
|
|
55
56
|
const meta = __importStar(require("./generated-meta.js"));
|
|
56
57
|
const GEOLOCATION = 'geolocation';
|
|
57
58
|
const CAMERA = 'camera';
|
|
@@ -70,7 +71,7 @@ const messages = {
|
|
|
70
71
|
checkPermission: 'Make sure the use of the {{feature}} is necessary.',
|
|
71
72
|
};
|
|
72
73
|
exports.rule = {
|
|
73
|
-
meta: (0,
|
|
74
|
+
meta: (0, generate_meta_js_1.generateMeta)(meta, { messages }),
|
|
74
75
|
create(context) {
|
|
75
76
|
const permissions = context.options[0]?.permissions ?? DEFAULT_PERMISSIONS;
|
|
76
77
|
return {
|
|
@@ -95,12 +96,12 @@ exports.rule = {
|
|
|
95
96
|
}
|
|
96
97
|
if (isNavigatorMemberExpression(callee, 'mediaDevices', 'getUserMedia') &&
|
|
97
98
|
call.arguments.length > 0) {
|
|
98
|
-
const firstArg = (0,
|
|
99
|
+
const firstArg = (0, ast_js_1.getValueOfExpression)(context, call.arguments[0], 'ObjectExpression');
|
|
99
100
|
checkForCameraAndMicrophonePermissions(context, permissions, callee, firstArg);
|
|
100
101
|
return;
|
|
101
102
|
}
|
|
102
103
|
if (permissions.includes(NOTIFICATIONS) &&
|
|
103
|
-
(0,
|
|
104
|
+
(0, ast_js_1.isMemberExpression)(callee, 'Notification', 'requestPermission')) {
|
|
104
105
|
context.report({
|
|
105
106
|
messageId: 'checkPermission',
|
|
106
107
|
data: {
|
|
@@ -111,7 +112,7 @@ exports.rule = {
|
|
|
111
112
|
return;
|
|
112
113
|
}
|
|
113
114
|
if (permissions.includes(PERSISTENT_STORAGE) &&
|
|
114
|
-
(0,
|
|
115
|
+
(0, ast_js_1.isMemberExpression)(callee.object, 'navigator', 'storage')) {
|
|
115
116
|
context.report({
|
|
116
117
|
messageId: 'checkPermission',
|
|
117
118
|
data: {
|
|
@@ -123,7 +124,7 @@ exports.rule = {
|
|
|
123
124
|
},
|
|
124
125
|
NewExpression(node) {
|
|
125
126
|
const { callee } = node;
|
|
126
|
-
if (permissions.includes(NOTIFICATIONS) && (0,
|
|
127
|
+
if (permissions.includes(NOTIFICATIONS) && (0, ast_js_1.isIdentifier)(callee, 'Notification')) {
|
|
127
128
|
context.report({
|
|
128
129
|
messageId: 'checkPermission',
|
|
129
130
|
data: {
|
|
@@ -149,10 +150,10 @@ function checkForCameraAndMicrophonePermissions(context, permissions, callee, fi
|
|
|
149
150
|
for (const prop of firstArg.properties) {
|
|
150
151
|
if (prop.type === 'Property') {
|
|
151
152
|
const { value, key } = prop;
|
|
152
|
-
if ((0,
|
|
153
|
+
if ((0, ast_js_1.isIdentifier)(key, 'audio') && shouldCheckAudio && isOtherThanFalse(context, value)) {
|
|
153
154
|
perms.push('microphone');
|
|
154
155
|
}
|
|
155
|
-
else if ((0,
|
|
156
|
+
else if ((0, ast_js_1.isIdentifier)(key, 'video') &&
|
|
156
157
|
shouldCheckVideo &&
|
|
157
158
|
isOtherThanFalse(context, value)) {
|
|
158
159
|
perms.push(CAMERA);
|
|
@@ -170,14 +171,14 @@ function checkForCameraAndMicrophonePermissions(context, permissions, callee, fi
|
|
|
170
171
|
}
|
|
171
172
|
}
|
|
172
173
|
function isOtherThanFalse(context, value) {
|
|
173
|
-
const exprValue = (0,
|
|
174
|
+
const exprValue = (0, ast_js_1.getValueOfExpression)(context, value, 'Literal');
|
|
174
175
|
if (exprValue?.value === false) {
|
|
175
176
|
return false;
|
|
176
177
|
}
|
|
177
178
|
return true;
|
|
178
179
|
}
|
|
179
180
|
function checkPermissions(context, call, permissions) {
|
|
180
|
-
const firstArg = (0,
|
|
181
|
+
const firstArg = (0, ast_js_1.getValueOfExpression)(context, call.arguments[0], 'ObjectExpression');
|
|
181
182
|
if (firstArg?.type === 'ObjectExpression') {
|
|
182
183
|
const nameProp = firstArg.properties.find(prop => hasNamePropertyWithPermission(prop, context, permissions));
|
|
183
184
|
if (nameProp) {
|
|
@@ -193,12 +194,12 @@ function checkPermissions(context, call, permissions) {
|
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
196
|
function isNavigatorMemberExpression({ object, property }, firstProperty, ...secondProperty) {
|
|
196
|
-
return ((0,
|
|
197
|
-
(0,
|
|
197
|
+
return ((0, ast_js_1.isMemberExpression)(object, 'navigator', firstProperty) &&
|
|
198
|
+
(0, ast_js_1.isIdentifier)(property, ...secondProperty));
|
|
198
199
|
}
|
|
199
200
|
function hasNamePropertyWithPermission(prop, context, permissions) {
|
|
200
|
-
if (prop.type === 'Property' && (0,
|
|
201
|
-
const value = (0,
|
|
201
|
+
if (prop.type === 'Property' && (0, ast_js_1.isIdentifier)(prop.key, 'name')) {
|
|
202
|
+
const value = (0, ast_js_1.getValueOfExpression)(context, prop.value, 'Literal');
|
|
202
203
|
return (value &&
|
|
203
204
|
typeof value.value === 'string' &&
|
|
204
205
|
supportedPermissions.has(value.value) &&
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
5
|
* mailto:info AT sonarsource DOT com
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* You can redistribute and/or modify this program under the terms of
|
|
8
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
9
9
|
*
|
|
10
10
|
* This program is distributed in the hope that it will be useful,
|
|
11
11
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5659/index.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.rule = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/S5659/meta.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.hasSecondaries = exports.eslintId = exports.implementation = void 0;
|
|
4
4
|
/*
|
|
5
5
|
* SonarQube JavaScript Plugin
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
7
7
|
* mailto:info AT sonarsource DOT com
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* You can redistribute and/or modify this program under the terms of
|
|
10
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
11
11
|
*
|
|
12
12
|
* This program is distributed in the hope that it will be useful,
|
|
13
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|