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

@xata.io/pgroll

Package Overview
Dependencies
Maintainers
2
Versions
734
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xata.io/pgroll - npm Package Compare versions

Comparing version 0.0.0-alpha.vbd601dd0776a216d664a172bdcb7ebf7494f4252 to 0.0.0-alpha.vd6818b42285037f707a613bf0c3235b056223e62

12

CHANGELOG.md
# @xata.io/pgroll
## 0.0.0-alpha.vbd601dd0776a216d664a172bdcb7ebf7494f4252
## 0.0.0-alpha.vd6818b42285037f707a613bf0c3235b056223e62
### Minor Changes
### Patch Changes
- [#1250](https://github.com/xataio/client-ts/pull/1250) [`5c7f7ec`](https://github.com/xataio/client-ts/commit/5c7f7ec8f85428c8c5de3cc6e49d95d261b340f0) Thanks [@SferaDev](https://github.com/SferaDev)! - Initial release
- Force canary build
## 0.4.4
### Patch Changes
- [#1250](https://github.com/xataio/client-ts/pull/1250) [`9a6af72`](https://github.com/xataio/client-ts/commit/9a6af72ba4dd7880e8196a0a57d4133930957add) Thanks [@SferaDev](https://github.com/SferaDev)! - Add new package for pgroll migrations
{
"name": "@xata.io/pgroll",
"version": "0.0.0-alpha.vbd601dd0776a216d664a172bdcb7ebf7494f4252",
"version": "0.0.0-alpha.vd6818b42285037f707a613bf0c3235b056223e62",
"description": "Migration tool for PostgreSQL",

@@ -29,7 +29,7 @@ "type": "module",

"zod": "^3.22.4",
"zod-to-json-schema": "^3.21.4"
"zod-to-json-schema": "^3.22.4"
},
"devDependencies": {
"ts-morph": "^21.0.1",
"tsx": "^4.1.2"
"tsx": "^4.7.0"
},

@@ -36,0 +36,0 @@ "scripts": {

@@ -13,2 +13,3 @@ import fs from 'fs/promises';

properties: Record<string, Definition>;
oneOf?: unknown[];
required?: string[];

@@ -34,2 +35,4 @@ description?: string;

properties: z.record(DefinitionSchema),
// TODO: Add full support for oneOf
oneOf: z.array(z.any()).optional(),
required: z.array(z.string()).optional(),

@@ -151,3 +154,4 @@ description: z.string().optional(),

async function main() {
const response = await fetch(PGROLL_JSON_SCHEMA_URL).then((response) => response.json());
const url = process.env.PGROLL_JSON_SCHEMA_URL ?? PGROLL_JSON_SCHEMA_URL;
const response = await fetch(url).then((response) => response.json());
const schema = JSONSchema.parse(response);

@@ -154,0 +158,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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