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

andela-utils

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

andela-utils - npm Package Compare versions

Comparing version 1.1.3 to 1.2.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="1.2.0"></a>
# [1.2.0](https://github.com/andela/eng-backend/compare/andela-utils@1.1.3...andela-utils@1.2.0) (2018-01-08)
### Features
* **utils:** add pick method ([4abeeb4](https://github.com/andela/eng-backend/commit/4abeeb4))
<a name="1.1.3"></a>

@@ -8,0 +19,0 @@ ## [1.1.3](https://github.com/andela/eng-backend/compare/andela-utils@1.1.2...andela-utils@1.1.3) (2017-11-30)

9

index.js

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

function stringifyDates(value) {
const stringifyDates = (value) => {
Object.keys(value).forEach(prop => {

@@ -12,4 +12,11 @@ if (value[prop] instanceof Date) {

const pick = (obj, props) =>
props.reduce((acc, prop) => {
acc[prop] = obj[prop]
return acc
}, {})
module.exports = {
stringifyDates,
pick,
};

2

package.json
{
"name": "andela-utils",
"version": "1.1.3",
"version": "1.2.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.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