Socket
Socket
Sign inDemoInstall

jsonsql

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.4 to 0.2.5

2

index.js

@@ -195,3 +195,3 @@ var utils = require('./utils')

else if(utils.isDateString(res)) res = utils.parseDateFromString(res)
else res.toString();
else res = res.toString()

@@ -198,0 +198,0 @@ return res

{
"name": "jsonsql",
"version": "0.2.4",
"version": "0.2.5",
"description" : "A SQL-like query language for JSON objects.",

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

@@ -13,2 +13,5 @@ function getObjectType(obj) {

}
function isNumber(obj) {
return typeof obj === 'number'
}
function parseDateFromString(str) {

@@ -23,2 +26,3 @@ return Date.parse(str)

parseDateFromString: parseDateFromString,
isNumber: isNumber
}
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