Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

filelist-utils

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filelist-utils - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

lib-esm/fileListFromWebservice.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc