Comparing version 1.0.3 to 1.1.0
'use strict'; | ||
Object.defineProperty(exports, '__esModule', {value: true}); | ||
exports.default = function nullthrows(x, message) { | ||
function nullthrows(x, message) { | ||
if (x != null) { | ||
@@ -12,2 +10,7 @@ return x; | ||
throw error; | ||
}; | ||
} | ||
module.exports = nullthrows; | ||
module.exports.default = nullthrows; | ||
Object.defineProperty(module.exports, '__esModule', {value: true}); |
{ | ||
"name": "nullthrows", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "flow typed nullthrows", | ||
@@ -26,5 +26,6 @@ "keywords": [ | ||
"devDependencies": { | ||
"flow-bin": "0.33.0", | ||
"jest": "^21.0.0", | ||
"typescript": "2.7.2" | ||
"@babel/runtime-corejs2": "^7.0.0", | ||
"flow-bin": "0.80.0", | ||
"jest": "^23.5.0", | ||
"typescript": "3.0.3" | ||
}, | ||
@@ -31,0 +32,0 @@ "jest": { |
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
2835
16
4