🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

to-string-tag-x

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

to-string-tag-x - npm Package Compare versions

Comparing version

to
1.2.0

5

index.js

@@ -29,3 +29,3 @@ /**

*
* @version 1.1.1
* @version 1.2.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -49,2 +49,3 @@ * @copyright Xotic750

var undefTag = '[object Undefined]';
var toStr = Object.prototype.toString;

@@ -69,4 +70,4 @@ /**

}
return Object.prototype.toString.call(value);
return toStr.call(value);
};
}());

@@ -30,3 +30,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){

*
* @version 1.1.1
* @version 1.2.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -50,2 +50,3 @@ * @copyright Xotic750

var undefTag = '[object Undefined]';
var toStr = Object.prototype.toString;

@@ -70,3 +71,3 @@ /**

}
return Object.prototype.toString.call(value);
return toStr.call(value);
};

@@ -73,0 +74,0 @@ }());

2

lib/to-string-tag-x.min.js

@@ -1,2 +0,2 @@

!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.returnExports=e()}}(function(){return function e(n,t,o){function s(r,u){if(!t[r]){if(!n[r]){var f="function"==typeof require&&require;if(!u&&f)return f(r,!0);if(i)return i(r,!0);var d=new Error("Cannot find module '"+r+"'");throw d.code="MODULE_NOT_FOUND",d}var l=t[r]={exports:{}};n[r][0].call(l.exports,function(e){var t=n[r][1][e];return s(t?t:e)},l,l.exports,e,n,t,o)}return t[r].exports}for(var i="function"==typeof require&&require,r=0;r<o.length;r++)s(o[r]);return s}({1:[function(e,n,t){!function(){"use strict";var t=e("lodash.isnull"),o=e("validate.io-undefined");n.exports=function toStringTag(e){return t(e)?"[object Null]":o(e)?"[object Undefined]":Object.prototype.toString.call(e)}}()},{"lodash.isnull":2,"validate.io-undefined":3}],2:[function(e,n,t){function isNull(e){return null===e}n.exports=isNull},{}],3:[function(e,n,t){"use strict";function isUndefined(e){return void 0===e}n.exports=isUndefined},{}]},{},[1])(1)});
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.returnExports=e()}}(function(){return function e(n,t,o){function s(r,u){if(!t[r]){if(!n[r]){var f="function"==typeof require&&require;if(!u&&f)return f(r,!0);if(i)return i(r,!0);var d=new Error("Cannot find module '"+r+"'");throw d.code="MODULE_NOT_FOUND",d}var l=t[r]={exports:{}};n[r][0].call(l.exports,function(e){var t=n[r][1][e];return s(t||e)},l,l.exports,e,n,t,o)}return t[r].exports}for(var i="function"==typeof require&&require,r=0;r<o.length;r++)s(o[r]);return s}({1:[function(e,n,t){!function(){"use strict";var t=e("lodash.isnull"),o=e("validate.io-undefined"),i=Object.prototype.toString;n.exports=function toStringTag(e){return t(e)?"[object Null]":o(e)?"[object Undefined]":i.call(e)}}()},{"lodash.isnull":2,"validate.io-undefined":3}],2:[function(e,n,t){function isNull(e){return null===e}n.exports=isNull},{}],3:[function(e,n,t){"use strict";function isUndefined(e){return void 0===e}n.exports=isUndefined},{}]},{},[1])(1)});
//# sourceMappingURL=lib/to-string-tag-x.map
{
"name": "to-string-tag-x",
"version": "1.1.1",
"version": "1.2.0",
"description": "Get an object's ES6 @@toStringTag.",

@@ -46,7 +46,7 @@ "homepage": "https://github.com/Xotic750/to-string-tag-x",

"json3": "^3.3.2",
"make-jasmine-spec-runner-html": "^1.0.4",
"make-jasmine-spec-runner-html": "^1.1.0",
"nodemon": "^1.11.0",
"nsp": "^2.6.3",
"replace-x": "^1.0.0",
"uglify-js": "^2.8.16"
"replace-x": "^1.1.1",
"uglify-js": "^2.8.18"
},

@@ -53,0 +53,0 @@ "scripts": {

@@ -29,3 +29,3 @@ <a name="module_to-string-tag-x"></a>

**See**: [19.1.3.6 Object.prototype.toString ( )](http://www.ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
**Version**: 1.1.1
**Version**: 1.2.0
**Author**: Xotic750 <Xotic750@gmail.com>

@@ -32,0 +32,0 @@ **License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet