knex-schema-inspector
Advanced tools
Comparing version 1.5.10 to 1.5.11
@@ -63,3 +63,5 @@ "use strict"; | ||
return null; | ||
value = value.replace(/^\(([\s\S]*)\)$/, '$1'); | ||
while (value.startsWith('(') && value.endsWith(')')) { | ||
value = value.slice(1, -1); | ||
} | ||
value = value.replace(/^\'([\s\S]*)\'$/, '$1'); | ||
@@ -66,0 +68,0 @@ return isNaN(value) ? String(value) : Number(value); |
@@ -51,3 +51,6 @@ import { Knex } from 'knex'; | ||
value = value.replace(/^\(([\s\S]*)\)$/, '$1'); | ||
while (value.startsWith('(') && value.endsWith(')')) { | ||
value = value.slice(1, -1); | ||
} | ||
value = value.replace(/^\'([\s\S]*)\'$/, '$1'); | ||
@@ -54,0 +57,0 @@ |
{ | ||
"name": "knex-schema-inspector", | ||
"version": "1.5.10", | ||
"version": "1.5.11", | ||
"description": "Utility for extracting information about existing DB schema", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290320
6293