tardis-machine
Advanced tools
Comparing version 3.3.3 to 3.3.4
@@ -166,3 +166,4 @@ "use strict"; | ||
} | ||
exports.wait = (delayMS) => new Promise((resolve) => setTimeout(resolve, delayMS)); | ||
const wait = (delayMS) => new Promise((resolve) => setTimeout(resolve, delayMS)); | ||
exports.wait = wait; | ||
//# sourceMappingURL=helpers.js.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
const debug_1 = require("../debug"); | ||
exports.replayHttp = async (req, res) => { | ||
const replayHttp = async (req, res) => { | ||
try { | ||
@@ -37,2 +37,3 @@ const startTimestamp = new Date().getTime(); | ||
}; | ||
exports.replayHttp = replayHttp; | ||
async function writeMessagesToResponse(res, replayOptions) { | ||
@@ -39,0 +40,0 @@ const responsePrefixBuffer = Buffer.from('{"localTimestamp":"'); |
@@ -12,3 +12,3 @@ "use strict"; | ||
const helpers_1 = require("../helpers"); | ||
exports.replayNormalizedHttp = async (req, res) => { | ||
const replayNormalizedHttp = async (req, res) => { | ||
try { | ||
@@ -38,2 +38,3 @@ const startTimestamp = new Date().getTime(); | ||
}; | ||
exports.replayNormalizedHttp = replayNormalizedHttp; | ||
async function writeMessagesToResponse(res, options) { | ||
@@ -40,0 +41,0 @@ const BATCH_SIZE = 32; |
{ | ||
"name": "tardis-machine", | ||
"version": "3.3.3", | ||
"version": "3.3.4", | ||
"engines": { | ||
@@ -58,8 +58,8 @@ "node": ">=12" | ||
"dependencies": { | ||
"debug": "^4.2.0", | ||
"find-my-way": "^3.0.4", | ||
"debug": "^4.3.1", | ||
"find-my-way": "^3.0.5", | ||
"is-docker": "^2.1.1", | ||
"tardis-dev": "^12.4.1", | ||
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v18.3.0", | ||
"yargs": "^16.0.3" | ||
"tardis-dev": "^12.4.5", | ||
"uWebSockets.js": "github:uNetworking/uWebSockets.js#v18.8.0", | ||
"yargs": "^16.1.1" | ||
}, | ||
@@ -69,16 +69,16 @@ "devDependencies": { | ||
"@types/debug": "^4.1.5", | ||
"@types/jest": "^26.0.14", | ||
"@types/node": "^14.11.8", | ||
"@types/jest": "^26.0.15", | ||
"@types/node": "^14.14.10", | ||
"@types/node-fetch": "^2.5.7", | ||
"@types/split2": "^2.1.6", | ||
"@types/yargs": "^15.0.8", | ||
"@types/yargs": "^15.0.10", | ||
"cross-var": "^1.1.0", | ||
"husky": "^4.3.0", | ||
"jest": "^26.5.3", | ||
"lint-staged": "^10.4.0", | ||
"jest": "^26.6.3", | ||
"lint-staged": "^10.5.2", | ||
"node-fetch": "^2.6.1", | ||
"prettier": "^2.1.2", | ||
"prettier": "^2.2.0", | ||
"split2": "^3.2.2", | ||
"ts-jest": "^26.4.1", | ||
"typescript": "^4.0.3" | ||
"ts-jest": "^26.4.4", | ||
"typescript": "^4.1.2" | ||
}, | ||
@@ -85,0 +85,0 @@ "lint-staged": { |
@@ -81,3 +81,3 @@ import findMyWay from 'find-my-way' | ||
await new Promise((resolve, reject) => { | ||
await new Promise<void>((resolve, reject) => { | ||
try { | ||
@@ -101,3 +101,3 @@ this._httpServer.on('error', reject) | ||
public async stop() { | ||
await new Promise((resolve, reject) => { | ||
await new Promise<void>((resolve, reject) => { | ||
this._httpServer.close((err) => { | ||
@@ -104,0 +104,0 @@ err ? reject(err) : resolve() |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
158969
2657
Updateddebug@^4.3.1
Updatedfind-my-way@^3.0.5
Updatedtardis-dev@^12.4.5
UpdateduWebSockets.js@github:uNetworking/uWebSockets.js#v18.8.0
Updatedyargs@^16.1.1