pretty-format
Advanced tools
Comparing version 22.0.3 to 22.0.5
@@ -33,17 +33,18 @@ 'use strict'; | ||
var _convert_ansi = require('./plugins/convert_ansi');var _convert_ansi2 = _interopRequireDefault(_convert_ansi); | ||
var _dom_collection = require('./plugins/dom_collection');var _dom_collection2 = _interopRequireDefault(_dom_collection); | ||
var _dom_element = require('./plugins/dom_element');var _dom_element2 = _interopRequireDefault(_dom_element); | ||
var _immutable = require('./plugins/immutable');var _immutable2 = _interopRequireDefault(_immutable); | ||
var _react_element = require('./plugins/react_element');var _react_element2 = _interopRequireDefault(_react_element); | ||
var _react_test_component = require('./plugins/react_test_component');var _react_test_component2 = _interopRequireDefault(_react_test_component);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} | ||
const toString = Object.prototype.toString; /** | ||
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* | ||
*/const toISOString = Date.prototype.toISOString;const errorToString = Error.prototype.toString;const regExpToString = RegExp.prototype.toString;const symbolToString = Symbol.prototype.toString; // Explicitly comparing typeof constructor to function avoids undefined as name | ||
var _react_test_component = require('./plugins/react_test_component');var _react_test_component2 = _interopRequireDefault(_react_test_component);function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} /** | ||
* Copyright (c) 2014-present, Facebook, Inc. All rights reserved. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
* | ||
*/const toString = Object.prototype.toString;const toISOString = Date.prototype.toISOString;const errorToString = Error.prototype.toString;const regExpToString = RegExp.prototype.toString;const symbolToString = Symbol.prototype.toString; | ||
// Explicitly comparing typeof constructor to function avoids undefined as name | ||
// when mock identity-obj-proxy returns the key as the value for any key. | ||
const getConstructorName = val => typeof val.constructor === 'function' && val.constructor.name || 'Object'; | ||
const getConstructorName = val => | ||
typeof val.constructor === 'function' && val.constructor.name || 'Object'; | ||
@@ -493,2 +494,3 @@ // Is val is equal to global window object? Works even if it does not exist :) | ||
ConvertAnsi: _convert_ansi2.default, | ||
DOMCollection: _dom_collection2.default, | ||
DOMElement: _dom_element2.default, | ||
@@ -495,0 +497,0 @@ Immutable: _immutable2.default, |
{ | ||
"name": "pretty-format", | ||
"version": "22.0.3", | ||
"version": "22.0.5", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
433083
16
5773