Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

white-space-x

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

white-space-x - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

2

index.js

@@ -25,3 +25,3 @@ /**

*
* @version 1.1.1
* @version 1.2.0
* @author Xotic750 <Xotic750@gmail.com>

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

@@ -26,3 +26,3 @@ (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){

*
* @version 1.1.1
* @version 1.2.0
* @author Xotic750 <Xotic750@gmail.com>

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

*
* @version 1.2.1
* @version 1.3.0
* @author Xotic750 <Xotic750@gmail.com>

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

*
* @version 1.1.1
* @version 1.2.0
* @author Xotic750 <Xotic750@gmail.com>

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

*
* @version 1.1.1
* @version 1.2.0
* @author Xotic750 <Xotic750@gmail.com>

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

*
* @version 1.1.1
* @version 1.2.0
* @author Xotic750 <Xotic750@gmail.com>

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

*/
var tryFunctionObject = function funcToString(value) {
var tryFuncToString = function funcToString(value) {
try {

@@ -542,3 +542,3 @@ fToString.call(value);

if (hasToStringTag) {
return tryFunctionObject(value);
return tryFuncToString(value);
}

@@ -545,0 +545,0 @@ var strTag = toStringTag(value);

@@ -1,2 +0,2 @@

!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.returnExports=t()}}(function(){return function e(t,n,r){function s(i,c){if(!n[i]){if(!t[i]){var u="function"==typeof require&&require;if(!c&&u)return u(i,!0);if(o)return o(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){var n=t[i][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)s(r[i]);return s}({1:[function(t,e,n){!function(){"use strict";var n=t("define-properties-x"),r=t("foreach");n.property(e.exports,"whiteSpaces",[9,10,11,12,13,32,160,5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279]);var o="";r(e.exports.whiteSpaces,function(t){o+=String.fromCharCode(t)}),n.property(e.exports,"ws",o)}()},{"define-properties-x":2,foreach:3}],2:[function(t,e,n){!function(){"use strict";var n=t("has-symbol-support-x"),r=t("is-function-x"),o=t("validate.io-undefined"),i=t("foreach"),c=r(Object.keys)?Object.keys:t("object-keys"),u=r(Object.getOwnPropertySymbols)&&Object.getOwnPropertySymbols,s=r(Object.defineProperty)&&Object.defineProperty,f=Boolean(s)&&function(){var t={};try{s(t,"x",{enumerable:!1,value:t});for(var e in t)return!1;return t.x===t}catch(t){return!1}}(),l=function(t,e,n,r){e in t&&!r||(f?s(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},a=function(t,e,s){var f=o(s)?{}:s,a=c(e);n&&u&&(a=a.concat(u(e))),i(a,function(n){var o=f[n];l(t,n,e[n],r(o)&&o())})};a(e.exports,{properties:a,property:l,supportsDescriptors:f})}()},{foreach:3,"has-symbol-support-x":4,"is-function-x":6,"object-keys":9,"validate.io-undefined":12}],3:[function(t,e,n){var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=function forEach(t,e,n){if("[object Function]"!==o.call(e))throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var c=0;c<i;c++)e.call(n,t[c],c,t);else for(var u in t)r.call(t,u)&&e.call(n,t[u],u,t)}},{}],4:[function(t,e,n){!function(){"use strict";e.exports="function"==typeof Symbol&&"symbol"==typeof Symbol()}()},{}],5:[function(t,e,n){!function(){"use strict";e.exports=t("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag}()},{"has-symbol-support-x":4}],6:[function(t,e,n){!function(){"use strict";var n=Function.prototype.toString,r=t("to-string-tag-x"),o=t("has-to-string-tag-x"),i=t("is-primitive"),c=function funcToString(t){try{return n.call(t),!0}catch(t){}return!1};e.exports=function isFunction(t){if(i(t))return!1;if(o)return c(t);var e=r(t);return"[object Function]"===e||"[object GeneratorFunction]"===e||"[object AsyncFunction]"===e}}()},{"has-to-string-tag-x":5,"is-primitive":7,"to-string-tag-x":11}],7:[function(t,e,n){"use strict";e.exports=function isPrimitive(t){return null==t||"function"!=typeof t&&"object"!=typeof t}},{}],8:[function(t,e,n){function isNull(t){return null===t}e.exports=isNull},{}],9:[function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=Array.prototype.slice,c=t("./isArguments"),u=Object.prototype.propertyIsEnumerable,s=!u.call({toString:null},"toString"),f=u.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(t){var e=t.constructor;return e&&e.prototype===t},p={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&r.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{a(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),b=function(t){if("undefined"==typeof window||!y)return a(t);try{return a(t)}catch(t){return!1}},d=function keys(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===o.call(t),i=c(t),u=e&&"[object String]"===o.call(t),a=[];if(!e&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var p=f&&n;if(u&&t.length>0&&!r.call(t,0))for(var y=0;y<t.length;++y)a.push(String(y));if(i&&t.length>0)for(var d=0;d<t.length;++d)a.push(String(d));else for(var g in t)p&&"prototype"===g||!r.call(t,g)||a.push(String(g));if(s)for(var h=b(t),v=0;v<l.length;++v)h&&"constructor"===l[v]||!r.call(t,l[v])||a.push(l[v]);return a};d.shim=function shimObjectKeys(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var t=Object.keys;Object.keys=function keys(e){return t(c(e)?i.call(e):e)}}}else Object.keys=d;return Object.keys||d},e.exports=d},{"./isArguments":10}],10:[function(t,e,n){"use strict";var r=Object.prototype.toString;e.exports=function isArguments(t){var e=r.call(t),n="[object Arguments]"===e;return n||(n="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===r.call(t.callee)),n}},{}],11:[function(t,e,n){!function(){"use strict";var n=t("lodash.isnull"),r=t("validate.io-undefined");e.exports=function toStringTag(t){return n(t)?"[object Null]":r(t)?"[object Undefined]":Object.prototype.toString.call(t)}}()},{"lodash.isnull":8,"validate.io-undefined":12}],12:[function(t,e,n){"use strict";function isUndefined(t){return void 0===t}e.exports=isUndefined},{}]},{},[1])(1)});
!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.returnExports=t()}}(function(){return function e(t,n,r){function s(i,c){if(!n[i]){if(!t[i]){var u="function"==typeof require&&require;if(!c&&u)return u(i,!0);if(o)return o(i,!0);var f=new Error("Cannot find module '"+i+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){var n=t[i][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)s(r[i]);return s}({1:[function(t,e,n){!function(){"use strict";var n=t("define-properties-x"),r=t("foreach");n.property(e.exports,"whiteSpaces",[9,10,11,12,13,32,160,5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279]);var o="";r(e.exports.whiteSpaces,function(t){o+=String.fromCharCode(t)}),n.property(e.exports,"ws",o)}()},{"define-properties-x":2,foreach:3}],2:[function(t,e,n){!function(){"use strict";var n=t("has-symbol-support-x"),r=t("is-function-x"),o=t("validate.io-undefined"),i=t("foreach"),c=r(Object.keys)?Object.keys:t("object-keys"),u=r(Object.getOwnPropertySymbols)&&Object.getOwnPropertySymbols,s=r(Object.defineProperty)&&Object.defineProperty,f=Boolean(s)&&function(){var t={};try{s(t,"x",{enumerable:!1,value:t});for(var e in t)return!1;return t.x===t}catch(t){return!1}}(),l=function(t,e,n,r){e in t&&!r||(f?s(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)},a=function(t,e,s){var f=o(s)?{}:s,a=c(e);n&&u&&(a=a.concat(u(e))),i(a,function(n){var o=f[n];l(t,n,e[n],r(o)&&o())})};a(e.exports,{properties:a,property:l,supportsDescriptors:f})}()},{foreach:3,"has-symbol-support-x":4,"is-function-x":6,"object-keys":9,"validate.io-undefined":12}],3:[function(t,e,n){var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString;e.exports=function forEach(t,e,n){if("[object Function]"!==o.call(e))throw new TypeError("iterator must be a function");var i=t.length;if(i===+i)for(var c=0;c<i;c++)e.call(n,t[c],c,t);else for(var u in t)r.call(t,u)&&e.call(n,t[u],u,t)}},{}],4:[function(t,e,n){!function(){"use strict";e.exports="function"==typeof Symbol&&"symbol"==typeof Symbol()}()},{}],5:[function(t,e,n){!function(){"use strict";e.exports=t("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag}()},{"has-symbol-support-x":4}],6:[function(t,e,n){!function(){"use strict";var n=Function.prototype.toString,r=t("to-string-tag-x"),o=t("has-to-string-tag-x"),i=t("is-primitive"),c=function funcToString(t){try{return n.call(t),!0}catch(t){}return!1};e.exports=function isFunction(t){if(i(t))return!1;if(o)return c(t);var e=r(t);return"[object Function]"===e||"[object GeneratorFunction]"===e||"[object AsyncFunction]"===e}}()},{"has-to-string-tag-x":5,"is-primitive":7,"to-string-tag-x":11}],7:[function(t,e,n){"use strict";e.exports=function isPrimitive(t){return null==t||"function"!=typeof t&&"object"!=typeof t}},{}],8:[function(t,e,n){function isNull(t){return null===t}e.exports=isNull},{}],9:[function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=Array.prototype.slice,c=t("./isArguments"),u=Object.prototype.propertyIsEnumerable,s=!u.call({toString:null},"toString"),f=u.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(t){var e=t.constructor;return e&&e.prototype===t},p={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!p["$"+t]&&r.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{a(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),b=function(t){if("undefined"==typeof window||!y)return a(t);try{return a(t)}catch(t){return!1}},d=function keys(t){var e=null!==t&&"object"==typeof t,n="[object Function]"===o.call(t),i=c(t),u=e&&"[object String]"===o.call(t),a=[];if(!e&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var p=f&&n;if(u&&t.length>0&&!r.call(t,0))for(var y=0;y<t.length;++y)a.push(String(y));if(i&&t.length>0)for(var d=0;d<t.length;++d)a.push(String(d));else for(var g in t)p&&"prototype"===g||!r.call(t,g)||a.push(String(g));if(s)for(var h=b(t),v=0;v<l.length;++v)h&&"constructor"===l[v]||!r.call(t,l[v])||a.push(l[v]);return a};d.shim=function shimObjectKeys(){if(Object.keys){if(!function(){return 2===(Object.keys(arguments)||"").length}(1,2)){var t=Object.keys;Object.keys=function keys(e){return t(c(e)?i.call(e):e)}}}else Object.keys=d;return Object.keys||d},e.exports=d},{"./isArguments":10}],10:[function(t,e,n){"use strict";var r=Object.prototype.toString;e.exports=function isArguments(t){var e=r.call(t),n="[object Arguments]"===e;return n||(n="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===r.call(t.callee)),n}},{}],11:[function(t,e,n){!function(){"use strict";var n=t("lodash.isnull"),r=t("validate.io-undefined");e.exports=function toStringTag(t){return n(t)?"[object Null]":r(t)?"[object Undefined]":Object.prototype.toString.call(t)}}()},{"lodash.isnull":8,"validate.io-undefined":12}],12:[function(t,e,n){"use strict";function isUndefined(t){return void 0===t}e.exports=isUndefined},{}]},{},[1])(1)});
//# sourceMappingURL=lib/white-space-x.map
{
"name": "white-space-x",
"version": "1.1.1",
"version": "1.2.0",
"description": "List of ECMAScript5 white space characters.",

@@ -33,3 +33,3 @@ "homepage": "https://github.com/Xotic750/white-space-x",

"dependencies": {
"define-properties-x": "^1.2.1",
"define-properties-x": "^1.3.0",
"foreach": "^2.0.5"

@@ -49,7 +49,7 @@ },

"json3": "^3.3.2",
"make-jasmine-spec-runner-html": "^1.0.4",
"make-jasmine-spec-runner-html": "^1.1.0",
"nodemon": "^1.11.0",
"nsp": "^2.6.3",
"replace-x": "^1.0.0",
"uglify-js": "^2.8.16"
"replace-x": "^1.1.1",
"uglify-js": "^2.8.18"
},

@@ -56,0 +56,0 @@ "scripts": {

@@ -26,3 +26,3 @@ <a name="module_white-space-x"></a>

**Version**: 1.1.1
**Version**: 1.2.0
**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

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