Socket
Socket
Sign inDemoInstall

ftp-service

Package Overview
Dependencies
11
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 5.0.0

9

CHANGELOG.md

@@ -0,1 +1,10 @@

# [5.0.0](https://github.com/nfroidure/ftp-service/compare/v4.0.1...v5.0.0) (2023-08-12)
### Bug Fixes
* **build:** fix CI ([95a428d](https://github.com/nfroidure/ftp-service/commit/95a428de06c123b24dedf4b880f77b57095a1454))
## [4.0.1](https://github.com/nfroidure/ftp-service/compare/v4.0.0...v4.0.1) (2023-01-05)

@@ -2,0 +11,0 @@

8

dist/index.d.ts

@@ -7,4 +7,4 @@ /// <reference types="node" resolution-mode="require"/>

export declare const DEFAULT_FTP_PASSWORD_ENV_NAME = "FTP_PASSWORD";
export declare type FTP_ENV<T extends string extends T ? never : string = typeof DEFAULT_FTP_PASSWORD_ENV_NAME> = Record<T, string>;
export declare type FTPConfig<T extends string extends T ? never : string = typeof DEFAULT_FTP_PASSWORD_ENV_NAME> = {
export type FTP_ENV<T extends string extends T ? never : string = typeof DEFAULT_FTP_PASSWORD_ENV_NAME> = Record<T, string>;
export type FTPConfig<T extends string extends T ? never : string = typeof DEFAULT_FTP_PASSWORD_ENV_NAME> = {
FTP: NonNullable<Parameters<InstanceType<typeof FTPClient>['access']>[0]>;

@@ -22,3 +22,3 @@ FTP_CONFIG: {

};
export declare type FTPDependencies<T extends string extends T ? never : string = typeof DEFAULT_FTP_PASSWORD_ENV_NAME> = FTPConfig<T> & {
export type FTPDependencies<T extends string extends T ? never : string = typeof DEFAULT_FTP_PASSWORD_ENV_NAME> = FTPConfig<T> & {
ENV: FTP_ENV<T>;

@@ -28,3 +28,3 @@ delay: DelayService;

};
export declare type FTPService = {
export type FTPService = {
list: (path: string) => Promise<string[]>;

@@ -31,0 +31,0 @@ get: (path: string) => Promise<Buffer>;

{
"name": "ftp-service",
"version": "4.0.1",
"type": "module",
"description": "A simple wrapper for a simpler FTP client surface API with pool and retry management.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"metapak": {

@@ -34,5 +28,11 @@ "data": {

},
"name": "ftp-service",
"version": "5.0.0",
"type": "module",
"description": "A simple wrapper for a simpler FTP client surface API with pool and retry management.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"architecture": "jsarch 'src/**/*.ts' > ARCHITECTURE.md && git add ARCHITECTURE.md",
"build": "rimraf -f 'dist' && tsc --outDir dist",
"build": "rimraf 'dist' && tsc --outDir dist",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",

@@ -50,3 +50,5 @@ "cli": "env NODE_ENV=${NODE_ENV:-cli}",

"preversion": "npm run build && npm t && npm run lint && npm run architecture && npm run doc && npm run metapak -- -s",
"rebuild": "swc ./src -s -d dist -C jsc.target=es2022",
"test": "npm run jest",
"type-check": "tsc --pretty --noEmit",
"version": "npm run changelog"

@@ -73,33 +75,35 @@ },

"dependencies": {
"@types/generic-pool": "^3.1.11",
"basic-ftp": "^5.0.2",
"common-services": "^12.1.0",
"@types/generic-pool": "^3.8.1",
"basic-ftp": "^5.0.3",
"common-services": "^13.0.0",
"generic-pool": "^3.9.0",
"knifecycle": "^14.1.0",
"yerror": "^6.2.1"
"knifecycle": "^15.0.1",
"yerror": "^8.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.36.0",
"@typescript-eslint/parser": "^5.36.0",
"commitizen": "^4.2.5",
"conventional-changelog-cli": "^2.2.2",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.76",
"@swc/helpers": "^0.5.1",
"@swc/jest": "^0.2.28",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"commitizen": "^4.3.0",
"conventional-changelog-cli": "^3.0.0",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"esbuild": "^0.15.6",
"esbuild-jest": "^0.5.0",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.0.1",
"jsarch": "^6.0.0",
"jsdoc-to-markdown": "^7.1.1",
"metapak": "^4.0.6",
"metapak-nfroidure": "13.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.2"
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.2",
"jsarch": "^6.0.1",
"jsdoc-to-markdown": "^8.0.0",
"metapak": "^5.1.3",
"metapak-nfroidure": "15.0.0",
"prettier": "^3.0.1",
"rimraf": "^5.0.1",
"typescript": "^5.1.6"
},
"contributors": [],
"engines": {
"node": ">=16.15.0"
"node": ">=18.16.0"
},

@@ -117,5 +121,5 @@ "config": {

"eslint",
"prettier",
"eslint-config-prettier",
"eslint-plugin-prettier",
"prettier",
"@typescript-eslint/eslint-plugin",

@@ -125,4 +129,8 @@ "@typescript-eslint/parser",

"rimraf",
"@swc/cli",
"@swc/core",
"@swc/helpers",
"jest",
"coveralls",
"@swc/jest",
"jsdoc-to-markdown",

@@ -144,7 +152,4 @@ "jsarch"

"^.+\\.tsx?$": [
"esbuild-jest",
{
"sourcemap": true,
"format": "esm"
}
"@swc/jest",
{}
]

@@ -158,3 +163,4 @@ },

".ts"
]
],
"prettierPath": null
},

@@ -161,0 +167,0 @@ "files": [

@@ -10,4 +10,4 @@ [//]: # ( )

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nfroidure/ftp-service/blob/master/LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/nfroidure/ftp-service/badge.svg?branch=master)](https://coveralls.io/github/nfroidure/ftp-service?branch=master)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nfroidure/ftp-service/blob/main/LICENSE)
[![Coverage Status](https://coveralls.io/repos/github/nfroidure/ftp-service/badge.svg?branch=main)](https://coveralls.io/github/nfroidure/ftp-service?branch=main)

@@ -69,2 +69,2 @@

# License
[MIT](https://github.com/nfroidure/ftp-service/blob/master/LICENSE)
[MIT](https://github.com/nfroidure/ftp-service/blob/main/LICENSE)
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc