This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes include: ### Major, breaking changes * _Callback signature has been removed._ Only Promise based interface now. * _No more default export._ Only named export `getUri()` is available now. * Minimum Node.js version is now 14.x. * The `ftp://` protocol has been switched from `ftp` to [`basic-ftp`](https://www.npmjs.com/package/basic-ftp) module. * Closes #16 * Closes #18 ### Minor changes * Proper options typings are now inferred based on the protocol of the URI provided to `getUri()`. For example: `getUri('ftp://...')` will have `FtpOptions` as the second parameter implicitly. * A `URL` instance can now be provided as the first argument to `getUri()`. ### Misc * Use pnpm for GH Actions. * Use Jest for tests. * Refactor tests to TypeScript.
- Loading branch information
1 parent
fc0f1aa
commit 0b7b999
Showing
31 changed files
with
3,097 additions
and
776 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/** @type {import('ts-jest').JestConfigWithTsJest} */ | ||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.