filelist-utils
Advanced tools
Comparing version 0.9.0 to 0.9.1
import fetch from 'cross-fetch'; | ||
export async function fileListFromWebservice(url) { | ||
const response = await fetch(url); | ||
const response = await fetch(url.toString()); | ||
const baseURL = url; | ||
@@ -5,0 +5,0 @@ const entries = await response.json(); |
@@ -9,3 +9,3 @@ "use strict"; | ||
async function fileListFromWebservice(url) { | ||
const response = await (0, cross_fetch_1.default)(url); | ||
const response = await (0, cross_fetch_1.default)(url.toString()); | ||
const baseURL = url; | ||
@@ -12,0 +12,0 @@ const entries = await response.json(); |
{ | ||
"name": "filelist-utils", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "Create a FileList from a path or a zip file", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -6,3 +6,3 @@ import fetch from 'cross-fetch'; | ||
export async function fileListFromWebservice(url: string | URL) { | ||
const response = await fetch(url); | ||
const response = await fetch(url.toString()); | ||
const baseURL = url; | ||
@@ -9,0 +9,0 @@ const entries = await response.json(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78929