Comparing version 4.3.0 to 4.3.1
@@ -22,2 +22,3 @@ { | ||
"dependencies": { | ||
"delay": "^4.3.0", | ||
"express": "^4.17.1", | ||
@@ -37,8 +38,7 @@ "roarr": "^2.13.2", | ||
"axios": "^0.19.0", | ||
"babel-plugin-istanbul": "^5.1.4", | ||
"babel-plugin-istanbul": "^5.2.0", | ||
"coveralls": "^3.0.5", | ||
"delay": "^4.3.0", | ||
"eslint": "^6.0.1", | ||
"eslint-config-canonical": "^17.1.4", | ||
"flow-bin": "^0.103.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-canonical": "^17.3.0", | ||
"flow-bin": "^0.104.0", | ||
"flow-copy-source": "^2.0.7", | ||
@@ -89,3 +89,3 @@ "get-port": "^5.0.0", | ||
}, | ||
"version": "4.3.0" | ||
"version": "4.3.1" | ||
} |
@@ -13,3 +13,3 @@ // @flow | ||
ShutdownHandlerType, | ||
UserConfigurationType | ||
UserConfigurationType, | ||
} from '../types'; | ||
@@ -20,10 +20,10 @@ import { | ||
SERVER_IS_READY, | ||
SERVER_IS_SHUTTING_DOWN | ||
SERVER_IS_SHUTTING_DOWN, | ||
} from '../states'; | ||
import { | ||
isKubernetes | ||
isKubernetes, | ||
} from '../utilities'; | ||
const log = Logger.child({ | ||
namespace: 'factories/createLightship' | ||
namespace: 'factories/createLightship', | ||
}); | ||
@@ -37,5 +37,5 @@ | ||
'SIGHUP', | ||
'SIGINT' | ||
'SIGINT', | ||
], | ||
timeout: 60000 | ||
timeout: 60000, | ||
}; | ||
@@ -52,3 +52,3 @@ | ||
...defaultConfiguration, | ||
...userConfiguration | ||
...userConfiguration, | ||
}; | ||
@@ -148,3 +148,3 @@ | ||
log.info({ | ||
beacons | ||
beacons, | ||
}, 'program termination is on hold because there are live beacons'); | ||
@@ -169,3 +169,3 @@ } else { | ||
log.error({ | ||
error: serializeError(error) | ||
error: serializeError(error), | ||
}, 'shutdown handler produced an error'); | ||
@@ -180,3 +180,3 @@ } | ||
log.error({ | ||
error: serializeError(error) | ||
error: serializeError(error), | ||
}, 'server was terminated with an error'); | ||
@@ -203,3 +203,3 @@ } | ||
log.debug({ | ||
signal | ||
signal, | ||
}, 'received a shutdown signal'); | ||
@@ -214,3 +214,3 @@ | ||
const beacon = { | ||
context: context || {} | ||
context: context || {}, | ||
}; | ||
@@ -223,3 +223,3 @@ | ||
log.trace({ | ||
beacon | ||
beacon, | ||
}, 'beacon has been killed'); | ||
@@ -232,3 +232,3 @@ | ||
await delay(0); | ||
} | ||
}, | ||
}; | ||
@@ -251,4 +251,4 @@ }; | ||
signalNotReady, | ||
signalReady | ||
signalReady, | ||
}; | ||
}; |
@@ -5,3 +5,3 @@ // @flow | ||
export type { | ||
LightshipType | ||
LightshipType, | ||
} from './types'; |
@@ -6,3 +6,3 @@ // @flow | ||
export default Roarr.child({ | ||
package: 'lightship' | ||
package: 'lightship', | ||
}); |
// @flow | ||
import type { | ||
StateType | ||
StateType, | ||
} from './types'; | ||
@@ -6,0 +6,0 @@ |
// @flow | ||
import type { | ||
Server | ||
Server, | ||
} from 'http'; | ||
@@ -6,0 +6,0 @@ |
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
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
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
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
60407
20
4
+ Addeddelay@^4.3.0
+ Addeddelay@4.4.1(transitive)