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

code

Package Overview
Dependencies
Maintainers
2
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 3.0.2 to 4.0.0

3

lib/index.js

@@ -200,3 +200,6 @@ 'use strict';

internals.assert(this, arguments.length === 1, 'Can only assert include with a single parameter');
this._flags.deep = !this._flags.shallow;
this._flags.part = this._flags.hasOwnProperty('part') ? this._flags.part : false;
return this.assert(Hoek.contain(this._ref, value, this._flags), 'include ' + internals.display(value));

@@ -203,0 +206,0 @@ };

4

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

@@ -19,3 +19,3 @@ "main": "lib/index.js",

"devDependencies": {
"lab": "10.x.x",
"lab": "11.x.x",
"markdown-toc": "0.12.x"

@@ -22,0 +22,0 @@ },

@@ -0,0 +0,0 @@ # code

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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