Skip to content

Commit

Permalink
Merge pull request #101 from p-j/renovate/all
Browse files Browse the repository at this point in the history
chore(deps): update all dependencies
  • Loading branch information
p-j committed Oct 4, 2023
2 parents 7e54f92 + c632f53 commit 1a3821c
Show file tree
Hide file tree
Showing 6 changed files with 631 additions and 480 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"devDependencies": {
"@changesets/changelog-github": "0.4.8",
"@changesets/cli": "2.26.2",
"@types/jest": "29.5.2",
"jest": "29.5.0",
"lerna": "7.1.1",
"prettier": "2.8.8",
"@types/jest": "29.5.4",
"jest": "29.6.4",
"lerna": "7.2.0",
"prettier": "3.0.3",
"rimraf": "5.0.1",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.1.6"
"typescript": "5.2.2"
},
"dependencies": {},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/geocodejson-ban/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"dependencies": {
"@p-j/geocodejson-types": "4.1.1",
"@turf/helpers": "^6.4.0",
"cross-fetch": "^3.1.5",
"cross-fetch": "^4.0.0",
"geojson": "^0.5.0",
"ngeohash": "^0.6.3"
},
"devDependencies": {
"@types/jest": "29.5.2",
"@types/jest": "29.5.4",
"@types/ngeohash": "0.6.4"
}
}
4 changes: 2 additions & 2 deletions packages/geocodejson-googleapis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"@googlemaps/google-maps-services-js": "^3.3.26",
"@p-j/geocodejson-types": "4.1.1",
"@turf/helpers": "^6.4.0",
"cross-fetch": "^3.1.5",
"cross-fetch": "^4.0.0",
"geojson": "^0.5.0",
"ngeohash": "^0.6.3"
},
"devDependencies": {
"@types/jest": "29.5.2",
"@types/jest": "29.5.4",
"@types/ngeohash": "0.6.4"
},
"scripts": {
Expand Down
11 changes: 7 additions & 4 deletions packages/geocodejson-googleapis/src/googleapis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,13 @@ function parseResult(
* Parses Address Component into a single layer Object
*/
function parseAddressComponents(components: GoogleAddressComponent[], { short = false }: { short?: boolean } = {}) {
return components.reduce((acc, component) => {
acc[component.types[0]] = short ? component.short_name : component.long_name
return acc
}, {} as Record<string, string>)
return components.reduce(
(acc, component) => {
acc[component.types[0]] = short ? component.short_name : component.long_name
return acc
},
{} as Record<string, string>,
)
}

/**
Expand Down
4 changes: 2 additions & 2 deletions packages/geocodejson-opencage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"dependencies": {
"@p-j/geocodejson-types": "4.1.1",
"@turf/helpers": "^6.4.0",
"cross-fetch": "^3.1.5",
"cross-fetch": "^4.0.0",
"geojson": "^0.5.0",
"ngeohash": "^0.6.3"
},
"devDependencies": {
"@types/jest": "29.5.2",
"@types/jest": "29.5.4",
"@types/ngeohash": "0.6.4"
}
}
Loading

0 comments on commit 1a3821c

Please sign in to comment.