Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

code

Package Overview
Dependencies
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

5

lib/index.js

@@ -411,3 +411,3 @@ 'use strict';

let thrown;
let thrown = null;
try {

@@ -435,3 +435,4 @@ await this._ref;

return this.assert(thrown, 'reject with an error');
this.assert(thrown, 'reject with an error');
return thrown;
}

@@ -438,0 +439,0 @@ catch (err) {

2

package.json
{
"name": "code",
"description": "assertion library",
"version": "5.0.0",
"version": "5.1.0",
"repository": "git://github.com/hapijs/code",

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

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