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

pgrest

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pgrest - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

9

lib/index.js

@@ -445,3 +445,3 @@ var plv8x, q, qq, walk, compile, cond, test, evaluate, orderBy, routes, SQL_PrimaryFieldInfo, SQL_ColumnsInfo, join$ = [].join, out$ = typeof exports != 'undefined' && exports || this, slice$ = [].slice;

function upsert(param){
var i$, ref$, len$, p, collection, u, $, q, delay, $set, cond, cols, res$, k, vals, _, v, insertCols, insertVals, updates, i, it, xi, query, res, _vals, e;
var i$, ref$, len$, p, collection, u, $, q, delay, $set, meta, cond, cols, res$, k, vals, _, v, insertCols, insertVals, updates, i, it, xi, query, res, _vals, e;
for (i$ = 0, len$ = (ref$ = ['u', 'delay']).length; i$ < len$; ++i$) {

@@ -463,3 +463,8 @@ p = ref$[i$];

$set = (ref$ = $.$set) != null ? ref$ : $;
refreshMeta(collection);
meta = refreshMeta(collection);
if (/\bjson$/.exec(meta != null ? meta._ : void 8)) {
$set = {
_: $set
};
}
if (q) {

@@ -466,0 +471,0 @@ cond = compile(collection, q);

@@ -10,3 +10,3 @@ {

"description": "enable REST in postgres",
"version": "0.0.4",
"version": "0.0.5",
"main": "lib/index.js",

@@ -13,0 +13,0 @@ "bin": {

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