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

@vtex/pickup-points-modal

Package Overview
Dependencies
Maintainers
22
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtex/pickup-points-modal - npm Package Compare versions

Comparing version 0.1.25 to 0.1.27

2

lib/components/AskForGeolocation.js

@@ -136,3 +136,3 @@ 'use strict';

// Hard coded coords for development
if (process.env.NODE !== 'production') {
if (window.location.host.includes(_constants.VTEXLOCAL)) {
this.getCurrentPositionSuccess({

@@ -139,0 +139,0 @@ coords: {

@@ -51,3 +51,3 @@ 'use strict';

_this.props.handleGeolocationStatus(_constants.WAITING);
if (window.location.protocol !== _constants.HTTPS) {
if (window.location.host.includes(VTEXLOCAL)) {
_this.props.handleAskForGeolocation(false);

@@ -54,0 +54,0 @@ return;

@@ -20,3 +20,3 @@ 'use strict';

var SEARCHING = exports.SEARCHING = 'searching';
var HTTPS = exports.HTTPS = 'https:';
var VTEXLOCAL = exports.VTEXLOCAL = 'vtexlocal';

@@ -23,0 +23,0 @@ var EEMPTY = exports.EEMPTY = 'ERROR_EMPTY_FIELD';

{
"name": "@vtex/pickup-points-modal",
"version": "0.1.25",
"version": "0.1.27",
"description": "Pickup Points Modal React component",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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