Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.12 to 0.0.15

dist/dialects/mssql.d.ts

3

dist/index.js

@@ -19,2 +19,5 @@ "use strict";

break;
case 'Client_MSSQL':
constructor = require('./dialects/mssql').default;
break;
default:

@@ -21,0 +24,0 @@ throw Error('Unsupported driver used: ' + knex.client.constructor.name);

12

lib/index.ts

@@ -17,6 +17,10 @@ import Knex from 'knex';

break;
case 'Client_Oracledb':
case 'Client_Oracle':
constructor = require('./dialects/oracledb').default;
break;
case 'Client_Oracledb':
case 'Client_Oracle':
constructor = require('./dialects/oracledb').default;
break;
case 'Client_MSSQL':
constructor = require('./dialects/mssql').default;
break;
default:

@@ -23,0 +27,0 @@ throw Error('Unsupported driver used: ' + knex.client.constructor.name);

export interface Table {
name: string;
// Not supported in SQLite
// Not supported in SQLite + comment in mssql
comment?: string | null;

@@ -6,0 +6,0 @@ schema?: string;

{
"name": "knex-schema-inspector",
"version": "0.0.12",
"version": "0.0.15",
"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