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

athena-client

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

athena-client - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

8

lib/client.js

@@ -8,3 +8,3 @@ 'use strict'

bucketUri: '',
pollinInterval: 500,
pollingInterval: 500,
queryTimeout: 0,

@@ -36,3 +36,3 @@ format: 'array'

if (isEnd) {
clearInterval(interval)
clearTimeout(interval)
clearTimeout(timer)

@@ -58,3 +58,3 @@ let data = yield request.getQueryResults(queryId, nowConfig)

})
}, config.pollinInterval)
}, config.pollingInterval)
}

@@ -96,3 +96,3 @@ interval = intervalFunc()

}
config_.pollinInterval = Math.max(config_.pollinInterval, 0)
config_.pollingInterval = Math.max(config_.pollingInterval, 0)
config_.queryTimeout = Math.max(config_.queryTimeout, 0)

@@ -99,0 +99,0 @@ }

{
"name": "athena-client",
"version": "0.0.3",
"version": "0.0.4",
"description": "a nodejs simple aws athena client",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/KoteiIto/node-athena",

@@ -58,3 +58,3 @@ athena-client - a nodejs simple aws athena client

| bucketUrl | __Required__ | URI of s3 bucket|
| pollinInterval | 500 | Interval of polling sql results (ms) |
| pollingInterval | 500 | Interval of polling sql results (ms) |
| queryTimeout | 0 | Timeout of query execution. `0` is no timeout |

@@ -61,0 +61,0 @@ | format | 'array' | If `'array'`, the result of the query is as the following `[ { _col0: '1' } , { _col0: '2' }]` . If `'raw'`, the result of query is same with `aws-sdk` |

@@ -227,2 +227,3 @@ 'use strict'

let mockReqest = getMockRequest()
mockReqest.checkQuery = runningCheckQuery
mockReqest.stopQuery = failStopQuery

@@ -239,2 +240,3 @@ let client = Client.create(mockReqest, Object.assign(config, {queryTimeout: 10, pollinInterval: 5000}))

let mockReqest = getMockRequest()
mockReqest.checkQuery = runningCheckQuery
mockReqest.stopQuery = failStopQuery

@@ -241,0 +243,0 @@ let client = Client.create(mockReqest, Object.assign(config, {queryTimeout: 10, pollinInterval: 5000}))

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