Socket
Socket
Sign inDemoInstall

split-if-boxed-bug-x

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

split-if-boxed-bug-x - npm Package Compare versions

Comparing version 2.0.23 to 2.1.0

55

dist/split-if-boxed-bug-x.js

@@ -5,9 +5,9 @@ /*!

"copywrite": "Copyright (c) 2017-present",
"date": "2019-07-31T22:14:30.725Z",
"date": "2019-08-14T14:55:50.665Z",
"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": "95351761c30422b1164a",
"hash": "b94f96b5735dfc9f46db",
"license": "MIT",
"version": "2.0.23"
"version": "2.1.0"
}

@@ -27,15 +27,44 @@ */

if (typeof self !== 'undefined') {
return self;
}
var ObjectCtr = {}.constructor;
var objectPrototype = ObjectCtr.prototype;
var defineProperty = ObjectCtr.defineProperty;
var $globalThis;
var getGlobalFallback = function() {
if (typeof self !== 'undefined') {
return self;
}
if (typeof window !== 'undefined') {
return window;
}
if (typeof window !== 'undefined') {
return window;
}
if (typeof global !== 'undefined') {
return global;
if (typeof global !== 'undefined') {
return global;
}
return void 0;
};
var returnThis = function() {
return this;
};
try {
if (defineProperty) {
defineProperty(objectPrototype, '$$globalThis$$', {
get: returnThis,
configurable: true
});
} else {
objectPrototype.__defineGetter__('$$globalThis$$', returnThis);
}
$globalThis = typeof $$globalThis$$ === 'undefined' ? getGlobalFallback() : $$globalThis$$;
delete objectPrototype.$$globalThis$$;
return $globalThis;
} catch (error) {
return getGlobalFallback();
}
return Function('return this')();
}()), function() {

@@ -42,0 +71,0 @@ return /******/ (function(modules) { // webpackBootstrap

@@ -5,12 +5,12 @@ /*!

"copywrite": "Copyright (c) 2017-present",
"date": "2019-07-31T22:14:30.725Z",
"date": "2019-08-14T14:55:50.665Z",
"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": "5ba76bfda7d62b0d659f",
"hash": "9e69789cc4b4c7c93c50",
"license": "MIT",
"version": "2.0.23"
"version": "2.1.0"
}
*/
!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}}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.splitIfBoxedBugX=t():e.splitIfBoxedBugX=t()}(function(){"use strict";var e,t={}.constructor,n=t.prototype,o=t.defineProperty,r=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:void 0},u=function(){return this};try{return o?o(n,"$$globalThis$$",{get:u,configurable:!0}):n.__defineGetter__("$$globalThis$$",u),e="undefined"==typeof $$globalThis$$?r():$$globalThis$$,delete n.$$globalThis$$,e}catch(e){return r()}}(),function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){"use strict";var o=String.prototype.valueOf,r=Object.prototype.toString,u="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(u?function(e){try{return o.call(e),!0}catch(e){return!1}}(e):"[object String]"===r.call(e))}},function(e,t,n){"use strict";n.r(t);var o={}.constructor("a"),r="a"===o[0]&&0 in o,u=n(0),i="".split,f=!1===r&&"function"==typeof i&&n.n(u).a;t.default=function(e){return f&&f(e)?i.call(e,""):e}}])});
//# sourceMappingURL=split-if-boxed-bug-x.min.js.map
{
"name": "split-if-boxed-bug-x",
"version": "2.0.23",
"version": "2.1.0",
"description": "Tests if a value is a string with the boxed bug; splits to an array.",

@@ -44,2 +44,3 @@ "homepage": "https://github.com/Xotic750/split-if-boxed-bug-x",

"test:ci": "npm run test -- --ci --maxWorkers=2",
"test:ci-coveralls": "npm run test:ci -- --coverage --coverageReporters=text-lcov | coveralls",
"test:coverage": "npm run test -- --coverage"

@@ -56,3 +57,3 @@ },

"dependencies": {
"has-boxed-string-x": "^2.0.25",
"has-boxed-string-x": "^2.1.0",
"is-string": "^1.0.4"

@@ -68,5 +69,6 @@ },

"@babel/runtime": "^7.5.5",
"@types/jest": "^24.0.16",
"@types/node": "^12.6.8",
"@xotic750/eslint-config-recommended": "^1.0.5",
"@types/jest": "^24.0.17",
"@types/node": "^12.7.1",
"@types/webpack": "^4.32.1",
"@xotic750/eslint-config-recommended": "^1.1.2",
"babel-core": "^7.0.0-0",

@@ -76,5 +78,6 @@ "babel-eslint": "^10.0.2",

"babel-plugin-lodash": "^3.3.4",
"caniuse-lite": "^1.0.30000988",
"caniuse-lite": "^1.0.30000989",
"coveralls": "^3.0.6",
"cross-env": "^5.2.0",
"eslint": "=5.16.0",
"eslint": "^6.1.0",
"eslint-friendly-formatter": "^4.0.1",

@@ -89,6 +92,6 @@ "eslint-import-resolver-webpack": "^0.11.1",

"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^22.14.1",
"eslint-plugin-jest": "^22.15.1",
"eslint-plugin-jsdoc": "^15.8.0",
"eslint-plugin-json": "^1.4.0",
"eslint-plugin-lodash": "^5.1.0",
"eslint-plugin-lodash": "^6.0.0",
"eslint-plugin-no-use-extend-native": "^0.4.1",

@@ -113,5 +116,6 @@ "eslint-plugin-prefer-object-spread": "^1.2.1",

"typescript": "^3.5.3",
"webpack": "^4.38.0",
"webpack": "^4.39.1",
"webpack-bundle-analyzer": "^3.4.1",
"webpack-cli": "^3.3.6",
"webpack-global-object-x": "^1.0.0",
"webpack-merge": "^4.2.1"

@@ -118,0 +122,0 @@ },

@@ -38,2 +38,8 @@ <a

</a>
<a
href="https://coveralls.io/github/Xotic750/split-if-boxed-bug-x?branch=master"
title="Coverage Status">
<img src="https://coveralls.io/repos/github/Xotic750/split-if-boxed-bug-x/badge.svg?branch=master"
alt="Coverage Status" height="18">
</a>

@@ -40,0 +46,0 @@ <a name="module_split-if-boxed-bug-x"></a>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc