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

leaflet.stravasegments

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet.stravasegments - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

22

dist/L.StravaSegments.js

@@ -5,2 +5,8 @@ 'use strict';

options: {
runningIcon: 'fa-trophy',
runningTitle: 'Show Strava running segments',
bikingIcon: 'fa-bicycle',
bikingTitle: 'Show Strava biking segments',
loadingIcon: 'fa-spinner fa-pulse',
loadingTitle: 'Loading…',
stravaToken: null // strava API token, must be SET

@@ -21,11 +27,11 @@ },

stateName: 'default',
icon: 'fa-trophy',
icon: self.options.runningIcon,
onClick: function onClick() {
self.showSegments(map, this, 'running');
},
title: 'Show Strava running segments'
title: self.options.runningTitle
}, {
stateName: 'loading',
icon: 'fa-spinner fa-pulse',
title: 'Loading…'
icon: self.options.loadingIcon,
title: self.options.loadingTitle
}]

@@ -36,11 +42,11 @@ });

stateName: 'default',
icon: 'fa-bicycle',
icon: self.options.bikingIcon,
onClick: function onClick() {
self.showSegments(map, this, 'biking');
},
title: 'Show Strava biking segments'
title: self.options.bikingTitle
}, {
stateName: 'loading',
icon: 'fa-spinner fa-pulse',
title: 'Loading…'
icon: self.options.loadingIcon,
title: self.options.loadingTitle
}]

@@ -47,0 +53,0 @@ });

{
"name": "leaflet.stravasegments",
"version": "1.1.1",
"version": "1.2.0",
"description": "Display Strava segments on a map!",

@@ -11,3 +11,3 @@ "main": "dist/L.StravaSegments.js",

"build": "babel *.js --presets babel-preset-es2015 --out-dir dist/",
"prepublish": "npm run build && git commit dist -m 'Update dist' || true"
"prepublish": "npm run build && git commit dist -m 'release: update dist/' || true"
},

@@ -14,0 +14,0 @@ "dependencies": {

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