Socket
Socket
Sign inDemoInstall

jest-matcher-utils

Package Overview
Dependencies
Maintainers
3
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-matcher-utils - npm Package Compare versions

Comparing version 19.2.0-alpha.993e64af to 19.3.0-alpha.85402254

10

build-es5/index.js

@@ -11,3 +11,3 @@ /**

'use strict';var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {return typeof obj;} : function (obj) {return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;};
'use strict';var _set = require('babel-runtime/core-js/set');var _set2 = _interopRequireDefault(_set);var _map = require('babel-runtime/core-js/map');var _map2 = _interopRequireDefault(_map);var _typeof2 = require('babel-runtime/helpers/typeof');var _typeof3 = _interopRequireDefault(_typeof2);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}

@@ -80,8 +80,8 @@ var chalk = require('chalk');

return 'string';
} else if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
} else if ((typeof value === 'undefined' ? 'undefined' : (0, _typeof3.default)(value)) === 'object') {
if (value.constructor === RegExp) {
return 'regexp';
} else if (value.constructor === Map) {
} else if (value.constructor === _map2.default) {
return 'map';
} else if (value.constructor === Set) {
} else if (value.constructor === _set2.default) {
return 'set';

@@ -91,3 +91,3 @@ }

// $FlowFixMe https://github.com/facebook/flow/issues/1015
} else if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'symbol') {
} else if ((typeof value === 'undefined' ? 'undefined' : (0, _typeof3.default)(value)) === 'symbol') {
return 'symbol';

@@ -94,0 +94,0 @@ }

{
"name": "jest-matcher-utils",
"description": "A set of utility functions for jest-matchers and related packages",
"version": "19.2.0-alpha.993e64af",
"version": "19.3.0-alpha.85402254",
"repository": {

@@ -14,4 +14,4 @@ "type": "git",

"chalk": "^1.1.3",
"pretty-format": "^19.2.0-alpha.993e64af"
"pretty-format": "^19.3.0-alpha.85402254"
}
}
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