Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: crash on collectors #89

Merged
merged 2 commits into from
Jul 20, 2022
Merged

fix: crash on collectors #89

merged 2 commits into from
Jul 20, 2022

Conversation

jacoobes
Copy link
Member

In other words, sern would crash on undefined modules. Collected interactions go through the same event listener as the one listening to commands. Sern crashed on these interactions which is unintended behavior

Does not crash now, only warns.

@jacoobes jacoobes requested a review from Murtatrxx July 20, 2022 18:54
Copy link
Member

@Murtatrxx Murtatrxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you really sure about a new release on this tiny change?

@jacoobes
Copy link
Member Author

Are you really sure about a new release on this tiny change?

Yeah, without this, collectors would have not worked

@jacoobes jacoobes merged commit a0587f5 into main Jul 20, 2022
@jacoobes jacoobes deleted the bug/error-checking branch July 20, 2022 19:00
@Murtatrxx
Copy link
Member

okay then just merge

jacoobes added a commit that referenced this pull request Jul 23, 2022
* fix: crash on collectors

* feat: bump version for bug fix
jacoobes added a commit that referenced this pull request Aug 6, 2022
* chore: fix tsc predicate type checking

* build: add tsup as bundler

* chore: revert text

* chore: fix predicates.ts, update dependencies, bump version

* docs: update example

* build: update dependencies

* fix: crash on collectors (#89)

* fix: crash on collectors

* feat: bump version for bug fix

* fix: crash on collectors pt

* docs: adding some documentation for docasaurus

* docs: add errors.ts comments

* docs: refactor comments

* docs: adding examples

* feat: refresh package-lock.json

* refactor: destructure and clean namespaces

* feat: add regen package.json script

* feat: add tsup, remove tsc, add scripts

* feat: update ts-results import style

* feat: readd typescript because idk if i should

* feat: breakup tsconfigs and add tsup config

* feat: add esm json tsconfig to git

* build: update dependencies and move to ts-result-es

* feat: remove unused function

* feat: update ts-results for esm/cjs interop!

* revert: remove version.txt

* build: goodbye tsc, hello tsup

* build: moving discord.js as dev dependency

* style: requested changes

* feat: add tsc back ( i missed you )

* build: bump version -> 1.0.0

* feat: syncing to main

* style: pretty

* feat: fix tsconfig issues with tsup

* revert: remove ExternallyUsed

* feat: update scripts

* build: update tsup and pkg-lock.json

* feat: refresh package-lock.json

* feat: test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants