Skip to content

Commit

Permalink
feat(deps): upgrade pelias-model to latest version (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink authored Jan 11, 2022
1 parent fd05c4d commit 3bf1cf5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"pelias-config": "^4.12.0",
"pelias-dbclient": "^2.13.0",
"pelias-logger": "^1.2.1",
"pelias-model": "^7.1.0",
"pelias-model": "^9.1.1",
"pelias-wof-admin-lookup": "^7.4.1",
"split2": "^3.2.2",
"temp": "^0.9.1",
Expand Down
29 changes: 28 additions & 1 deletion test/data/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"country_a": [
null
],
"country_source": [
null
],
"macroregion": [
"override macroregion"
],
Expand All @@ -29,6 +32,9 @@
"macroregion_a": [
null
],
"macroregion_source": [
null
],
"region": [
"override region"
],
Expand All @@ -38,6 +44,9 @@
"region_a": [
null
],
"region_source": [
null
],
"macrocounty": [
"override macrocounty"
],
Expand All @@ -47,6 +56,9 @@
"macrocounty_a": [
null
],
"macrocounty_source": [
null
],
"county": [
"override county"
],
Expand All @@ -56,6 +68,9 @@
"county_a": [
null
],
"county_source": [
null
],
"borough": [
"override borough"
],
Expand All @@ -65,6 +80,9 @@
"borough_a": [
null
],
"borough_source": [
null
],
"locality": [
"override locality"
],
Expand All @@ -74,6 +92,9 @@
"locality_a": [
null
],
"locality_source": [
null
],
"localadmin": [
"override localadmin"
],
Expand All @@ -83,6 +104,9 @@
"localadmin_a": [
null
],
"localadmin_source": [
null
],
"neighbourhood": [
"override neighbourhood"
],
Expand All @@ -91,6 +115,9 @@
],
"neighbourhood_a": [
null
],
"neighbourhood_source": [
null
]
},
"address_parts": {
Expand Down Expand Up @@ -299,4 +326,4 @@
"source_id": "data/input_file_2:0d9cb0ba093a3d23"
}
}
]
]
2 changes: 1 addition & 1 deletion test/importPipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tape('functional test of importing two small OA files', function(t) {
// uncomment this to write the actual results to the expected file
// make sure they look ok though. comma left off so jshint reminds you
// not to commit this line
// fs.writeFileSync(expectedPath, JSON.stringify(actual, null, 2))
// require('fs').writeFileSync(expectedPath, JSON.stringify(actual, null, 2))

t.error(err);
t.deepEquals(actual, expected);
Expand Down

0 comments on commit 3bf1cf5

Please sign in to comment.