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

@types/jsftp

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jsftp - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

8

jsftp/index.d.ts

@@ -8,4 +8,4 @@ // Type definitions for jsftp 2.1

import { Socket } from 'net';
import { EventEmitter } from 'events';
import { EventEmitter } from "events";
import { Socket } from "net";

@@ -17,3 +17,3 @@ export interface JsftpOpts {

pass?: string | undefined;
createSocket?: (({ port, host }: { port: number, host: string }, firstAction: () => {}) => Socket) | undefined;
createSocket?: (({ port, host }: { port: number; host: string }, firstAction: () => {}) => Socket) | undefined;
useList?: boolean | undefined;

@@ -23,3 +23,3 @@ }

export type ErrorCallback = (err: Error) => void;
export type RawCallback = (err: Error, data: { code: number, text: string }) => void;
export type RawCallback = (err: Error, data: { code: number; text: string }) => void;
export type ListCallback = (err: Error, dirContents: string) => void;

@@ -26,0 +26,0 @@ export type GetCallback = (err: Error, socket: Socket) => void;

{
"name": "@types/jsftp",
"version": "2.1.2",
"version": "2.1.3",
"description": "TypeScript definitions for jsftp",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsftp",

},
"typesPublisherContentHash": "dae2f8660c270408746014fc8447da6d6faf4bed9108ab28f96a3ec7f26cd42d",
"typeScriptVersion": "3.7"
"typesPublisherContentHash": "98768e9a4a1f4330e7a9ded052216a630f9c30feef45c4833230d0e2539802ba",
"typeScriptVersion": "4.5"
}

@@ -18,4 +18,4 @@ # Installation

import { Socket } from 'net';
import { EventEmitter } from 'events';
import { EventEmitter } from "events";
import { Socket } from "net";

@@ -27,3 +27,3 @@ export interface JsftpOpts {

pass?: string | undefined;
createSocket?: (({ port, host }: { port: number, host: string }, firstAction: () => {}) => Socket) | undefined;
createSocket?: (({ port, host }: { port: number; host: string }, firstAction: () => {}) => Socket) | undefined;
useList?: boolean | undefined;

@@ -33,3 +33,3 @@ }

export type ErrorCallback = (err: Error) => void;
export type RawCallback = (err: Error, data: { code: number, text: string }) => void;
export type RawCallback = (err: Error, data: { code: number; text: string }) => void;
export type ListCallback = (err: Error, dirContents: string) => void;

@@ -68,3 +68,3 @@ export type GetCallback = (err: Error, socket: Socket) => void;

### Additional Details
* Last updated: Tue, 26 Oct 2021 17:01:24 GMT
* Last updated: Fri, 15 Sep 2023 20:36:37 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -71,0 +71,0 @@ * Global values: none

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