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

flaschenpost

Package Overview
Dependencies
Maintainers
1
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.4.1 to 0.4.2

4

lib/Configuration/index.js

@@ -66,2 +66,6 @@ 'use strict';

if (this.module) {
throw new Error('Module already set.');
}
this.module = {

@@ -68,0 +72,0 @@ name: module.name,

2

package.json
{
"name": "flaschenpost",
"version": "0.4.1",
"version": "0.4.2",
"description": "flaschenpost is a logger for cloud-based applications.",

@@ -5,0 +5,0 @@ "contributors": [

@@ -241,3 +241,19 @@ 'use strict';

});
test('throws an error if the module was already configured.', function (done) {
var configuration = new Configuration();
configuration.setModule({
name: 'foo',
version: '0.0.1'
});
assert.that(function () {
configuration.setModule({
name: 'foo',
version: '0.0.1'
});
}, is.throwing('Module already set.'));
done();
});
});
});
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