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

machinepack-postgresql

Package Overview
Dependencies
Maintainers
4
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

6

machines/begin-transaction.js

@@ -41,3 +41,3 @@ module.exports = {

outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -58,3 +58,3 @@ // meta: '==='

'The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -77,3 +77,3 @@ // meta: '==='

nativeQuery: 'BEGIN'
}).exec({
}).switch({
error: function error(err) {

@@ -80,0 +80,0 @@ return exits.error(err);

@@ -39,3 +39,3 @@ module.exports = {

outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -56,3 +56,3 @@ // meta: '==='

'The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -75,3 +75,3 @@ // meta: '==='

nativeQuery: 'COMMIT'
}).exec({
}).switch({
error: function error(err) {

@@ -78,0 +78,0 @@ return exits.error(err);

@@ -16,5 +16,2 @@ // Build up a SQLBuilder instance when the file is required rather than when the

cacheable: true,
sync: true,

@@ -56,3 +53,3 @@

'The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -69,3 +66,3 @@ // nativeQuery: '*',

'the Waterline syntax is not valid. The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -84,3 +81,3 @@ // error: '===',

'the Waterline statement is not supported. The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -87,0 +84,0 @@ // error: '===',

@@ -26,5 +26,2 @@ // Dependencies

cacheable: false,
sync: true,

@@ -80,3 +77,3 @@

outputDescription: 'The `manager` property is a manager instance that will be passed into `getConnection()`. The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -92,3 +89,3 @@ // manager: '===',

outputDescription: 'The `error` property is a JavaScript Error instance explaining that (and preferably "why") the provided connection string is invalid. The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -119,3 +116,3 @@ // error: '===',

outputDescription: 'The `error` property is a JavaScript Error instance with more information and a stack trace. The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -122,0 +119,0 @@ // error: '===',

@@ -38,3 +38,3 @@ module.exports = {

outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -55,3 +55,3 @@ // meta: '==='

'The `meta` property is reserved for custom driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -58,0 +58,0 @@ // error: '===',

@@ -44,3 +44,3 @@ module.exports = {

'is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -64,3 +64,3 @@ // connection: '===',

'The `meta` property is reserved for custom driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -67,0 +67,0 @@ // error: '===',

@@ -17,5 +17,2 @@ // Dependencies

cacheable: true,
sync: true,

@@ -55,3 +52,3 @@

'driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -58,0 +55,0 @@ // footprint: {},

@@ -13,5 +13,2 @@ // Dependencies

cacheable: true,
sync: true,

@@ -58,3 +55,3 @@

'property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -61,0 +58,0 @@ // result: '*',

@@ -41,3 +41,3 @@ // Dependencies

outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -57,3 +57,3 @@ // meta: '==='

outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -60,0 +60,0 @@ // meta: '==='

@@ -42,3 +42,3 @@ module.exports = {

outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -59,3 +59,3 @@ // meta: '==='

'The `meta` property is reserved for custom driver-specific extensions.',
example: '===',
outputExample: '===',
// example: {

@@ -78,3 +78,3 @@ // meta: '==='

nativeQuery: 'ROLLBACK'
}).exec({
}).switch({
error: function error(err) {

@@ -81,0 +81,0 @@ return exits.error(err);

@@ -61,3 +61,3 @@ var _ = require('@sailshq/lodash');

moreInfoUrl: 'https://github.com/brianc/node-postgres/wiki/Query#result-object',
example: '==='
outputExample: '==='
// example: {

@@ -74,3 +74,3 @@ // result: '===',

'The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -91,3 +91,3 @@ // error: '===',

outputDescription: 'The `meta` property is reserved for custom driver-specific extensions.',
example: '==='
outputExample: '==='
// example: {

@@ -94,0 +94,0 @@ // meta: '==='

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

@@ -26,3 +26,3 @@ "scripts": {

"@sailshq/lodash": "^3.10.2",
"machine": "^13.0.0-17",
"machine": "^15.0.0-21",
"pg": "6.1.0",

@@ -29,0 +29,0 @@ "waterline-sql-builder": "^1.0.0-6"

@@ -81,3 +81,3 @@ var assert = require('assert');

Pack.parseNativeQueryError({
nativeQueryError: err.output.error
nativeQueryError: err.raw.error
})

@@ -84,0 +84,0 @@ .exec(function(err, report) {