You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

es5-ext

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.10.14 to 0.10.15

2

object/is-value.js

@@ -5,2 +5,2 @@ 'use strict';

module.exports = function (val) { return ((val === _undefined) || (val === null)); };
module.exports = function (val) { return ((val !== _undefined) && (val !== null)); };
{
"name": "es5-ext",
"version": "0.10.14",
"version": "0.10.15",
"description": "ECMAScript extensions and shims",

@@ -5,0 +5,0 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",

'use strict';
module.exports = function (t, a) {
a(t(), true);
a(t(undefined), true);
a(t(null), true);
a(t(NaN), false);
a(t(0), false);
a(t(false), false);
a(t('null'), false);
a(t(''), false);
a(t({}), false);
a(t(Object.prototype), false);
a(t(), false);
a(t(undefined), false);
a(t(null), false);
a(t(NaN), true);
a(t(0), true);
a(t(false), true);
a(t('null'), true);
a(t(''), true);
a(t({}), true);
a(t(Object.prototype), true);
};

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc