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

@trimblemaps/webtools-common

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trimblemaps/webtools-common - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

6

javascript/AngularJS/alk-maps/map.utilities.js

@@ -61,2 +61,8 @@ (function () {

dataset: "PCM_AF"
},
"GT": {
index: 8,
name: "GTMap",
region: "GT",
dataset: "PCM_GT"
}

@@ -63,0 +69,0 @@ };

10

javascript/AngularJS/alk-maps/mapStyleMenu.directive.js

@@ -22,5 +22,5 @@ (function () {

mapSylesController.$inject = ["$scope", "$element", "$attrs", "$translate", "mapService"];
mapSylesController.$inject = ["$scope", "$element", "$attrs", "$translate", "mapService", "UserProvider"];
function mapSylesController($scope, $element, $attrs, $translate, mapService) {
function mapSylesController($scope, $element, $attrs, $translate, mapService, UserProvider) {

@@ -66,2 +66,8 @@ var vm = this;

// remove this if PCM_GT gets the other styles
const dataVersion = UserProvider.getUser().dataVersion;
if (dataVersion === "PCM_GT") {
mapStyles = mapStyles.filter(style => ['satellite_only', 'transportation'].includes(style.style));
}
function filterStyles() {

@@ -68,0 +74,0 @@ if ($attrs && $attrs.exclude) {

2

package.json
{
"name": "@trimblemaps/webtools-common",
"version": "0.4.0",
"version": "0.4.1",
"description": "",

@@ -5,0 +5,0 @@ "scripts": {

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