bare-script 3.0.14 → 3.0.15
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/lib/library.js +2 -2
- package/package.json +2 -2
package/lib/library.js
CHANGED
|
@@ -1862,7 +1862,7 @@ async function systemFetch([url = null], options) {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
|
|
1864
1864
|
// Fetch in parallel
|
|
1865
|
-
const fetchResponses = await Promise.all(requests.map((request) => {
|
|
1865
|
+
const fetchResponses = await Promise.all(requests.map(async (request) => {
|
|
1866
1866
|
try {
|
|
1867
1867
|
const fetchURL = urlFn !== null ? urlFn(request.url) : request.url;
|
|
1868
1868
|
const fetchOptions = {};
|
|
@@ -1873,7 +1873,7 @@ async function systemFetch([url = null], options) {
|
|
|
1873
1873
|
if ((request.headers ?? null) !== null) {
|
|
1874
1874
|
fetchOptions.headers = request.headers;
|
|
1875
1875
|
}
|
|
1876
|
-
return fetchFn !== null ? fetchFn(fetchURL, fetchOptions) : null;
|
|
1876
|
+
return fetchFn !== null ? await fetchFn(fetchURL, fetchOptions) : null;
|
|
1877
1877
|
} catch {
|
|
1878
1878
|
return null;
|
|
1879
1879
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "bare-script",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.15",
|
|
5
5
|
"description": "BareScript; a lightweight scripting and expression language",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"expression",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"c8": "~10.1",
|
|
34
|
-
"eslint": "~9.
|
|
34
|
+
"eslint": "~9.16",
|
|
35
35
|
"jsdoc": "~4.0"
|
|
36
36
|
}
|
|
37
37
|
}
|