tripstorekrabi-shared 1.7.0 → 1.7.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/utils.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer",
6
6
  "repository": {
@@ -13,7 +13,7 @@
13
13
  "./availability": "./availability.js"
14
14
  },
15
15
  "dependencies": {
16
- "dayjs": "^1.10.8"
16
+ "dayjs": "^1.11.2"
17
17
  },
18
18
  "scripts": {
19
19
  "deploy": "npm publish"
package/utils.js CHANGED
@@ -153,6 +153,7 @@ export function isHotelDropOff(value) {
153
153
 
154
154
  export function isAirportPickup(value) {
155
155
  value = value.toLowerCase();
156
+ value = value.replace('pick up', 'pickup').replace('picked up', 'pickup').replace('pick-up', 'pickup');
156
157
  return (value.includes("pickup") || value.includes("meet")) && value.includes("airport");
157
158
  }
158
159