Socket
Socket
Sign inDemoInstall

@epistemology-factory/crocks-web

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epistemology-factory/crocks-web - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

2

package.json
{
"name": "@epistemology-factory/crocks-web",
"version": "0.3.2",
"version": "0.3.3",
"description": "Functions to help write web applications with crocks",

@@ -5,0 +5,0 @@ "scripts": {

@@ -25,3 +25,3 @@ "use strict";

// validators :: Foldable f => f -> [ String ] -> a -> Result ValidationFailure a
// validators :: Foldable f => f ([ String ] -> a -> Result ValidationFailure a)
const validators = (...validators) =>

@@ -28,0 +28,0 @@ pipe(

"use strict";
const Assign = require("crocks/Assign");
const compose = require("crocks/helpers/compose");

@@ -17,3 +15,3 @@ const flip = require("crocks/combinators/flip");

// getLogger :: (Integer -> Integer -> String -> a -> a) -> Object -> Result Object Assign
// getLogger :: (Integer -> Integer -> String -> a -> a) -> Object -> Result Object
const getLogger = (logger) =>

@@ -23,3 +21,3 @@ pipe(

flip(getProp(() => invalidEnvVar("LOG_LEVEL")), LOG_LEVELS),
map(compose(Assign, objOf("logger"), logger))
map(compose(objOf("logger"), logger))
)

@@ -26,0 +24,0 @@

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