Socket
Socket
Sign inDemoInstall

arangolize

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arangolize - npm Package Compare versions

Comparing version 0.9.6 to 0.9.7

2

dist/index.js

@@ -96,3 +96,3 @@ "use strict";

} else {
query(`let doc = MERGE(instance, { @includeAs: DOCUMENT(instance[@includeAs]) })`);
query(`\nlet doc = MERGE(instance, { @includeAs: DOCUMENT(instance[@includeAs]) })`);
bindVars({

@@ -99,0 +99,0 @@ 'includeAs': include.as

@@ -76,3 +76,3 @@ import { autobind } from 'core-decorators'

} else {
query(`let doc = MERGE(instance, { @includeAs: DOCUMENT(instance[@includeAs]) })`)
query(`\nlet doc = MERGE(instance, { @includeAs: DOCUMENT(instance[@includeAs]) })`)
bindVars({'includeAs': include.as})

@@ -79,0 +79,0 @@

@@ -44,1 +44,20 @@ import test from 'tape'

})
/**/
test('complex query', async (t) => {
const { bindVars, query } = await arangolize({
limit: 5,
skip: 0,
sort: 'createdAt DESC',
include: {
as: 'creator',
where: {name: 'noah'}
}
})
console.log('query', query)
t.ok(bindVars, 'should have bindVars')
t.ok(query, 'should have query')
t.end()
})
{
"name": "arangolize",
"version": "0.9.6",
"version": "0.9.7",
"description": "Sequelize-like query-builder for ArangoDB",

@@ -5,0 +5,0 @@ "main": "dist/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