Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nullthrows

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nullthrows - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

11

nullthrows.js
'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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc