@scoova/mgl 1.0.1 → 1.0.2
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/build/banner.ts +11 -2
- package/dist/scoova-mgl.d.ts +1 -1
- package/dist/scoova-mgl.js +6 -4
- package/dist/scoova-mgl.js.map +1 -1
- package/package.json +2 -2
package/build/banner.ts
CHANGED
|
@@ -5,8 +5,17 @@ import {dirname, join} from 'path';
|
|
|
5
5
|
const packageJSONPath = join(dirname(fileURLToPath(import.meta.url)), '../package.json');
|
|
6
6
|
const packageJSON = JSON.parse(readFileSync(packageJSONPath, 'utf8'));
|
|
7
7
|
|
|
8
|
+
// The upstream base this fork tracks — fixed, not our own version number.
|
|
9
|
+
// The previous version of this banner spliced packageJSON.version (our own,
|
|
10
|
+
// e.g. 1.0.2) into a github.com/maplibre/maplibre-gl-js/blob/v{...} URL,
|
|
11
|
+
// which only ever pointed at a real tag by coincidence (when our version
|
|
12
|
+
// happened to match theirs) and was a dead link the rest of the time.
|
|
13
|
+
const UPSTREAM_TAG = 'v4.7.1';
|
|
14
|
+
|
|
8
15
|
export default
|
|
9
16
|
`/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
17
|
+
* ${packageJSON.name} v${packageJSON.version}
|
|
18
|
+
* A Scoova build of MapLibre GL JS ${UPSTREAM_TAG}, BSD-3-Clause.
|
|
19
|
+
* Upstream license: https://github.com/maplibre/maplibre-gl-js/blob/${UPSTREAM_TAG}/LICENSE.txt
|
|
20
|
+
* This package's license: see LICENSE.txt in this package.
|
|
12
21
|
*/`;
|
package/dist/scoova-mgl.d.ts
CHANGED
|
@@ -13299,6 +13299,6 @@ export {
|
|
|
13299
13299
|
VideoSourceSpecification,
|
|
13300
13300
|
};
|
|
13301
13301
|
|
|
13302
|
-
export as namespace
|
|
13302
|
+
export as namespace scoovamgl;
|
|
13303
13303
|
|
|
13304
13304
|
export {};
|