@elastic/ems-client 7.17.4 → 7.17.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.
- package/.backportrc.json +10 -3
- package/.buildkite/pipeline.yml +1 -1
- package/.nvmrc +1 -1
- package/CHANGELOG.md +8 -1
- package/package.json +13 -15
- 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+$": "7.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/.buildkite/pipeline.yml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
agents:
|
|
2
|
-
image: "docker.elastic.co/ci-agent-images/ems/buildkite-agent-
|
|
2
|
+
image: "docker.elastic.co/ci-agent-images/ems/buildkite-agent-node22:0.5@sha256:b14dcc6455b0678a5f76108ddabbb5c9f1455c8fc4445b03e31e7dc0f12a025d"
|
|
3
3
|
cpu: "2"
|
|
4
4
|
memory: "2G"
|
|
5
5
|
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
lts/
|
|
1
|
+
lts/jod
|
package/CHANGELOG.md
CHANGED
|
@@ -3,8 +3,15 @@ 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
|
-
## [7.17.
|
|
6
|
+
## [7.17.6] - 2025-01-16
|
|
7
|
+
## Changed
|
|
8
|
+
- Upgrade support for Node 22 #552
|
|
7
9
|
|
|
10
|
+
## [7.17.5] - 2024-12-23
|
|
11
|
+
## Changed
|
|
12
|
+
- Removed node-fetch #519
|
|
13
|
+
|
|
14
|
+
## [7.17.4] - 2024-12-16
|
|
8
15
|
### Changed
|
|
9
16
|
- Update dependencies (search PRs for `is:pr label:7.17.4,dependencies`)
|
|
10
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/ems-client",
|
|
3
|
-
"version": "7.17.
|
|
3
|
+
"version": "7.17.6",
|
|
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",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"@types/topojson-client": "3.1.5",
|
|
40
40
|
"lodash": "4.17.21",
|
|
41
41
|
"lru-cache": "4.1.5",
|
|
42
|
-
"node-fetch": "2.7.0",
|
|
43
42
|
"semver": "7.6.3",
|
|
44
43
|
"topojson-client": "3.1.0"
|
|
45
44
|
},
|
|
@@ -49,31 +48,30 @@
|
|
|
49
48
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
50
49
|
"@babel/preset-env": "7.26.0",
|
|
51
50
|
"@babel/preset-typescript": "7.26.0",
|
|
52
|
-
"@eslint/core": "0.
|
|
53
|
-
"@eslint/js": "9.
|
|
51
|
+
"@eslint/core": "0.10.0",
|
|
52
|
+
"@eslint/js": "9.18.0",
|
|
54
53
|
"@types/eslint__js": "8.42.3",
|
|
55
54
|
"@types/jest": "29.5.14",
|
|
56
|
-
"@types/lodash": "4.17.
|
|
55
|
+
"@types/lodash": "4.17.14",
|
|
57
56
|
"@types/lru-cache": "5.1.1",
|
|
58
|
-
"@types/node": "
|
|
59
|
-
"@types/node-fetch": "2.6.12",
|
|
57
|
+
"@types/node": "22.10.6",
|
|
60
58
|
"@types/semver": "7.5.8",
|
|
61
59
|
"@types/topojson-specification": "1.0.5",
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
63
|
-
"@typescript-eslint/parser": "8.
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "8.20.0",
|
|
61
|
+
"@typescript-eslint/parser": "8.20.0",
|
|
64
62
|
"babel-jest": "29.7.0",
|
|
65
|
-
"eslint": "9.
|
|
66
|
-
"eslint-config-prettier": "
|
|
67
|
-
"eslint-plugin-prettier": "5.2.
|
|
63
|
+
"eslint": "9.18.0",
|
|
64
|
+
"eslint-config-prettier": "10.0.1",
|
|
65
|
+
"eslint-plugin-prettier": "5.2.2",
|
|
68
66
|
"globals": "15.14.0",
|
|
69
67
|
"husky": "9.1.7",
|
|
70
68
|
"jest": "29.7.0",
|
|
71
69
|
"prettier": "3.4.2",
|
|
72
70
|
"ts-jest": "29.2.5",
|
|
73
|
-
"typescript": "5.7.
|
|
74
|
-
"typescript-eslint": "8.
|
|
71
|
+
"typescript": "5.7.3",
|
|
72
|
+
"typescript-eslint": "8.20.0"
|
|
75
73
|
},
|
|
76
74
|
"engines": {
|
|
77
|
-
"node": ">=18 <=
|
|
75
|
+
"node": ">=18 <=22"
|
|
78
76
|
}
|
|
79
77
|
}
|
package/src/ems_client.ts
CHANGED
|
@@ -9,13 +9,11 @@ import _ from 'lodash';
|
|
|
9
9
|
import { TMSService } from './tms_service';
|
|
10
10
|
import { EMSFormatType, FileLayer } from './file_layer';
|
|
11
11
|
import { FeatureCollection } from 'geojson';
|
|
12
|
-
import { Response } from 'node-fetch';
|
|
13
12
|
import semver from 'semver';
|
|
14
13
|
import { format as formatUrl, parse as parseUrl, UrlObject } from 'url';
|
|
15
14
|
import { toAbsoluteUrl } from './utils';
|
|
16
15
|
import { ParsedUrlQueryInput } from 'querystring';
|
|
17
16
|
import LRUCache from 'lru-cache';
|
|
18
|
-
import { RequestInfo } from 'node-fetch';
|
|
19
17
|
|
|
20
18
|
const DEFAULT_EMS_VERSION = '7.17';
|
|
21
19
|
|
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
|
type LocalizedStrings = {
|
|
7
5
|
[key: string]: string;
|
|
8
6
|
};
|