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

db2graphql

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

db2graphql - npm Package Compare versions

Comparing version 0.3.8 to 0.3.9

2

package.json
{
"name": "db2graphql",
"version": "0.3.8",
"version": "0.3.9",
"description": "Generate Graphql schema based on existing relational database",

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

@@ -153,6 +153,6 @@ const utils = require('../utils/utils');

this.resolvers[namespace][name] = async (root = null, args = {}, context = {}) => {
const db = this.dbDriver ? this.dbDriver.db : null;
context.ioc = { resolver: this, db };
const passBefore = await this.beforeHook.validator(namespace, name, root, args, context);
if (!passBefore) return await this.beforeHook.rejected(namespace, name, root, args, context);
const db = this.dbDriver ? this.dbDriver.db : null;
context.ioc = { resolver: this, db };
return await cb(root, args, context);

@@ -159,0 +159,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