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

schema-typegen

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schema-typegen - npm Package Compare versions

Comparing version 2.7.0 to 2.7.1

8

lib/postgres.js

@@ -6,9 +6,9 @@ 'use strict'

const typeMapping = {
string: ['bpchar', 'char', 'varchar', 'text', 'uuid', 'bytea', 'inet', 'time', 'timetz', 'interval', 'name'],
number: ['int2', 'int4', 'float4', 'float8', 'numeric', 'money', 'oid'],
string: ['bpchar', 'char', 'varchar', 'text', 'numeric', 'uuid', 'bytea', 'inet', 'time', 'timetz', 'interval', 'name'],
number: ['int2', 'int4', 'float4', 'float8', 'money', 'oid'],
boolean: ['bool'],
bigint: [],
Date: ['timestamp', 'timestamptz'],
'Array<string>': ['_bpchar', '_char', '_varchar', '_text', '_uuid', '_bytea', '_inet', '_time', '_timetz', '_interval', '_name'],
'Array<number>': ['_int2', '_int4', '_float4', '_float8', '_numeric', '_money', '_oid'],
'Array<string>': ['_bpchar', '_char', '_varchar', '_text', '_numeric', '_uuid', '_bytea', '_inet', '_time', '_timetz', '_interval', '_name'],
'Array<number>': ['_int2', '_int4', '_float4', '_float8', '_money', '_oid'],
'Array<boolean>': ['_bool'],

@@ -15,0 +15,0 @@ 'Array<Date>': ['_timestamp', '_timestamptz'],

{
"name": "schema-typegen",
"version": "2.7.0",
"version": "2.7.1",
"description": "Generate TypeScript type definitions from database schema",

@@ -5,0 +5,0 @@ "main": "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