New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ps-direct-sdk

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ps-direct-sdk - npm Package Compare versions

Comparing version 0.0.8 to 2.1.0

7

index.js

@@ -9,3 +9,2 @@ "use strict";

module.exports = function (config) {

@@ -29,7 +28,5 @@ var db = database(config);

get: key => hydrateString(db, {}, "${" + key + "}").map(x => {
return R.tryCatch(JSON.parse, () => x)(x);
return R.tryCatch(JSON.parse, R.always(x))(x);
})
}
};
};

@@ -70,3 +70,3 @@ "use strict";

const getJsonValue = x => R.path(obj.props, JSON.parse(x));
var value = R.tryCatch(getJsonValue, () => obj.value)(obj.value);
var value = R.tryCatch(getJsonValue, R.always(obj.value))(obj.value);
if(R.isNil(value)) {

@@ -73,0 +73,0 @@ throw {

{
"name": "ps-direct-sdk",
"version": "0.0.8",
"version": "2.1.0",
"description": "Directly ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -176,3 +176,2 @@ "use strict";

hydrateKey({}, '${list}')
//.tap(console.log)
.pull(done)

@@ -179,0 +178,0 @@ });

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