Skip to content

Commit c6c34b8

Browse files
committed
feat(deps): upgrade pelias/parser to latest version
1 parent f7735b9 commit c6c34b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"pelias-logger": "^1.2.0",
5555
"pelias-microservice-wrapper": "^1.10.0",
5656
"pelias-model": "^9.0.0",
57-
"pelias-parser": "2.2.0",
57+
"pelias-parser": "3.4.0",
5858
"pelias-query": "^11.4.0",
5959
"pelias-sorting": "^1.7.0",
6060
"predicates": "^2.0.0",

test/unit/sanitizer/_text_pelias_parser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ module.exports.tests.text_parser = function (test, common) {
221221
cases.push(['Calle Principal 20', { subject: '20 Calle Principal' }, true]);
222222
cases.push(['Calle Principal 20', { subject: '20 Calle Principal' }, true]);
223223
cases.push(['Calle Principal 20 ', { subject: '20 Calle Principal' }, true]);
224-
cases.push(['Calle Principal 20 B', { subject: '20 Calle Principal' }, true]);
224+
cases.push(['Calle Principal 20 B', { subject: '20 B Calle Principal' }, true]);
225225
cases.push(['Calle Principal 20 Ba', { subject: '20 Calle Principal' }, true]);
226226
cases.push(['Calle Principal 20 Bar', { subject: '20 Calle Principal' }, true]);
227227
cases.push(['Calle Principal 20 Barc', { subject: '20 Calle Principal' }, true]);
@@ -267,7 +267,7 @@ module.exports.tests.text_parser = function (test, common) {
267267
cases.push(['Hauptstraße 5', { subject: '5 Hauptstraße' }, true]);
268268
cases.push(['Hauptstraße 50', { subject: '50 Hauptstraße' }, true]);
269269
cases.push(['Hauptstraße 50 ', { subject: '50 Hauptstraße' }, true]);
270-
cases.push(['Hauptstraße 50 B', { subject: '50 Hauptstraße' }, true]);
270+
cases.push(['Hauptstraße 50 B', { subject: '50 B Hauptstraße' }, true]);
271271
cases.push(['Hauptstraße 50 Be', { subject: '50 Hauptstraße' }, true]);
272272
cases.push(['Hauptstraße 50 Ber', { subject: '50 Hauptstraße' }, true]);
273273
cases.push(['Hauptstraße 50 Berl', { subject: '50 Hauptstraße' }, true]);

0 commit comments

Comments
 (0)