Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

deps-object

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deps-object - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

index.es5.js

@@ -40,7 +40,8 @@ 'use strict';

// isArrayOfStrings :: Input -> Boolean
var isArrayOfStrings = _ramda2.default.both(_ramda2.default.is(Array), _ramda2.default.all(_ramda2.default.is(String)));
// saveToDeps :: Array[String] -> Object
var saveToDeps = _ramda2.default.pipeP(resolve, _ramda2.default.unless(_ramda2.default.is(Array), function () {
var saveToDeps = _ramda2.default.pipeP(resolve, _ramda2.default.unless(isArrayOfStrings, function () {
return reject('deps should be an Array[String]');
}), _ramda2.default.unless(_ramda2.default.all(_ramda2.default.is(String)), function () {
return reject('deps should be an Array[String]');
}), _ramda2.default.map(completeDep), all, _ramda2.default.mergeAll, _sortedObject2.default);

@@ -47,0 +48,0 @@

{
"name": "deps-object",
"version": "1.0.2",
"version": "1.0.3",
"description": "Transform dependencies Array into an Object",

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

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