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.4 to 0.9.5

4

dist/index.js

@@ -172,2 +172,6 @@ "use strict";

if (!include) {
query(`\nreturn ${attributes && !include ? 'KEEP(instance, @attributes)' : 'instance'}\n)`);
}
query` return {

@@ -174,0 +178,0 @@ data: (

@@ -127,2 +127,6 @@ import { autobind } from 'core-decorators'

if (!include) {
query(`\nreturn ${attributes && !include ? 'KEEP(instance, @attributes)' : 'instance'}\n)`)
}
query` return {

@@ -129,0 +133,0 @@ data: (

@@ -32,1 +32,13 @@ import test from 'tape'

})
/**/
test('include attributes', async (t) => {
const { bindVars, query } = await arangolize({
collection: 'test',
attributes: ['_createdAt']
})
t.ok(bindVars, 'should have bindVars')
t.ok(query, 'should have query')
t.end()
})

2

package.json
{
"name": "arangolize",
"version": "0.9.4",
"version": "0.9.5",
"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