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
8
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.7.5 to 0.7.6

src/utilities/transition/MaxHeightTransition.js

4

package.json
{
"name": "@cfpb/cfpb-atomic-component",
"version": "0.7.5",
"version": "0.7.6",
"description": "Design System atomic component micro-framework",

@@ -16,3 +16,3 @@ "less": "src/cfpb-atomic-component.less",

],
"gitHead": "623ae81b2e166f0ad9cb5684a41a88c893017ba5"
"gitHead": "adeb995978f6fa215ab1617168648b53f6459401"
}

@@ -12,3 +12,3 @@ /* ==========================================================================

import * as dataHook from './data-hook';
import { add, contains, remove } from './data-hook';
import { STATE_PREFIX } from './standard-type';

@@ -90,7 +90,7 @@

function setInitFlag( element ) {
if ( dataHook.contains( element, INIT_FLAG ) ) {
if ( contains( element, INIT_FLAG ) ) {
return false;
}
dataHook.add( element, INIT_FLAG );
add( element, INIT_FLAG );

@@ -108,7 +108,7 @@ return true;

function destroyInitFlag( element ) {
if ( !dataHook.contains( element, INIT_FLAG ) ) {
if ( !contains( element, INIT_FLAG ) ) {
return false;
}
dataHook.remove( element, INIT_FLAG );
remove( element, INIT_FLAG );

@@ -133,3 +133,3 @@ return true;

element = elements[i];
if ( element.hasAttribute( 'data-js-hook' ) === false ) {
if ( contains( element, INIT_FLAG ) === false ) {
inst = new Constructor( element );

@@ -136,0 +136,0 @@ inst.init();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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