@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 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
- * MapLibre GL JS
11
- * @license 3-Clause BSD. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v${packageJSON.version}/LICENSE.txt
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
  */`;
@@ -13299,6 +13299,6 @@ export {
13299
13299
  VideoSourceSpecification,
13300
13300
  };
13301
13301
 
13302
- export as namespace maplibregl;
13302
+ export as namespace scoovamgl;
13303
13303
 
13304
13304
  export {};