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

define-properties-x

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

define-properties-x - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.js

@@ -45,3 +45,3 @@ /**

*
* @version 1.0.0
* @version 1.0.1
* @author Xotic750 <Xotic750@gmail.com>

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

@@ -46,3 +46,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.0.0
* @version 1.0.1
* @author Xotic750 <Xotic750@gmail.com>

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

},{"has-symbol-support-x":2,"is-function-x":4,"validate.io-undefined":7}],2:[function(_dereq_,module,exports){
},{"has-symbol-support-x":2,"is-function-x":4,"validate.io-undefined":8}],2:[function(_dereq_,module,exports){
/**

@@ -467,3 +467,3 @@ * @file

},{"has-to-string-tag-x":3,"is-primitive":5,"to-string-tag-x":6}],5:[function(_dereq_,module,exports){
},{"has-to-string-tag-x":3,"is-primitive":5,"to-string-tag-x":7}],5:[function(_dereq_,module,exports){
/*!

@@ -485,2 +485,34 @@ * is-primitive <https://github.com/jonschlinkert/is-primitive>

/**
* lodash 3.0.0 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.7.0 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
/**
* Checks if `value` is `null`.
*
* @static
* @memberOf _
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is `null`, else `false`.
* @example
*
* _.isNull(null);
* // => true
*
* _.isNull(void 0);
* // => false
*/
function isNull(value) {
return value === null;
}
module.exports = isNull;
},{}],7:[function(_dereq_,module,exports){
/**
* @file

@@ -539,3 +571,3 @@ * <a href="https://travis-ci.org/Xotic750/to-string-tag-x"

*
* @version 1.0.5
* @version 1.0.6
* @author Xotic750 <Xotic750@gmail.com>

@@ -553,3 +585,3 @@ * @copyright Xotic750

es3:true, esnext:false, plusplus:true, maxparams:1, maxdepth:1,
maxstatements:5, maxcomplexity:3 */
maxstatements:6, maxcomplexity:3 */

@@ -562,2 +594,4 @@ /*global module */

var pToString = Object.prototype.toString;
var isNull = _dereq_('lodash.isnull');
var isUndefined = _dereq_('validate.io-undefined');
var nullTag = '[object Null]';

@@ -578,6 +612,6 @@ var undefTag = '[object Undefined]';

module.exports = function toStringTag(value) {
if (value === null) {
if (isNull(value)) {
return nullTag;
}
if (typeof value === 'undefined') {
if (isUndefined(value)) {
return undefTag;

@@ -589,3 +623,3 @@ }

},{}],7:[function(_dereq_,module,exports){
},{"lodash.isnull":6,"validate.io-undefined":8}],8:[function(_dereq_,module,exports){
/**

@@ -592,0 +626,0 @@ *

@@ -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,u){if(!n[i]){if(!t[i]){var f="function"==typeof require&&require;if(!u&&f)return f(i,!0);if(o)return o(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var p=n[i]={exports:{}};t[i][0].call(p.exports,function(e){var n=t[i][1][e];return s(n?n:e)},p,p.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";function defineProperty(t,e,n,r){e in t&&!r||(p?c(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)}function defineProperties(t,e,c){var p=o(c)?{}:c,a=f(e);n&&s&&(a=i.call(a,s(e))),u.call(a,function(n){var o=p[n];defineProperty(t,n,e[n],r(o)&&o())})}var n=t("has-symbol-support-x"),r=t("is-function-x"),o=t("validate.io-undefined"),i=Array.prototype.concat,u=Array.prototype.forEach,f=Object.keys,s=r(Object.getOwnPropertySymbols)&&Object.getOwnPropertySymbols,c=r(Object.defineProperty)&&Object.defineProperty,p=Boolean(c)&&function(t){var e={};try{c(e,"x",{enumerable:!1,value:e});for(t in e)return!1;return e.x===e}catch(n){return!1}}();defineProperties(e.exports,{defineProperty:defineProperty,defineProperties:defineProperties,supportsDescriptors:p})}()},{"has-symbol-support-x":2,"is-function-x":4,"validate.io-undefined":7}],2:[function(t,e,n){!function(){"use strict";e.exports="function"==typeof Symbol&&"symbol"==typeof Symbol()}()},{}],3:[function(t,e,n){!function(){"use strict";e.exports=t("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag}()},{"has-symbol-support-x":2}],4:[function(t,e,n){!function(){"use strict";function tryFunctionObject(t){try{return n.call(t),!0}catch(e){}return!1}var n=Function.prototype.toString,r=t("to-string-tag-x"),o=t("has-to-string-tag-x"),i=t("is-primitive"),u="[object Function]",f="[object GeneratorFunction]";e.exports=function isFunction(t){if(i(t))return!1;if(o)return tryFunctionObject(t);var e=r(t);return e===u||e===f}}()},{"has-to-string-tag-x":3,"is-primitive":5,"to-string-tag-x":6}],5:[function(t,e,n){"use strict";e.exports=function isPrimitive(t){return null==t||"function"!=typeof t&&"object"!=typeof t}},{}],6:[function(t,e,n){!function(){"use strict";var t=Object.prototype.toString,n="[object Null]",r="[object Undefined]";e.exports=function toStringTag(e){return null===e?n:"undefined"==typeof e?r:t.call(e)}}()},{}],7:[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,u){if(!n[i]){if(!t[i]){var f="function"==typeof require&&require;if(!u&&f)return f(i,!0);if(o)return o(i,!0);var c=new Error("Cannot find module '"+i+"'");throw c.code="MODULE_NOT_FOUND",c}var p=n[i]={exports:{}};t[i][0].call(p.exports,function(e){var n=t[i][1][e];return s(n?n:e)},p,p.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";function defineProperty(t,e,n,r){e in t&&!r||(p?c(t,e,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[e]=n)}function defineProperties(t,e,c){var p=o(c)?{}:c,l=f(e);n&&s&&(l=i.call(l,s(e))),u.call(l,function(n){var o=p[n];defineProperty(t,n,e[n],r(o)&&o())})}var n=t("has-symbol-support-x"),r=t("is-function-x"),o=t("validate.io-undefined"),i=Array.prototype.concat,u=Array.prototype.forEach,f=Object.keys,s=r(Object.getOwnPropertySymbols)&&Object.getOwnPropertySymbols,c=r(Object.defineProperty)&&Object.defineProperty,p=Boolean(c)&&function(t){var e={};try{c(e,"x",{enumerable:!1,value:e});for(t in e)return!1;return e.x===e}catch(n){return!1}}();defineProperties(e.exports,{defineProperty:defineProperty,defineProperties:defineProperties,supportsDescriptors:p})}()},{"has-symbol-support-x":2,"is-function-x":4,"validate.io-undefined":8}],2:[function(t,e,n){!function(){"use strict";e.exports="function"==typeof Symbol&&"symbol"==typeof Symbol()}()},{}],3:[function(t,e,n){!function(){"use strict";e.exports=t("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag}()},{"has-symbol-support-x":2}],4:[function(t,e,n){!function(){"use strict";function tryFunctionObject(t){try{return n.call(t),!0}catch(e){}return!1}var n=Function.prototype.toString,r=t("to-string-tag-x"),o=t("has-to-string-tag-x"),i=t("is-primitive"),u="[object Function]",f="[object GeneratorFunction]";e.exports=function isFunction(t){if(i(t))return!1;if(o)return tryFunctionObject(t);var e=r(t);return e===u||e===f}}()},{"has-to-string-tag-x":3,"is-primitive":5,"to-string-tag-x":7}],5:[function(t,e,n){"use strict";e.exports=function isPrimitive(t){return null==t||"function"!=typeof t&&"object"!=typeof t}},{}],6:[function(t,e,n){function isNull(t){return null===t}e.exports=isNull},{}],7:[function(t,e,n){!function(){"use strict";var n=Object.prototype.toString,r=t("lodash.isnull"),o=t("validate.io-undefined"),i="[object Null]",u="[object Undefined]";e.exports=function toStringTag(t){return r(t)?i:o(t)?u:n.call(t)}}()},{"lodash.isnull":6,"validate.io-undefined":8}],8:[function(t,e,n){"use strict";function isUndefined(t){return void 0===t}e.exports=isUndefined},{}]},{},[1])(1)});
//# sourceMappingURL=lib/define-properties-x.map
{
"name": "define-properties-x",
"version": "1.0.0",
"version": "1.0.1",
"description": "Based on the original work by Jordan Harband https://www.npmjs.com/package/define-properties",

@@ -41,4 +41,4 @@ "homepage": "https://github.com/Xotic750/define-properties-x",

"devDependencies": {
"es5-shim": "^4.4.1",
"es6-shim": "^0.34.1",
"es5-shim": "^4.5.0",
"es6-shim": "^0.34.2",
"json3": "^3.3.2",

@@ -45,0 +45,0 @@ "jscs": "^2.8.0",

@@ -45,3 +45,3 @@ <a name="module_define-properties-x"></a>

**Version**: 1.0.0
**Version**: 1.0.1
**Author:** Xotic750 <Xotic750@gmail.com>

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