eslint-plugin-sonarjs 4.0.2 → 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 +22 -21
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +29 -10
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +67 -20
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +141 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/S1528/generated-meta.js +3 -3
- package/cjs/S1528/index.js +3 -3
- package/cjs/S1528/meta.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +28 -4
- 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 +35 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +148 -5
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +10 -4
- 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 +3 -3
- 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 +44 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/S2612/generated-meta.js +3 -3
- package/cjs/S2612/index.js +3 -3
- package/cjs/S2612/meta.js +3 -3
- package/cjs/S2612/rule.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/S2699/generated-meta.js +3 -3
- package/cjs/S2699/index.js +3 -3
- package/cjs/S2699/meta.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +102 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +13 -16
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- package/cjs/S3798/generated-meta.js +3 -3
- package/cjs/S3798/index.js +3 -3
- package/cjs/S3798/meta.js +3 -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 +3 -3
- 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 +3 -3
- package/cjs/S3827/generated-meta.js +3 -3
- package/cjs/S3827/index.js +3 -3
- package/cjs/S3827/meta.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +5 -5
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/S4423/rule.lib.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/S5332/rule.lib.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +8 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/S6958/generated-meta.js +3 -3
- package/cjs/S6958/index.js +3 -3
- package/cjs/S6958/meta.js +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/S8479/generated-meta.js +51 -0
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/cjs/helpers/accessibility.js +3 -3
- package/cjs/helpers/ast.js +1 -1
- package/cjs/helpers/cache.js +3 -3
- package/cjs/helpers/collection.js +3 -3
- package/cjs/helpers/configs.js +2 -2
- package/cjs/helpers/entropy.js +5 -5
- 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/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/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/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 +4 -4
- 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/files.d.ts +6 -21
- package/types/helpers/internal-metrics.d.ts +5 -0
- package/types/helpers/package-jsons/dependencies.d.ts +36 -0
- package/types/plugin-rules.d.ts +1 -0
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* SonarQube JavaScript Plugin
|
|
4
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
|
+
* mailto:info AT sonarsource DOT com
|
|
6
|
+
*
|
|
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
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
13
|
+
* See the Sonar Source-Available License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the Sonar Source-Available License
|
|
16
|
+
* along with this program; if not, see https://sonarsource.com/license/ssal/
|
|
17
|
+
*/
|
|
18
|
+
// https://sonarsource.github.io/rspec/#/rspec/S8479/javascript
|
|
19
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
22
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
23
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
24
|
+
}
|
|
25
|
+
Object.defineProperty(o, k2, desc);
|
|
26
|
+
}) : (function(o, m, k, k2) {
|
|
27
|
+
if (k2 === undefined) k2 = k;
|
|
28
|
+
o[k2] = m[k];
|
|
29
|
+
}));
|
|
30
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
31
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
32
|
+
}) : function(o, v) {
|
|
33
|
+
o["default"] = v;
|
|
34
|
+
});
|
|
35
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
36
|
+
var ownKeys = function(o) {
|
|
37
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
38
|
+
var ar = [];
|
|
39
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
40
|
+
return ar;
|
|
41
|
+
};
|
|
42
|
+
return ownKeys(o);
|
|
43
|
+
};
|
|
44
|
+
return function (mod) {
|
|
45
|
+
if (mod && mod.__esModule) return mod;
|
|
46
|
+
var result = {};
|
|
47
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
48
|
+
__setModuleDefault(result, mod);
|
|
49
|
+
return result;
|
|
50
|
+
};
|
|
51
|
+
})();
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.rule = void 0;
|
|
54
|
+
const generate_meta_js_1 = require("../helpers/generate-meta.js");
|
|
55
|
+
const module_js_1 = require("../helpers/module.js");
|
|
56
|
+
const module_ts_js_1 = require("../helpers/module-ts.js");
|
|
57
|
+
const parser_services_js_1 = require("../helpers/parser-services.js");
|
|
58
|
+
const meta = __importStar(require("./generated-meta.js"));
|
|
59
|
+
const DANGEROUS_TAGS = new Set([
|
|
60
|
+
'script',
|
|
61
|
+
'iframe',
|
|
62
|
+
'object',
|
|
63
|
+
'embed',
|
|
64
|
+
'form',
|
|
65
|
+
'input',
|
|
66
|
+
'textarea',
|
|
67
|
+
'select',
|
|
68
|
+
'meta',
|
|
69
|
+
'link',
|
|
70
|
+
'style',
|
|
71
|
+
'base',
|
|
72
|
+
'svg',
|
|
73
|
+
'math',
|
|
74
|
+
]);
|
|
75
|
+
const EVENT_HANDLER_PATTERN = /^on[a-z]/i;
|
|
76
|
+
/**
|
|
77
|
+
* URI-carrying attributes that must never be added to ADD_URI_SAFE_ATTR.
|
|
78
|
+
* Marking them as "URI-safe" skips DOMPurify's javascript: URI check,
|
|
79
|
+
* enabling 1-click XSS via crafted href/src/action values.
|
|
80
|
+
*/
|
|
81
|
+
const DANGEROUS_URI_ATTRS = new Set(['href', 'src', 'action', 'formaction', 'xlink:href', 'data']);
|
|
82
|
+
/**
|
|
83
|
+
* Boolean options that are dangerous when set to the specified value.
|
|
84
|
+
*/
|
|
85
|
+
const DANGEROUS_BOOLEAN_OPTIONS = {
|
|
86
|
+
ALLOW_UNKNOWN_PROTOCOLS: true,
|
|
87
|
+
WHOLE_DOCUMENT: true,
|
|
88
|
+
SAFE_FOR_XML: false,
|
|
89
|
+
SANITIZE_DOM: false,
|
|
90
|
+
RETURN_TRUSTED_TYPE: false,
|
|
91
|
+
};
|
|
92
|
+
const MAX_ACTIONS_IN_MESSAGE = 2;
|
|
93
|
+
const SANITIZE_FQNS = new Set(['dompurify.sanitize', 'isomorphic-dompurify.sanitize']);
|
|
94
|
+
exports.rule = {
|
|
95
|
+
meta: (0, generate_meta_js_1.generateMeta)(meta, {
|
|
96
|
+
messages: {
|
|
97
|
+
unsafeConfig: 'unsafeConfig',
|
|
98
|
+
},
|
|
99
|
+
}),
|
|
100
|
+
create(context) {
|
|
101
|
+
const services = context.sourceCode.parserServices;
|
|
102
|
+
const hasTypeInformation = (0, parser_services_js_1.isRequiredParserServices)(services);
|
|
103
|
+
return {
|
|
104
|
+
CallExpression(node) {
|
|
105
|
+
let fqn = null;
|
|
106
|
+
if (hasTypeInformation) {
|
|
107
|
+
const tsNode = services.esTreeNodeToTSNodeMap.get(node);
|
|
108
|
+
fqn = (0, module_ts_js_1.getFullyQualifiedNameTS)(services, tsNode);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
fqn = (0, module_js_1.getFullyQualifiedName)(context, node);
|
|
112
|
+
}
|
|
113
|
+
if (!fqn || !SANITIZE_FQNS.has(fqn)) {
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
const configArg = node.arguments[1];
|
|
117
|
+
if (configArg?.type !== 'ObjectExpression') {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const actions = collectActions(configArg);
|
|
121
|
+
if (actions.length > 0) {
|
|
122
|
+
context.report({
|
|
123
|
+
message: buildMessage(actions),
|
|
124
|
+
node: configArg,
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
};
|
|
129
|
+
},
|
|
130
|
+
};
|
|
131
|
+
function collectActions(config) {
|
|
132
|
+
const actions = [];
|
|
133
|
+
for (const prop of config.properties) {
|
|
134
|
+
if (prop.type !== 'Property') {
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
const action = getActionForProperty(prop);
|
|
138
|
+
if (action) {
|
|
139
|
+
actions.push(action);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return actions;
|
|
143
|
+
}
|
|
144
|
+
function getActionForProperty(prop) {
|
|
145
|
+
const key = getPropertyName(prop);
|
|
146
|
+
if (!key) {
|
|
147
|
+
return undefined;
|
|
148
|
+
}
|
|
149
|
+
switch (key) {
|
|
150
|
+
case 'ADD_TAGS':
|
|
151
|
+
case 'ALLOWED_TAGS': {
|
|
152
|
+
const dangerous = getDangerousArrayElements(prop.value, DANGEROUS_TAGS);
|
|
153
|
+
return dangerous.length > 0 ? `remove ${formatList(dangerous)} from '${key}'` : undefined;
|
|
154
|
+
}
|
|
155
|
+
case 'ADD_ATTR':
|
|
156
|
+
case 'ALLOWED_ATTR': {
|
|
157
|
+
const dangerous = getDangerousAttributes(prop.value);
|
|
158
|
+
return dangerous.length > 0 ? `remove ${formatList(dangerous)} from '${key}'` : undefined;
|
|
159
|
+
}
|
|
160
|
+
case 'ADD_URI_SAFE_ATTR': {
|
|
161
|
+
const dangerous = getDangerousArrayElements(prop.value, DANGEROUS_URI_ATTRS);
|
|
162
|
+
return dangerous.length > 0 ? `remove ${formatList(dangerous)} from '${key}'` : undefined;
|
|
163
|
+
}
|
|
164
|
+
case 'ALLOWED_URI_REGEXP':
|
|
165
|
+
return isUnanchoredRegex(prop.value)
|
|
166
|
+
? `anchor the 'ALLOWED_URI_REGEXP' pattern with '^' to prevent partial URI matches`
|
|
167
|
+
: undefined;
|
|
168
|
+
default:
|
|
169
|
+
if (key in DANGEROUS_BOOLEAN_OPTIONS) {
|
|
170
|
+
const dangerousValue = DANGEROUS_BOOLEAN_OPTIONS[key];
|
|
171
|
+
return isBooleanLiteral(prop.value, dangerousValue)
|
|
172
|
+
? `set '${key}' to '${!dangerousValue}'`
|
|
173
|
+
: undefined;
|
|
174
|
+
}
|
|
175
|
+
return undefined;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function buildMessage(actions) {
|
|
179
|
+
const shown = actions.slice(0, MAX_ACTIONS_IN_MESSAGE);
|
|
180
|
+
const remaining = actions.length - shown.length;
|
|
181
|
+
let message = `To prevent DOM-based attacks, ${joinActions(shown)}.`;
|
|
182
|
+
if (remaining > 0) {
|
|
183
|
+
message += ` Plus ${remaining} more ${remaining === 1 ? 'issue' : 'issues'}. Read 'How to fix it' for all details.`;
|
|
184
|
+
}
|
|
185
|
+
return message;
|
|
186
|
+
}
|
|
187
|
+
function joinActions(actions) {
|
|
188
|
+
if (actions.length === 1) {
|
|
189
|
+
return actions[0];
|
|
190
|
+
}
|
|
191
|
+
return `${actions.slice(0, -1).join(', ')}, and ${actions.at(-1)}`;
|
|
192
|
+
}
|
|
193
|
+
function getPropertyName(prop) {
|
|
194
|
+
if (prop.key.type === 'Identifier') {
|
|
195
|
+
return prop.key.name;
|
|
196
|
+
}
|
|
197
|
+
if (prop.key.type === 'Literal' && typeof prop.key.value === 'string') {
|
|
198
|
+
return prop.key.value;
|
|
199
|
+
}
|
|
200
|
+
return undefined;
|
|
201
|
+
}
|
|
202
|
+
function getDangerousArrayElements(node, dangerousSet) {
|
|
203
|
+
if (node.type !== 'ArrayExpression') {
|
|
204
|
+
return [];
|
|
205
|
+
}
|
|
206
|
+
return node.elements
|
|
207
|
+
.filter((el) => el !== null &&
|
|
208
|
+
el.type === 'Literal' &&
|
|
209
|
+
typeof el.value === 'string' &&
|
|
210
|
+
dangerousSet.has(el.value.toLowerCase()))
|
|
211
|
+
.map(el => el.value);
|
|
212
|
+
}
|
|
213
|
+
function getDangerousAttributes(node) {
|
|
214
|
+
if (node.type !== 'ArrayExpression') {
|
|
215
|
+
return [];
|
|
216
|
+
}
|
|
217
|
+
return node.elements
|
|
218
|
+
.filter((el) => el !== null &&
|
|
219
|
+
el.type === 'Literal' &&
|
|
220
|
+
typeof el.value === 'string' &&
|
|
221
|
+
EVENT_HANDLER_PATTERN.test(el.value))
|
|
222
|
+
.map(el => el.value);
|
|
223
|
+
}
|
|
224
|
+
function formatList(items) {
|
|
225
|
+
const quoted = items.map(item => `'${item}'`);
|
|
226
|
+
if (quoted.length === 1) {
|
|
227
|
+
return quoted[0];
|
|
228
|
+
}
|
|
229
|
+
return `${quoted.slice(0, -1).join(', ')} and ${quoted.at(-1)}`;
|
|
230
|
+
}
|
|
231
|
+
function isBooleanLiteral(node, value) {
|
|
232
|
+
return node.type === 'Literal' && node.value === value;
|
|
233
|
+
}
|
|
234
|
+
function isUnanchoredRegex(node) {
|
|
235
|
+
if (node.type === 'Literal' && 'regex' in node && node.regex) {
|
|
236
|
+
return !node.regex.pattern.startsWith('^');
|
|
237
|
+
}
|
|
238
|
+
return false;
|
|
239
|
+
}
|
|
@@ -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/S881/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/S881/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/S881/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
|
|
@@ -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/S888/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/S888/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/S888/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
|
|
@@ -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/S930/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/S930/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/S930/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
|
|
@@ -7,11 +7,11 @@ exports.getElementType = void 0;
|
|
|
7
7
|
exports.isPresentationTable = isPresentationTable;
|
|
8
8
|
/*
|
|
9
9
|
* SonarQube JavaScript Plugin
|
|
10
|
-
* Copyright (C)
|
|
10
|
+
* Copyright (C) SonarSource Sàrl
|
|
11
11
|
* mailto:info AT sonarsource DOT com
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* You can redistribute and/or modify this program under the terms of
|
|
14
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
15
15
|
*
|
|
16
16
|
* This program is distributed in the hope that it will be useful,
|
|
17
17
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/helpers/ast.js
CHANGED
|
@@ -188,7 +188,7 @@ function isUndefined(node) {
|
|
|
188
188
|
* myObj.prop1 += 3;
|
|
189
189
|
*/
|
|
190
190
|
function isElementWrite(statement, ref, recursive = true) {
|
|
191
|
-
if (statement.expression
|
|
191
|
+
if (statement.expression?.type === 'AssignmentExpression') {
|
|
192
192
|
const assignmentExpression = statement.expression;
|
|
193
193
|
const lhs = assignmentExpression.left;
|
|
194
194
|
return isMemberExpressionReference(lhs, ref, recursive);
|
package/cjs/helpers/cache.js
CHANGED
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ComputedCache = 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
|
|
@@ -5,11 +5,11 @@ exports.flatMap = flatMap;
|
|
|
5
5
|
exports.last = last;
|
|
6
6
|
/*
|
|
7
7
|
* SonarQube JavaScript Plugin
|
|
8
|
-
* Copyright (C)
|
|
8
|
+
* Copyright (C) SonarSource Sàrl
|
|
9
9
|
* mailto:info AT sonarsource DOT com
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* You can redistribute and/or modify this program under the terms of
|
|
12
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
13
13
|
*
|
|
14
14
|
* This program is distributed in the hope that it will be useful,
|
|
15
15
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
package/cjs/helpers/configs.js
CHANGED
|
@@ -93,8 +93,8 @@ function applyTransformations(fields, mergedValues) {
|
|
|
93
93
|
// fieldDefinition is a single property: { default, customForConfiguration, ... }
|
|
94
94
|
// mergedConfigEntry is a scalar value (string, number, boolean)
|
|
95
95
|
//
|
|
96
|
-
// Example — S1441 fieldDefinition = { default: 'single',
|
|
97
|
-
// mergedConfigEntry = true (
|
|
96
|
+
// Example — S1441 fieldDefinition = { default: 'single', customForConfiguration: (v) => ... }
|
|
97
|
+
// mergedConfigEntry = 'true' (string from SQ)
|
|
98
98
|
// After transform: 'single' (string expected by ESLint quotes rule)
|
|
99
99
|
return fieldDefinition.customForConfiguration(mergedConfigEntry);
|
|
100
100
|
}
|
package/cjs/helpers/entropy.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.shannonEntropy = shannonEntropy;
|
|
2
4
|
/*
|
|
3
5
|
* SonarQube JavaScript Plugin
|
|
4
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) SonarSource Sàrl
|
|
5
7
|
* mailto:info AT sonarsource DOT com
|
|
6
8
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
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.
|
|
9
11
|
*
|
|
10
12
|
* This program is distributed in the hope that it will be useful,
|
|
11
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -15,8 +17,6 @@
|
|
|
15
17
|
* You should have received a copy of the Sonar Source-Available License
|
|
16
18
|
* along with this program; if not, see https://sonarsource.com/license/ssal/
|
|
17
19
|
*/
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.shannonEntropy = shannonEntropy;
|
|
20
20
|
function shannonEntropy(str) {
|
|
21
21
|
if (!str) {
|
|
22
22
|
return 0;
|
package/cjs/helpers/files.js
CHANGED
|
@@ -11,11 +11,11 @@ exports.joinPaths = joinPaths;
|
|
|
11
11
|
exports.basenamePath = basenamePath;
|
|
12
12
|
/*
|
|
13
13
|
* SonarQube JavaScript Plugin
|
|
14
|
-
* Copyright (C)
|
|
14
|
+
* Copyright (C) SonarSource Sàrl
|
|
15
15
|
* mailto:info AT sonarsource DOT com
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
17
|
+
* You can redistribute and/or modify this program under the terms of
|
|
18
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
19
19
|
*
|
|
20
20
|
* This program is distributed in the hope that it will be useful,
|
|
21
21
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -35,6 +35,7 @@ exports.ROOT_PATH = '/';
|
|
|
35
35
|
* Byte Order Marker
|
|
36
36
|
*/
|
|
37
37
|
const BOM_BYTE = 0xfeff;
|
|
38
|
+
const isWindows = process.platform === 'win32';
|
|
38
39
|
/**
|
|
39
40
|
* Removes any Byte Order Marker (BOM) from a string's head
|
|
40
41
|
*
|
|
@@ -49,7 +50,6 @@ function stripBOM(str) {
|
|
|
49
50
|
}
|
|
50
51
|
return str;
|
|
51
52
|
}
|
|
52
|
-
const isWindows = process.platform === 'win32';
|
|
53
53
|
/**
|
|
54
54
|
* Normalizes a path to Unix format (forward slashes).
|
|
55
55
|
* For absolute paths on Windows, resolves them to ensure they have a drive letter.
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.closestPatternCache = void 0;
|
|
7
7
|
/*
|
|
8
8
|
* SonarQube JavaScript Plugin
|
|
9
|
-
* Copyright (C)
|
|
9
|
+
* Copyright (C) SonarSource Sàrl
|
|
10
10
|
* mailto:info AT sonarsource DOT com
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* You can redistribute and/or modify this program under the terms of
|
|
13
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
14
14
|
*
|
|
15
15
|
* This program is distributed in the hope that it will be useful,
|
|
16
16
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toInternalMetricsSettings = toInternalMetricsSettings;
|
|
4
|
+
exports.getInternalMetricsSink = getInternalMetricsSink;
|
|
5
|
+
const SONAR_INTERNAL_SETTINGS_KEY = 'sonarInternal';
|
|
6
|
+
const SONAR_INTERNAL_METRICS_SINK_KEY = 'metricsSink';
|
|
7
|
+
function toInternalMetricsSettings(metricsSink) {
|
|
8
|
+
return {
|
|
9
|
+
[SONAR_INTERNAL_SETTINGS_KEY]: {
|
|
10
|
+
[SONAR_INTERNAL_METRICS_SINK_KEY]: metricsSink,
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
function getInternalMetricsSink(settings) {
|
|
15
|
+
if (!settings || typeof settings !== 'object') {
|
|
16
|
+
return undefined;
|
|
17
|
+
}
|
|
18
|
+
const sonarInternal = settings[SONAR_INTERNAL_SETTINGS_KEY];
|
|
19
|
+
if (!sonarInternal || typeof sonarInternal !== 'object') {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
const metricsSink = sonarInternal[SONAR_INTERNAL_METRICS_SINK_KEY];
|
|
23
|
+
if (!metricsSink || typeof metricsSink !== 'object') {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return metricsSink;
|
|
27
|
+
}
|
package/cjs/helpers/module-ts.js
CHANGED
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.getFullyQualifiedNameTS = getFullyQualifiedNameTS;
|
|
7
7
|
/*
|
|
8
8
|
* SonarQube JavaScript Plugin
|
|
9
|
-
* Copyright (C)
|
|
9
|
+
* Copyright (C) SonarSource Sàrl
|
|
10
10
|
* mailto:info AT sonarsource DOT com
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* You can redistribute and/or modify this program under the terms of
|
|
13
|
+
* the Sonar Source-Available License Version 1, as published by SonarSource Sàrl.
|
|
14
14
|
*
|
|
15
15
|
* This program is distributed in the hope that it will be useful,
|
|
16
16
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
@@ -26,7 +26,12 @@ const module_js_1 = require("./module.js");
|
|
|
26
26
|
function getFullyQualifiedNameTS(services, rootNode) {
|
|
27
27
|
const result = [];
|
|
28
28
|
let node = rootNode;
|
|
29
|
+
const visitedNodes = new Set();
|
|
29
30
|
while (node) {
|
|
31
|
+
if (visitedNodes.has(node)) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
visitedNodes.add(node);
|
|
30
35
|
switch (node.kind) {
|
|
31
36
|
case typescript_1.default.SyntaxKind.CallExpression: {
|
|
32
37
|
const callExpressionNode = node;
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getClosestPackageJSONDir = getClosestPackageJSONDir;
|
|
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
|