@elastic/ems-client 8.6.0 → 8.6.1

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 CHANGED
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "repoOwner": "elastic",
3
- "repoName": "ems-file-service",
4
- "targetBranches": ["7.17"],
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": true,
14
+ "autoMerge": false,
8
15
  "autoMergeMethod": "squash",
9
16
  "fork": false
10
17
  }
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@ 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.1] - 2024-12-23
7
+ ### Changed
8
+ - Removed node-fetch #519
9
+
6
10
  ## [8.6.0] - 2024-12-13
7
11
  ### Added
8
12
  - 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.0",
3
+ "version": "8.6.1",
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",
@@ -37,7 +37,6 @@
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
@@ -5,8 +5,8 @@
5
5
  ],
6
6
  "labels": [
7
7
  "dependencies",
8
- "v7.17.4",
9
- "v8.6.0"
8
+ "v7.17.5",
9
+ "v8.6.1"
10
10
  ],
11
11
  "packageRules": [
12
12
  {
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';
@@ -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;
@@ -6,7 +6,6 @@
6
6
  */
7
7
 
8
8
  import { EMSClient } from '../src';
9
- import fetch from 'node-fetch';
10
9
 
11
10
  import EMS_CATALOGUE from './ems_mocks/sample_manifest.json';
12
11
  import EMS_FILES from './ems_mocks/sample_files.json';