Skip to content

Commit

Permalink
Security update (2022-11-28)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjohnston-softdev committed Nov 28, 2022
1 parent c100618 commit a672247
Show file tree
Hide file tree
Showing 3 changed files with 580 additions and 332 deletions.
53 changes: 1 addition & 52 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,3 @@
# Changelog

* Applied 2022 copyright to MIT license.
* Updated packages:
* mocha
* chai
* needle
* sinon
* Changed execution command.
* Before: `npm test`
* After `npm run tests --mode=example`
* Test mode is now entered through a command line argument and not a prompt.
* Uninstalled 'prompt-sync'
* Removed unnecessary requirements from main file
* Wrote detailed error message for invalid mode.
* Local 'validator' files unchanged.
* Compressed 'common-errors' text writing code
* Compressed API URL writing code
* Deleted empty testing files.
* Changed test part naming format.
* Before: "part-x_example_tests"
* After: "00-example_tests"
* Merged redundant chai testing code for:
* Checking whether a value actually exists.
* String type checks.
* Single arrays.
* Checks for both populated and empty arrays.
* Function type checks.
* External modules.
* Local scripts.
* RIO setting properties.
* Model definitions
* Controller files
* Controller APIs
* Controller restarts
* Wrote common functions for:
* Neutral array type check.
* Boolean type check.
* Number type check.
* Optional string type check.
* Check if single percentage is actual number
* Minor RIO common changes
* Device MAC string is optional.
* Config name string is optional.
* Wires array is tested correctly.
* Removed property check functions.
* Merged into other common functions.
* Added custom error messages for:
* Local string validation
* 'try-catch' tests
* Removed stray variables from 'local-valid' testing.
* Simplified Manufacturer name definitions
* Removed version number from 'package.json'
* Revised documentation where applicable.
Updated 'mocha' and 'chai' to fix security issue as of 28 November 2022.
Loading

0 comments on commit a672247

Please sign in to comment.