@bigbinary/eslint-plugin-neeto 1.5.5 → 1.5.7

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/index.js +7 -1
  2. package/package.json +13 -8
package/dist/index.js CHANGED
@@ -11541,8 +11541,14 @@
11541
11541
  }
11542
11542
  };
11543
11543
 
11544
+ var isNotURL = function isNotURL(value) {
11545
+ return !neetoCommonsConstants.VALID_URL_REGEX.test(value);
11546
+ };
11547
+ var isNotEmail = function isNotEmail(value) {
11548
+ return !neetoCommonsConstants.VALID_EMAIL_REGEX.test(value);
11549
+ };
11544
11550
  var isNeetoPresent = function isNeetoPresent(value) {
11545
- return typeof value === "string" && /\bneeto\b(?![-\w])/.test(value);
11551
+ return typeof value === "string" && /\bneeto\b(?![-\w])/.test(value) && isNotURL(value) && isNotEmail(value);
11546
11552
  };
11547
11553
  var reportNeetoInChildren = function reportNeetoInChildren(array, context) {
11548
11554
  array.forEach(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/eslint-plugin-neeto",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "main": "dist/index.js",
5
5
  "license": "UNLICENSED",
6
6
  "scripts": {
@@ -22,7 +22,7 @@
22
22
  "dist/resolveConfigWorker.js"
23
23
  ],
24
24
  "engines": {
25
- "node": ">=18.12",
25
+ "node": ">=22.13",
26
26
  "npm": ">=9",
27
27
  "yarn": ">=1.22"
28
28
  },
@@ -36,9 +36,9 @@
36
36
  "@babel/preset-typescript": "^7.18.6",
37
37
  "@babel/runtime": "^7.19.0",
38
38
  "@bigbinary/babel-preset-neeto": "^1.0.3",
39
- "@bigbinary/eslint-plugin-neeto": "^1.1.9",
39
+ "@bigbinary/eslint-plugin-neeto": "1.5.5",
40
40
  "@bigbinary/neeto-cist": "^1.0.3",
41
- "@bigbinary/neeto-commons-frontend": "^2.1.29",
41
+ "@bigbinary/neeto-commons-frontend": "4.12.3",
42
42
  "@rollup/plugin-alias": "^3.1.9",
43
43
  "@rollup/plugin-babel": "^6.0.4",
44
44
  "@rollup/plugin-commonjs": "^22.0.0",
@@ -49,7 +49,9 @@
49
49
  "babel-plugin-istanbul": "^6.1.1",
50
50
  "babel-plugin-js-logger": "1.0.17",
51
51
  "babel-plugin-macros": "3.1.0",
52
+ "babel-plugin-module-resolver": "^5.0.0",
52
53
  "babel-plugin-preval": "^5.1.0",
54
+ "babel-plugin-transform-imports": "^2.0.0",
53
55
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
54
56
  "babel-preset-react": "6.24.1",
55
57
  "babel-preset-typescript": "^7.0.0-alpha.19",
@@ -65,7 +67,10 @@
65
67
  "eslint-plugin-promise": "6.0.0",
66
68
  "eslint-plugin-react": "7.29.4",
67
69
  "eslint-plugin-react-hooks": "4.5.0",
70
+ "eslint-plugin-security": "^1.7.1",
71
+ "eslint-plugin-sonarjs": "^0.21.0",
68
72
  "eslint-plugin-unused-imports": "2.0.0",
73
+ "eslint-plugin-xss": "^0.1.12",
69
74
  "husky": "7.0.4",
70
75
  "i18next": "21.7.0",
71
76
  "jest": "27.5.1",
@@ -82,10 +87,10 @@
82
87
  "synckit": "^0.9.0"
83
88
  },
84
89
  "peerDependencies": {
85
- "@bigbinary/neeto-cist": "latest",
86
- "@bigbinary/neeto-commons-frontend": "latest",
87
- "eslint": "^8.18.0",
90
+ "@bigbinary/neeto-cist": "^1.0.3",
91
+ "@bigbinary/neeto-commons-frontend": "4.12.3",
92
+ "eslint": "8.14.0",
88
93
  "i18next": "21.7.0",
89
- "ramda": "^0.29.0"
94
+ "ramda": "0.29.0"
90
95
  }
91
96
  }