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

@cfpb/cfpb-atomic-component

Package Overview
Dependencies
Maintainers
12
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfpb/cfpb-atomic-component - npm Package Compare versions

Comparing version 0.33.0 to 0.34.0

4

package.json
{
"name": "@cfpb/cfpb-atomic-component",
"version": "0.33.0",
"version": "0.34.0",
"description": "Design System atomic component utilities",

@@ -14,4 +14,4 @@ "less": "src/cfpb-atomic-component.less",

],
"gitHead": "efbec4df653635d61b08e9114c70ab17f20f08ac",
"gitHead": "7ae82ebf5fe6c0416e41119591391232b7c2cf31",
"type": "module"
}

@@ -106,5 +106,6 @@ /* ==========================================================================

* If not supplied, it defaults to the `document`.
* @param {object} config - Configuration will be provided to the Constructor's init()
* @returns {Array} List of instances that were instantiated.
*/
function instantiateAll(selector, Constructor, scope) {
function instantiateAll(selector, Constructor, scope, config = {}) {
const base = scope || document;

@@ -119,3 +120,3 @@ const elements = base.querySelectorAll(selector);

inst = new Constructor(element);
inst.init();
inst.init(config);
insts.push(inst);

@@ -122,0 +123,0 @@ }

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