tileserver-gl 4.11.1 → 4.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ct.yml +1 -1
- package/.github/workflows/release.yml +2 -2
- package/README.md +1 -1
- package/package.json +12 -12
- package/public/resources/maplibre-gl-inspect.js +3 -2
- package/public/resources/maplibre-gl-inspect.js.map +1 -1
- package/public/resources/maplibre-gl.css +1 -1
- package/public/resources/maplibre-gl.js +4 -4
- package/public/resources/maplibre-gl.js.map +1 -1
- package/src/utils.js +3 -3
package/src/utils.js
CHANGED
|
@@ -4,7 +4,7 @@ import path from 'path';
|
|
|
4
4
|
import fsPromises from 'fs/promises';
|
|
5
5
|
import fs, { existsSync } from 'node:fs';
|
|
6
6
|
import clone from 'clone';
|
|
7
|
-
import
|
|
7
|
+
import { combine } from '@jsse/pbfont';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Restrict user input to an allowed set of options.
|
|
@@ -213,8 +213,8 @@ export const getFontsPbf = async (
|
|
|
213
213
|
);
|
|
214
214
|
}
|
|
215
215
|
|
|
216
|
-
const
|
|
217
|
-
return
|
|
216
|
+
const combined = combine(await Promise.all(queue), names);
|
|
217
|
+
return Buffer.from(combined.buffer, 0, combined.buffer.length);
|
|
218
218
|
};
|
|
219
219
|
|
|
220
220
|
export const listFonts = async (fontPath) => {
|