Commit Graph
193 Commits
Author SHA1 Message Date
Reece Dunham afd021175f Switch over to vitest because native ESM memes 2025-10-02 11:36:41 -04:00
Reece Dunham 4399024e9e Make the tests pass 2025-10-02 10:06:08 -04:00
Reece Dunham ab4dffe5fc Migrate to immutability pattern 2025-10-02 10:04:11 -04:00
dependabot[bot] 80992c8fc0 Bump esbuild from 0.21.5 to 0.25.0 (#35)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.21.5 to 0.25.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 08:48:09 -05:00
Reece Dunham 8d3fa09c4a feat: introduce tracing (#33) 2024-11-20 16:53:21 +00:00
AnthonyFuller aac3f954d7 chore: bump version to v6.2.0 v6.2.0 2024-11-07 19:13:44 +00:00
Govert de Gans 89d8a7bf9f fix: $eq condition where first value is null or undefined should always return false (#32)
* Add VSCode settings for a working test explorer sidebar

* fix: $eq should return false when any element is null or undefined
2024-11-07 19:06:24 +00:00
AnthonyFuller 23fb362e3b feat: bump version to v6.1.0 v6.1.0 2024-07-29 19:21:41 +01: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 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 b9f0b47d41 fix: remaining usages of hasOwnProperty 2024-07-25 10:48:58 -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 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
AnthonyFuller 798936e4cc Fix minor formatting issue in math-actions 2023-05-08 18:13:49 +01:00
AnthonyFuller 047d3ef50f Bump version to v5.7.0 v5.7.0 2023-05-06 17:51:21 +01:00
AnthonyFuller 6a5fb927e3 Support 2 operand $mul actions 2023-05-06 17:49:34 +01:00