pols-validator 2.7.3 → 2.7.4

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.
Files changed (2) hide show
  1. package/dist/rules.js +1 -1
  2. package/package.json +1 -1
package/dist/rules.js CHANGED
@@ -428,7 +428,7 @@ class PRules extends rulesEngine_1.PRulesEngine {
428
428
  if (params.allowedTags)
429
429
  config.ALLOWED_TAGS = params.allowedTags;
430
430
  if (params.forbiddenTags)
431
- config.FORBID_TAGS = params.allowedTags;
431
+ config.FORBID_TAGS = params.forbiddenTags;
432
432
  }
433
433
  else {
434
434
  config.ALLOWED_TAGS = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pols-validator",
3
- "version": "2.7.3",
3
+ "version": "2.7.4",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",