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

hequelize

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hequelize - npm Package Compare versions

Comparing version 0.0.1-alpha.7 to 0.0.1-alpha.8

test/destroy.js

10

lib/Model.js

@@ -133,2 +133,12 @@ const Bluebird = require('bluebird')

/**
* Delete a row
*
* @param {string} rowKey
*/
static async destroy (rowKey) {
const del = new HBase.Delete(rowKey)
return this.client.deleteAsync(this.tableName, del)
}
/**
* Scan

@@ -135,0 +145,0 @@ *

2

package.json
{
"name": "hequelize",
"version": "0.0.1-alpha.7",
"version": "0.0.1-alpha.8",
"description": "Simple HBase ORM based on hbase-rpc-client",

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

const Hequelize = require('../lib/Hequelize')
const hbase = new Hequelize({
zookeeperHosts: 'localhost:2181'
zookeeperHosts: 'localhost:2181',
rpcTimeout: 60000,
callTimeout: 60000,
tcpNoDelay: true
})

@@ -5,0 +8,0 @@

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

// const _ = require('lodash')
const test = require('ava')

@@ -44,1 +43,23 @@ const uuid = require('uuid/v4')

})
// let big30MText = ''
// for (let i = 0; i < 30 * 1024 * 1024; i++) {
// big30MText += 'a'
// }
// test('Get data more than 64M correctly', async t => {
// const key1 = uuid()
// const key2 = uuid()
// const key3 = uuid()
// await hb.Test.put(key1, { 'cf1:string': big30MText })
// await hb.Test.put(key2, { 'cf1:string': big30MText })
// await hb.Test.put(key3, { 'cf1:string': big30MText })
// const ret = await hb.Test.mget([key1, key2, key3], { columns: ['cf1:string'] })
// t.true(ret.length === 3)
// console.log(ret[0]['cf1:string'].length)
// // t.true(ret[0]['cf1:string'].length === 30 * 1024 * 1024)
// })
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