@maplibre/maplibre-gl-native 6.0.1-pre.0 → 6.1.0-pre.0
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/README.md +2 -2
- package/package.json +6 -9
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ Binaries are available and downloaded during install for the following platforms
|
|
|
11
11
|
- Ubuntu 22.04 (amd64/arm64)
|
|
12
12
|
- macOS 12 (amd64/arm64)
|
|
13
13
|
- Windows (amd64)
|
|
14
|
-
- Node.js
|
|
14
|
+
- Node.js 18, 20, 22
|
|
15
15
|
|
|
16
16
|
Run:
|
|
17
17
|
|
|
@@ -229,7 +229,7 @@ Stylesheets are free to use any protocols, but your implementation of `request`
|
|
|
229
229
|
|
|
230
230
|
## Listening for log events
|
|
231
231
|
|
|
232
|
-
The module imported with `require('maplibre-gl-native')` inherits from [`EventEmitter`](https://nodejs.org/api/events.html), and the `NodeLogObserver` will push log events to this. Log messages can have [`class`](https://github.com/maplibre/maplibre-native/blob/
|
|
232
|
+
The module imported with `require('maplibre-gl-native')` inherits from [`EventEmitter`](https://nodejs.org/api/events.html), and the `NodeLogObserver` will push log events to this. Log messages can have [`class`](https://github.com/maplibre/maplibre-native/blob/0dea8bad2ff68a95772a6e3b3a788946c0596f15/src/mbgl/util/event.cpp#L15-L35), [`severity`](https://github.com/maplibre/maplibre-native/blob/0dea8bad2ff68a95772a6e3b3a788946c0596f15/src/mbgl/util/event.cpp#L6-L13), `code` ([HTTP status codes](https://www.rfc-editor.org/rfc/rfc9110#name-status-codes)), and `text` parameters.
|
|
233
233
|
|
|
234
234
|
```js
|
|
235
235
|
var mbgl = require('@maplibre/maplibre-gl-native');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maplibre/maplibre-gl-native",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0-pre.0",
|
|
4
4
|
"description": "Renders map tiles with MapLibre Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maplibre",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "BSD-2-Clause",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@acalcutt/node-pre-gyp-github": "
|
|
24
|
+
"@mapbox/node-pre-gyp": "2.0.0",
|
|
25
|
+
"@acalcutt/node-pre-gyp-github": "2.0.1",
|
|
26
26
|
"minimatch": "^9.0.4",
|
|
27
27
|
"npm-run-all": "^4.1.5"
|
|
28
28
|
},
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@mapbox/mvt-fixtures": "3.10.0",
|
|
34
34
|
"@octokit/plugin-retry": "^7.1.0",
|
|
35
35
|
"@octokit/rest": "^20.1.0",
|
|
36
|
-
"@types/node": "^
|
|
36
|
+
"@types/node": "^22.9.0",
|
|
37
37
|
"argparse": "^2.0.1",
|
|
38
|
-
"csscolorparser": "
|
|
38
|
+
"csscolorparser": "^1.0.3",
|
|
39
39
|
"d3-queue": "3.0.7",
|
|
40
40
|
"diff": "5.2.0",
|
|
41
41
|
"ejs": "^3.1.10",
|
|
@@ -43,13 +43,10 @@
|
|
|
43
43
|
"express": "^4.19.2",
|
|
44
44
|
"json-stringify-pretty-compact": "^4.0.0",
|
|
45
45
|
"jsonwebtoken": "^9.0.2",
|
|
46
|
-
"lodash": "^4.17.21",
|
|
47
|
-
"lodash.template": "4.5.0",
|
|
48
46
|
"mapbox-gl-styles": "2.0.2",
|
|
49
47
|
"pixelmatch": "^5.3.0",
|
|
50
48
|
"pngjs": "^7.0.0",
|
|
51
49
|
"pretty-bytes": "^6.1.1",
|
|
52
|
-
"request": "^2.88.0",
|
|
53
50
|
"semver": "^7.6.0",
|
|
54
51
|
"shuffle-seed": "1.1.6",
|
|
55
52
|
"st": "3.0.0",
|
|
@@ -58,7 +55,7 @@
|
|
|
58
55
|
"xcode": "^3.0.1"
|
|
59
56
|
},
|
|
60
57
|
"engines": {
|
|
61
|
-
"node": ">=
|
|
58
|
+
"node": ">=18"
|
|
62
59
|
},
|
|
63
60
|
"scripts": {
|
|
64
61
|
"install": "node-pre-gyp install --fallback-to-build=false",
|