Socket
Socket
Sign inDemoInstall

chai

Package Overview
Dependencies
6
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 4.3.0

index.mjs

8

karma.conf.js

@@ -13,3 +13,9 @@ module.exports = function(config) {

, autoWatch: false
, browsers: [ 'PhantomJS' ]
, browsers: [ 'HeadlessChrome' ]
, customLaunchers: {
HeadlessChrome: {
base: 'ChromeHeadless'
, flags: [ '--no-sandbox',]
, }
, }
, browserDisconnectTimeout: 10000

@@ -16,0 +22,0 @@ , browserDisconnectTolerance: 2

2

karma.sauce.js

@@ -29,3 +29,3 @@ var version = require('./package.json').version;

config.browsers = config.browsers.concat(browsers);
config.customLaunchers = browserConfig;
Object.assign(config.customLaunchers, browserConfig);
config.reporters.push('saucelabs');

@@ -32,0 +32,0 @@ config.captureTimeout = 300000;

@@ -13,3 +13,3 @@ /*!

exports.version = '4.2.0';
exports.version = '4.3.0';

@@ -16,0 +16,0 @@ /*!

@@ -141,7 +141,17 @@ /*!

var actual = util.getActual(this, arguments);
throw new AssertionError(msg, {
var assertionErrorObjectProperties = {
actual: actual
, expected: expected
, showDiff: showDiff
}, (config.includeStack) ? this.assert : flag(this, 'ssfi'));
};
var operator = util.getOperator(this, arguments);
if (operator) {
assertionErrorObjectProperties.operator = operator;
}
throw new AssertionError(
msg,
assertionErrorObjectProperties,
(config.includeStack) ? this.assert : flag(this, 'ssfi'));
}

@@ -148,0 +158,0 @@ };

@@ -16,3 +16,4 @@ /*!

|| this instanceof Boolean
|| typeof Symbol === 'function' && this instanceof Symbol) {
|| typeof Symbol === 'function' && this instanceof Symbol
|| typeof BigInt === 'function' && this instanceof BigInt) {
return new Assertion(this.valueOf(), null, shouldGetter);

@@ -19,0 +20,0 @@ }

@@ -173,1 +173,7 @@ /*!

exports.isNaN = require('./isNaN');
/*!
* getOperator method
*/
exports.getOperator = require('./getOperator');

@@ -20,3 +20,3 @@ {

],
"version": "4.2.0",
"version": "4.3.0",
"repository": {

@@ -30,2 +30,9 @@ "type": "git",

"main": "./index",
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs"
},
"./": "./"
},
"scripts": {

@@ -35,3 +42,3 @@ "test": "make test"

"engines": {
"node": ">=4"
"node": ">=8"
},

@@ -47,3 +54,3 @@ "dependencies": {

"devDependencies": {
"browserify": "^16.0.0",
"browserify": "^16.2.3",
"bump-cli": "^1.1.3",

@@ -53,8 +60,8 @@ "codecov": "^3.0.0",

"karma": "^2.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.0.1",
"karma-phantomjs-launcher": "^1.0.0",
"karma-sauce-launcher": "^1.2.0",
"mocha": "^5.0.0"
"mocha": "^7.1.2"
}
}

@@ -29,3 +29,3 @@ <h1 align=center>

alt="node:?"
src="https://img.shields.io/badge/node-%3E=4.0-blue.svg?style=flat-square"
src="https://img.shields.io/badge/node-%3E=8.0-blue.svg?style=flat-square"
/>

@@ -98,3 +98,3 @@ </a>

$ npm install chai
$ npm install --save-dev chai

@@ -101,0 +101,0 @@ ### Browsers

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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