@elastic/ems-client 8.6.0 → 8.6.2
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/.backportrc.json +10 -3
- package/CHANGELOG.md +8 -0
- package/package.json +2 -4
- package/renovate.json +2 -2
- package/src/ems_client.ts +0 -2
- package/target/ems_client.d.ts +0 -2
- package/test/ems_client_util.ts +0 -1
package/.backportrc.json
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repoOwner": "elastic",
|
|
3
|
-
"repoName": "ems-
|
|
4
|
-
"
|
|
3
|
+
"repoName": "ems-client",
|
|
4
|
+
"targetBranchChoices": [
|
|
5
|
+
"master",
|
|
6
|
+
"7.17"
|
|
7
|
+
],
|
|
8
|
+
"branchLabelMapping": {
|
|
9
|
+
"^v8.\\d+.\\d+$": "master",
|
|
10
|
+
"^v7.\\d+.\\d+$": "v7.17"
|
|
11
|
+
},
|
|
5
12
|
"targetPRLabels": ["backport"],
|
|
6
13
|
"commitConflicts": true,
|
|
7
|
-
"autoMerge":
|
|
14
|
+
"autoMerge": false,
|
|
8
15
|
"autoMergeMethod": "squash",
|
|
9
16
|
"fork": false
|
|
10
17
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
5
5
|
|
|
6
|
+
## [8.6.2] - 2024-12-24
|
|
7
|
+
### Changed
|
|
8
|
+
- Downgraded chroma-js #526
|
|
9
|
+
|
|
10
|
+
## [8.6.1] - 2024-12-23
|
|
11
|
+
### Changed
|
|
12
|
+
- Removed node-fetch #519
|
|
13
|
+
|
|
6
14
|
## [8.6.0] - 2024-12-13
|
|
7
15
|
### Added
|
|
8
16
|
- Include color options for new EMS styles #478
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/ems-client",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.2",
|
|
4
4
|
"description": "JavaScript client library for the Elastic Maps Service",
|
|
5
5
|
"main": "target/node/index.js",
|
|
6
6
|
"browser": "target/web/index.js",
|
|
@@ -33,11 +33,10 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@types/geojson": "7946.0.15",
|
|
35
35
|
"@types/topojson-client": "3.1.5",
|
|
36
|
-
"chroma-js": "
|
|
36
|
+
"chroma-js": "2.4.2",
|
|
37
37
|
"lodash": "^4.17.21",
|
|
38
38
|
"lru-cache": "^4.1.5",
|
|
39
39
|
"maplibre-gl": "3.1.0",
|
|
40
|
-
"node-fetch": "2.7.0",
|
|
41
40
|
"semver": "^7.6.3",
|
|
42
41
|
"topojson-client": "^3.1.0"
|
|
43
42
|
},
|
|
@@ -55,7 +54,6 @@
|
|
|
55
54
|
"@types/lodash": "4.17.13",
|
|
56
55
|
"@types/lru-cache": "5.1.1",
|
|
57
56
|
"@types/node": "20.17.10",
|
|
58
|
-
"@types/node-fetch": "2.6.12",
|
|
59
57
|
"@types/semver": "7.5.8",
|
|
60
58
|
"@types/topojson-specification": "1.0.5",
|
|
61
59
|
"@typescript-eslint/eslint-plugin": "8.18.1",
|
package/renovate.json
CHANGED
package/src/ems_client.ts
CHANGED
|
@@ -8,7 +8,6 @@ import _ from 'lodash';
|
|
|
8
8
|
import { TMSService } from './tms_service';
|
|
9
9
|
import { EMSFormatType, FileLayer } from './file_layer';
|
|
10
10
|
import { FeatureCollection } from 'geojson';
|
|
11
|
-
import { Response } from 'node-fetch';
|
|
12
11
|
|
|
13
12
|
import semverCoerce from 'semver/functions/coerce';
|
|
14
13
|
import semverValid from 'semver/functions/valid';
|
|
@@ -19,7 +18,6 @@ import { format as formatUrl, parse as parseUrl, UrlObject } from 'url';
|
|
|
19
18
|
import { toAbsoluteUrl } from './utils';
|
|
20
19
|
import { ParsedUrlQueryInput } from 'querystring';
|
|
21
20
|
import LRUCache from 'lru-cache';
|
|
22
|
-
import { RequestInfo } from 'node-fetch';
|
|
23
21
|
|
|
24
22
|
const REST_API_REGEX = /\d{4}-\d{2}-\d{2}/;
|
|
25
23
|
export const LATEST_API_URL_PATH = 'latest';
|
package/target/ems_client.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { TMSService } from './tms_service';
|
|
2
2
|
import { EMSFormatType, FileLayer } from './file_layer';
|
|
3
3
|
import { FeatureCollection } from 'geojson';
|
|
4
|
-
import { Response } from 'node-fetch';
|
|
5
|
-
import { RequestInfo } from 'node-fetch';
|
|
6
4
|
export declare const LATEST_API_URL_PATH = "latest";
|
|
7
5
|
type LocalizedStrings = {
|
|
8
6
|
[key: string]: string;
|