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 1.1.0 to 1.1.1

tests/index.html

2

index.js
/**
* @file Tests if a value is a string with the boxed bug; splits to an array.
* @version 1.1.0
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -5,0 +5,0 @@ * @copyright Xotic750

@@ -1,5 +0,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(_dereq_,module,exports){
(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(){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}return e})()({1:[function(_dereq_,module,exports){
/**
* @file Tests if a value is a string with the boxed bug; splits to an array.
* @version 1.1.0
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -44,3 +44,3 @@ * @copyright Xotic750

* @file Constructors cached from literals.
* @version 1.0.0
* @version 1.0.2
* @author Xotic750 <Xotic750@gmail.com>

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

Boolean: true.constructor,
Function: function () {}.constructor,
Number: (0).constructor,

@@ -74,3 +75,3 @@ Object: {}.constructor,

* @file Check support of by-index access of string characters.
* @version 1.1.0
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -77,0 +78,0 @@ * @copyright Xotic750

@@ -1,4 +0,5 @@

!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&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||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/**
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&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||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){
/**
* @file Tests if a value is a string with the boxed bug; splits to an array.
* @version 1.1.0
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -9,5 +10,6 @@ * @copyright Xotic750

*/
"use strict";var strSplit,isString;!1===_dereq_("has-boxed-string-x")&&(isString="function"==typeof(strSplit="".split)&&_dereq_("is-string")),module.exports=function splitIfBoxedBug(value){return isString&&isString(value)?strSplit.call(value,""):value}},{"has-boxed-string-x":3,"is-string":4}],2:[function(_dereq_,module,exports){/**
"use strict";var strSplit,isString;!1===_dereq_("has-boxed-string-x")&&(isString="function"==typeof(strSplit="".split)&&_dereq_("is-string")),module.exports=function splitIfBoxedBug(value){return isString&&isString(value)?strSplit.call(value,""):value}},{"has-boxed-string-x":3,"is-string":4}],2:[function(_dereq_,module,exports){
/**
* @file Constructors cached from literals.
* @version 1.0.0
* @version 1.0.2
* @author Xotic750 <Xotic750@gmail.com>

@@ -18,5 +20,6 @@ * @copyright Xotic750

*/
"use strict";module.exports={Array:[].constructor,Boolean:(!0).constructor,Number:(0).constructor,Object:{}.constructor,RegExp:/(?:)/.constructor,String:"".constructor}},{}],3:[function(_dereq_,module,exports){/**
"use strict";module.exports={Array:[].constructor,Boolean:(!0).constructor,Function:function(){}.constructor,Number:(0).constructor,Object:{}.constructor,RegExp:/(?:)/.constructor,String:"".constructor}},{}],3:[function(_dereq_,module,exports){
/**
* @file Check support of by-index access of string characters.
* @version 1.1.0
* @version 1.1.1
* @author Xotic750 <Xotic750@gmail.com>

@@ -27,2 +30,2 @@ * @copyright Xotic750

*/
"use strict";var boxedString=_dereq_("cached-constructors-x").Object("a");module.exports="a"===boxedString[0]&&0 in boxedString},{"cached-constructors-x":2}],4:[function(_dereq_,module,exports){"use strict";var strValue=String.prototype.valueOf,tryStringObject=function tryStringObject(value){try{return strValue.call(value),!0}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function isString(value){return"string"==typeof value||"object"==typeof value&&(hasToStringTag?tryStringObject(value):"[object String]"===toStr.call(value))}},{}]},{},[1])(1)});
"use strict";var boxedString=_dereq_("cached-constructors-x").Object("a");module.exports="a"===boxedString[0]&&0 in boxedString},{"cached-constructors-x":2}],4:[function(_dereq_,module,exports){"use strict";var strValue=String.prototype.valueOf,toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;module.exports=function isString(value){return"string"==typeof value||"object"==typeof value&&(hasToStringTag?function tryStringObject(value){try{return strValue.call(value),!0}catch(e){return!1}}(value):"[object String]"===toStr.call(value))}},{}]},{},[1])(1)});
{
"name": "split-if-boxed-bug-x",
"version": "1.1.0",
"version": "1.1.1",
"description": "Tests if a value is a string with the boxed bug; splits to an array.",

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

},
"copyright": "Copyright (c) 2017",
"copyright": "Copyright (c) 2017-present",
"keywords": [

@@ -35,18 +35,19 @@ "utility",

"dependencies": {
"has-boxed-string-x": "^1.1.0",
"has-boxed-string-x": "^1.1.1",
"is-string": "^1.0.4"
},
"devDependencies": {
"@xotic750/eslint-config-standard-x": "^2.2.1",
"browserify": "^14.4.0",
"@xotic750/eslint-config-standard-x": "^3.1.1",
"ajv": "^6.1.1",
"browserify": "^16.1.0",
"browserify-derequire": "^0.9.4",
"cross-env": "^5.0.1",
"es5-shim": "^4.5.9",
"cross-env": "^5.1.3",
"es5-shim": "^4.5.10",
"es6-shim": "^0.35.3",
"es7-shim": "^6.0.0",
"eslint": "^4.2.0",
"eslint-plugin-compat": "^1.0.4",
"eslint-plugin-css-modules": "^2.7.2",
"eslint-plugin-eslint-comments": "^1.0.2",
"eslint-plugin-jsdoc": "^3.1.1",
"eslint": "^4.18.1",
"eslint-plugin-compat": "^2.2.0",
"eslint-plugin-css-modules": "^2.7.5",
"eslint-plugin-eslint-comments": "^2.0.2",
"eslint-plugin-jsdoc": "^3.5.0",
"eslint-plugin-json": "^1.2.0",

@@ -56,13 +57,13 @@ "eslint-plugin-no-use-extend-native": "^0.3.12",

"jasmine-node": "^1.14.5",
"jsdoc-to-markdown": "^3.0.0",
"jsdoc-to-markdown": "^4.0.1",
"json3": "^3.3.2",
"make-jasmine-spec-runner-html": "^1.3.0",
"ncp": "^2.0.0",
"nodemon": "^1.11.0",
"nsp": "^2.6.3",
"parallelshell": "^3.0.1",
"nodemon": "^1.15.1",
"nsp": "^3.2.1",
"parallelshell": "^3.0.2",
"replace-x": "^1.5.0",
"rimraf": "^2.6.1",
"serve": "^6.0.2",
"uglify-js": "^3.0.24"
"rimraf": "^2.6.2",
"serve": "^6.4.11",
"uglify-js": "^3.3.12"
},

@@ -69,0 +70,0 @@ "scripts": {

@@ -26,3 +26,3 @@ <a href="https://travis-ci.org/Xotic750/split-if-boxed-bug-x"

**Version**: 1.1.0
**Version**: 1.1.1
**Author**: Xotic750 <Xotic750@gmail.com>

@@ -29,0 +29,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

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