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.6.3 to 2.7.0

index.d.ts

6

lib/postgres.js

@@ -10,3 +10,2 @@ 'use strict'

bigint: [],
object: ['json', 'jsonb'],
Date: ['timestamp', 'timestamptz'],

@@ -16,5 +15,6 @@ 'Array<string>': ['_bpchar', '_char', '_varchar', '_text', '_uuid', '_bytea', '_inet', '_time', '_timetz', '_interval', '_name'],

'Array<boolean>': ['_bool'],
'Array<object>': ['_json', '_jsonb'],
'Array<Date>': ['_timestamp', '_timestamptz'],
'Array<bigint>': []
'Array<bigint>': [],
'Record<string, any> | Array<Record<string, any>>': ['json', 'jsonb'],
'Array<Record<string, any> | Array<Record<string, any>>>': ['_json', '_jsonb']
}

@@ -21,0 +21,0 @@

{
"name": "schema-typegen",
"version": "2.6.3",
"version": "2.7.0",
"description": "Generate TypeScript type definitions from database schema",
"main": "schema-typegen.js",
"types": "schema-typegen.d.ts",
"main": "index.js",
"bin": {
"schema-typegen": "schema-typegen.js"
"schema-typegen": "index.js"
},
"scripts": {
"test": "tap test/*.js --100 --before=test/helpers/setup-postgres.js",
"test:types": "tsd",
"lint": "standard",

@@ -40,4 +40,8 @@ "lint:fix": "standard --fix"

"standard": "^14.3.4",
"tap": "^14.10.7"
"tap": "^14.10.7",
"tsd": "^0.13.1"
},
"tsd": {
"directory": "test/types"
}
}
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