New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mapbox/mapbox-gl-sync-move

Package Overview
Dependencies
Maintainers
14
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/mapbox-gl-sync-move - npm Package Compare versions

Comparing version

to
0.3.0

5

CHANGELOG.md
# Changelog
## 0.3.0
- Add `off` method for cancelling synchronization
- Add `mapbox-gl` as peer dependency
## 0.2.0

@@ -4,0 +9,0 @@

1

index.js

@@ -66,4 +66,5 @@ function moveToMapPosition (master, clones) {

on();
return function(){ off(); fns = []; };
}
module.exports = syncMaps;

5

package.json
{
"name": "@mapbox/mapbox-gl-sync-move",
"version": "0.2.0",
"version": "0.3.0",
"description": "Sync movement around two Mapbox GL JS maps",

@@ -31,3 +31,6 @@ "main": "index.js",

"tape": "^4.5.1"
},
"peerDependencies": {
"mapbox-gl": ">=0.32.1 <2.0.0"
}
}

@@ -1,5 +0,11 @@

# mapbox-gl-sync-move [![CircleCI](https://circleci.com/gh/mapbox/mapbox-gl-sync-move.svg?style=svg)](https://circleci.com/gh/mapbox/mapbox-gl-sync-move)
# @mapbox/mapbox-gl-sync-move [![CircleCI](https://circleci.com/gh/mapbox/mapbox-gl-sync-move.svg?style=svg)](https://circleci.com/gh/mapbox/mapbox-gl-sync-move)
Sync movement between two or more [Mapbox GL JS](https://www.mapbox.com/mapbox-gl-js) maps.
## Install
```
npm install @mapbox/mapbox-gl-sync-move
```
## Usage

@@ -6,0 +12,0 @@