Security News
NVD Backlog Tops 20,000 CVEs Awaiting Analysis as NIST Prepares System Updates
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
rfc6902-ordered
Advanced tools
https://github.com/chbrown/rfc6902 plus object key ordering
Motivated by https://github.com/chbrown/rfc6902/issues/22
The same as https://github.com/chbrown/rfc6902, except applyPatch
can take an optional third parameter. It can use the output
param of createPatch
to preserve object key order on the object you're patching.
const rfc6902 = require('rfc6902-ordered');
let source = {
key1: 1,
key2: 2
};
let theirs = {
key1: 1,
key3: 3,
key2: 2
};
let patch = rfc6902.createPatch(source, theirs);
// patch => [
// { op: 'add', path: '/key3', value: 3 }
// ]
let ours = {
key1: 1,
key2: 2,
key4: 4
};
rfc6902.applyPatch(ours, patch, source, theirs);
// ours => {
// key1: 1,
// key3: 3,
// key2: 2,
// key4: 4
// }
FAQs
https://github.com/chbrown/rfc6902 plus object key ordering
The npm package rfc6902-ordered receives a total of 4,437 weekly downloads. As such, rfc6902-ordered popularity was classified as popular.
We found that rfc6902-ordered 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
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.