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

has

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

5

package.json
{
"name": "has",
"description": "Object.prototype.hasOwnProperty.call shortcut",
"version": "1.0.0",
"version": "1.0.1",
"homepage": "https://github.com/tarruda/has",

@@ -24,2 +24,5 @@ "author": {

"main": "./src/index",
"dependencies": {
"function-bind": "^1.0.2"
},
"devDependencies": {

@@ -26,0 +29,0 @@ "chai": "~1.7.2",

7

src/index.js

@@ -1,6 +0,3 @@

var hasOwn = Object.prototype.hasOwnProperty;
var bind = require('function-bind');
module.exports = function has(obj, property) {
return hasOwn.call(obj, property);
};
module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
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