🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

machinepack-postgresql

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machinepack-postgresql - npm Package Compare versions

Comparing version

to
1.0.0-10

.editorconfig

7

index.js

@@ -6,1 +6,8 @@ // This is a boilerplate file which should not need to be changed.

});
//... well except for this.
// Also give the driver a `pg` property, so that it provides access
// to the `pg` PostgreSQL library for Node.js. (See http://npmjs.com/package/pg)
module.exports.pg = require('pg');

2

machines/create-manager.js
// Dependencies
var util = require('util');
var url = require('url');
var _ = require('lodash');
var _ = require('@sailshq/lodash');
var pg = require('pg');

@@ -6,0 +6,0 @@

// Dependencies
var _ = require('lodash');
var _ = require('@sailshq/lodash');

@@ -4,0 +4,0 @@ module.exports = {

// Dependencies
var _ = require('lodash');
var _ = require('@sailshq/lodash');

@@ -4,0 +4,0 @@ module.exports = {

// Dependencies
var _ = require('lodash');
var _ = require('@sailshq/lodash');

@@ -4,0 +4,0 @@ module.exports = {

@@ -1,2 +0,2 @@

var _ = require('lodash');
var _ = require('@sailshq/lodash');
var debug = require('debug')('query');

@@ -3,0 +3,0 @@

{
"name": "machinepack-postgresql",
"version": "1.0.0-9",
"description": "Structured Node.js bindings for Postgresql.",
"version": "1.0.0-10",
"description": "Structured Node.js bindings for connecting and running queries against a PostgreSQL database.",
"scripts": {

@@ -9,3 +9,3 @@ "test": "node ./node_modules/mocha/bin/mocha test/integration --recursive",

"pretest": "npm run lint",
"lint": "eslint machines test",
"lint": "node ./node_modules/eslint/bin/eslint *.js **/*.js",
"docker": "docker-compose run adapter bash",

@@ -22,8 +22,7 @@ "benchmark": "node ./node_modules/mocha/bin/mocha test/benchmarks --recursive"

],
"author": "The Treeline Company",
"author": "The Sails Company",
"license": "MIT",
"dependencies": {
"benchmark": "2.1.1",
"debug": "2.2.0",
"lodash": "3.10.1",
"@sailshq/lodash": "^3.10.2",
"machine": "^13.0.0-17",

@@ -35,7 +34,7 @@ "pg": "6.1.0",

"eslint": "3.5.0",
"espree": "3.3.0",
"benchmark": "2.1.1",
"mocha": "3.0.2"
},
"machinepack": {
"friendlyName": "Postgresql",
"friendlyName": "PostgreSQL",
"machineDir": "machines/",

@@ -42,0 +41,0 @@ "machines": [

@@ -6,25 +6,44 @@ <h1>

### [Docs](http://node-machine.org/machinepack-postgresql) &nbsp; [Browse other machines](http://node-machine.org/machinepacks) &nbsp; [FAQ](http://node-machine.org/implementing/FAQ) &nbsp; [Newsgroup](https://groups.google.com/forum/?hl=en#!forum/node-machine)
Run queries against a PostgreSQL database.
> See https://github.com/node-machine/driver-interface for more background information about this package.
## Installation &nbsp; [![NPM version](https://badge.fury.io/js/machinepack-postgresql.svg)](http://badge.fury.io/js/machinepack-postgresql) [![Build Status](https://travis-ci.org/treelinehq/machinepack-postgresql.png?branch=master)](https://travis-ci.org/treelinehq/machinepack-postgresql)
```sh
$ npm install machinepack-postgresql --save --save-exact
$ npm install machinepack-postgresql --save
```
## Usage
For the latest usage documentation, version information, and test status of this module, see <a href="http://node-machine.org/machinepack-postgresql" title="Run queries against a postgresql database. (for node.js)">http://node-machine.org/machinepack-postgresql</a>. The generated manpages for each machine contain a complete reference of all expected inputs, possible exit states, and example return values. If you need more help, or find a bug, jump into [Gitter](https://gitter.im/node-machine/general) or leave a message in the project [newsgroup](https://groups.google.com/forum/?hl=en#!forum/node-machine).
For the latest usage documentation, version information, and test status of this module, see <a href="http://node-machine.org/machinepack-postgresql" title="Structured Node.js bindings for postgresql. (for node.js)">http://node-machine.org/machinepack-postgresql</a>. The generated manpage for each method contains a complete reference of all expected inputs, possible exit states, and example return values.
## About &nbsp; [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/node-machine/general?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
This is a [machinepack](http://node-machine.org/machinepacks), an NPM module which exposes a set of related Node.js [machines](http://node-machine.org/spec/machine) according to the [machinepack specification](http://node-machine.org/spec/machinepack).
Documentation pages for the machines contained in this module (as well as all other NPM-hosted machines for Node.js) are automatically generated and kept up-to-date on the <a href="http://node-machine.org" title="Public machine registry for Node.js">public registry</a>.
Learn more at <a href="http://node-machine.org/implementing/FAQ" title="Machine Project FAQ (for implementors)">http://node-machine.org/implementing/FAQ</a>.
## Help
For more examples, or if you get stuck or have questions, click [here](http://sailsjs.com/support).
## Bugs &nbsp; [![NPM version](https://badge.fury.io/js/machinepack-postgresql.svg)](http://npmjs.com/package/machinepack-postgresql)
To report a bug, [click here](http://sailsjs.com/bugs).
## Contributing &nbsp; [![Build Status](https://travis-ci.org/balderdashy/machinepack-postgresql.svg?branch=master)](https://travis-ci.org/balderdashy/machinepack-postgresql)
Please observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/contribute) when opening issues or submitting pull requests.
[![NPM](https://nodei.co/npm/machinepack-postgresql.png?downloads=true)](http://npmjs.com/package/machinepack-postgresql)
## Acknowledgements
Thanks to [@brianc](https://github.com/brianc) for all of his fantastic work on the [`pg`](http://npmjs.com/package/pg) package!
## License
MIT &copy; 2015 - 2016 contributors
MIT &copy; 2015-2017 The Sails Company
This package, like the [Sails framework](http://sailsjs.com), is free and open-source under the [MIT License](http://sailsjs.com/license).

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet