@xapp/dynamo-service
Advanced tools
Comparing version 0.1.14 to 0.2.0
@@ -5,2 +5,11 @@ # Changelog | ||
## [0.2.0](https://github.com/XappMedia/dynamo-service/compare/v0.1.14...v0.2.0) (2019-06-03) | ||
### Features | ||
* Allowing date converters to be a string or number ([668d369](https://github.com/XappMedia/dynamo-service/commit/668d369)) | ||
### [0.1.14](https://github.com/XappMedia/dynamo-service/compare/v0.1.13...v0.1.14) (2019-05-23) | ||
@@ -7,0 +16,0 @@ |
@@ -5,3 +5,3 @@ "use strict"; | ||
toObj(date) { | ||
return (date) ? date.toISOString() : undefined; | ||
return (date) ? new Date(date).toISOString() : undefined; | ||
}, | ||
@@ -14,3 +14,3 @@ fromObj(obj) { | ||
toObj(date) { | ||
return (date) ? date.getTime() : undefined; | ||
return (date) ? new Date(date).getTime() : undefined; | ||
}, | ||
@@ -17,0 +17,0 @@ fromObj(obj) { |
{ | ||
"name": "@xapp/dynamo-service", | ||
"version": "0.1.14", | ||
"version": "0.2.0", | ||
"description": "A dynamo help class which will help maintain data integrity.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
250716