
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
dot-prop-immutable-chain
Advanced tools
This module allows you to chain methods of the dot-prop-immutable library.
npm install dot-prop-immutable-chain
The module exports a single function that creates a wrapper object around given object. The wrapper will contain all methods of the dot-prop-immutable library.
You must explicitly unwrap your object with value()
method.
// import the library first
var dotProp = require('dot-prop-immutable-chain')
// invoke dotProp passing object to wrap it
var next = dotProp(previous)
.set('foo', 'bar')
.toggle('baz')
.value() // don't forget unwrap your object
You may still use all methods of the original dot-prop-immutable
library if you want.
var next = dotProp.set(previous, 'foo', 'bar')
next = dotProp.toggle(next, 'baz')
FAQs
Allows chaining methods of dot-prop-immutable library
The npm package dot-prop-immutable-chain receives a total of 0 weekly downloads. As such, dot-prop-immutable-chain popularity was classified as not popular.
We found that dot-prop-immutable-chain demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.