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

lens-o

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lens-o - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

cjs/index.js

@@ -18,2 +18,5 @@ 'use strict';

function parse(path) {
if (!ramda.is(String, path)) {
throw new Error('Given value is must be string!');
}
return ramda.compose(_reduce(function (acc, n) {

@@ -20,0 +23,0 @@ if (n < 0) {

5

es/index.js

@@ -1,2 +0,2 @@

import { compose, split, reduce, curry, is, lensPath, view, set as set$2 } from 'ramda';
import { is, compose, split, reduce, curry, lensPath, view, set as set$2 } from 'ramda';
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';

@@ -16,2 +16,5 @@

function parse(path) {
if (!is(String, path)) {
throw new Error('Given value is must be string!');
}
return compose(_reduce(function (acc, n) {

@@ -18,0 +21,0 @@ if (n < 0) {

{
"name": "lens-o",
"version": "1.0.0",
"version": "1.0.1",
"description": "Parse object path and get, set value",

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

Sorry, the diff of this file is not supported yet

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