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

functionallibrary

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

functionallibrary - npm Package Compare versions

Comparing version

to
1.0.8

test/getPropertysValue.spec.js

4

functions/createPropertyByOtherOne.js

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

const { getPropertyValue } = require("./getPropertysValue");
const { getPropertysValue } = require("./getPropertysValue");

@@ -12,3 +12,3 @@ const createPropertyByOtherOne = (...args) => {

}
newItem[prop1] = getPropertyValue(prop2)(newItem);
newItem[prop1] = getPropertysValue(prop2)(newItem);
return newItem;

@@ -15,0 +15,0 @@ };

{
"name": "functionallibrary",
"version": "1.0.7",
"version": "1.0.8",
"description": "funciones a usar en programacion funcional",

@@ -5,0 +5,0 @@ "main": "dist/functionallibrary.umd.js",

@@ -229,3 +229,3 @@ # Functional Library

## getPropertyValue
## getPropertysValue
```js

@@ -244,5 +244,5 @@ const grandMother = {

}
const grandChild = getPropertyValue('child.child.name')(grandMother) // 'juan'
const granMothersName = getPropertyValue('name')(grandMother) // 'ada'
const grandChildLastname = getPropertyValue('child.child.lastname')(grandMother) // 'undefined'
const grandChild = getPropertysValue('child.child.name')(grandMother) // 'juan'
const granMothersName = getPropertysValue('name')(grandMother) // 'ada'
const grandChildLastname = getPropertysValue('child.child.lastname')(grandMother) // 'undefined'

@@ -249,0 +249,0 @@ getPropertyValue('child.lastname.name')(grandMother) // 'undefined'

@@ -8,3 +8,3 @@ const allAreTrue = require('./allAreTrue.spec');

const equality = require('./equality.spec');
const getPropertyValue = require('./getPropertyValue.spec');
const getPropertysValue = require('./getPropertysValue.spec');
const isEmpty = require('./isEmpty.spec');

@@ -11,0 +11,0 @@ const isNotEmpty = require('./isNotEmpty.spec');