New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ebflat9/fp

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ebflat9/fp - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

8

fetch.js

@@ -0,1 +1,3 @@

import { Success, Failure } from './result.js'
export function createClient(

@@ -35,3 +37,7 @@ apiEndpoint,

return {
req: fetch(`${apiEndpoint}/${endpoint}`, config).then(isError).then(isJson),
res: fetch(`${apiEndpoint}/${endpoint}`, config)
.then(isError)
.then(isJson)
.then(Success.of)
.catch(Failure.of),
abort: controller.abort.bind(controller),

@@ -38,0 +44,0 @@ }

14

index.js

@@ -749,14 +749,2 @@ import { Maybe, Just, Nothing } from './maybe.js'

export {
Maybe,
Just,
Nothing,
LazyCollection,
Stack,
Pair,
Try,
TryAsync,
Result,
Failure,
Success,
}
export { Maybe, Just, Nothing, Try, TryAsync, Result, Failure, Success }
{
"name": "@ebflat9/fp",
"version": "1.0.6",
"version": "1.0.7",
"description": "my fp utils",

@@ -5,0 +5,0 @@ "main": "index.js",

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