Commit Graph
196 Commits
Author SHA1 Message Date
Reece Dunham 465f281ecf Merge branch 'main' into rdil/refactoring 2024-07-25 13:08:53 -04:00
Anthony FullerandReece Dunham 2b24a2500f feat: Add handling of arrays of objects (#30)
* Add handling of arrays of objects

* feat: throw an error if invalid input is provided

---------

Co-authored-by: Reece Dunham <[email protected]>
2024-07-25 13:08:42 -04:00
Reece Dunham c988818082 Merge branch 'main' into rdil/refactoring 2024-07-25 12:12:45 -04:00
Reece Dunham ca8402e70f Revert "fix: remaining usages of hasOwnProperty"
This reverts commit b9f0b47d41.
2024-07-25 12:12:18 -04:00
Reece Dunham e6db4c192d style: formatting 2024-07-25 12:11:48 -04:00
Reece Dunham 481ea82205 fix: really weird bug with tests 2024-07-25 12:10:48 -04:00
Reece Dunham 1eed595fe0 Merge branch 'rdil/refactoring' of https://github.com/thepeacockproject/StateMachineParser into rdil/refactoring 2024-07-25 10:54:34 -04:00
Reece Dunham 815a1c3b73 fix: export setLogger 2024-07-25 10:54:30 -04:00
Reece Dunham dfb197e9bd Merge branch 'main' into rdil/refactoring 2024-07-25 10:53:25 -04:00
Reece Dunham 4d38091d6b chore: style fix 2024-07-25 10:53:15 -04:00
Reece Dunham b9f0b47d41 fix: remaining usages of hasOwnProperty 2024-07-25 10:48:58 -04:00
Reece Dunham 4de33b4f4c Merge branch 'main' into rdil/refactoring 2024-07-24 21:41:26 -04:00
Reece Dunham bb2c2ac733 chore: Add test for contract id in handleEvent 2024-07-24 21:34:27 -04:00
Reece Dunham b5904bb8e7 fix: type issue 2024-07-24 21:34:08 -04:00
Reece Dunham 1e9a873fda feat: massive refactor to handleEvent 2024-07-24 21:26:57 -04:00
Reece Dunham 44d607f98b chore: Add test for contract id in handleEvent 2024-07-24 21:26:25 -04:00
Reece Dunham 46be43dac6 fix: type issue 2024-07-24 20:53:14 -04:00
Reece Dunham 3e8de1a689 Run prettier, remove the object.hasOwnProperty stuff (it's not needed) 2024-07-22 22:19:26 -04:00
Reece Dunham c0952140ba fix: typo 2024-07-21 16:21:05 -04:00
Reece Dunham 9203413590 feat: Changelog for v6.0.0 v6.0.0 2024-06-22 23:03:45 -04:00
Reece Dunham 30bb540456 chore: run Update Copyright action 2024-06-22 22:55:00 -04:00
Reece Dunham 092910e88b chore: update deps 2024-06-22 22:53:31 -04:00
Govert de Gans bbf3684c04 Add type checking to some actions (#29)
* rearrange statements for consistency

* Add tests for actions trying to modify undefined variables

* Fix running actions with wrong types to do nothing instead of breaking

* fix-fix: actually check the type of the right variable in $remove

* Also add tests for $inc/$dec undefined with 1 operand

Gotta reach those coverage targets :^)
2024-06-22 22:41:07 -04:00
dependabot[bot] 093944da28 Bump braces from 3.0.2 to 3.0.3 (#27)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 19:42:36 -04:00
Reece Dunham c37d94501e Remove now redundant duplicate CI job 2024-05-16 17:10:59 -04:00
Reece Dunham 1941fc5dd2 fix: Ignore .yarn in coverage (attempt 2) 2024-05-16 13:04:20 -04:00
Reece Dunham ea69dbcdf4 fix: Ignore .yarn in coverage 2024-05-16 13:02:12 -04:00
Reece Dunham fb93611e71 feat: Maybe fix coverage 2024-05-16 12:59:11 -04:00
Reece Dunham 4878721b47 chore: Update dependencies 2024-05-16 12:48:02 -04:00
Reece Dunham 53e3994106 chore: Update Yarn 2024-05-16 12:45:04 -04:00
Reece Dunham 292d0c5415 Add codecov workflow 2024-05-16 12:23:53 -04:00
suanjiansaltandReece Dunham d09d91adde docs: Update specifications (#26)
Co-authored-by: Reece Dunham <[email protected]>
2024-04-30 13:36:29 -04:00
dependabot[bot] 8b59235d19 Bump tar from 6.1.13 to 6.2.1 (#25)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.13 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.13...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 08:56:41 -04:00
suanjiansalt d21183450c Update $push and $pushunique descriptions (#24) 2024-03-26 12:39:51 -04:00
dependabot[bot] e30c1579ce Bump ip from 2.0.0 to 2.0.1 (#23)
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 20:27:42 -05:00
Reece Dunham 23cfa4b908 Add $select to spec 2024-02-14 15:58:11 -05:00
Reece Dunham dd4813cad7 Fix spacing stuff 2023-11-25 13:34:48 -05:00
dependabot[bot] 40d26ad6dd Bump semver from 6.3.0 to 6.3.1 (#22)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-13 03:59:47 -04:00
AnthonyFuller e864277061 Bump version to v5.9.3 v5.9.3 2023-06-04 11:11:02 +01:00
Lennard Fonteijn 4965a60ea6 Timer fix, again. (#21)
* Fixed state transition caused by timer not properly handling current event
2023-06-03 22:25:42 -04:00
AnthonyFuller 7e0441e4cb Bump version to v5.9.2 v5.9.2 2023-05-11 10:51:10 +01:00
moonysolari 3206d3d8b7 Save timer transition results (#20)
* Save timer transition results

* prettier
2023-05-11 10:46:05 +01:00
AnthonyFuller 60af111298 Bump version to v5.9.1 v5.9.1 2023-05-09 01:43:47 +01:00
AnthonyFuller dbd1594fb9 Clear timers using pop 2023-05-09 01:43:41 +01:00
Reece Dunham 8ac4d2e92f prettify
Signed-off-by: Reece Dunham <[email protected]>
2023-05-08 20:27:29 -04:00
AnthonyFuller fb4ccf30a6 Bump version to v5.9.0 v5.9.0 2023-05-09 01:24:40 +01:00
Lennard Fonteijn f42497c291 Timers (#19)
* Fixed situation where timers weren't properly cleared when a state transition occurs
Fixed situation where timer logic was performed too late in the process

* Fixed broken unit tests
2023-05-09 01:18:20 +01:00
AnthonyFuller c82dd869ba Bump version to v5.8.0 v5.8.0 2023-05-08 22:33:24 +01:00
Anthony Fuller 5df06dcba5 Use switch statements when handling ops (#18)
* Use switch statements when handling ops

* Change in to of

* Add test for ordering of actions

* Simplify ordering test

* Update with changes from main

---------

Signed-off-by: Anthony Fuller <[email protected]>
2023-05-08 22:31:40 +01:00
moonysolari feda0cde1a Only read from the context if a reference is prepended with a $ (#17)
* Fixes The Scenic Route

* Only read from the context if prepended with a $ + tests
2023-05-08 23:01:09 +02:00