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

partial.lenses

Package Overview
Dependencies
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

partial.lenses - npm Package Compare versions

Comparing version 0.7.0 to 1.0.0

2

package.json
{
"name": "partial.lenses",
"version": "0.7.0",
"version": "1.0.0",
"description": "Ramda compatible lenses",

@@ -5,0 +5,0 @@ "main": "lib/partial.lenses.js",

@@ -9,3 +9,3 @@ [ [Tutorial](#tutorial) | [Reference](#reference) | [Background](#background) ]

In Javascript, missing data can be mapped to `undefined`, which is what partial
In JavaScript, missing data can be mapped to `undefined`, which is what partial
lenses also do. When a part of a data structure is missing, an attempt to view

@@ -287,6 +287,6 @@ it returns `undefined`. When a part is missing, setting it to a defined value

```haskell
choose :: (Maybe a -> PartialLens b s) -> PartialLens a s -> PartialLens b s
choose :: (Maybe a -> PartialLens s b) -> PartialLens s a -> PartialLens s b
```
which is very similar to the type of the monadic bind operation.
which is very similar to the type of a monadic bind operation.

@@ -293,0 +293,0 @@ #### L.filter(predicate)

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