canvas-globe 1.4.0 → 1.4.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 CHANGED
@@ -6,6 +6,18 @@ All notable changes to this package are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.4.1] - 2026-09-19
10
+
11
+ ### Added
12
+
13
+ - Added complete analytics-dashboard, logistics-routes, and choropleth-analytics Vite starters with
14
+ responsive interfaces, interactive controls, sample data, production builds, and CLI aliases.
15
+
16
+ ### Fixed
17
+
18
+ - Prevented generated Nuxt `.nuxt` and `.output` directories from entering the
19
+ `create-canvas-globe` package when starter templates are synchronized.
20
+
9
21
  ## [1.4.0] - 2026-09-19
10
22
 
11
23
  ### Added
package/README.md CHANGED
@@ -37,6 +37,8 @@
37
37
 
38
38
  **Start with your stack:** [Vanilla JS](starters/vanilla-vite) | [React + Vite](starters/react-vite) | [Next.js](starters/nextjs-app-router) | [Nuxt](starters/nuxt-ssr) | [Vue](starters/vue-vite) | [SvelteKit](starters/sveltekit) | [Angular SSR](starters/angular-ssr) | [Web Component](starters/web-component-vite)
39
39
 
40
+ **Start with a data job:** [Analytics dashboard](starters/analytics-dashboard) | [Logistics routes](starters/logistics-routes) | [Choropleth analytics](starters/choropleth-analytics)
41
+
40
42
  **Install with shadcn:** `npx shadcn@latest add https://canvasglobe.swiftools.com/r/canvas-globe.json`
41
43
 
42
44
  `canvas-globe` is a zero-dependency JavaScript library for an interactive
@@ -141,19 +143,19 @@ your existing application rather than installing a second React copy.
141
143
  For a plain `<script>` installation, use the versioned UMD build:
142
144
 
143
145
  ```html
144
- <script src="https://cdn.jsdelivr.net/npm/canvas-globe@1.4.0/dist/canvas-globe.umd.js"></script>
146
+ <script src="https://cdn.jsdelivr.net/npm/canvas-globe@1.4.1/dist/canvas-globe.umd.js"></script>
145
147
  ```
146
148
 
147
149
  The same npm release is also available from UNPKG:
148
150
 
149
151
  ```html
150
- <script src="https://unpkg.com/canvas-globe@1.4.0/dist/canvas-globe.umd.js"></script>
152
+ <script src="https://unpkg.com/canvas-globe@1.4.1/dist/canvas-globe.umd.js"></script>
151
153
  ```
152
154
 
153
155
  Modern browsers can import the package through an ESM CDN:
154
156
 
155
157
  ```js
156
- import { createGlobe } from "https://esm.sh/canvas-globe@1.4.0";
158
+ import { createGlobe } from "https://esm.sh/canvas-globe@1.4.1";
157
159
  ```
158
160
 
159
161
  Pin an exact version in production so a future release cannot change a deployed page unexpectedly.
@@ -173,7 +175,7 @@ import { createGlobe } from "canvas-globe";
173
175
  Or drop the UMD build on a page with no build step at all:
174
176
 
175
177
  ```html
176
- <script src="https://cdn.jsdelivr.net/npm/canvas-globe@1.4.0/dist/canvas-globe.umd.js"></script>
178
+ <script src="https://cdn.jsdelivr.net/npm/canvas-globe@1.4.1/dist/canvas-globe.umd.js"></script>
177
179
  <canvas id="globe" style="width:520px;aspect-ratio:1"></canvas>
178
180
  <script>
179
181
  CanvasGlobe.createGlobe(document.getElementById("globe"), {
@@ -273,11 +275,13 @@ license. Framework packages add native lifecycle and event integration, while
273
275
  | [`3d-globe-map`](https://www.npmjs.com/package/3d-globe-map) | Search-friendly alternate package entry |
274
276
  | [`create-canvas-globe`](https://www.npmjs.com/package/create-canvas-globe) | Project scaffolder and starter templates |
275
277
 
276
- To scaffold a complete starter for React, Next.js, Vue, SvelteKit, Vanilla
277
- JavaScript, or Web Components, run:
278
+ To scaffold a complete framework or data-product starter, run:
278
279
 
279
280
  ```bash
280
281
  npm create canvas-globe my-globe
282
+ npm create canvas-globe demand-dashboard -- --template analytics
283
+ npm create canvas-globe freight-network -- --template logistics
284
+ npm create canvas-globe market-map -- --template choropleth
281
285
  ```
282
286
 
283
287
  ### AI-assisted setup
package/codemeta.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "identifier": "canvas-globe",
6
6
  "description": "CanvasGlobe helps developers add interactive 3D globes and flat world maps to JavaScript and React apps with Canvas 2D, without WebGL, required map tiles, API keys, or required runtime network calls.",
7
7
  "url": "https://canvasglobe.swiftools.com/",
8
- "version": "1.4.0",
8
+ "version": "1.4.1",
9
9
  "codeRepository": "https://github.com/Shree-hari/canvas-globe",
10
10
  "issueTracker": "https://github.com/Shree-hari/canvas-globe/issues",
11
11
  "downloadUrl": "https://www.npmjs.com/package/canvas-globe",
@@ -1646,7 +1646,7 @@ function drawFitted(ctx, media, box) {
1646
1646
  }
1647
1647
 
1648
1648
  // Keep in sync with package.json. Release checks enforce this value.
1649
- const CANVAS_GLOBE_VERSION = "1.4.0";
1649
+ const CANVAS_GLOBE_VERSION = "1.4.1";
1650
1650
 
1651
1651
  /** Local license-key checks and production-use presentation helpers. */
1652
1652
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-globe",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Build interactive 3D globes and flat world maps in JavaScript, React, Vue, Angular, or Svelte with Canvas 2D and no WebGL.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": {
package/src/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Keep in sync with package.json. Release checks enforce this value.
2
- export const CANVAS_GLOBE_VERSION = "1.4.0";
2
+ export const CANVAS_GLOBE_VERSION = "1.4.1";