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 1.5.8 to 1.5.9

4

dist/dialects/mssql.js

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

return null;
value = value.replace(/^\((.*)\)$/, '$1');
value = value.replace(/^\'(.*)\'$/, '$1');
value = value.replace(/^\(([\s\S]*)\)$/, '$1');
value = value.replace(/^\'([\s\S]*)\'$/, '$1');
return isNaN(value) ? String(value) : Number(value);

@@ -63,0 +63,0 @@ }

@@ -73,3 +73,3 @@ "use strict";

var _a = type.split('::'), value = _a[0], cast = _a[1];
value = value.replace(/^\'(.*)\'$/, '$1');
value = value.replace(/^\'([\s\S]*)\'$/, '$1');
if (/.*json.*/.test(cast))

@@ -76,0 +76,0 @@ return JSON.parse(value);

@@ -50,4 +50,4 @@ import { Knex } from 'knex';

value = value.replace(/^\((.*)\)$/, '$1');
value = value.replace(/^\'(.*)\'$/, '$1');
value = value.replace(/^\(([\s\S]*)\)$/, '$1');
value = value.replace(/^\'([\s\S]*)\'$/, '$1');

@@ -54,0 +54,0 @@ return isNaN(value as any) ? String(value) : Number(value);

@@ -70,3 +70,3 @@ import { Knex } from 'knex';

value = value.replace(/^\'(.*)\'$/, '$1');
value = value.replace(/^\'([\s\S]*)\'$/, '$1');

@@ -73,0 +73,0 @@ if (/.*json.*/.test(cast)) return JSON.parse(value);

{
"name": "knex-schema-inspector",
"version": "1.5.8",
"version": "1.5.9",
"description": "Utility for extracting information about existing DB schema",

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

Sorry, the diff of this file is not supported yet

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