to-string-symbols-supported-x
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -20,6 +20,8 @@ import hasSymbols from 'has-symbol-support-x'; | ||
export default function toStringSymbolsSupported(value) { | ||
var toStringSymbolsSupported = function toStringSymbolsSupported(value) { | ||
return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value); | ||
} | ||
}; | ||
export default toStringSymbolsSupported; | ||
//# sourceMappingURL=to-string-symbols-supported-x.esm.js.map |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2015-present", | ||
"date": "2019-07-16T21:19:31.442Z", | ||
"date": "2019-07-17T16:55:51.247Z", | ||
"describe": "", | ||
"description": "ES6 abstract ToString with Symbol conversion support.", | ||
"file": "to-string-symbols-supported-x.js", | ||
"hash": "9be8f9c51bb06e1ab253", | ||
"hash": "1898953cb1e72cbe2254", | ||
"license": "MIT", | ||
"version": "2.0.6" | ||
"version": "2.0.7" | ||
} | ||
@@ -282,3 +282,3 @@ */ | ||
*/ | ||
function attempt(fn) { | ||
var attempt = function attempt(fn) { | ||
try { | ||
@@ -301,5 +301,7 @@ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | ||
} | ||
} | ||
}; | ||
/* harmony default export */ var attempt_x_esm = (attempt); | ||
// EXTERNAL MODULE: ./node_modules/is-symbol/index.js | ||
@@ -316,3 +318,3 @@ var is_symbol = __webpack_require__(0); | ||
var hasSymbolSupport = attempt(function () { | ||
var hasSymbolSupport = attempt_x_esm(function () { | ||
_newArrowCheck(this, _this); | ||
@@ -334,3 +336,2 @@ | ||
// CONCATENATED MODULE: ./dist/to-string-symbols-supported-x.esm.js | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return toStringSymbolsSupported; }); | ||
@@ -355,8 +356,10 @@ | ||
function toStringSymbolsSupported(value) { | ||
var toStringSymbolsSupported = function toStringSymbolsSupported(value) { | ||
return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value); | ||
} | ||
}; | ||
/* harmony default export */ var to_string_symbols_supported_x_esm = __webpack_exports__["default"] = (toStringSymbolsSupported); | ||
/***/ }) | ||
@@ -363,0 +366,0 @@ /******/ ]); |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2015-present", | ||
"date": "2019-07-16T21:19:31.442Z", | ||
"date": "2019-07-17T16:55:51.247Z", | ||
"describe": "", | ||
"description": "ES6 abstract ToString with Symbol conversion support.", | ||
"file": "to-string-symbols-supported-x.min.js", | ||
"hash": "eaa2cb83c82dc2ff5112", | ||
"hash": "31002423d6044d2c49b9", | ||
"license": "MIT", | ||
"version": "2.0.6" | ||
"version": "2.0.7" | ||
} | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.toStringSymbolsSupportedX=e():t.toStringSymbolsSupportedX=e()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=4)}([function(t,e,r){"use strict";var n=Object.prototype.toString;if(r(1)()){var o=Symbol.prototype.toString,u=/^Symbol\(.*\)$/;t.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==n.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&u.test(o.call(t))}(t)}catch(t){return!1}}}else t.exports=function(t){return!1}},function(t,e,r){"use strict";(function(e){var n=e.Symbol,o=r(3);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(2))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(t,e,r){"use strict";r.r(e);var n=r(0),o=r.n(n);var u=function(t){try{for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{threw:!1,value:t.apply(this,r)}}catch(t){return{threw:!0,value:t}}}(function(){return function(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&o()(Symbol(""))}.bind(void 0)),i=!1===u.threw&&!0===u.value;r.d(e,"default",function(){return y});var f=i&&Symbol.prototype.toString,c="function"==typeof f&&o.a,l="".constructor;function y(t){return c&&c(t)?f.call(t):l(t)}}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.toStringSymbolsSupportedX=e():t.toStringSymbolsSupportedX=e()}(function(){"use strict";return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:Function("return this")()}(),function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=4)}([function(t,e,r){"use strict";var n=Object.prototype.toString;if(r(1)()){var o=Symbol.prototype.toString,u=/^Symbol\(.*\)$/;t.exports=function(t){if("symbol"==typeof t)return!0;if("[object Symbol]"!==n.call(t))return!1;try{return function(t){return"symbol"==typeof t.valueOf()&&u.test(o.call(t))}(t)}catch(t){return!1}}}else t.exports=function(t){return!1}},function(t,e,r){"use strict";(function(e){var n=e.Symbol,o=r(3);t.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(this,r(2))},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),r=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var n=Object.getOwnPropertySymbols(t);if(1!==n.length||n[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(t,e,r){"use strict";r.r(e);var n=function(t){try{for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{threw:!1,value:t.apply(this,r)}}catch(t){return{threw:!0,value:t}}},o=r(0),u=r.n(o);var i=n(function(){return function(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}(this,void 0),"function"==typeof Symbol&&u()(Symbol(""))}.bind(void 0)),f=!1===i.threw&&!0===i.value&&Symbol.prototype.toString,c="function"==typeof f&&u.a,l="".constructor;e.default=function(t){return c&&c(t)?f.call(t):l(t)}}])}); | ||
//# sourceMappingURL=to-string-symbols-supported-x.min.js.map |
{ | ||
"name": "to-string-symbols-supported-x", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "ES6 abstract ToString with Symbol conversion support.", | ||
@@ -52,3 +52,3 @@ "homepage": "https://github.com/Xotic750/to-string-symbols-supported-x", | ||
"dependencies": { | ||
"has-symbol-support-x": "^2.0.6", | ||
"has-symbol-support-x": "^2.0.7", | ||
"is-symbol": "^1.0.2" | ||
@@ -70,3 +70,3 @@ }, | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.6.3", | ||
"@types/node": "^12.6.6", | ||
"babel-core": "^7.0.0-0", | ||
@@ -87,3 +87,3 @@ "babel-eslint": "^10.0.2", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-compat": "^3.2.0", | ||
"eslint-plugin-compat": "^3.3.0", | ||
"eslint-plugin-css-modules": "^2.11.0", | ||
@@ -93,4 +93,4 @@ "eslint-plugin-eslint-comments": "^3.1.2", | ||
"eslint-plugin-import": "^2.18.0", | ||
"eslint-plugin-jest": "^22.7.2", | ||
"eslint-plugin-jsdoc": "^15.3.5", | ||
"eslint-plugin-jest": "^22.9.0", | ||
"eslint-plugin-jsdoc": "^15.5.2", | ||
"eslint-plugin-json": "^1.4.0", | ||
@@ -122,3 +122,3 @@ "eslint-plugin-lodash": "^5.1.0", | ||
"typescript": "^3.5.3", | ||
"webpack": "^4.35.3", | ||
"webpack": "^4.36.0", | ||
"webpack-bundle-analyzer": "^3.3.2", | ||
@@ -125,0 +125,0 @@ "webpack-cli": "^3.3.6", |
@@ -19,4 +19,6 @@ import hasSymbols from 'has-symbol-support-x'; | ||
*/ | ||
export default function toStringSymbolsSupported(value) { | ||
const toStringSymbolsSupported = function toStringSymbolsSupported(value) { | ||
return isSymbolFn && isSymbolFn(value) ? pToString.call(value) : castString(value); | ||
} | ||
}; | ||
export default toStringSymbolsSupported; |
Sorry, the diff of this file is not supported yet
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
53676
363
Updatedhas-symbol-support-x@^2.0.7