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

jasmine-expect

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jasmine-expect - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

8

dist/jasmine-matchers.js

@@ -1710,4 +1710,4 @@ (function e(t, n, r) {

var is = require('./lib/is');
var toBeObject = require('./toBeObject');
var toHaveMember = require('./toHaveMember');

@@ -1724,3 +1724,3 @@ module.exports = toImplement;

for (var key in api) {
if (!actual[key] || actual[key].constructor !== api[key]) {
if (!toHaveMember(key, actual) || actual[key].constructor !== api[key]) {
return false;

@@ -1733,4 +1733,4 @@ }

}, {
'./lib/is': 8,
'./toBeObject': 36
'./toBeObject': 36,
'./toHaveMember': 65
}],

@@ -1737,0 +1737,0 @@ 82: [function(require, module, exports) {

{
"name": "jasmine-expect",
"description": "Additional matchers for the Jasmine BDD JavaScript testing library",
"version": "2.0.0",
"version": "2.0.1",
"author": "Jamie Mason (https://github.com/JamieMason)",

@@ -6,0 +6,0 @@ "authors": [

'use strict';
var is = require('./lib/is');
var toBeObject = require('./toBeObject');
var toHaveMember = require('./toHaveMember');

@@ -16,3 +16,3 @@ module.exports = toImplement;

for (var key in api) {
if (!actual[key] || actual[key].constructor !== api[key]) {
if (!toHaveMember(key, actual) || actual[key].constructor !== api[key]) {
return false;

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

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

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