Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: serialport/node-serialport
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.1.0
Choose a base ref
...
head repository: serialport/node-serialport
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.2.0
Choose a head ref
  • 10 commits
  • 195 files changed
  • 2 contributors

Commits on Jan 24, 2022

  1. chore: typescript support (#2403)

    - typecheck
    - lint
    - build
    - fix things that updating eslint found
    - bump linting to node 16 because eslint likes it?
    - *breaking* binding-mock's exports are changed
    
    Changes to migrate a package to typescript
    - add typescript as a dep
    - add `lib` to `.npmingore`
    - add `dist` to `.gitignore`
    - add `build` script to package's package.json
    - add "types" to package.json
    - copy `tsconfig.json` and `tsconfig-build.json` from an existing project (waiting for a few packages before I dry them up)
    - convert files to typescript
    - tests should import asserts instead of using globals
    reconbot authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    463ce14 View commit details
    Browse the repository at this point in the history
  2. chore: remove plop (#2404)

    It's out of date and in the years it's existed it's never been used.
    reconbot authored Jan 24, 2022
    Configuration menu
    Copy the full SHA
    d8dda09 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. feat: Typescript everything (#2406)

    This is a huge change, trying to get anything to convert to typescript piecemeal was very very frustrating and most of the conversions are straight copies.
    
    However
    - Big changes to @serialport/stream
    - Big resultant downstream changes to serialport
    - Hardware tests now only require a loopback port and they all pass (from bindings-cpp up to stream, still working on serialport)
    
    Full change log
    
    - Typescript types are now available for all packages
    - Serialport no longer supports Node 10
    - bindings-abstract is now bindings-interface and it's in it's own repo (bindings-cpp relies on it and having a cyclic dependency on the monorepo was hard)
    - baudRate on serialport and @serialport/stream packages is no longer defaulted to 9600
    - All packages now have named exports
    - Bindings have moved from @serialport/bindings to @serialport/bindings-cpp they are shipped with - prebuildify and no longer require a download.
    - @serialport/bindings-cpp now leverages N-API and shouldn't need to be upgraded for every node release.
    - baudRate is now required
    - bindings and mock bindings now have a new interface with bindings-cpp
    - stream no longer has a list method
    - serialport package no longer has a static bindings property on it's class (now a subsclass of SerialPortStream)
    reconbot authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    7ae6e51 View commit details
    Browse the repository at this point in the history
  2. chore: (deps-dev): bump mocha from 9.1.3 to 9.2.0 (#2407)

    Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.3 to 9.2.0.
    - [Release notes](https://github.com/mochajs/mocha/releases)
    - [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
    - [Commits](mochajs/mocha@v9.1.3...v9.2.0)
    
    ---
    updated-dependencies:
    - dependency-name: mocha
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    3b3a891 View commit details
    Browse the repository at this point in the history
  3. chore: (deps-dev): bump @types/node from 17.0.10 to 17.0.14 (#2410)

    Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.10 to 17.0.14.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/node"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    5349d3e View commit details
    Browse the repository at this point in the history
  4. chore: (deps-dev): bump esbuild from 0.14.13 to 0.14.18 (#2412)

    Bumps [esbuild](https://github.com/evanw/esbuild) from 0.14.13 to 0.14.18.
    - [Release notes](https://github.com/evanw/esbuild/releases)
    - [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
    - [Commits](evanw/esbuild@v0.14.13...v0.14.18)
    
    ---
    updated-dependencies:
    - dependency-name: esbuild
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    ddee136 View commit details
    Browse the repository at this point in the history
  5. chore: (deps-dev): bump @typescript-eslint/eslint-plugin (#2413)

    Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.10.0 to 5.10.2.
    - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
    - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
    - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.10.2/packages/eslint-plugin)
    
    ---
    updated-dependencies:
    - dependency-name: "@typescript-eslint/eslint-plugin"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    0e453b4 View commit details
    Browse the repository at this point in the history
  6. chore: (deps-dev): bump @types/sinon from 10.0.8 to 10.0.10 (#2414)

    Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) from 10.0.8 to 10.0.10.
    - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
    - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon)
    
    ---
    updated-dependencies:
    - dependency-name: "@types/sinon"
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    f6b7b58 View commit details
    Browse the repository at this point in the history
  7. chore: update lockfiles

    reconbot committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    2916135 View commit details
    Browse the repository at this point in the history
  8. v10.2.0

    reconbot committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    f379bae View commit details
    Browse the repository at this point in the history
Loading