Socket
Socket
Sign inDemoInstall

@titelmedia/bricks-age-gate

Package Overview
Dependencies
Maintainers
11
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@titelmedia/bricks-age-gate - npm Package Compare versions

Comparing version 2.1.31 to 2.3.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [2.3.0](https://github.com/titel-media/bricks-lerna/compare/v2.2.1...v2.3.0) (2024-02-23)
### Bug Fixes
- component minor refactoring ([ae4e767](https://github.com/titel-media/bricks-lerna/commit/ae4e767abb121047d4a1c73b03ef2e5a9fbc23e7))
## [2.1.31](https://github.com/titel-media/bricks-lerna/compare/v2.1.30...v2.1.31) (2024-02-16)

@@ -8,0 +14,0 @@

12

dist/index.js

@@ -40,6 +40,6 @@ "use strict";

}, []);
function redirectToHomepage() {
const redirectToHomepage = () => {
window.location.href = redirectLink || 'https://www.highsnobiety.com';
}
function closeAgeGate() {
};
const closeAgeGate = () => {
tl.reveal(containerRef.current, {

@@ -51,4 +51,4 @@ delay: 0.5,

});
}
function enableScroll() {
};
const enableScroll = () => {
if (_bricksUtils.ScrollSmoother?.get()) {

@@ -58,3 +58,3 @@ _bricksUtils.ScrollSmoother.get().paused(false);

setVisible(false);
}
};
return _react.default.createElement(_react.default.Fragment, null, visible === true && _react.default.createElement(_styles.Container, {

@@ -61,0 +61,0 @@ ref: containerRef,

@@ -42,7 +42,7 @@ import React, { useEffect, useRef, useState } from 'react';

function redirectToHomepage() {
const redirectToHomepage = () => {
window.location.href = redirectLink || 'https://www.highsnobiety.com';
}
};
function closeAgeGate() {
const closeAgeGate = () => {
tl.reveal(containerRef.current, {

@@ -56,5 +56,5 @@ delay: 0.5,

});
}
};
function enableScroll() {
const enableScroll = () => {
if (ScrollSmoother?.get()) {

@@ -64,3 +64,3 @@ ScrollSmoother.get().paused(false);

setVisible(false);
}
};

@@ -67,0 +67,0 @@ return (

{
"name": "@titelmedia/bricks-age-gate",
"version": "2.1.31",
"version": "2.3.0",
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM",

@@ -29,6 +29,6 @@ "keywords": [],

"@titelmedia/bricks-theme": "^2.1.31",
"@titelmedia/bricks-utils": "^2.0.0"
"@titelmedia/bricks-utils": "^2.3.0"
},
"homepage": "https://github.com/titel-media/bricks-lerna#readme",
"gitHead": "ecfa0a44cd25544793f0542e4d546eb0f7e43721"
"gitHead": "531163ae951fd4c3706bc6c3ca18100c959839c0"
}

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