New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

foreach-prop

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

foreach-prop - npm Package Compare versions

Comparing version 0.2.3 to 1.0.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.0.x
* first official release
# 0.2.x

@@ -2,0 +6,0 @@

2

package.json
{
"name": "foreach-prop",
"version": "0.2.3",
"version": "1.0.0",
"description": "Array-like methods for objects",

@@ -5,0 +5,0 @@ "main": "dist/each-prop.cjs.js",

@@ -63,6 +63,6 @@ # foreach-prop

*similar to* `Array.prototype.indexOf`*. It returns the key of the first value that equals the provided one.*
*similar to* `Array.prototype.indexOf`*. It returns the key of the first value that equals the provided one, or* `null` *if not found.*
```typescript
keyOf(object, value): string;
keyOf(object, value): string | null;
```

@@ -72,6 +72,6 @@

*similar to* `Array.prototype.lastIndexOf`*. It returns the key of the last value that equals the provided one.*
*similar to* `Array.prototype.lastIndexOf`*. It returns the key of the last value that equals the provided one, or* `null` *if not found.*
```typescript
lastKeyOf(object, value): string;
lastKeyOf(object, value): string | null;
```

@@ -84,3 +84,3 @@

```typescript
findKey(object, function callback(value, key, ...extra) => any, ...extra): string;
findKey(object, function callback(value, key, ...extra) => any, ...extra): string | null;
```

@@ -87,0 +87,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc