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

@vect/object-mapper

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vect/object-mapper - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

4

package.json
{
"name": "@vect/object-mapper",
"version": "0.0.19",
"version": "0.0.20",
"description": "A debugging tool",

@@ -33,3 +33,3 @@ "main": "dist/index.cjs.js",

"homepage": "https://github.com/hoyeungw/vect#readme",
"gitHead": "bf98c2986bb3a9bf12df2b4f68987756a0a0844a"
"gitHead": "443742948d7426fcc24443dcb19a9403ddeb7b75"
}

@@ -13,3 +13,3 @@ # @vect/object-fn

[//]: <> (Shields)
[badge-npm-version]: https://flat.badgen.net/npm/v/@vect/object-fn
[badge-npm-version]: https://flat.badgen.net/npm/cell/@vect/object-fn
[badge-npm-download-monthly]: https://flat.badgen.net/npm/dm/@vect/object-fn

@@ -38,3 +38,3 @@ [badge-npm-download-total]:https://flat.badgen.net/npm/dt/@vect/object-fn

- **fn** map object values and return a new object
- **mutate** map object values and return the object itself
- **append** map object values and return the object itself
- **mapKeys** map object keys and return a new object

@@ -45,3 +45,3 @@ - **mapEntries** map object entries and return a new object

```js
import { fn, mutate, mapKeys, mapEntries } from '@vect/object-fn'
import { fn, append, mapKeys, mapEntries } from '@vect/object-fn'

@@ -58,3 +58,3 @@ const ob = {

mapEntries(ob, ([key, value], i) => [`${key}_${i}`, value.length])
mutate(ob, value => value.length)
append(ob, value => value.length)
```

@@ -61,0 +61,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