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

pg-introspection

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-introspection - npm Package Compare versions

Comparing version 0.0.1-beta.6 to 0.0.1-beta.7

10

CHANGELOG.md
# pg-introspection
## 0.0.1-beta.7
### Patch Changes
- [#1943](https://github.com/graphile/crystal/pull/1943)
[`46d8289b4`](https://github.com/graphile/crystal/commit/46d8289b44ab10aea1ff3d2915184650d6896b81)
Thanks [@benjie](https://github.com/benjie)! - `pg-introspection` now exports
`reservedWords` which are a list of reserved keywords in PostgreSQL (in
uppercase; though SQL is case insensitive).
## 0.0.1-beta.6

@@ -4,0 +14,0 @@

1

dist/index.d.ts

@@ -6,2 +6,3 @@ import type { Introspection, PgAttribute, PgAuthMembers, PgClass, PgConstraint, PgDatabase, PgDepend, PgDescription, PgEnum, PgExtension, PgIndex, PgInherits, PgLanguage, PgNamespace, PgProc, PgProcArgument, PgRange, PgRoles, PgType } from "./introspection.js";

import type { PgSmartTagsAndDescription, PgSmartTagsDict } from "./smartComments.js";
export { default as reservedWords } from "./reservedWords.js";
export { parseSmartComment } from "./smartComments.js";

@@ -8,0 +9,0 @@ export { Introspection, PgAttribute, PgAuthMembers, PgClass, PgConstraint, PgDatabase, PgDepend, PgDescription, PgEnum, PgExtension, PgIndex, PgInherits, PgLanguage, PgNamespace, PgProc, PgProcArgument, PgRange, PgRoles, PgType, };

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseIntrospectionResults = exports.resolvePermissions = exports.expandRoles = exports.entityPermissions = exports.aclContainsRole = exports.parseSmartComment = exports.makeIntrospectionQuery = void 0;
exports.parseIntrospectionResults = exports.resolvePermissions = exports.expandRoles = exports.entityPermissions = exports.aclContainsRole = exports.parseSmartComment = exports.reservedWords = exports.makeIntrospectionQuery = void 0;
var introspection_js_1 = require("./introspection.js");

@@ -12,2 +15,4 @@ Object.defineProperty(exports, "makeIntrospectionQuery", { enumerable: true, get: function () { return introspection_js_1.makeIntrospectionQuery; } });

const augmentIntrospection_js_1 = require("./augmentIntrospection.js");
var reservedWords_js_1 = require("./reservedWords.js");
Object.defineProperty(exports, "reservedWords", { enumerable: true, get: function () { return __importDefault(reservedWords_js_1).default; } });
var smartComments_js_1 = require("./smartComments.js");

@@ -14,0 +19,0 @@ Object.defineProperty(exports, "parseSmartComment", { enumerable: true, get: function () { return smartComments_js_1.parseSmartComment; } });

2

package.json
{
"name": "pg-introspection",
"version": "0.0.1-beta.6",
"version": "0.0.1-beta.7",
"description": "Strongly typed PostgreSQL introspection library",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -61,3 +61,3 @@ # pg-introspection

const { rows } = await pool.query(sql);
const introspection = parseIntrospectionResults(row[0].introspection);
const introspection = parseIntrospectionResults(rows[0].introspection);

@@ -64,0 +64,0 @@ console.log(

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