file-fetch
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -0,5 +1,6 @@ | ||
/* global URL */ | ||
const fs = require('fs') | ||
const { access } = require('fs/promises') | ||
const path = require('path') | ||
const { Readable } = require('stream') | ||
const { promisify } = require('util') | ||
const getStream = require('get-stream') | ||
@@ -9,4 +10,6 @@ const { contentType } = require('mime-types') | ||
const ReadableError = require('readable-error') | ||
const { Readable } = require('readable-stream') | ||
const { R_OK } = fs.constants | ||
const access = promisify(fs.access) | ||
@@ -13,0 +16,0 @@ function decodeIRI (iri, baseDir, baseURL) { |
{ | ||
"name": "file-fetch", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "fetch for read and write access to the local file system", | ||
@@ -27,5 +27,2 @@ "main": "index.js", | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"author": "Thomas Bergwinkl <bergi@axolotlfarm.org> (https://www.bergnet.org/people/bergi/card#me)", | ||
@@ -44,6 +41,7 @@ "contributors": [ | ||
"node-fetch": "^2.6.1", | ||
"readable-error": "^1.0.0" | ||
"readable-error": "^1.0.0", | ||
"readable-stream": "^3.6.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "^8.3.2", | ||
"mocha": "^8.4.0", | ||
"nyc": "^15.1.0", | ||
@@ -50,0 +48,0 @@ "standard": "^16.0.3" |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
17802
473
2
5
+ Addedreadable-stream@^3.6.0
+ Addedreadable-stream@3.6.2(transitive)