@alduncanson/react-address-autocomplete
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -252,3 +252,3 @@ 'use strict'; | ||
), | ||
_react2.default.createElement('img', { className: 'powered-by-google', src: _powered_by_google2.default }) | ||
_react2.default.createElement('img', { className: 'powered-by-google', src: require('' + _powered_by_google2.default), alt: 'Powered by Google logo' }) | ||
) | ||
@@ -255,0 +255,0 @@ ); |
{ | ||
"name": "@alduncanson/react-address-autocomplete", | ||
"version": "0.1.21", | ||
"version": "0.1.22", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "A simple text input for entering addresses using Google's Places API", |
@@ -201,3 +201,3 @@ import React, { useState, useEffect, useRef } from 'react' | ||
{/* Required per Google's Places API Policies (https://developers.google.com/places/web-service/policies) */} | ||
<img className='powered-by-google' src={poweredByGoole} /> | ||
<img className='powered-by-google' src={require(`${poweredByGoole}`)} alt='Powered by Google logo' /> | ||
</div> | ||
@@ -204,0 +204,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25416
1