@opensearch-project/opensearch 2.12.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
@@ -11,6 +11,15 @@ Inspired by [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
+
14
23
  ## [2.12.0]
15
24
  ### Dependencies
16
25
  - Bumps `@babel/eslint-parser` from 7.24.8 to 7.25.1
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.12.0",
36
+ "version": "2.13.0",
37
37
  "versionCanary": "7.10.0-canary.6",
38
38
  "keywords": [
39
39
  "opensearch",
@@ -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"