Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
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 7,077 weekly downloads. As such, rfc6902-ordered popularity was classified as popular.
We found that rfc6902-ordered demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.