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 3.7.0 to 3.8.0

.nyc_output/532f10d61765f8dc4899dde1a2af861a.json

4

lib/partial.lenses.js

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

for (var k in template) {
z[k] = template[k](x);
z[k] = template[k](z);
}return z;

@@ -499,2 +499,2 @@ } else {

exports.default = compose;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9wYXJ0aWFsLmxlbnNlcy5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUE7O0lBQVksQzs7Ozs7Ozs7OztBQUlaLFNBQVMsUUFBVCxDQUFrQixLQUFsQixFQUF5QjtBQUFDLE9BQUssS0FBTCxHQUFhLEtBQWI7QUFBbUI7QUFDN0MsSUFBTSxRQUFRLFNBQVIsS0FBUTtBQUFBLFNBQUssSUFBSSxRQUFKLENBQWEsQ0FBYixDQUFMO0FBQUEsQ0FBZDtBQUNBLFNBQVMsU0FBVCxDQUFtQixHQUFuQixHQUF5QixVQUFVLEdBQVYsRUFBZTtBQUFDLFNBQU8sSUFBSSxRQUFKLENBQWEsSUFBSSxLQUFLLEtBQVQsQ0FBYixDQUFQO0FBQXFDLENBQTlFO0FBQ0EsU0FBUyxTQUFULENBQW1CLEVBQW5CLEdBQXdCLEtBQXhCO0FBQ0EsU0FBUyxTQUFULENBQW1CLEVBQW5CLEdBQXdCLFVBQVUsQ0FBVixFQUFhO0FBQUMsU0FBTyxJQUFJLFFBQUosQ0FBYSxLQUFLLEtBQUwsQ0FBVyxFQUFFLEtBQWIsQ0FBYixDQUFQO0FBQXlDLENBQS9FOzs7O0FBSUEsU0FBUyx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HtcbiAgICAgIGNvbnN0IHogPSB7Li4ueH1cbiAgICAgIGZvciAoY29uc3QgayBpbiB0ZW1wbGF0ZSlcbiAgICAgICAgeltrXSA9IHRlbXBsYXRlW2tdKHopXG4gICAgICByZXR1cm4gelxuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gdW5kZWZpbmVkXG4gICAgfVxuICB9LFxuICB0b0NvbnNlcnZlKCh5LCBjSW4pID0+IHtcbiAgICBpZiAoaXNPYmplY3QoeSkpIHtcbiAgICAgIGNvbnN0IGMgPSB1bk9iamVjdChjSW4pIHx8IHt9XG4gICAgICBsZXQgelxuICAgICAgY29uc3Qgc2V0ID0gKGssIHYpID0+IHtcbiAgICAgICAgaWYgKHVuZGVmaW5lZCA9PT0geilcbiAgICAgICAgICB6ID0ge31cbiAgICAgICAgeltrXSA9IHZcbiAgICAgIH1cbiAgICAgIGZvciAoY29uc3QgayBpbiB5KSB7XG4gICAgICAgIGlmICghKGsgaW4gdGVtcGxhdGUpKVxuICAgICAgICAgIHNldChrLCB5W2tdKVxuICAgICAgICBlbHNlXG4gICAgICAgICAgaWYgKGsgaW4gYylcbiAgICAgICAgICAgIHNldChrLCBjW2tdKVxuICAgICAgfVxuICAgICAgcmV0dXJuIHpcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIHVuZGVmaW5lZFxuICAgIH1cbiAgfSkpXG5cbmV4cG9ydCBjb25zdCBwaWNrID0gdGVtcGxhdGUgPT4gbGVuc0koXG4gIGMgPT4ge1xuICAgIGxldCByXG4gICAgZm9yIChjb25zdCBrIGluIHRlbXBsYXRlKSB7XG4gICAgICBjb25zdCB2ID0gZ2V0SShsaWZ0KHRlbXBsYXRlW2tdKSwgYylcbiAgICAgIGlmICh2ICE9PSB1bmRlZmluZWQpIHtcbiAgICAgICAgaWYgKHIgPT09IHVuZGVmaW5lZClcbiAgICAgICAgICByID0ge31cbiAgICAgICAgcltrXSA9IHZcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dX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tZGEgPSBsID0+IF9jb25zdHJ1Y3RvciA9PiBsXG5leHBvcnQgY29uc3QgdG9SYW1kYSA9IGwgPT5cbiAgbGlmdChsKSgoKSA9PiB7dGhyb3cgbmV3IEVycm9yKFwiU29ycnksIGB0b1JhbWRhYCBpcyBvbmx5IGZhbnRhc3khXCIpfSlcblxuZXhwb3J0IGRlZmF1bHQgY29tcG9zZVxuIl19
{
"name": "partial.lenses",
"version": "3.7.0",
"version": "3.8.0",
"description": "Partial lenses",

@@ -28,15 +28,15 @@ "main": "lib/partial.lenses.js",

"dependencies": {
"ramda": ">=0.20.1 <0.22.0"
"ramda": ">=0.20.1 <0.23.0"
},
"devDependencies": {
"babel-cli": "^6.8.0",
"babel-eslint": "^6.0.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.8.0",
"babel-preset-es2015": "^6.6.0",
"babel-preset-stage-2": "^6.5.0",
"babel-register": "^6.8.0",
"eslint": "^2.9.0",
"mocha": "^2.4.5",
"nyc": "^6.4.4"
"babel-cli": "^6.11.4",
"babel-eslint": "^6.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.11.5",
"babel-preset-es2015": "^6.13.2",
"babel-preset-stage-2": "^6.13.0",
"babel-register": "^6.11.6",
"eslint": "^3.2.2",
"mocha": "^3.0.1",
"nyc": "^7.1.0"
}
}

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

[![npm version](https://badge.fury.io/js/partial.lenses.svg)](http://badge.fury.io/js/partial.lenses) [![Build Status](https://travis-ci.org/calmm-js/partial.lenses.svg?branch=master)](https://travis-ci.org/calmm-js/partial.lenses) [![](https://david-dm.org/calmm-js/partial.lenses.svg)](https://david-dm.org/calmm-js/partial.lenses) [![](https://david-dm.org/calmm-js/partial.lenses/dev-status.svg)](https://david-dm.org/calmm-js/partial.lenses#info=devDependencies) [![Gitter](https://img.shields.io/gitter/room/calmm-js/chat.js.svg?style=flat-square)](https://gitter.im/calmm-js/chat)
[![npm version](https://badge.fury.io/js/partial.lenses.svg)](http://badge.fury.io/js/partial.lenses) [![Build Status](https://travis-ci.org/calmm-js/partial.lenses.svg?branch=master)](https://travis-ci.org/calmm-js/partial.lenses) [![](https://david-dm.org/calmm-js/partial.lenses.svg)](https://david-dm.org/calmm-js/partial.lenses) [![](https://david-dm.org/calmm-js/partial.lenses/dev-status.svg)](https://david-dm.org/calmm-js/partial.lenses#info=devDependencies)

@@ -19,0 +19,0 @@ ## Tutorial

@@ -230,3 +230,3 @@ import * as R from "ramda"

for (const k in template)
z[k] = template[k](x)
z[k] = template[k](z)
return z

@@ -233,0 +233,0 @@ } else {

@@ -246,2 +246,3 @@ import * as R from "ramda"

testEq('L.set(L.augment({y: c => c.x+1}), {x: 2, y: 1}, {x: 0, y: -1})', {x: 2, y: -1})
testEq('L.get(L.augment({y: c => c.x+1, z: c => c.y+1}), {x: 1})', {x: 1, y: 2, z: 3})
testEq('L.remove(P(L.augment({y: () => 1}), "x"), {x:0})', undefined)

@@ -248,0 +249,0 @@ testEq('L.remove(L.augment({z: c => c.x + c.y}), {x: 1, y: 2})', undefined)

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