Socket
Socket
Sign inDemoInstall

knex-schema-inspector

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knex-schema-inspector - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

4

dist/dialects/mysql.js

@@ -245,4 +245,4 @@ "use strict";

case 0: return [4 /*yield*/, this.knex
.count({ count: '*' })
.from('information_schema.tables')
.count('*', { as: 'count' })
.from('information_schema.columns')
.where({

@@ -249,0 +249,0 @@ table_schema: this.knex.client.database(),

@@ -251,4 +251,4 @@ import Knex from 'knex';

const result = await this.knex
.count<{ count: 0 | 1 }>({ count: '*' })
.from('information_schema.tables')
.count<{ count: 0 | 1 }>('*', { as: 'count' })
.from('information_schema.columns')
.where({

@@ -255,0 +255,0 @@ table_schema: this.knex.client.database(),

{
"name": "knex-schema-inspector",
"version": "0.0.18",
"version": "0.0.19",
"description": "[WIP] Utility for extracting information about existing DB schema",

@@ -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