geojs 1.15.4 → 1.15.6

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.
Files changed (57) hide show
  1. package/.git-blame-ignore-revs +9 -0
  2. package/.github/workflows/main.yml +21 -10
  3. package/eslint.config.js +6 -1
  4. package/geo.js +286 -282
  5. package/geo.js.map +1 -0
  6. package/geo.lean.js +286 -282
  7. package/geo.lean.js.map +1 -0
  8. package/geo.lean.min.js +3 -3
  9. package/geo.lean.min.js.map +1 -0
  10. package/geo.min.js +3 -3
  11. package/geo.min.js.map +1 -0
  12. package/package.json +2 -2
  13. package/src/annotation/annotation.js +3 -3
  14. package/src/annotation/rectangleAnnotation.js +1 -1
  15. package/src/choroplethFeature.js +7 -7
  16. package/src/contourFeature.js +4 -4
  17. package/src/event.js +3 -3
  18. package/src/feature.js +2 -2
  19. package/src/fetchQueue.js +2 -2
  20. package/src/fileReader.js +6 -6
  21. package/src/geojsonReader.js +5 -5
  22. package/src/graphFeature.js +2 -2
  23. package/src/gridFeature.js +4 -4
  24. package/src/heatmapFeature.js +6 -6
  25. package/src/isolineFeature.js +16 -16
  26. package/src/lineFeature.js +20 -20
  27. package/src/map.js +9 -9
  28. package/src/mapInteractor.js +3 -3
  29. package/src/markerFeature.js +15 -15
  30. package/src/meshFeature.js +3 -3
  31. package/src/object.js +5 -5
  32. package/src/pathFeature.js +7 -7
  33. package/src/pixelmapFeature.js +11 -10
  34. package/src/pixelmapLayer.js +1 -1
  35. package/src/pointFeature.js +12 -12
  36. package/src/polygonFeature.js +17 -17
  37. package/src/quadFeature.js +13 -13
  38. package/src/registry.js +7 -7
  39. package/src/svg/svgRenderer.js +6 -6
  40. package/src/svg/vectorFeature.js +4 -4
  41. package/src/textFeature.js +30 -30
  42. package/src/tile.js +1 -1
  43. package/src/tileCache.js +2 -2
  44. package/src/tileLayer.js +9 -9
  45. package/src/trackFeature.js +10 -10
  46. package/src/typedef.js +1 -1
  47. package/src/ui/colorLegendWidget.js +1 -1
  48. package/src/ui/legendWidget.js +7 -7
  49. package/src/ui/scaleWidget.js +1 -1
  50. package/src/util/clustering.js +1 -1
  51. package/src/util/color.js +1 -1
  52. package/src/util/common.js +1 -1
  53. package/src/util/polyops.js +1 -1
  54. package/src/util/throttle.js +6 -6
  55. package/src/vectorFeature.js +13 -13
  56. package/src/webgl/pixelmapFeature.js +3 -0
  57. package/src/webgl/quadFeature.js +1 -1
@@ -0,0 +1,9 @@
1
+ # This file contains a list of commits that are not likely what
2
+ # you are looking for in `git blame`. You can set this file as
3
+ # a default ignore file for blame by running the following
4
+ # command.
5
+ #
6
+ # $ git config blame.ignoreRevsFile .git-blame-ignore-revs
7
+
8
+ # jsdoc linting updates
9
+ f39996085682acc91ef3474bb2c3732dd9646c04
@@ -13,12 +13,15 @@ on:
13
13
  schedule:
14
14
  - cron: "0 7 * * 1"
15
15
 
16
+ permissions:
17
+ id-token: write
18
+ contents: write
16
19
  jobs:
17
20
  build:
18
21
  runs-on: ubuntu-latest
19
22
  steps:
20
23
  - uses: actions/checkout@v5
21
- - uses: actions/setup-node@v5
24
+ - uses: actions/setup-node@v6
22
25
  with:
23
26
  node-version: '20'
24
27
  - uses: browser-actions/setup-firefox@latest
@@ -45,7 +48,7 @@ jobs:
45
48
  python3 tests/runners/baseline_images.py -cevb _build
46
49
  - name: Upload test images on failure
47
50
  if: ${{ failure() }}
48
- uses: actions/upload-artifact@v4
51
+ uses: actions/upload-artifact@v5
49
52
  with:
