Socket
Socket
Sign inDemoInstall

@typed-f/maybe

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typed-f/maybe - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

README.md

13

CHANGELOG.md

@@ -6,2 +6,15 @@ # Change Log

<a name="0.2.1"></a>
## [0.2.1](https://github.com/Ailrun/typed-f/compare/v0.2.0...v0.2.1) (2018-08-22)
### Bug Fixes
* **maybe:** fix the order of overloadings of from and its alias ([#19](https://github.com/Ailrun/typed-f/issues/19)) ([aaf1144](https://github.com/Ailrun/typed-f/commit/aaf1144))
* **package:** fix wrong return values of equals methods ([#20](https://github.com/Ailrun/typed-f/issues/20)) ([769d25a](https://github.com/Ailrun/typed-f/commit/769d25a))
<a name="0.2.0"></a>

@@ -8,0 +21,0 @@ # [0.2.0](https://github.com/Ailrun/typed-f/compare/v0.1.0...v0.2.0) (2018-08-22)

14

package.json
{
"name": "@typed-f/maybe",
"version": "0.2.0",
"version": "0.2.1",
"keywords": [

@@ -36,7 +36,7 @@ "Maybe",

"dependencies": {
"@typed-f/function": "^0.2.0",
"@typed-f/matchable": "^0.2.0",
"@typed-f/monad": "^0.2.0",
"@typed-f/setoid": "^0.2.0",
"@typed-f/tagged": "^0.2.0"
"@typed-f/function": "^0.2.1",
"@typed-f/matchable": "^0.2.1",
"@typed-f/monad": "^0.2.1",
"@typed-f/setoid": "^0.2.1",
"@typed-f/tagged": "^0.2.1"
},

@@ -56,3 +56,3 @@ "devDependencies": {

},
"gitHead": "4e8bd2dfff44251ab307a094001a3377843a44cf"
"gitHead": "0bb91a468852883d06bcecab575ff6cb17bf651e"
}

@@ -136,3 +136,3 @@ /*

typeof (this._value as any).equals === 'function') {
return (this._value as any).equals(other.value);
return Boolean((this._value as any).equals(other.value));
}

@@ -173,4 +173,4 @@

export function from(value?: null): Nothing<any>;
export function from<T>(value: T): Just<T>;
export function from<T>(value?: null): Nothing<T>;
export function from<T>(value?: T | null): Maybe<T> {

@@ -184,7 +184,3 @@ if (value == undefined) {

export function maybe<T>(value: T): Just<T>;
export function maybe<T>(value?: null): Nothing<T>;
export function maybe<T>(value?: T | null): Maybe<T> {
return from<T>(value as any);
}
export const maybe = from;

@@ -191,0 +187,0 @@ export function sequenceObject<O extends object>(

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