Socket
Socket
Sign inDemoInstall

for-each-property

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"name": "for-each-property",
"version": "0.0.3",
"version": "0.0.4",
"description": "Executes a callback for each property found on a object, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object and Function prototypes by default, and this behaviour can also be configured via options.",

@@ -5,0 +5,0 @@ "main": "lib/for-each-property.js",

@@ -13,2 +13,4 @@ # for-each-property

Check [for-each-property-deep](https://github.com/DiegoZoracKy/for-each-property-deep) for a recursive version, which will traverse object's nested properties.
## Usage

@@ -30,3 +32,3 @@

**callback**:
Function that will receive `(value, key)`
Function that will receive `(value, key, object)` (object is the one forEachProperty() is being applied to)

@@ -33,0 +35,0 @@ **options**:

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc