
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
@cfpb/cfpb-atomic-component
Advanced tools
Design System atomic component micro-framework
This component can be used by itself, but it was made for Design System, a front end framework developed at the Consumer Financial Protection Bureau.
Detailed instructions can be found at the Design System documentation site.
Utility used to copy Javascript object properties from one or more source objects to a target object
var assert = require( 'assert' );
import { assign } from '../utilities/object-assign.js';
var testObjectA = {
str: 'test',
func: function() { return 'testStr'; },
num: 1
};
var testObjectB = {
obj: { test: 2 },
arr: [ 3 ],
_null: null
};
assign( testObjectA, testObjectB );
assert( testObjectA.hasOwnProperty( 'obj' ), true ) ;
assert( testObjectA.hasOwnProperty( 'arr' ) );
assert( testObjectA.hasOwnProperty( '_null' ), true );
Utility functions for checking Javascript types and primitives.
var assert = require( 'assert' );
import typeCheckers from '../utilities/type-checkers.js';
var UNDEFINED;
var date = new Date( 2011, 7, 21 );
function func() {
return true;
}
var object = {
a: '1',
b: '2',
c: '3'
};
assert.equal( typeCheckers.isUndefined( UNDEFINED ), true );
assert.equal( typeCheckers.isObject( object ), true );
assert.equal( typeCheckers.isFunction( func ), true );
assert.equal( typeCheckers.isDate( date ), true );
We welcome your feedback and contributions.
FAQs
Design System atomic component utilities
The npm package @cfpb/cfpb-atomic-component receives a total of 2 weekly downloads. As such, @cfpb/cfpb-atomic-component popularity was classified as not popular.
We found that @cfpb/cfpb-atomic-component demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.