@johnmorrisdotca/chikyu-earth 0.68.0 → 0.68.1
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/CHANGELOG.md +4 -0
- package/README.md +1 -1
- package/dist/flat/element.js +1 -1
- package/dist/realistic/element-base.js +1 -1
- package/dist/space/element-base.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.68.1 - 2026-11-23
|
|
6
|
+
|
|
7
|
+
- **The package builds in Next.js again** (with Turbopack). `<chikyu-flat>`, the globe and the space view found their own pictures with `new URL("../textures/", import.meta.url)`; Turbopack reads that pattern as a file to bundle, cannot bundle a folder, and stopped the build (spaceprogramx.com's deploy failed on it). The address is now made from `String(import.meta.url)`, which bundlers leave alone; nothing changes in a browser.
|
|
8
|
+
|
|
5
9
|
## 0.68.0 - 2026-11-23
|
|
6
10
|
|
|
7
11
|
- **Day and night are plain at a glance on `<chikyu-flat>`** (MODULES-1784). The night shade (a 16 percent navy over a navy map, under thousands of dots) could hardly be seen, and nothing marked where it is day.
|
package/README.md
CHANGED
|
@@ -615,7 +615,7 @@ console.log(countryList().filter((country) => country.alpha2 === null).map((coun
|
|
|
615
615
|
|
|
616
616
|
## How to cite
|
|
617
617
|
|
|
618
|
-
> Morris, J. (2026). *Chikyu Earth* (version 0.68.
|
|
618
|
+
> Morris, J. (2026). *Chikyu Earth* (version 0.68.1) [Computer software]. https://github.com/johnmorrisdotca/chikyu-earth
|
|
619
619
|
|
|
620
620
|
GitHub's "Cite this repository" button reads [CITATION.cff](CITATION.cff) and gives BibTeX and APA. Cite the version you used (`npm ls @johnmorrisdotca/chikyu-earth`), and credit the sources behind the numbers and pictures: [NOTICE.md](NOTICE.md) says who made each one and under what terms.
|
|
621
621
|
|
package/dist/flat/element.js
CHANGED
|
@@ -569,7 +569,7 @@ export class ChikyuFlat extends HTMLElement {
|
|
|
569
569
|
}
|
|
570
570
|
/** Where the pictures are served from: the `texture-base` attribute, else the package's own `textures/` folder beside this file, as for the realistic Earth. */
|
|
571
571
|
#textureBase() {
|
|
572
|
-
const base = this.getAttribute("texture-base") ?? new URL("../textures/", import.meta.url).href;
|
|
572
|
+
const base = this.getAttribute("texture-base") ?? new URL("../textures/", String(import.meta.url)).href;
|
|
573
573
|
return base.endsWith("/") ? base : `${base}/`;
|
|
574
574
|
}
|
|
575
575
|
/** The widest picture to hold: the `max-texture` attribute, 4096 at most, and 2048 on a device that reports 2 GB of memory or less. */
|
|
@@ -1867,7 +1867,7 @@ export class ChikyuEarthRealistic extends HTMLElement {
|
|
|
1867
1867
|
};
|
|
1868
1868
|
#textureBase() {
|
|
1869
1869
|
const given = this.getAttribute("texture-base");
|
|
1870
|
-
const base = given ?? new URL("../textures/", import.meta.url).href;
|
|
1870
|
+
const base = given ?? new URL("../textures/", String(import.meta.url)).href;
|
|
1871
1871
|
return base.endsWith("/") ? base : `${base}/`;
|
|
1872
1872
|
}
|
|
1873
1873
|
#textureCap() {
|
|
@@ -3154,7 +3154,7 @@ export class ChikyuSpace extends HTMLElement {
|
|
|
3154
3154
|
// --- the rest --------------------------------------------------------------------------------------------------------------------------------------
|
|
3155
3155
|
#textureBase() {
|
|
3156
3156
|
const given = this.getAttribute("texture-base");
|
|
3157
|
-
const base = given ?? new URL("../textures/", import.meta.url).href;
|
|
3157
|
+
const base = given ?? new URL("../textures/", String(import.meta.url)).href;
|
|
3158
3158
|
return base.endsWith("/") ? base : `${base}/`;
|
|
3159
3159
|
}
|
|
3160
3160
|
#textureCap() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johnmorrisdotca/chikyu-earth",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.1",
|
|
4
4
|
"description": "Chikyu Earth 地球 — A line-drawn globe for the web: country outlines that turn at the Earth's own rate, centred on the place you give it, with an optional realistic Earth from space (three.js), the Sun, Moon and planets, satellites on their orbits, and markers for any place. A web component and an SVG string.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"earth",
|