@opensearch-project/opensearch 2.11.0 → 2.13.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CHANGELOG
2
2
 
3
- Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
3
+ Inspired by [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
4
4
 
5
5
  ## [Unreleased]
6
6
  ### Added
@@ -11,6 +11,25 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
11
11
  ### Fixed
12
12
  ### Security
13
13
 
14
+ ## [2.13.0]
15
+ ### Dependencies
16
+ - Bumps `micromatch` from 4.0.7 to 4.0.8
17
+ - Bumps `simple-statistics` from 7.8.4 to 7.8.5
18
+ - Bumps `simple-git` from 3.25.0 to 3.26.0
19
+ - Bumps `@types/node` from 22.5.0 to 22.5.2
20
+ ### Fixed
21
+ - Upgrade `JSON11` from 1.1.2 to 2.0.0 to ensure UTF-8 safety when stringifying JSON data
22
+
23
+ ## [2.12.0]
24
+ ### Dependencies
25
+ - Bumps `@babel/eslint-parser` from 7.24.8 to 7.25.1
26
+ - Bumps `@types/node` from 20.14.11 to 22.5.0
27
+ - Bumps `aws4` from 1.13.0 to 1.13.1
28
+ - Bumps `ora` from 8.0.1 to 8.1.0
29
+ - Bumps `simple-statistics` from 7.8.3 to 7.8.4
30
+ ### Fixed
31
+ - Fixed docker-compose command in Makefile ([#845](https://github.com/opensearch-project/opensearch-js/issues/845))
32
+
14
33
  ## [2.11.0]
15
34
  ### Changed
16
35
  - Return a transport object from `AwsSigv4SignerTransport.request` that has an `.abort()` method that allows in-flight requests to be canceled
package/Makefile CHANGED
@@ -1,12 +1,12 @@
1
1
  cluster.opensearch.build:
2
- docker-compose --project-directory .ci/opensearch build;
2
+ docker compose --project-directory .ci/opensearch build;
3
3
 
4
4
  cluster.opensearch.start:
5
- docker-compose --project-directory .ci/opensearch up -d ;
6
- sleep 60;
5
+ docker compose --project-directory .ci/opensearch up -d;
6
+ bash ./scripts/wait-cluster.sh;
7
7
 
8
8
  cluster.opensearch.stop:
9
- docker-compose --project-directory .ci/opensearch down ;
9
+ docker compose --project-directory .ci/opensearch down;
10
10
 
11
11
  cluster.clean: ## Remove unused Docker volumes and networks
12
12
  @printf "\033[2m→ Cleaning up Docker assets...\033[0m\n"
@@ -14,4 +14,4 @@ cluster.clean: ## Remove unused Docker volumes and networks
14
14
  docker network prune --force
15
15
  docker system prune --volumes --force
16
16
 
17
- .PHONY: cluster.opensearch.build cluster.opensearch.start cluster.opensearch.stop cluster.clean
17
+ .PHONY: cluster.opensearch.build cluster.opensearch.start cluster.opensearch.stop cluster.clean
package/lib/Serializer.js CHANGED
@@ -101,7 +101,7 @@ class Serializer {
101
101
  if (
102
102
  numeralsAreNumbers &&
103
103
  typeof val === 'number' &&
104
- (val < Number.MAX_SAFE_INTEGER || val > Number.MAX_SAFE_INTEGER)
104
+ (val < Number.MIN_SAFE_INTEGER || val > Number.MAX_SAFE_INTEGER)
105
105
  ) {
106
106
  numeralsAreNumbers = false;
107
107
  }
package/package.json CHANGED
@@ -33,7 +33,7 @@
33
33
  }
34
34
  },
35
35
  "homepage": "https://www.opensearch.org/",
36
- "version": "2.11.0",
36
+ "version": "2.13.0",
37
37
  "versionCanary": "7.10.0-canary.6",
38
38
  "keywords": [
39
39
  "opensearch",
@@ -69,7 +69,7 @@
69
69
  "@aws-sdk/types": "^3.160.0",
70
70
  "@babel/eslint-parser": "^7.19.1",
71
71
  "@sinonjs/fake-timers": "github:sinonjs/fake-timers#0bfffc1",
72
- "@types/node": "^20.1.4",
72
+ "@types/node": "^22.0.0",
73
73
  "convert-hrtime": "^5.0.0",
74
74
  "cross-zip": "^4.0.0",
75
75
  "dedent": "^1.1.0",
@@ -104,7 +104,7 @@
104
104
  "dependencies": {
105
105
  "aws4": "^1.11.0",
106
106
  "debug": "^4.3.1",
107
- "json11": "^1.1.2",
107
+ "json11": "^2.0.0",
108
108
  "hpagent": "^1.2.0",
109
109
  "ms": "^2.1.3",
110
110
  "secure-json-parse": "^2.4.0"