Socket
Socket
Sign inDemoInstall

bounce

Package Overview
Dependencies
2
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

8

lib/index.js

@@ -84,2 +84,10 @@ 'use strict';

if (!err) {
return false;
}
if (err.isBoom) {
return false;
}
for (let i = 0; i < internals.system.length; ++i) {

@@ -86,0 +94,0 @@ if (err instanceof internals.system[i]) {

2

package.json
{
"name": "bounce",
"description": "Selective error catching and rewrite rules",
"version": "1.0.2",
"version": "1.0.3",
"repository": "git://github.com/hapijs/bounce",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -417,3 +417,13 @@ 'use strict';

});
it('identifies null as non-system', () => {
expect(Bounce.isSystem(null)).to.be.false();
});
it('identifies boomified system as non-system', () => {
expect(Bounce.isSystem(Boom.boomify(new TypeError()))).to.be.false();
});
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc