From 8f77be30372f607c941d6e3618f7b835686f0409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pave=C5=82=20Ty=C5=9Blacki?= Date: Fri, 14 Feb 2020 18:23:11 +0300 Subject: [PATCH] update glyph-pbf-composite glyph-pbf-composite v0.0.2 were released without license as license were added in v0.0.3 it nice to be updated to licensed software version --- package.json | 2 +- src/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0843589..d40ebd6 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "docker": "docker build -f Dockerfile . && docker run --rm -i -p 8080:80 $(docker build -q .)" }, "dependencies": { + "@mapbox/glyph-pbf-composite": "0.0.3", "@mapbox/mapbox-gl-native": "5.0.2", "@mapbox/mapbox-gl-style-spec": "13.9.1", "@mapbox/mbtiles": "0.11.0", @@ -31,7 +32,6 @@ "cors": "2.8.5", "esm": "3.2.25", "express": "4.17.1", - "glyph-pbf-composite": "0.0.2", "handlebars": "4.5.3", "http-shutdown": "1.2.1", "morgan": "1.9.1", diff --git a/src/utils.js b/src/utils.js index e9ffd6b..41cfeac 100644 --- a/src/utils.js +++ b/src/utils.js @@ -4,7 +4,7 @@ const path = require('path'); const fs = require('fs'); const clone = require('clone'); -const glyphCompose = require('glyph-pbf-composite'); +const glyphCompose = require('@mapbox/glyph-pbf-composite'); module.exports.getPublicUrl = (publicUrl, req) => publicUrl || `${req.protocol}://${req.headers.host}/`;