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

react-map-gl-geocoder

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-map-gl-geocoder - npm Package Compare versions

Comparing version 1.5.6 to 1.5.7

.eslintrc

4

dist/index.js

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

if (typeof window !== 'undefined' && window.location) {
var match = window.location.search.match(/access_token=([^&\/]*)/);
var match = window.location.search.match(/access_token=([^&/]*)/);
accessToken = match && match[1];

@@ -278,2 +278,2 @@ }

exports.default = Geocoder;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJWQUxJRF9QT1NJVElPTlMiLCJmaXRCb3VuZHMiLCJib3VuZHMiLCJ2aWV3cG9ydCIsIldlYk1lcmNhdG9yVmlld3BvcnQiLCJnZXRBY2Nlc3NUb2tlbiIsImFjY2Vzc1Rva2VuIiwid2luZG93IiwibG9jYXRpb24iLCJtYXRjaCIsInNlYXJjaCIsInByb2Nlc3MiLCJlbnYiLCJNYXBib3hBY2Nlc3NUb2tlbiIsIkdlb2NvZGVyIiwiaGFuZGxlQ2xlYXIiLCJwcm9wcyIsIm9uQ2xlYXIiLCJoYW5kbGVMb2FkaW5nIiwiZXZlbnQiLCJvbkxvYWRpbmciLCJoYW5kbGVSZXN1bHRzIiwib25SZXN1bHRzIiwiaGFuZGxlUmVzdWx0IiwicmVzdWx0IiwibWFwUmVmIiwib25WaWV3cG9ydENoYW5nZSIsIm9uUmVzdWx0IiwiaWQiLCJiYm94IiwiY2VudGVyIiwibG9uZ2l0dWRlIiwibGF0aXR1ZGUiLCJiYm94RXhjZXB0aW9ucyIsIm5hbWUiLCJ3aWR0aCIsImN1cnJlbnQiLCJoZWlnaHQiLCJ6b29tIiwiZ2VvY29kZ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XG4gICAgbGltaXQ6IDUsXG4gICAgcG9zaXRpb246ICd0b3AtcmlnaHQnLFxuICAgIG9uSW5pdDogKCkgPT4ge30sXG4gICAgb25DbGVhcjogKCkgPT4ge30sXG4gICAgb25Mb2FkaW5nOiAoKSA9PiB7fSxcbiAgICBvblJlc3VsdHM6ICgpID0+IHt9LFxuICAgIG9uUmVzdWx0OiAoKSA9PiB7fSxcbiAgICBvbkVycm9yOiAoKSA9PiB7fVxuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IEdlb2NvZGVyXG4iXX0=
{
"name": "react-map-gl-geocoder",
"version": "1.5.6",
"version": "1.5.7",
"description": "React wrapper for mapbox-gl-geocoder for use with react-map-gl",

@@ -8,4 +8,17 @@ "main": "dist/index.js",

"build": "babel src --out-dir dist --source-maps inline",
"format": "prettier --write 'src/**/*.js'",
"prepublish": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"npm run format",
"eslint",
"git add"
]
},
"repository": {

@@ -37,6 +50,12 @@ "type": "git",

"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1"
"babel-preset-stage-2": "^6.24.1",
"eslint": "^5.11.0",
"eslint-plugin-react": "^7.11.1",
"husky": "^1.2.1",
"lint-staged": "^8.1.0",
"prettier": "1.15.3"
}
}

@@ -15,6 +15,6 @@ import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css'

function getAccessToken() {
var accessToken = null
let accessToken = null
if (typeof window !== 'undefined' && window.location) {
var match = window.location.search.match(/access_token=([^&\/]*)/)
const match = window.location.search.match(/access_token=([^&/]*)/)
accessToken = match && match[1]

@@ -21,0 +21,0 @@ }

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