has-symbol-support-x
Advanced tools
Comparing version 1.0.0 to 1.0.1
13
index.js
@@ -25,5 +25,5 @@ /** | ||
* | ||
* hasSymbolSupport module. Tests if Symbol and Symbol~iterator exist and are | ||
* the correct types. | ||
* @version 1.0.0 | ||
* hasSymbolSupport module. Tests if `Symbol` exists and creates the correct | ||
* type. | ||
* @version 1.0.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -49,9 +49,8 @@ * @copyright Xotic750 | ||
/** | ||
* Indicates if Symbol and Symbol~iterator exist and are the correct types. | ||
* `true`, if they exists and are the correct types, otherwise `false`. | ||
* Indicates if `Symbol`exists and creates the correct type. | ||
* `true`, if it exists and creates the correct type, otherwise `false`. | ||
* | ||
* @type boolean | ||
*/ | ||
module.exports = typeof Symbol === 'function' && | ||
typeof Symbol.iterator === 'symbol'; | ||
module.exports = typeof Symbol === 'function' && typeof Symbol() === 'symbol'; | ||
}()); |
@@ -26,5 +26,5 @@ (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(require,module,exports){ | ||
* | ||
* hasSymbolSupport module. Tests if Symbol and Symbol~iterator exist and are | ||
* the correct types. | ||
* @version 1.0.0 | ||
* hasSymbolSupport module. Tests if `Symbol` exists and creates the correct | ||
* type. | ||
* @version 1.0.1 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -50,9 +50,8 @@ * @copyright Xotic750 | ||
/** | ||
* Indicates if Symbol and Symbol~iterator exist and are the correct types. | ||
* `true`, if they exists and are the correct types, otherwise `false`. | ||
* Indicates if `Symbol`exists and creates the correct type. | ||
* `true`, if it exists and creates the correct type, otherwise `false`. | ||
* | ||
* @type boolean | ||
*/ | ||
module.exports = typeof Symbol === 'function' && | ||
typeof Symbol.iterator === 'symbol'; | ||
module.exports = typeof Symbol === 'function' && typeof Symbol() === 'symbol'; | ||
}()); | ||
@@ -59,0 +58,0 @@ |
@@ -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(){var e,n,o;return function e(n,o,r){function s(f,i){if(!o[f]){if(!n[f]){var u="function"==typeof require&&require;if(!i&&u)return u(f,!0);if(t)return t(f,!0);var d=new Error("Cannot find module '"+f+"'");throw d.code="MODULE_NOT_FOUND",d}var p=o[f]={exports:{}};n[f][0].call(p.exports,function(e){var o=n[f][1][e];return s(o?o:e)},p,p.exports,e,n,o,r)}return o[f].exports}for(var t="function"==typeof require&&require,f=0;f<r.length;f++)s(r[f]);return s}({1:[function(e,n,o){!function(){"use strict";n.exports="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator}()},{}]},{},[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(){var e,n,o;return function e(n,o,r){function s(f,i){if(!o[f]){if(!n[f]){var u="function"==typeof require&&require;if(!i&&u)return u(f,!0);if(t)return t(f,!0);var d=new Error("Cannot find module '"+f+"'");throw d.code="MODULE_NOT_FOUND",d}var p=o[f]={exports:{}};n[f][0].call(p.exports,function(e){var o=n[f][1][e];return s(o?o:e)},p,p.exports,e,n,o,r)}return o[f].exports}for(var t="function"==typeof require&&require,f=0;f<r.length;f++)s(r[f]);return s}({1:[function(e,n,o){!function(){"use strict";n.exports="function"==typeof Symbol&&"symbol"==typeof Symbol()}()},{}]},{},[1])(1)}); | ||
//# sourceMappingURL=lib/has-symbol-support-x.map |
{ | ||
"name": "has-symbol-support-x", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "hasSymbolSupport module. Tests if Symbol is supported.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/Xotic750/has-symbol-support-x", |
@@ -25,6 +25,6 @@ <a name="module_has-symbol-support-x"></a> | ||
hasSymbolSupport module. Tests if Symbol and Symbol~iterator exist and are | ||
the correct types. | ||
hasSymbolSupport module. Tests if `Symbol` exists and creates the correct | ||
type. | ||
**Version**: 1.0.0 | ||
**Version**: 1.0.1 | ||
**Author:** Xotic750 <Xotic750@gmail.com> | ||
@@ -35,5 +35,5 @@ **License**: [MIT](<https://opensource.org/licenses/MIT>) | ||
### `module.exports` : <code>boolean</code> ⏏ | ||
Indicates if Symbol and Symbol~iterator exist and are the correct types. | ||
`true`, if they exists and are the correct types, otherwise `false`. | ||
Indicates if `Symbol`exists and creates the correct type. | ||
`true`, if it exists and creates the correct type, otherwise `false`. | ||
**Kind**: Exported member |
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
15197
131