The previous package was outdated, preventing us from updating TS.
This one also lints YAML and JSON,
and applies many more rules to the test files,
explaining all the changes in this PR.
Complete rewrite of the account management and related systems.
Makes the architecture more modular,
allowing for easier extensions and configurations.
* patch: initial ideas around how to ignore invalid accept header parts. not fully tested, plenty of cleanup to do
* patch: finish removing commented code. finalize unit tests for headerUtil methods that now ignore bad header parts rather than throwing as before
* patch: remove @throws comments in HeaderUtil and update some comments to account for changes to returned values
* feat: Give option for header parsing to be strict
---------
Co-authored-by: Charlie Blevins <blevins.charlie@gmail.com>
* fix: updated WrappedExpiringStorage tests and timer.unref calls
* fix: removed finalizable configs and inheritors that only used timer
* fix: updated test function to test setSafeInterval and timer.unref
* fix: added NotModifiedHttpError class
* fix: added 304 error test to HttpError test file
* fix: 304 errors when making read request with matching ETag
* Update src/util/errors/NotModifiedHttpError.ts
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
* fix: updated tests
* fix: try notMatchesEtag in test
* fix: DataAccessorBasedStore test passes
* fix: removed conditions check and added extra test
---------
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
test: unit test succeeds
fix: not quiting loop when releasing unexisting lock
refactor: pull wait() function into TimerUtils
feat: store all locks inside a single lock folder
feat: use md5 hashing for filepath hashes
test: coverage back to 100%
fix: store locks in proper .internal/locks folder
feat: reworked tryfn
test: coverage back to 100%
buidl: package json types next to lib
style: linting
dos: add more documentation to Locker classes
refactor: SingleThreadedResourceLocker -> MemoryResourceLocker
refactor: MultiThreadedResourceLocker -> FileSystemResourceLocker
feat: update all file-based backend configs to use the new FileSystemResourceLocker
feat: add warning on starting the MemoryResourceLocker in a worker process
test: coverage back to 100%
fix: finalizer of file.json was configured wrong
docs: updated release notes for 5.0.0
refactor: incorporated changes so far
refactor: retryFunctions are less complex now
test: jitter fix
refactor: more elegant way of providing default attemptSettings to constructor
style(jsdoc): rewording of jsdoc comment
fix: RegExp(/regex/) => /regex/
fix: Replace Error with InternalServerError
docs: jsdoc for RedisReadWriteLocker class
feat: make RedisReadWriteLocker a ResourceLocker too
test: coverage back to 100%
refactor: linting fix
style(jsdoc): Add explanation to tryRedisFn() method
refactor: remove RedisResourceLocker
fix: bug in lua script
chore(deps): update ioredis, remove redlock
refactor: removed RedisResourceLocker in favor of generic RedisLocker class
test: add redis lua scripts tests and integrate all 3 redis integration tests in 1
refactor: remove .vscode folder from index
refactor: Add some typing and change redis references to Redis in comments
refactor: more changes after PR review
refactor: remove redis.json
refactor: rename redis-rw.json to redis.json
docs: added readme and release notes