Socket
Socket
Sign inDemoInstall

is-data-descriptor

Package Overview
Dependencies
2
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.1 to 2.1.2

7

CHANGELOG.md

@@ -8,2 +8,9 @@ # Changelog

## [v2.1.2](https://github.com/inspect-js/is-data-descriptor/compare/v2.1.1...v2.1.2) - 2023-10-25
### Commits
- [Refactor] use `hasown` [`77ad812`](https://github.com/inspect-js/is-data-descriptor/commit/77ad8129c7543f6826e2cbcadc015cc815ef94b7)
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape` [`88f2cb7`](https://github.com/inspect-js/is-data-descriptor/commit/88f2cb744242131a98086967ea4a3c5d42c6fa77)
## [v2.1.1](https://github.com/inspect-js/is-data-descriptor/compare/v2.1.0...v2.1.1) - 2023-04-27

@@ -10,0 +17,0 @@

4

index.js
'use strict';
var hasOwn = function (obj, key) {
return Object.prototype.hasOwnProperty.call(obj, key);
};
var hasOwn = require('hasown');
var isObject = function (val) {

@@ -7,0 +5,0 @@ return val !== null && typeof val === 'object' && !Array.isArray(val);

{
"name": "is-data-descriptor",
"version": "2.1.1",
"version": "2.1.2",
"description": "Returns true if a value has the characteristics of a valid JavaScript data descriptor.",

@@ -57,4 +57,4 @@ "main": "index.js",

"devDependencies": {
"@ljharb/eslint-config": "^21.0.1",
"aud": "^2.0.2",
"@ljharb/eslint-config": "^21.1.0",
"aud": "^2.0.3",
"auto-changelog": "^2.4.0",

@@ -67,3 +67,3 @@ "eslint": "=8.8.0",

"safe-publish-latest": "^2.0.0",
"tape": "^5.6.3"
"tape": "^5.7.2"
},

@@ -85,3 +85,6 @@ "engines": {

]
},
"dependencies": {
"hasown": "^2.0.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc