Skip to content

Commit

Permalink
✨ PLAT-2200 : adds clock skew detector (#153)
Browse files Browse the repository at this point in the history
Signed-off-by: obidenko <obidenko@virtru.com>

- Estimates clock skew using `Date` header. This header may need to be exposed with [Access-Control-Expose-Headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers) in the response, since `Date` is not in [the CORS safelist](https://developer.mozilla.org/en-US/docs/Glossary/CORS-safelisted_response_header).
- Axios needed an update to work in web/test-runner, so just update everything
- Lets skew estimation work with existing response objects
- This isn't currently used automatically. We will follow up with a use case
  • Loading branch information
obidenko authored May 11, 2023
1 parent 8fe0302 commit bbca4f7
Show file tree
Hide file tree
Showing 9 changed files with 5,583 additions and 2,773 deletions.
721 changes: 379 additions & 342 deletions cli/package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@
"devDependencies": {
"@esm-bundle/chai": "4.3.4-fix.0",
"@types/mocha": "10.0.1",
"@types/node": "^18.11.18",
"@types/node": "^20.1.2",
"@types/readable-stream": "^2.3.15",
"@types/sinon": "^10.0.13",
"@types/yargs": "^17.0.20",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@types/sinon": "^10.0.14",
"@types/yargs": "^17.0.24",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"chai": "^4.3.7",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"license-checker": "^25.0.1",
"mocha": "^10.2.0",
"prettier": "^2.8.3",
"sinon": "^15.0.1",
"prettier": "^2.8.8",
"sinon": "^15.0.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
"typescript": "^5.0.4"
},
"dependencies": {
"@opentdf/client": "file:../lib/opentdf-client-0.4.0.tgz",
"yargs": "^17.6.2"
"yargs": "^17.7.2"
}
}
Loading

0 comments on commit bbca4f7

Please sign in to comment.