Skip to content

Commit 3a7fd60

Browse files
authored
chore: update deps (#76)
1 parent 15576b2 commit 3a7fd60

File tree

3 files changed

+32
-32
lines changed

3 files changed

+32
-32
lines changed

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@
3434
},
3535
"license": "MIT",
3636
"dependencies": {
37+
"@achingbrain/electron-fetch": "^1.7.2",
3738
"abort-controller": "^3.0.0",
3839
"any-signal": "^2.1.0",
39-
"buffer": "^5.6.0",
40-
"@achingbrain/electron-fetch": "^1.7.2",
40+
"buffer": "^6.0.1",
4141
"err-code": "^2.0.0",
4242
"fs-extra": "^9.0.1",
4343
"is-electron": "^2.2.0",
44-
"iso-url": "^0.4.7",
45-
"it-glob": "0.0.8",
44+
"iso-url": "^1.0.0",
45+
"it-glob": "0.0.10",
4646
"merge-options": "^2.0.0",
4747
"nanoid": "^3.1.3",
4848
"native-abort-controller": "0.0.3",
@@ -51,7 +51,7 @@
5151
"stream-to-it": "^0.2.0"
5252
},
5353
"devDependencies": {
54-
"aegir": "^25.0.0",
54+
"aegir": "^28.1.0",
5555
"delay": "^4.3.0",
5656
"it-all": "^1.0.2",
5757
"it-drain": "^1.0.1",

src/files/glob-source.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@ const Path = require('path')
66
const errCode = require('err-code')
77

88
/**
9-
* Create an async iterator that yields paths that match requested file paths.
10-
*
11-
* @param {Iterable|AsyncIterable|String} paths File system path(s) to glob from
12-
* @param {Object} [options] Optional options
13-
* @param {Boolean} [options.recursive] Recursively glob all paths in directories
14-
* @param {Boolean} [options.hidden] Include .dot files in matched paths
15-
* @param {Array<String>} [options.ignore] Glob paths to ignore
16-
* @param {Boolean} [options.followSymlinks] follow symlinks
17-
* @param {Boolean} [options.preserveMode] preserve mode
18-
* @param {Boolean} [options.preserveMtime] preserve mtime
19-
* @param {Boolean} [options.mode] mode to use - if preserveMode is true this will be ignored
20-
* @param {Boolean} [options.mtime] mtime to use - if preserveMtime is true this will be ignored
21-
* @yields {Object} File objects in the form `{ path: String, content: AsyncIterator<Buffer> }`
22-
*/
9+
* Create an async iterator that yields paths that match requested file paths.
10+
*
11+
* @param {Iterable | AsyncIterable | string} paths - File system path(s) to glob from
12+
* @param {Object} [options] - Optional options
13+
* @param {boolean} [options.recursive] - Recursively glob all paths in directories
14+
* @param {boolean} [options.hidden] - Include .dot files in matched paths
15+
* @param {Array<string>} [options.ignore] - Glob paths to ignore
16+
* @param {boolean} [options.followSymlinks] - follow symlinks
17+
* @param {boolean} [options.preserveMode] - preserve mode
18+
* @param {boolean} [options.preserveMtime] - preserve mtime
19+
* @param {boolean} [options.mode] - mode to use - if preserveMode is true this will be ignored
20+
* @param {boolean} [options.mtime] - mtime to use - if preserveMtime is true this will be ignored
21+
* @yields {Object} File objects in the form `{ path: String, content: AsyncIterator<Buffer> }`
22+
*/
2323
module.exports = async function * globSource (paths, options) {
2424
options = options || {}
2525

src/http.js

+13-13
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,19 @@ const defaults = {
7575

7676
/**
7777
* @typedef {Object} APIOptions - creates a new type named 'SpecialType'
78-
* @prop {any} [body] - Request body
79-
* @prop {Object} [json] - JSON shortcut
80-
* @prop {string} [method] - GET, POST, PUT, DELETE, etc.
81-
* @prop {string} [base] - The base URL to use in case url is a relative URL
82-
* @prop {Headers|Record<string, string>} [headers] - Request header.
83-
* @prop {number} [timeout] - Amount of time until request should timeout in ms.
84-
* @prop {AbortSignal} [signal] - Signal to abort the request.
85-
* @prop {URLSearchParams|Object} [searchParams] - URL search param.
86-
* @prop {string} [credentials]
87-
* @prop {boolean} [throwHttpErrors]
88-
* @prop {function(URLSearchParams): URLSearchParams } [transformSearchParams]
89-
* @prop {function(any): any} [transform] - When iterating the response body, transform each chunk with this function.
90-
* @prop {function(Response): Promise<void>} [handleError] - Handle errors
78+
* @property {any} [body] - Request body
79+
* @property {Object} [json] - JSON shortcut
80+
* @property {string} [method] - GET, POST, PUT, DELETE, etc.
81+
* @property {string} [base] - The base URL to use in case url is a relative URL
82+
* @property {Headers|Record<string, string>} [headers] - Request header.
83+
* @property {number} [timeout] - Amount of time until request should timeout in ms.
84+
* @property {AbortSignal} [signal] - Signal to abort the request.
85+
* @property {URLSearchParams|Object} [searchParams] - URL search param.
86+
* @property {string} [credentials]
87+
* @property {boolean} [throwHttpErrors]
88+
* @property {function(URLSearchParams): URLSearchParams } [transformSearchParams]
89+
* @property {function(any): any} [transform] - When iterating the response body, transform each chunk with this function.
90+
* @property {function(Response): Promise<void>} [handleError] - Handle errors
9191
*/
9292

9393
class HTTP {

0 commit comments

Comments
 (0)