Socket
Socket
Sign inDemoInstall

@segment/convert-dates

Package Overview
Dependencies
4
Maintainers
57
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

7

HISTORY.md

@@ -0,1 +1,8 @@

1.1.0 / 2017-10-19
==================
* Merge pull request #2 from segmentio/add-arrays
* removed ie 7 and 8 from circle
* Add arrays
1.0.0 / 2016-06-02

@@ -2,0 +9,0 @@ ==================

10

karma.conf.ci.js

@@ -36,12 +36,2 @@ /* eslint-env node */

},
sl_ie_7: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '7'
},
sl_ie_8: {
base: 'SauceLabs',
browserName: 'internet explorer',
version: '8'
},
sl_ie_9: {

@@ -48,0 +38,0 @@ base: 'SauceLabs',

2

lib/index.js

@@ -24,3 +24,3 @@ 'use strict';

}
if (type(val) === 'object') {
if (type(val) === 'object' || type(val) === 'array') {
obj[key] = convertDates(val, convert);

@@ -27,0 +27,0 @@ }

{
"name": "@segment/convert-dates",
"version": "1.0.0",
"version": "1.1.0",
"description": "Convert all Date instances in an object.",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc