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

@politico/interactive-style

Package Overview
Dependencies
Maintainers
11
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@politico/interactive-style - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

10

dist/components/Head/index.js

@@ -129,9 +129,11 @@ import React, { useEffect } from 'react';

useEffect(function () {
if (window.UTAG_SCRIPTS_LOADED === true) {
if (!props['no-utag'] && window.UTAG_SCRIPTS_LOADED === true) {
trackView(props.utag.pageName);
}
}, [props.utag.pageName, trackView]);
}, [props.utag.pageName, trackView, props['no-utag']]);
useEffect(function () {
initUtag(props.utag);
}, [props.utag]);
if (!props['no-utag']) {
initUtag(props.utag);
}
}, [props.utag, props['no-utag']]);
return React.createElement(Helmet, null, !props['no-html'] && React.createElement("html", {

@@ -138,0 +140,0 @@ lang: "en",

2

package.json
{
"name": "@politico/interactive-style",
"version": "1.6.0",
"version": "1.6.1",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

@@ -10,10 +10,12 @@ import React, { useEffect } from 'react';

useEffect(() => {
if (window.UTAG_SCRIPTS_LOADED === true) {
if (!props['no-utag'] && window.UTAG_SCRIPTS_LOADED === true) {
trackView(props.utag.pageName);
}
}, [props.utag.pageName, trackView]);
}, [props.utag.pageName, trackView, props['no-utag']]);
useEffect(() => {
initUtag(props.utag);
}, [props.utag]);
if (!props['no-utag']) {
initUtag(props.utag);
}
}, [props.utag, props['no-utag']]);

@@ -20,0 +22,0 @@ return (

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