The C++ bindings for the node serialport project. (Fork)
Find a file
renovate[bot] 9fa374536d
chore(deps): update dependency mocha to v10.7.3 (#159)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mocha](https://mochajs.org/)
([source](https://redirect.github.com/mochajs/mocha)) | [`10.2.0` ->
`10.7.3`](https://renovatebot.com/diffs/npm/mocha/10.2.0/10.7.3) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/mocha/10.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/mocha/10.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/mocha/10.2.0/10.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/mocha/10.2.0/10.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[@types/mocha](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mocha)
([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha))
| [`10.0.3` ->
`10.0.9`](https://renovatebot.com/diffs/npm/@types%2fmocha/10.0.3/10.0.9)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fmocha/10.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fmocha/10.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fmocha/10.0.3/10.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fmocha/10.0.3/10.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>mochajs/mocha (mocha)</summary>

###
[`v10.7.3`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1073-2024-08-09)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.7.0...v10.7.3)

##### 🩹 Fixes

- make release-please build work
([#&#8203;5194](https://redirect.github.com/mochajs/mocha/issues/5194))
([afd66ef](afd66ef3df))

###
[`v10.7.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1070--2024-07-20)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.6.1...v10.7.0)

##### 🎉 Enhancements

- [#&#8203;4771](https://redirect.github.com/mochajs/mocha/pull/4771)
feat: add option to not fail on failing test suite
([**@&#8203;ilgonmic**](https://redirect.github.com/ilgonmic))

###
[`v10.6.1`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1061--2024-07-20)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.6.0...v10.6.1)

##### 🐛 Fixes

- [#&#8203;3825](https://redirect.github.com/mochajs/mocha/pull/3825)
fix: do not exit when only unref'd timer is present in test code
([**@&#8203;boneskull**](https://redirect.github.com/boneskull))
- [#&#8203;5040](https://redirect.github.com/mochajs/mocha/pull/5040)
fix: support canonical module
([**@&#8203;JacobLey**](https://redirect.github.com/JacobLey))

###
[`v10.6.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1060--2024-07-02)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.5.2...v10.6.0)

##### 🎉 Enhancements

- [#&#8203;5150](https://redirect.github.com/mochajs/mocha/pull/5150)
feat: allow ^ versions for character encoding packages
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5151](https://redirect.github.com/mochajs/mocha/pull/5151)
feat: allow ^ versions for file matching packages
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5152](https://redirect.github.com/mochajs/mocha/pull/5152)
feat: allow ^ versions for yargs packages
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5153](https://redirect.github.com/mochajs/mocha/pull/5153)
feat: allow ^ versions for data serialization packages
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5154](https://redirect.github.com/mochajs/mocha/pull/5154)
feat: allow ^ versions for miscellaneous packages
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))

###
[`v10.5.2`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1052--2024-05-25)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.5.1...v10.5.2)

##### 🐛 Fixes

- [#&#8203;5032](https://redirect.github.com/mochajs/mocha/pull/5032)
fix: better tracking of seen objects in error serialization
([**@&#8203;sam-super**](https://redirect.github.com/sam-super))

###
[`v10.5.1`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1051--2024-05-24)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.5.0...v10.5.1)

##### 🐛 Fixes

- [#&#8203;5086](https://redirect.github.com/mochajs/mocha/pull/5086)
fix: Add error handling for nonexistent file case with --file option
([**@&#8203;khoaHyh**](https://redirect.github.com/khoaHyh))

###
[`v10.5.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1050--2024-05-24)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.4.0...v10.5.0)

##### 🎉 Enhancements

- [#&#8203;5015](https://redirect.github.com/mochajs/mocha/pull/5015)
feat: use \<progress> and \<svg> for browser progress indicator instead
of \<canvas>
([**@&#8203;yourWaifu**](https://redirect.github.com/yourWaifu))
- [#&#8203;5143](https://redirect.github.com/mochajs/mocha/pull/5143)
feat: allow using any 3.x chokidar dependencies
([**@&#8203;simhnna**](https://redirect.github.com/simhnna))
- [#&#8203;4835](https://redirect.github.com/mochajs/mocha/pull/4835)
feat: add MOCHA_OPTIONS env variable
([**@&#8203;icholy**](https://redirect.github.com/icholy))

##### 🐛 Fixes

- [#&#8203;5107](https://redirect.github.com/mochajs/mocha/pull/5107)
fix: include stack in browser uncaught error reporting
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))

##### 🔩 Other

- [#&#8203;5110](https://redirect.github.com/mochajs/mocha/pull/5110)
chore: switch two-column list styles to be opt-in
([**@&#8203;marjys**](https://redirect.github.com/marjys))
- [#&#8203;5135](https://redirect.github.com/mochajs/mocha/pull/5135)
chore: fix some typos in comments
([**@&#8203;StevenMia**](https://redirect.github.com/StevenMia))
- [#&#8203;5130](https://redirect.github.com/mochajs/mocha/pull/5130)
chore: rename 'master' to 'main' in docs and tooling
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))

###
[`v10.4.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1040--2024-03-26)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.3.0...v10.4.0)

##### 🎉 Enhancements

- [#&#8203;4829](https://redirect.github.com/mochajs/mocha/pull/4829)
feat: include `.cause` stacks in the error stack traces
([**@&#8203;voxpelli**](https://redirect.github.com/voxpelli))
- [#&#8203;4985](https://redirect.github.com/mochajs/mocha/pull/4985)
feat: add file path to xunit reporter
([**@&#8203;bmish**](https://redirect.github.com/bmish))

##### 🐛 Fixes

- [#&#8203;5074](https://redirect.github.com/mochajs/mocha/pull/5074)
fix: harden error handling in `lib/cli/run.js`
([**@&#8203;stalet**](https://redirect.github.com/stalet))

##### 🔩 Other

- [#&#8203;5077](https://redirect.github.com/mochajs/mocha/pull/5077)
chore: add mtfoley/pr-compliance-action
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5060](https://redirect.github.com/mochajs/mocha/pull/5060)
chore: migrate ESLint config to flat config
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5095](https://redirect.github.com/mochajs/mocha/pull/5095)
chore: revert
[#&#8203;5069](https://redirect.github.com/mochajs/mocha/pull/5069) to
restore Netlify builds
([**@&#8203;voxpelli**](https://redirect.github.com/voxpelli))
- [#&#8203;5097](https://redirect.github.com/mochajs/mocha/pull/5097)
docs: add sponsored to sponsorship link rels
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5093](https://redirect.github.com/mochajs/mocha/pull/5093)
chore: add 'status: in triage' label to issue templates and docs
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5083](https://redirect.github.com/mochajs/mocha/pull/5083)
docs: fix CHANGELOG.md headings to start with a root-level h1
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5100](https://redirect.github.com/mochajs/mocha/pull/5100)
chore: fix header generation and production build crashes
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5104](https://redirect.github.com/mochajs/mocha/pull/5104)
chore: bump ESLint ecmaVersion to 2020
([**@&#8203;JoshuaKGoldberg**](https://redirect.github.com/JoshuaKGoldberg))
- [#&#8203;5116](https://redirect.github.com/mochajs/mocha/pull/5116)
fix: eleventy template builds crash with 'unexpected token at ": string,
msg..."' ([**@&#8203;LcsK**](https://redirect.github.com/LcsK))
- [#&#8203;4869](https://redirect.github.com/mochajs/mocha/pull/4869)
docs: fix documentation concerning glob expansion on UNIX
([**@&#8203;binki**](https://redirect.github.com/binki))
- [#&#8203;5122](https://redirect.github.com/mochajs/mocha/pull/5122)
test: fix xunit integration test
([**@&#8203;voxpelli**](https://redirect.github.com/voxpelli))
- [#&#8203;5123](https://redirect.github.com/mochajs/mocha/pull/5123)
chore: activate dependabot for workflows
([**@&#8203;voxpelli**](https://redirect.github.com/voxpelli))
- [#&#8203;5125](https://redirect.github.com/mochajs/mocha/pull/5125)
build(deps): bump the github-actions group with 2 updates
([**@&#8203;dependabot**](https://redirect.github.com/dependabot))

###
[`v10.3.0`](https://redirect.github.com/mochajs/mocha/blob/HEAD/CHANGELOG.md#1030--2024-02-08)

[Compare
Source](https://redirect.github.com/mochajs/mocha/compare/v10.2.0...v10.3.0)

This is a stable release equivalent to
[10.30.0-prerelease](#&#8203;1030-prerelease--2024-01-18).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/serialport/bindings-cpp).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguOTcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-19 04:52:14 +00:00
.github chore(deps): update actions/checkout action to v4 (#140) 2024-10-18 16:54:11 -04:00
bin fix: find arduino 2022-01-22 22:25:20 -05:00
lib correct async write (#125) 2023-07-14 18:06:25 +01:00
src fix: support wchar_t and Unicode encoding in .list() parameters (#63) 2022-11-16 20:28:51 -05:00
test chore: upgrade ts and fix type warnings (#91) 2022-11-16 22:09:25 -05:00
.eslintrc.js feat: migrate to typescript (#3) 2022-01-22 15:55:03 -05:00
.gitignore feat: migrate to typescript (#3) 2022-01-22 15:55:03 -05:00
.node-version Upgrade build related tools (#178) 2024-10-18 16:20:51 -04:00
.npmignore fix: npm ignore 2022-02-05 10:44:08 -05:00
.releaserc fix: prebuild upload path to a glob 2022-01-07 13:01:47 -05:00
binding.gyp fix: update build tools and fix arm64 build for rpi (#111) 2023-04-19 23:22:09 -04:00
CODE_OF_CONDUCT.md docs: formalize a governance model (#1667) 2018-09-17 22:31:05 -04:00
codecov.yml chore: update codecov because of deprecation (#52) 2022-03-04 23:44:32 -05:00
CONTRIBUTING.md chore: update org/repo urls (#1879) 2019-05-25 22:17:57 -04:00
LICENSE Pull README edits into the template and JS Doc 2017-06-18 21:24:51 -04:00
package-lock.json chore(deps): update dependency mocha to v10.7.3 (#159) 2024-10-19 04:52:14 +00:00
package.json chore(deps): update dependency mocha to v10.7.3 (#159) 2024-10-19 04:52:14 +00:00
README.md Update README.md (#109) 2023-04-19 10:29:06 -04:00
SECURITY.md Update SECURITY.md 2021-07-06 14:32:21 -04:00
tsconfig-build.json feat: migrate to typescript (#3) 2022-01-22 15:55:03 -05:00
tsconfig.json feat: new binding interface (#19) 2022-01-29 22:51:40 -05:00

@serialport/bindings-cpp

Backers on Open Collective Sponsors on Open Collective codecov Test / Lint

Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!

Go to https://serialport.io/ to learn more, find guides and api documentation.

Bindings

The Bindings provide a low level interface to work with your serialport. It is possible to use them alone but it's usually easier to use them with an interface.

Developing

Developing node serialport projects

  1. Clone this repo git clone git@github.com:serialport/bindings-cpp.git
  2. Run npm install to setup local package dependencies (run this any time you depend on a package local to this repo)
  3. Run npm test to ensure everything is working properly
  4. If you have a serial loopback device (TX to RX) you can run run TEST_PORT=/path/to/port npm test for a more comprehensive test suite. (Defaults to 115200 baud customize with the TEST_BAUD env.) You can use an arduino with the test/arduino-echo sketch.

Developing Docs

See https://github.com/serialport/website

License

SerialPort packages are all MIT licensed and all it's dependencies are MIT licensed.

Code of Conduct

SerialPort follows the Nodebots Code of Conduct. While the code is MIT licensed participation in the community has some rules to make this a good place to work and learn.

TLDR

  • Be respectful.
  • Abusive behavior is never tolerated.
  • Data published to NodeBots is hosted at the discretion of the service administrators, and may be removed.
  • Don't build evil robots.
  • Violations of this code may result in swift and permanent expulsion from the NodeBots community.

Governance and Community

SerialPort is currently employees a governance with a group of maintainers, committers and contributors, all fixing bugs and adding features and improving documentation. You need not apply to work on SerialPort, all are welcome to join, build, and maintain this project.

  • A Contributor is any individual creating or commenting on an issue or pull request. By participating, this is you.
  • Committers are contributors who have been given write access to the repository. They can review and merge pull requests.
  • Maintainers are committers representing the required technical expertise to resolve rare disputes.

If you have a PR that improves the project people in any or all of the above people will help you land it.

Maintainers

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]