to-object-x
Advanced tools
Comparing version 1.4.0 to 1.4.1
/** | ||
* @file ES6-compliant shim for ToObject. | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-toobject|7.1.13 ToObject ( argument )} | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -13,3 +13,3 @@ * @copyright Xotic750 | ||
var $requireObjectCoercible = require('require-object-coercible-x'); | ||
var requireObjectCoercible = require('require-object-coercible-x'); | ||
@@ -32,4 +32,4 @@ /** | ||
*/ | ||
module.exports = function ToObject(value) { | ||
return Object($requireObjectCoercible(value)); | ||
module.exports = function toObject(value) { | ||
return Object(requireObjectCoercible(value)); | ||
}; |
@@ -5,3 +5,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-toobject|7.1.13 ToObject ( argument )} | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -15,3 +15,3 @@ * @copyright Xotic750 | ||
var $requireObjectCoercible = _dereq_('require-object-coercible-x'); | ||
var requireObjectCoercible = _dereq_('require-object-coercible-x'); | ||
@@ -34,4 +34,4 @@ /** | ||
*/ | ||
module.exports = function ToObject(value) { | ||
return Object($requireObjectCoercible(value)); | ||
module.exports = function toObject(value) { | ||
return Object(requireObjectCoercible(value)); | ||
}; | ||
@@ -42,3 +42,3 @@ | ||
* @file Checks if `value` is `null` or `undefined`. | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -107,3 +107,3 @@ * @copyright Xotic750 | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-requireobjectcoercible|7.2.1 RequireObjectCoercible ( argument )} | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -110,0 +110,0 @@ * @copyright Xotic750 |
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/** | ||
* @file ES6-compliant shim for ToObject. | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-toobject|7.1.13 ToObject ( argument )} | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -10,5 +10,5 @@ * @copyright Xotic750 | ||
*/ | ||
"use strict";var $requireObjectCoercible=_dereq_("require-object-coercible-x");module.exports=function ToObject(value){return Object($requireObjectCoercible(value))}},{"require-object-coercible-x":4}],2:[function(_dereq_,module,exports){/** | ||
"use strict";var requireObjectCoercible=_dereq_("require-object-coercible-x");module.exports=function toObject(value){return Object(requireObjectCoercible(value))}},{"require-object-coercible-x":4}],2:[function(_dereq_,module,exports){/** | ||
* @file Checks if `value` is `null` or `undefined`. | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -22,3 +22,3 @@ * @copyright Xotic750 | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-requireobjectcoercible|7.2.1 RequireObjectCoercible ( argument )} | ||
* @version 1.4.0 | ||
* @version 1.4.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -25,0 +25,0 @@ * @copyright Xotic750 |
{ | ||
"name": "to-object-x", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "ES6-compliant shim for ToObject.", | ||
@@ -32,3 +32,3 @@ "homepage": "https://github.com/Xotic750/to-object-x", | ||
"dependencies": { | ||
"require-object-coercible-x": "^1.4.0" | ||
"require-object-coercible-x": "^1.4.1" | ||
}, | ||
@@ -35,0 +35,0 @@ "devDependencies": { |
@@ -27,3 +27,3 @@ <a href="https://travis-ci.org/Xotic750/to-object-x" | ||
**See**: [7.1.13 ToObject ( argument )](http://www.ecma-international.org/ecma-262/6.0/#sec-toobject) | ||
**Version**: 1.4.0 | ||
**Version**: 1.4.1 | ||
**Author**: Xotic750 <Xotic750@gmail.com> | ||
@@ -30,0 +30,0 @@ **License**: [MIT](<https://opensource.org/licenses/MIT>) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
20797
14
248