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.1 to 0.0.1-alpha.2

20

index.js

@@ -1,19 +0,1 @@

const _ = require('lodash')
function genRowKey (fileId, rev) {
const salt = (1e10 + fileId).toString(36).split('').reverse().join('')
const reversedRev = (1e10 - rev)
return `${salt}_${fileId}_${reversedRev}_${rev}`
}
const examples = [
[10000, 100],
[10000, 101],
[10000, 102],
[10000, 103],
[10001, 103]
]
examples.forEach(arr => {
console.log(arr, genRowKey(arr[0], arr[1]))
})
module.exports = require('./lib/Hequelize')

2

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

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

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