50
53
  name: images
51
54
  path: |
@@ -53,7 +56,7 @@ jobs:
53
56
  _build/Baseline*tgz
54
57
  - name: Upload artifacts
55
58
  if: ${{ always() }}
56
- uses: actions/upload-artifact@v4
59
+ uses: actions/upload-artifact@v5
57
60
  with:
58
61
  name: dist
59
62
  path: |
@@ -61,7 +64,7 @@ jobs:
61
64
  dist/built
62
65
  - name: Upload built website
63
66
  if: ${{ success() }}
64
- uses: actions/upload-artifact@v4
67
+ uses: actions/upload-artifact@v5
65
68
  with:
66
69
  name: website
67
70
  path: |
@@ -71,7 +74,7 @@ jobs:
71
74
  steps:
72
75
  - uses: actions/checkout@v5
73
76
  # Don't pin version to test with the latest common version
74
- - uses: actions/setup-node@v5
77
+ - uses: actions/setup-node@v6
75
78
  with:
76
79
  node-version: 'lts/*'
77
80
  - run: npm --version && node --version
@@ -95,7 +98,7 @@ jobs:
95
98
  runs-on: ubuntu-latest
96
99
  steps:
97
100
  - name: Import artifacts
98
- uses: actions/download-artifact@v5
101
+ uses: actions/download-artifact@v6
99
102
  with:
100
103
  name: website
101
104
  path: website/public
@@ -110,21 +113,29 @@ jobs:
110
113
  runs-on: ubuntu-latest
111
114
  steps:
112
115
  - uses: actions/checkout@v5
113
- - uses: actions/setup-node@v5
116
+ - uses: actions/setup-node@v6
114
117
  with:
115
118
  node-version: 'lts/*'
119
+ registry-url: 'https://registry.npmjs.org'
116
120
  - run: sudo apt-get update
117
121
  - run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev liblzma-dev
118
- - run: npm ci
119
122
  - name: Import artifacts
120
- uses: actions/download-artifact@v5
123
+ uses: actions/download-artifact@v6
121
124
  with:
122
125
  name: dist
123
126
  path: dist
127
+ - name: Copy built artifacts into package root (skip rebuild)
128
+ run: |
129
+ if [ -d "dist/built" ]; then
130
+ cp -a dist/built/. .
131
+ else
132
+ echo "ERROR: dist/built not found; aborting publish"
133
+ exit 1
134
+ fi
124
135
  - name: Install semantic-release
125
136
  run: npm install semantic-release --no-save
126
137
  - name: Release
127
138
  env:
128
139
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
140
+ NPM_CONFIG_IGNORE_SCRIPTS: 'true'
130
141
  run: npx semantic-release
package/eslint.config.js CHANGED
@@ -71,7 +71,7 @@ module.exports = [
71
71
  }, {
72
72
  files: ['src/**/*.js'],
73
73
  plugins: {
74
- jsdoc,
74
+ jsdoc, 'jsdoc-overrides': require('./jsdoc/linting')
75
75
  },
76
76
  rules: {
77
77
  'jsdoc/check-types': ['warn', {
@@ -88,9 +88,13 @@ module.exports = [
88
88
  'jsdoc/check-param-names': 'off',
89
89
  'jsdoc/check-tag-names': 'off',
90
90
  'jsdoc/no-undefined-types': 'off',
91
+ 'jsdoc/reject-any-type': 'off',
92
+ 'jsdoc/reject-function-type': 'off',
91
93
  'jsdoc/require-param-description': 'off',
92
94
  'jsdoc/require-returns-description': 'off',
93
95
  'jsdoc/tag-lines': 'off',
96
+ 'jsdoc/valid-types': 'off',
97
+ 'jsdoc-overrides/valid-types': 'warn',
94
98
  'no-console': 'error',
95
99
  }
96
100
  }, {
@@ -104,6 +108,7 @@ module.exports = [
104
108
  'jsdoc/no-defaults': 'off',
105
109
  'jsdoc/no-multi-asterisks': 'off',
106
110
  'jsdoc/no-undefined-types': 'off',
111
+ 'jsdoc/reject-function-type': 'off',
107
112
  'jsdoc/require-jsdoc': 'off',
108
113
  'jsdoc/require-param': 'off',
109
114
  'jsdoc/require-param-description': 'off',