geojs 1.15.5 → 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 (56) hide show
  1. package/.git-blame-ignore-revs +9 -0
  2. package/.github/workflows/main.yml +13 -2
  3. package/eslint.config.js +6 -1
  4. package/geo.js +281 -281
  5. package/geo.js.map +1 -0
  6. package/geo.lean.js +281 -281
  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 +9 -9
  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/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,6 +13,9 @@ 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
@@ -113,18 +116,26 @@ jobs:
113
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
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',