split-if-boxed-bug-x
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -15,6 +15,8 @@ import hasBoxed from 'has-boxed-string-x'; | ||
export default function splitIfBoxedBug(value) { | ||
var splitIfBoxedBug = function splitIfBoxedBug(value) { | ||
return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value; | ||
} | ||
}; | ||
export default splitIfBoxedBug; | ||
//# sourceMappingURL=split-if-boxed-bug-x.esm.js.map |
@@ -5,9 +5,9 @@ /*! | ||
"copywrite": "Copyright (c) 2017-present", | ||
"date": "2019-07-16T21:20:15.207Z", | ||
"date": "2019-07-17T16:56:39.118Z", | ||
"describe": "", | ||
"description": "Tests if a value is a string with the boxed bug; splits to an array.", | ||
"file": "split-if-boxed-bug-x.js", | ||
"hash": "4332662aef3451194be1", | ||
"hash": "95351761c30422b1164a", | ||
"license": "MIT", | ||
"version": "2.0.7" | ||
"version": "2.0.8" | ||
} | ||
@@ -182,3 +182,2 @@ */ | ||
// CONCATENATED MODULE: ./dist/split-if-boxed-bug-x.esm.js | ||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return splitIfBoxedBug; }); | ||
@@ -198,8 +197,10 @@ | ||
function splitIfBoxedBug(value) { | ||
var splitIfBoxedBug = function splitIfBoxedBug(value) { | ||
return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value; | ||
} | ||
}; | ||
/* harmony default export */ var split_if_boxed_bug_x_esm = __webpack_exports__["default"] = (splitIfBoxedBug); | ||
/***/ }) | ||
@@ -206,0 +207,0 @@ /******/ ]); |
@@ -5,12 +5,12 @@ /*! | ||
"copywrite": "Copyright (c) 2017-present", | ||
"date": "2019-07-16T21:20:15.207Z", | ||
"date": "2019-07-17T16:56:39.118Z", | ||
"describe": "", | ||
"description": "Tests if a value is a string with the boxed bug; splits to an array.", | ||
"file": "split-if-boxed-bug-x.min.js", | ||
"hash": "6c22bb92f0a53890fea6", | ||
"hash": "5ba76bfda7d62b0d659f", | ||
"license": "MIT", | ||
"version": "2.0.7" | ||
"version": "2.0.8" | ||
} | ||
*/ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.splitIfBoxedBugX=e():t.splitIfBoxedBugX=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 n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){"use strict";var o=String.prototype.valueOf,r=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){return"string"==typeof t||"object"==typeof t&&(u?function(t){try{return o.call(t),!0}catch(t){return!1}}(t):"[object String]"===r.call(t))}},function(t,e,n){"use strict";n.r(e);var o={}.constructor("a"),r="a"===o[0]&&0 in o,u=n(0),f=n.n(u);n.d(e,"default",function(){return p});var i="",c=i.split,l=!1===r&&"function"==typeof c&&f.a;function p(t){return l&&l(t)?c.call(t,i):t}}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.splitIfBoxedBugX=e():t.splitIfBoxedBugX=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 n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){"use strict";var o=String.prototype.valueOf,r=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;t.exports=function(t){return"string"==typeof t||"object"==typeof t&&(u?function(t){try{return o.call(t),!0}catch(t){return!1}}(t):"[object String]"===r.call(t))}},function(t,e,n){"use strict";n.r(e);var o={}.constructor("a"),r="a"===o[0]&&0 in o,u=n(0),f="".split,i=!1===r&&"function"==typeof f&&n.n(u).a;e.default=function(t){return i&&i(t)?f.call(t,""):t}}])}); | ||
//# sourceMappingURL=split-if-boxed-bug-x.min.js.map |
{ | ||
"name": "split-if-boxed-bug-x", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "Tests if a value is a string with the boxed bug; splits to an array.", | ||
@@ -54,3 +54,3 @@ "homepage": "https://github.com/Xotic750/split-if-boxed-bug-x", | ||
"dependencies": { | ||
"has-boxed-string-x": "^2.0.7", | ||
"has-boxed-string-x": "^2.0.8", | ||
"is-string": "^1.0.4" | ||
@@ -72,3 +72,3 @@ }, | ||
"@types/jest": "^24.0.15", | ||
"@types/node": "^12.6.3", | ||
"@types/node": "^12.6.6", | ||
"babel-core": "^7.0.0-0", | ||
@@ -89,3 +89,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", | ||
@@ -95,4 +95,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", | ||
@@ -124,3 +124,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", | ||
@@ -127,0 +127,0 @@ "webpack-cli": "^3.3.6", |
@@ -16,4 +16,6 @@ import hasBoxed from 'has-boxed-string-x'; | ||
*/ | ||
export default function splitIfBoxedBug(value) { | ||
const splitIfBoxedBug = function splitIfBoxedBug(value) { | ||
return isStringFn && isStringFn(value) ? strSplit.call(value, EMPTY_STRING) : value; | ||
} | ||
}; | ||
export default splitIfBoxedBug; |
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
34391
236
Updatedhas-boxed-string-x@^2.0.8