Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 1.0.17 to 1.0.18

8

CHANGELOG.md

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

## [1.0.18](https://github.com/titel-media/bricks-lerna/compare/v1.0.17...v1.0.18) (2022-04-20)
**Note:** Version bump only for package @titelmedia/bricks-age-gate
## [1.0.17](https://github.com/titel-media/bricks-lerna/compare/v1.0.16...v1.0.17) (2022-04-14)

@@ -8,0 +16,0 @@

2

dist/index.js

@@ -81,3 +81,3 @@ "use strict";

const selector = document.querySelector('#bricks-story') || document.querySelector('body');
const selector = typeof document !== 'undefined' ? document.querySelector('#bricks-story') || document.querySelector('body') : null;
return typeof document !== 'undefined' && selector ? _reactDom.default.createPortal(_react.default.createElement(_styles.Container, {

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

@@ -78,6 +78,9 @@ import React, { useEffect, useRef, useState } from 'react';

// document.querySelector('body') is used on storybook
const selector = document.querySelector('#bricks-story') || document.querySelector('body');
const selector =
typeof document !== 'undefined'
? document.querySelector('#bricks-story') ||
document.querySelector('body')
: null;
return typeof document !== 'undefined' &&
selector
return typeof document !== 'undefined' && selector
? ReactDOM.createPortal(

@@ -100,2 +103,2 @@ <Container ref={containerRef} background={backgroundColor?.hex}>

: null;
};
};
{
"name": "@titelmedia/bricks-age-gate",
"version": "1.0.17",
"version": "1.0.18",
"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",

@@ -28,3 +28,3 @@ "keywords": [],

"dependencies": {
"@titelmedia/bricks-theme": "^1.0.16",
"@titelmedia/bricks-theme": "^1.0.18",
"body-scroll-lock": "^4.0.0-beta.0",

@@ -34,3 +34,3 @@ "gsap": "^3.8.0"

"homepage": "https://github.com/titel-media/bricks-lerna#readme",
"gitHead": "8ac303e6c7364cd175033e6b090d8548990f16b7"
"gitHead": "7551f918bddfab7ace8f89d23739e6715ac3693c"
}

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