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

ah-deep-clone

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ah-deep-clone

Creates a deep clone of a map of collected async hooks activities.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ah-deep-clone build status

Creates a deep clone of a Map of collected async hooks activities.

const deepClone = require('ah-deep-clone')
const copy = deepClone(activities)

Installation

npm install ah-deep-clone

API

deepClone

Clones the activities passed to it.

Any modifications applied to the original won't be visible in the copy. This includes additions/removals to the original Map

arguments
  • @param {Map.<Number, Object>} activities to be cloned
  • @return {Map.<Number, Object>} cloned activities

License

MIT

FAQs

Package last updated on 20 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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