GithubHelp home page GithubHelp logo

pg-hstore's People

Contributors

abdulgit2021 avatar acroca avatar cactusbone avatar daveanonuevo avatar fixe avatar gwhitelaw avatar jeanphix avatar kbackowski avatar michaelpetrov avatar scarney81 avatar seth-admittedly avatar troygoode avatar tshradheya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pg-hstore's Issues

Copyright holder

File LICENSE mentions Eloqua (instead of the author) as the copyright holder. Is this correct?

allow for un-sanitized hstore stringify

I'm using the node "pg" npm module to connect to postgres. Suppose I have a table like this:

create table somedata (col hstore)

if I insert into the table from node like this:

client.query(
  "insert into somedata (col) values ($1)", 
  [hstore.stringify({a:"a'"})]
)

I will get a double sanitization so the key is a and the value is a''. I think it would be valuable to have a stringify that doesn't sanitize so that the resulting strings would be ready for use in prepared statements or statements with place holders where the sanitization is done within the database.

Thanks

Error in parse method

I found an error in regexp
var hstore = require('pg-hstore')({ sanitize: true });
var obj = {"description": "", "manufacturer": "Fair-Rite"};
var hstore = hstore.stringify(obj);
var objagain = hstore.parse(hstore); //error

Critical vulnerabilities

Hi,

I use the pg-hstore package from my code. I did a scan in my code with Trivy and it said to me:

image

do you fixed underscore's version 1.12.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.