Socket
Socket
Sign inDemoInstall

object.getownpropertydescriptors

Package Overview
Dependencies
67
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.5 to 2.1.6

8

CHANGELOG.md

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

## [v2.1.6](https://github.com/ljharb/Object.getOwnPropertyDescriptors/compare/v2.1.5...v2.1.6) - 2023-04-20
### Commits
- [Refactor] use `safe-array-concat` [`a717eb2`](https://github.com/ljharb/Object.getOwnPropertyDescriptors/commit/a717eb21bacdc01eaa17092fe93dd21e0c1ef320)
- [Dev Deps] update `@es-shims/api`, `@ljharb/eslint-config`, `aud`, `tape` [`b08d70f`](https://github.com/ljharb/Object.getOwnPropertyDescriptors/commit/b08d70f9387aad6341d44d9216ffa36023973a66)
- [Deps] update `define-properties`, `es-abstract` [`95c8479`](https://github.com/ljharb/Object.getOwnPropertyDescriptors/commit/95c84794c2a78bc78c8c5f540db150c30fe9aea2)
<!-- auto-changelog-above -->

@@ -10,0 +18,0 @@

6

implementation.js

@@ -7,3 +7,3 @@ 'use strict';

var ToObject = require('es-abstract/2022/ToObject');
var callBound = require('call-bind/callBound');
var safeConcat = require('safe-array-concat');
var reduce = require('array.prototype.reduce');

@@ -14,5 +14,5 @@

var $getSymbols = Object.getOwnPropertySymbols;
var $concat = callBound('Array.prototype.concat');
var getAll = $getSymbols ? function (obj) {
return $concat($getOwnNames(obj), $getSymbols(obj));
return safeConcat($getOwnNames(obj), $getSymbols(obj));
} : $getOwnNames;

@@ -19,0 +19,0 @@

{
"name": "object.getownpropertydescriptors",
"version": "2.1.5",
"version": "2.1.6",
"author": "Jordan Harband <ljharb@gmail.com>",

@@ -42,9 +42,10 @@ "funding": {

"call-bind": "^1.0.2",
"define-properties": "^1.1.4",
"es-abstract": "^1.20.4"
"define-properties": "^1.2.0",
"es-abstract": "^1.21.2",
"safe-array-concat": "^1.0.0"
},
"devDependencies": {
"@es-shims/api": "^2.2.3",
"@ljharb/eslint-config": "^21.0.0",
"aud": "^2.0.1",
"@es-shims/api": "^2.3.1",
"@ljharb/eslint-config": "^21.0.1",
"aud": "^2.0.2",
"auto-changelog": "^2.4.0",

@@ -59,3 +60,3 @@ "eslint": "=8.8.0",

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

@@ -62,0 +63,0 @@ "testling": {

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