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

@befaas/lib

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@befaas/lib - npm Package Compare versions

Comparing version 8.10.0 to 8.11.0

4

.generated-go-semantic-release-changelog.md

@@ -1,6 +0,6 @@

## 8.10.0 (2022-04-27)
## 8.11.0 (2022-04-27)
#### Feature
* add google publisher endpoint (da38a3c5)
* add safeStringify (c129d3c6)

@@ -50,3 +50,3 @@ {

},
"version": "8.10.0"
"version": "8.11.0"
}

@@ -58,5 +58,21 @@ const _ = require('lodash')

JSON.safeStringify = (obj, indent = 2) => {
let cache = [];
const retVal = JSON.stringify(
obj,
(key, value) =>
typeof value === "object" && value !== null
? cache.includes(value)
? undefined // Duplicate reference found, discard key
: cache.push(value) && value // Store value in our collection
: value,
indent
);
cache = null;
return retVal;
};
function logEventAndAttachContext (ctx, event, dbBindToMeasure) {
console.log("ctxEntry: \n" + JSON.stringify(ctx, null, 2));
console.log("eventEntry: \n" + JSON.stringify(event, null, 2));
console.log("ctxEntry: \n" + JSON.safeStringify(ctx, 2));
console.log("eventEntry: \n" + JSON.safeStringify(event, 2));
const contextId = event.Records[0].Sns.MessageAttributes.contextId.Value || helper.generateRandomID()

@@ -63,0 +79,0 @@ const xPair = event.Records[0].Sns.MessageAttributes.xPair.Value || 'undefined-x-pair'

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