@modernpoacher/rules-runner 2.3.187 → 2.3.188

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/husky.mjs CHANGED
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ if (process.env.CI === 'true') process.exit(0)
4
+
3
5
  // @ts-ignore
4
6
  Promise.resolve(import('husky'))
5
7
  .then(({ default: husky }) => { husky() })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernpoacher/rules-runner",
3
- "version": "2.3.187",
3
+ "version": "2.3.188",
4
4
  "description": "A business rules engine for Node",
5
5
  "keywords": [
6
6
  "business rules",
@@ -52,12 +52,12 @@
52
52
  "object-path": "^0.11.8"
53
53
  },
54
54
  "devDependencies": {
55
- "@sequencemedia/eslint-config-standard": "0.3.2",
56
- "@sequencemedia/eslint-config-typescript": "0.2.3",
55
+ "@sequencemedia/eslint-config-standard": "0.4.2",
56
+ "@sequencemedia/eslint-config-typescript": "0.2.13",
57
57
  "@types/debug": "^4.1.13",
58
58
  "chai": "^6.3.0",
59
59
  "cross-env": "^10.1.0",
60
- "eslint": "10.14.0",
60
+ "eslint": "10.15.0",
61
61
  "globals": "^17.14.0",
62
62
  "husky": "^9.1.7",
63
63
  "mocha": "^12.0.3"
package/src/index.mjs CHANGED
@@ -16,9 +16,7 @@ log('`@modernpoacher/rules-runner` is awake')
16
16
  const hasArrayKey = (key) => /^(.*)\[\]$/.test(key)
17
17
 
18
18
  function getArrayKey (key) {
19
- const [,
20
- arrayKey
21
- ] = key.match(/^(.*)\[\]$/)
19
+ const [, arrayKey] = key.match(/^(.*)\[\]$/)
22
20
 
23
21
  return arrayKey
24
22
  }