Socket
Socket
Sign inDemoInstall

final-orm

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

final-orm - npm Package Compare versions

Comparing version 1.0.0-alpha.8 to 1.0.0-alpha.9

11

dist/index.test.js

@@ -251,2 +251,13 @@ 'use strict';

// expect(statuses.includes(true) !== true).toBe(true)
});
test('find by include where', async function () {
var post = await Post.findOne({
include: {
as: 'creator',
where: { name: username }
}
});
expect(post.creator.name).toBe(username);
});

@@ -185,1 +185,12 @@ import dotenv from 'dotenv'

})
test('find by include where', async () => {
const post = await Post.findOne({
include: {
as: 'creator',
where: {name: username}
}
})
expect(post.creator.name).toBe(username)
})

4

package.json
{
"name": "final-orm",
"version": "1.0.0-alpha.8",
"version": "1.0.0-alpha.9",
"repository": {

@@ -49,3 +49,3 @@ "type": "git",

"arangojs": "^5.7.0",
"arangolize": "^0.9.5",
"arangolize": "^0.9.6",
"core-decorators": "^0.20.0",

@@ -52,0 +52,0 @@ "dotenv": "^4.0.0",

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