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

json-schema-table

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-table - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "json-schema-table",
"version": "1.0.5",
"version": "1.0.6",
"description": "Creates and maintains a SQL table structure",

@@ -5,0 +5,0 @@ "homepage": "",

@@ -499,2 +499,5 @@ /* eslint-disable max-len */

break;
case 'boolean':
column = 'BOOLEAN';
break;
case 'blob':

@@ -504,6 +507,10 @@ column = 'BYTEA';

case 'string':
if (property.maxLength) {
column = 'VARCHAR(' + property.maxLength + ')';
if (property.format === 'date-time') {
column = 'TIMESTAMPTZ';
} else {
column = 'TEXT';
if (property.maxLength) {
column = 'VARCHAR(' + property.maxLength + ')';
} else {
column = 'TEXT';
}
}

@@ -510,0 +517,0 @@ break;

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