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

flaschenpost

Package Overview
Dependencies
Maintainers
4
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flaschenpost - npm Package Compare versions

Comparing version 0.13.0 to 0.13.1

6

lib/letter/sanitizeMetadata.js

@@ -9,7 +9,9 @@ 'use strict';

const cloner = function (value) {
if (_.includes(clonedValues, value)) {
if (_.isObject(value) && _.includes(clonedValues, value)) {
return null;
}
clonedValues.push(value);
if (_.isObject(value)) {
clonedValues.push(value);
}

@@ -16,0 +18,0 @@ if (!_.isError(value)) {

{
"name": "flaschenpost",
"version": "0.13.0",
"version": "0.13.1",
"description": "flaschenpost is a logger for cloud-based applications.",

@@ -21,2 +21,6 @@ "contributors": [

"email": "info@jonathanweiss.net"
},
{
"name": "Joachim Häcker-Becker",
"email": "joachim.haecker-becker@arcor.de"
}

@@ -30,3 +34,3 @@ ],

"find-root": "1.0.0",
"lodash": "4.13.1",
"lodash": "4.14.2",
"moment": "2.14.1",

@@ -45,5 +49,6 @@ "processenv": "0.1.0",

"nodeenv": "0.2.1",
"roboter": "0.11.9",
"sinon": "1.17.4",
"supertest": "1.2.0"
"roboter": "0.12.3",
"roboter-server": "0.12.3",
"sinon": "1.17.5",
"supertest": "2.0.0"
},

@@ -50,0 +55,0 @@ "repository": {

@@ -70,2 +70,21 @@ 'use strict';

test('ignores non-objects on recursion check.', done => {
const recursive = {
foo: 'bar',
bar: {
foo: 'bar'
}
};
const actual = sanitize(recursive);
assert.that(actual).is.equalTo({
foo: 'bar',
bar: {
foo: 'bar'
}
});
done();
});
test('returns a copy of the object.', done => {

@@ -72,0 +91,0 @@ const data = {

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