@wmfs/asl-choice-processor 1.24.0 → 1.25.0
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/.releaserc.json +65 -6
- package/CHANGELOG.md +77 -0
- package/lib/operators/includes.js +1 -1
- package/package.json +9 -8
package/.releaserc.json
CHANGED
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
"analyzeCommits": {
|
|
4
4
|
"preset": "angular",
|
|
5
5
|
"releaseRules": [
|
|
6
|
-
{
|
|
6
|
+
{
|
|
7
|
+
"type": "build",
|
|
8
|
+
"scope": "deps",
|
|
9
|
+
"release": "minor"
|
|
10
|
+
}
|
|
7
11
|
]
|
|
8
12
|
},
|
|
9
13
|
"verifyConditions": [
|
|
@@ -12,7 +16,56 @@
|
|
|
12
16
|
"@semantic-release/git"
|
|
13
17
|
],
|
|
14
18
|
"generateNotes": {
|
|
15
|
-
"preset": "
|
|
19
|
+
"preset": "conventionalcommits",
|
|
20
|
+
"presetConfig": {
|
|
21
|
+
"types": [
|
|
22
|
+
{
|
|
23
|
+
"breaking": true,
|
|
24
|
+
"type": "feat!",
|
|
25
|
+
"section": "BREAKING"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "feat",
|
|
29
|
+
"section": "New Feature(s) :rocket:"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "fix",
|
|
33
|
+
"section": "Bug Fix(es) :bug:"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "docs",
|
|
37
|
+
"section": "Documentation Changes :memo:"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "refactor",
|
|
41
|
+
"section": "Code Refactor :recycle:"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "test",
|
|
45
|
+
"section": "Tests :alembic:"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "perf",
|
|
49
|
+
"section": "Performance Improvement(s) :zap:"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "build",
|
|
53
|
+
"section": "Build system dependencies :hammer:"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"type": "chore",
|
|
57
|
+
"section": "Chores :pencil2:"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "ci",
|
|
61
|
+
"section": "CICD Configuration Changes :construction_worker:"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "style",
|
|
65
|
+
"section": "Code Styling :art:"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
16
69
|
},
|
|
17
70
|
"prepare": [
|
|
18
71
|
{
|
|
@@ -21,7 +74,9 @@
|
|
|
21
74
|
},
|
|
22
75
|
{
|
|
23
76
|
"path": "@semantic-release/git",
|
|
24
|
-
"assets": [
|
|
77
|
+
"assets": [
|
|
78
|
+
"CHANGELOG.md"
|
|
79
|
+
]
|
|
25
80
|
},
|
|
26
81
|
"@semantic-release/npm"
|
|
27
82
|
],
|
|
@@ -29,6 +84,10 @@
|
|
|
29
84
|
"@semantic-release/npm",
|
|
30
85
|
"@semantic-release/github"
|
|
31
86
|
],
|
|
32
|
-
"success": [
|
|
33
|
-
|
|
34
|
-
|
|
87
|
+
"success": [
|
|
88
|
+
"@semantic-release/github"
|
|
89
|
+
],
|
|
90
|
+
"fail": [
|
|
91
|
+
"@semantic-release/github"
|
|
92
|
+
]
|
|
93
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,80 @@
|
|
|
1
|
+
## [1.25.0](https://github.com/wmfs/asl-choice-processor/compare/v1.24.1...v1.25.0) (2025-10-21)
|
|
2
|
+
|
|
3
|
+
### Build system dependencies :hammer:
|
|
4
|
+
|
|
5
|
+
* **deps-dev:** [sc-29160] Resolve issue with semantic-release changelog notes ([#325](https://github.com/wmfs/asl-choice-processor/issues/325)) ([3551060](https://github.com/wmfs/asl-choice-processor/commit/3551060518a7f510b0f59d661a0187888c2c5470))
|
|
6
|
+
* **deps-dev:** update dependency @semantic-release/release-notes-generator to v14.1.0 ([#345](https://github.com/wmfs/asl-choice-processor/issues/345)) ([d037079](https://github.com/wmfs/asl-choice-processor/commit/d037079da37565d927c89b38b12a9015819d0941))
|
|
7
|
+
* **deps-dev:** update dependency chai to v4.4.0 ([c3621a1](https://github.com/wmfs/asl-choice-processor/commit/c3621a138fc03a76c05dd6540f48d28f362ee359))
|
|
8
|
+
* **deps-dev:** update dependency chai to v4.4.1 ([81e1688](https://github.com/wmfs/asl-choice-processor/commit/81e1688b7c2354e0e81203d638fe30fd1b5c71f8))
|
|
9
|
+
* **deps-dev:** update dependency chai to v4.5.0 ([f741667](https://github.com/wmfs/asl-choice-processor/commit/f7416677ab2a84a9132eeced9584684f714e4b2c))
|
|
10
|
+
* **deps-dev:** update dependency chai to v6 ([#343](https://github.com/wmfs/asl-choice-processor/issues/343)) ([4e6f88f](https://github.com/wmfs/asl-choice-processor/commit/4e6f88feb3395d034be4a77d2ec99a485ed9c8e0))
|
|
11
|
+
* **deps-dev:** update dependency chai to v6.2.0 ([#348](https://github.com/wmfs/asl-choice-processor/issues/348)) ([41c070e](https://github.com/wmfs/asl-choice-processor/commit/41c070e858469eff3ee5c46ec8ca1779b4ba0a06))
|
|
12
|
+
* **deps-dev:** update dependency conventional-changelog-conventionalcommits to v9 ([#334](https://github.com/wmfs/asl-choice-processor/issues/334)) ([fb643c7](https://github.com/wmfs/asl-choice-processor/commit/fb643c7a1b8007500a1fd68dc709e7432b1715cd))
|
|
13
|
+
* **deps-dev:** update dependency conventional-changelog-conventionalcommits to v9.1.0 ([#341](https://github.com/wmfs/asl-choice-processor/issues/341)) ([1f5f985](https://github.com/wmfs/asl-choice-processor/commit/1f5f98590eeca2fdc98038ca1521660eefdfc845))
|
|
14
|
+
* **deps-dev:** update dependency mocha to v10.3.0 ([6a95b33](https://github.com/wmfs/asl-choice-processor/commit/6a95b3383e13db9b66d296d712ae2e2ac696a0ed))
|
|
15
|
+
* **deps-dev:** update dependency mocha to v10.4.0 ([c9736f9](https://github.com/wmfs/asl-choice-processor/commit/c9736f9c25c27693b177d72cc1f07c2a24686364))
|
|
16
|
+
* **deps-dev:** update dependency mocha to v10.5.0 ([e935035](https://github.com/wmfs/asl-choice-processor/commit/e9350355475f998d7e2241ded5ed6ba23252be41))
|
|
17
|
+
* **deps-dev:** update dependency mocha to v10.5.1 ([c504403](https://github.com/wmfs/asl-choice-processor/commit/c5044039f85a37ac54d8382aeb3585629ab681af))
|
|
18
|
+
* **deps-dev:** update dependency mocha to v10.5.2 ([a8fe0dc](https://github.com/wmfs/asl-choice-processor/commit/a8fe0dc0e420ba99f9c40ca6b68b2a03a53633f6))
|
|
19
|
+
* **deps-dev:** update dependency mocha to v10.6.0 ([d526fa7](https://github.com/wmfs/asl-choice-processor/commit/d526fa77a1354fb86c41db31f9b2b42c8bafa8cb))
|
|
20
|
+
* **deps-dev:** update dependency mocha to v10.7.0 ([9c12436](https://github.com/wmfs/asl-choice-processor/commit/9c12436512b0c8f8a0ba912eeec27c6548762a2a))
|
|
21
|
+
* **deps-dev:** update dependency mocha to v10.7.3 ([3498c18](https://github.com/wmfs/asl-choice-processor/commit/3498c185dab01ea3cd98faefcdb72c3d898cbac9))
|
|
22
|
+
* **deps-dev:** update dependency mocha to v10.8.1 ([93793f1](https://github.com/wmfs/asl-choice-processor/commit/93793f12a7b9b31209310733b0818cb03850e688))
|
|
23
|
+
* **deps-dev:** update dependency mocha to v10.8.2 ([b7d525a](https://github.com/wmfs/asl-choice-processor/commit/b7d525a8d183ba50ab9bd49a75ec2d1c75c5dbd3))
|
|
24
|
+
* **deps-dev:** update dependency mocha to v11 ([#323](https://github.com/wmfs/asl-choice-processor/issues/323)) ([ee91ee5](https://github.com/wmfs/asl-choice-processor/commit/ee91ee5f7fea60ff18cc691af1405a7a72a598af))
|
|
25
|
+
* **deps-dev:** update dependency mocha to v11.1.0 ([#326](https://github.com/wmfs/asl-choice-processor/issues/326)) ([7b0bfe5](https://github.com/wmfs/asl-choice-processor/commit/7b0bfe542155be8f5fb816e32b3b5c3cf8d26e9b))
|
|
26
|
+
* **deps-dev:** update dependency mocha to v11.2.2 ([#330](https://github.com/wmfs/asl-choice-processor/issues/330)) ([4d023fc](https://github.com/wmfs/asl-choice-processor/commit/4d023fcff8542d723f96f309e969d62160ae295f))
|
|
27
|
+
* **deps-dev:** update dependency mocha to v11.3.0 ([#332](https://github.com/wmfs/asl-choice-processor/issues/332)) ([6f64940](https://github.com/wmfs/asl-choice-processor/commit/6f6494020cc0122787d609be4f944901b4ebc29b))
|
|
28
|
+
* **deps-dev:** update dependency mocha to v11.4.0 ([#333](https://github.com/wmfs/asl-choice-processor/issues/333)) ([0e046b7](https://github.com/wmfs/asl-choice-processor/commit/0e046b79829b427f9cbd7fa59f5fc2d61549fdab))
|
|
29
|
+
* **deps-dev:** update dependency mocha to v11.5.0 ([#336](https://github.com/wmfs/asl-choice-processor/issues/336)) ([9580f74](https://github.com/wmfs/asl-choice-processor/commit/9580f74663991b6b7b4c5bfa6db15edf0fcf7f78))
|
|
30
|
+
* **deps-dev:** update dependency mocha to v11.6.0 ([#337](https://github.com/wmfs/asl-choice-processor/issues/337)) ([f20dcdc](https://github.com/wmfs/asl-choice-processor/commit/f20dcdc01e9e2ac427d9f228589d5da6876b2868))
|
|
31
|
+
* **deps-dev:** update dependency mocha to v11.7.0 ([#338](https://github.com/wmfs/asl-choice-processor/issues/338)) ([b144ea5](https://github.com/wmfs/asl-choice-processor/commit/b144ea51c1bb77b2c90773234e2c5d797978de90))
|
|
32
|
+
* **deps-dev:** update dependency mocha to v11.7.1 ([#339](https://github.com/wmfs/asl-choice-processor/issues/339)) ([b6fa890](https://github.com/wmfs/asl-choice-processor/commit/b6fa890101fa1a29d3b1bce5157c463719a3d55b))
|
|
33
|
+
* **deps-dev:** update dependency mocha to v11.7.2 ([#344](https://github.com/wmfs/asl-choice-processor/issues/344)) ([bd47f02](https://github.com/wmfs/asl-choice-processor/commit/bd47f0282029dccfceee3ebd6c0a9ecbe2966c09))
|
|
34
|
+
* **deps-dev:** update dependency mocha to v11.7.3 ([#349](https://github.com/wmfs/asl-choice-processor/issues/349)) ([79e06b6](https://github.com/wmfs/asl-choice-processor/commit/79e06b67626b7f9888c2ca0573c3302fdb402bd0))
|
|
35
|
+
* **deps-dev:** update dependency mocha to v11.7.4 ([#350](https://github.com/wmfs/asl-choice-processor/issues/350)) ([dc9ec37](https://github.com/wmfs/asl-choice-processor/commit/dc9ec376b012bcf32a147ee32275c12ba639247e))
|
|
36
|
+
* **deps-dev:** update dependency nyc to v17 ([aa2690a](https://github.com/wmfs/asl-choice-processor/commit/aa2690a60eead67eb4fb3370320ad905235128c5))
|
|
37
|
+
* **deps-dev:** update dependency nyc to v17.1.0 ([c68686a](https://github.com/wmfs/asl-choice-processor/commit/c68686a4da42ca4f2f163120fffe6666df724ae1))
|
|
38
|
+
* **deps-dev:** update dependency semantic-release to v22.0.11 ([7dbac24](https://github.com/wmfs/asl-choice-processor/commit/7dbac245abe33f7cb3cc7825eb307de2891c6f62))
|
|
39
|
+
* **deps-dev:** update dependency semantic-release to v22.0.12 ([99e057d](https://github.com/wmfs/asl-choice-processor/commit/99e057d25666176e85a64d7ee763f7a41201780a))
|
|
40
|
+
* **deps-dev:** update dependency semantic-release to v23 ([ee075d6](https://github.com/wmfs/asl-choice-processor/commit/ee075d6d6e93a406c4b7e96a74c6fe01019543d3))
|
|
41
|
+
* **deps-dev:** update dependency semantic-release to v23.0.1 ([3d04328](https://github.com/wmfs/asl-choice-processor/commit/3d043289f3047b214dd333d0aa0938c74f57c83b))
|
|
42
|
+
* **deps-dev:** update dependency semantic-release to v23.0.2 ([544c8ef](https://github.com/wmfs/asl-choice-processor/commit/544c8ef0a3f8b9a46d76833be50d33110780a1f5))
|
|
43
|
+
* **deps-dev:** update dependency semantic-release to v23.0.3 ([e0eb2f3](https://github.com/wmfs/asl-choice-processor/commit/e0eb2f37d828f11ec89c057a7e157708f54a8148))
|
|
44
|
+
* **deps-dev:** update dependency semantic-release to v23.0.4 ([2567678](https://github.com/wmfs/asl-choice-processor/commit/25676783a54f7e8297846502b5032a883b71381d))
|
|
45
|
+
* **deps-dev:** update dependency semantic-release to v23.0.5 ([d407743](https://github.com/wmfs/asl-choice-processor/commit/d407743712a854f1a6517d3a4f761b151cb9e373))
|
|
46
|
+
* **deps-dev:** update dependency semantic-release to v23.0.6 ([d09b899](https://github.com/wmfs/asl-choice-processor/commit/d09b899bac391d561577930622f2a30f1cda37a5))
|
|
47
|
+
* **deps-dev:** update dependency semantic-release to v23.0.7 ([4cb12e0](https://github.com/wmfs/asl-choice-processor/commit/4cb12e008a300f104693de2857282d3048e29ebc))
|
|
48
|
+
* **deps-dev:** update dependency semantic-release to v23.0.8 ([67077fc](https://github.com/wmfs/asl-choice-processor/commit/67077fcae83beed34526be55ad0b93f3e1f65647))
|
|
49
|
+
* **deps-dev:** update dependency semantic-release to v23.1.1 ([ad5e7b8](https://github.com/wmfs/asl-choice-processor/commit/ad5e7b84d7eb6905e6434e8eb153fdd42d490559))
|
|
50
|
+
* **deps-dev:** update dependency semantic-release to v24 ([f8da8ea](https://github.com/wmfs/asl-choice-processor/commit/f8da8ea3c75102bd585faa6095c88b83af913670))
|
|
51
|
+
* **deps-dev:** update dependency semantic-release to v24.1.0 ([1ff92cb](https://github.com/wmfs/asl-choice-processor/commit/1ff92cbba9cd92ff092e75220e578e1ebfd97767))
|
|
52
|
+
* **deps-dev:** update dependency semantic-release to v24.1.1 ([f3d4e03](https://github.com/wmfs/asl-choice-processor/commit/f3d4e030868d812c099be73a216829e24e643a93))
|
|
53
|
+
* **deps-dev:** update dependency semantic-release to v24.1.2 ([cb8155f](https://github.com/wmfs/asl-choice-processor/commit/cb8155f5194763a541c42b2ac59dee5d1f79079a))
|
|
54
|
+
* **deps-dev:** update dependency semantic-release to v24.1.3 ([45986fe](https://github.com/wmfs/asl-choice-processor/commit/45986fe435007f12f246b3efbbc6bee6147e04a5))
|
|
55
|
+
* **deps-dev:** update dependency semantic-release to v24.2.0 ([d322672](https://github.com/wmfs/asl-choice-processor/commit/d322672cb117eac61568aa0d9510fc9fc3738050))
|
|
56
|
+
* **deps-dev:** update dependency semantic-release to v24.2.1 ([#324](https://github.com/wmfs/asl-choice-processor/issues/324)) ([f9d363b](https://github.com/wmfs/asl-choice-processor/commit/f9d363ba1b31975f069ec78e1748fc8bb7e1a266))
|
|
57
|
+
* **deps-dev:** update dependency semantic-release to v24.2.2 ([#327](https://github.com/wmfs/asl-choice-processor/issues/327)) ([35f21c1](https://github.com/wmfs/asl-choice-processor/commit/35f21c115c4a057f410da2b7689d26e4e5399b17))
|
|
58
|
+
* **deps-dev:** update dependency semantic-release to v24.2.3 ([#328](https://github.com/wmfs/asl-choice-processor/issues/328)) ([4c803b7](https://github.com/wmfs/asl-choice-processor/commit/4c803b7155494629956191dacd3d9cb43010457e))
|
|
59
|
+
* **deps-dev:** update dependency semantic-release to v24.2.4 ([#331](https://github.com/wmfs/asl-choice-processor/issues/331)) ([5cd4d76](https://github.com/wmfs/asl-choice-processor/commit/5cd4d767457fd76bba8c3fea0b19aa501c862f86))
|
|
60
|
+
* **deps-dev:** update dependency semantic-release to v24.2.5 ([#335](https://github.com/wmfs/asl-choice-processor/issues/335)) ([aa92d27](https://github.com/wmfs/asl-choice-processor/commit/aa92d27dbbdf2d2f03ff52522227f5d2f6d1b7a5))
|
|
61
|
+
* **deps-dev:** update dependency semantic-release to v24.2.6 ([#340](https://github.com/wmfs/asl-choice-processor/issues/340)) ([7b526e2](https://github.com/wmfs/asl-choice-processor/commit/7b526e2edbaf6f80641a69a253a544362350b411))
|
|
62
|
+
* **deps-dev:** update dependency semantic-release to v24.2.7 ([#342](https://github.com/wmfs/asl-choice-processor/issues/342)) ([a0086ce](https://github.com/wmfs/asl-choice-processor/commit/a0086ce336810d48291b978217931c1d51d32b1a))
|
|
63
|
+
* **deps-dev:** update dependency semantic-release to v24.2.8 ([#346](https://github.com/wmfs/asl-choice-processor/issues/346)) ([e1a9e53](https://github.com/wmfs/asl-choice-processor/commit/e1a9e53b619b6c3f299edc004166fed594286fd9))
|
|
64
|
+
* **deps-dev:** update dependency semantic-release to v24.2.9 ([#347](https://github.com/wmfs/asl-choice-processor/issues/347)) ([63d6dcc](https://github.com/wmfs/asl-choice-processor/commit/63d6dcc32323dcca21f13efa4c5ea3de31f57770))
|
|
65
|
+
* **deps-dev:** update dependency semantic-release to v25 ([#351](https://github.com/wmfs/asl-choice-processor/issues/351)) ([22649a6](https://github.com/wmfs/asl-choice-processor/commit/22649a63dbedcc00057e9ff90a4f1c201eacbe24))
|
|
66
|
+
* **deps-dev:** update dependency semantic-release to v25.0.1 ([#352](https://github.com/wmfs/asl-choice-processor/issues/352)) ([05cacd2](https://github.com/wmfs/asl-choice-processor/commit/05cacd2f9b386f91397ab4b9cc24dfbdde0f05e7))
|
|
67
|
+
* **deps-dev:** update dependency standard to v17.1.1 ([74e0486](https://github.com/wmfs/asl-choice-processor/commit/74e048667dcca2f5c6a6ace0ae2561279765ffd0))
|
|
68
|
+
* **deps-dev:** update dependency standard to v17.1.2 ([bd39417](https://github.com/wmfs/asl-choice-processor/commit/bd39417d4355ccf791cd2f7855cc773b8a90d92c))
|
|
69
|
+
* **deps:** revert chai to non-esm ([dab58d4](https://github.com/wmfs/asl-choice-processor/commit/dab58d443a036b8acc22b992d228db255b674107))
|
|
70
|
+
|
|
71
|
+
## [1.24.1](https://github.com/wmfs/asl-choice-processor/compare/v1.24.0...v1.24.1) (2023-12-11)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* **includes:** check for array ([40c7698](https://github.com/wmfs/asl-choice-processor/commit/40c7698d716099d8f96aad7e1ec1be0a9a7f0a5e))
|
|
77
|
+
|
|
1
78
|
# [1.24.0](https://github.com/wmfs/asl-choice-processor/compare/v1.23.0...v1.24.0) (2022-09-15)
|
|
2
79
|
|
|
3
80
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module.exports = function includesOperator (inputValue, comparisonValue, candidateStateName, cache) {
|
|
4
4
|
let nextState
|
|
5
|
-
if (inputValue.includes(comparisonValue)) {
|
|
5
|
+
if (Array.isArray(inputValue) && inputValue.includes(comparisonValue)) {
|
|
6
6
|
nextState = candidateStateName
|
|
7
7
|
}
|
|
8
8
|
return nextState
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wmfs/asl-choice-processor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.0",
|
|
4
4
|
"description": "For determining the next state given an Amazon States Language 'Choices' definition and a set of values.",
|
|
5
5
|
"author": "West Midlands Fire Service",
|
|
6
6
|
"homepage": "https://github.com/wmfs/asl-choice-processor#readme",
|
|
@@ -23,15 +23,16 @@
|
|
|
23
23
|
"lodash": "4.17.21"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"chai": "4.
|
|
26
|
+
"chai": "4.5.0",
|
|
27
27
|
"codecov": "3.8.3",
|
|
28
|
-
"conventional-changelog-
|
|
28
|
+
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
29
29
|
"cz-conventional-changelog": "3.3.0",
|
|
30
|
-
"mocha": "
|
|
31
|
-
"nyc": "
|
|
32
|
-
"semantic-release": "
|
|
33
|
-
"standard": "17.
|
|
34
|
-
"@semantic-release/changelog": "6.0.
|
|
30
|
+
"mocha": "11.7.4",
|
|
31
|
+
"nyc": "17.1.0",
|
|
32
|
+
"semantic-release": "25.0.1",
|
|
33
|
+
"standard": "17.1.2",
|
|
34
|
+
"@semantic-release/changelog": "6.0.3",
|
|
35
|
+
"@semantic-release/release-notes-generator": "14.1.0",
|
|
35
36
|
"@semantic-release/git": "10.0.1"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|