fleetmap-reports 2.0.233 → 2.0.235

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetmap-reports",
3
- "version": "2.0.233",
3
+ "version": "2.0.235",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -25,7 +25,7 @@ const axios = require('axios').default
25
25
  const sliceSize = 1
26
26
  const deviceChunk = 5
27
27
  const fileName = 'ZoneReport'
28
- const { pLimit } = require('p-limit')
28
+ const pLimit = (await import('p-limit')).default
29
29
  const limit = pLimit(50)
30
30
 
31
31
  exports.process = async (traccar, from, to, slice, deviceCount, devices, reportRangeDays, userData) => {