Skip to content

Commit f14ada8

Browse files
author
Phil Varner
authored
Pv/remove proj geometry mapping (#621)
* remove geo_shape mapping for proj:geometry * remove unnecessary vulnerability exclusion
1 parent 9fb6f9c commit f14ada8

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1313
- Update fields, sort, and query extensions to v1.0.0
1414
- Update transaction extension to v1.0.0-rc.3
1515
- Default to OpenSearch 2.9
16+
- Replace geo_shape mapping for proj:geometry field with object, as this fails when
17+
the geometry is not a valid GeoJSON shape, e.g., coordinate points are not lat/lon.
1618

1719
## [2.3.0] - 2023-09-12
1820

fixtures/dynamicTemplates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default [
3838
{
3939
proj_geometry: {
4040
match: 'proj:geometry',
41-
mapping: { type: 'geo_shape' }
41+
mapping: { type: 'object' }
4242
}
4343
},
4444
{

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"test:system": "./bin/system-tests.sh",
2222
"test:unit": "ava tests/unit/*.[tj]s",
2323
"typecheck": "tsc",
24-
"audit-prod": "npx better-npm-audit audit --production -x 1091470",
24+
"audit-prod": "npx better-npm-audit audit --production",
2525
"deploy": "sls deploy",
2626
"sls-remove": "sls remove",
2727
"package": "sls package",

0 commit comments

Comments
 (0)