Comparing version 7.1.0 to 7.1.1
@@ -11,2 +11,3 @@ 'use strict' | ||
var types = require('pg-types') | ||
var escape = require('js-string-escape') | ||
@@ -86,3 +87,3 @@ // result object returned from query | ||
// See https://github.com/brianc/node-postgres/issues/934 | ||
fieldName.replace(/'/g, "\\'") + | ||
escape(fieldName) + | ||
"'] = " + | ||
@@ -89,0 +90,0 @@ 'rowData[' + i + '] == null ? null : parsers[' + i + '](rowData[' + i + ']);' |
{ | ||
"name": "pg", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"description": "PostgreSQL client - pure javascript & libpq with the same API", | ||
@@ -23,2 +23,3 @@ "keywords": [ | ||
"packet-reader": "0.3.1", | ||
"js-string-escape": "1.0.1", | ||
"pg-connection-string": "0.1.3", | ||
@@ -25,0 +26,0 @@ "pg-pool": "2.*", |
@@ -51,2 +51,6 @@ # node-postgres | ||
### Sponsorship :star: | ||
If you are benefiting from node-postgres and would like to help keep the project financially sustainable please visit Brian Carlson's [Patreon page](https://www.patreon.com/node_postgres). | ||
## Contributing | ||
@@ -53,0 +57,0 @@ |
@@ -0,3 +1,8 @@ | ||
node-postgres is made possible by the helpful contributors from the community well as the following generous supporters on [Patreon](https://www.patreon.com/node_postgres). | ||
# Leaders | ||
# Supporters | ||
- John Fawcett | ||
- Lalit Kapoor [@lalitkapoor](https://twitter.com/lalitkapoor) | ||
- Paul Frazee [@pfrazee](https://twitter.com/pfrazee) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83645
1937
89
8
+ Addedjs-string-escape@1.0.1
+ Addedjs-string-escape@1.0.1(transitive)