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

another-maybe

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

another-maybe - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

package.json
{
"name": "another-maybe",
"version": "0.0.1",
"version": "0.0.2",
"description": "Another maybe library which thinks it got it all.",

@@ -11,3 +11,3 @@ "main": "src/index.js",

"scripts": {
"test": "mocha 'test/**/*.test.js'"
"test": "./node_modules/.bin/mocha 'test/**/*.test.js'"
},

@@ -14,0 +14,0 @@ "dependencies": {},

@@ -10,3 +10,3 @@ 'use strict';

isNothing: isNothing,
is: (fn) => fn(value) ? maybeInterface : morph(),
is: (fn) => !isNothing() && fn(value) ? maybeInterface : morph(),
map: (fn) => isNothing() ? maybeInterface : morph(fn(value)),

@@ -13,0 +13,0 @@ flatMap: (fn) => isNothing() ? null : fn(value),

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