New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mos-connection

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mos-connection - npm Package Compare versions

Comparing version 0.8.10 to 0.9.0-nightly-20200602-074254-d42e556.0

3

dist/config/connectionConfig.d.ts

@@ -39,5 +39,4 @@ /** Config object for creating a MOS-device */

/** */
get profiles(): IProfiles;
/** */
set profiles(profileSupport: IProfiles);
profiles: IProfiles;
}

@@ -38,7 +38,7 @@ /// <reference types="node" />

/** */
set autoReconnect(autoReconnect: boolean);
autoReconnect: boolean;
/** */
set autoReconnectInterval(autoReconnectInterval: number);
autoReconnectInterval: number;
/** */
set autoReconnectAttempts(autoReconnectAttempts: number);
autoReconnectAttempts: number;
/** */

@@ -52,5 +52,5 @@ connect(): void;

/** */
get host(): string;
readonly host: string;
/** */
get port(): number;
readonly port: number;
/** */

@@ -64,5 +64,4 @@ dispose(): void;

/** */
private set connected(value);
/** */
private get connected();
private connected;
private _sendReply;

@@ -69,0 +68,0 @@ /** */

@@ -17,4 +17,4 @@ /// <reference types="node" />

setDebug(debug: boolean): void;
get port(): number;
get portDescription(): IncomingConnectionType;
readonly port: number;
readonly portDescription: IncomingConnectionType;
/** */

@@ -21,0 +21,0 @@ private _onClientConnection;

@@ -42,12 +42,12 @@ /// <reference types="node" />

setDebug(debug: boolean): void;
get connected(): boolean;
readonly connected: boolean;
private _getClients;
/** */
get lowerPortClients(): MosSocketClient[];
readonly lowerPortClients: MosSocketClient[];
/** */
get upperPortClients(): MosSocketClient[];
readonly upperPortClients: MosSocketClient[];
/** */
get queryPortClients(): MosSocketClient[];
get host(): string;
get id(): string;
readonly queryPortClients: MosSocketClient[];
readonly host: string;
readonly id: string;
handOverQueue(otherConnection: NCSServerConnection): void;

@@ -54,0 +54,0 @@ receiveQueue(queue: {

@@ -13,7 +13,7 @@ /// <reference types="node" />

/** */
get lowerPortSockets(): Socket[];
readonly lowerPortSockets: Socket[];
/** */
get upperPortSockets(): Socket[];
readonly upperPortSockets: Socket[];
/** */
get queryPortSockets(): Socket[];
readonly queryPortSockets: Socket[];
}

@@ -17,6 +17,6 @@ import * as XMLBuilder from 'xmlbuilder';

constructor(obj: IMOSExternalMetaData);
get scope(): IMOSScope | undefined;
get schema(): string;
get payload(): any;
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly scope: IMOSScope | undefined;
readonly schema: string;
readonly payload: any;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -8,8 +8,8 @@ export declare class MosString128 {

/** */
set string(str: string | {
string: string | {
text: string;
type: string;
} | MosString128 | any);
} | MosString128 | any;
/** */
private _validate;
}

@@ -36,9 +36,9 @@ /// <reference types="node" />

/** True if mosConnection is listening for connections */
get isListening(): boolean;
readonly isListening: boolean;
/** TO BE IMPLEMENTED: True if mosConnection is mos-compliant */
get isCompliant(): boolean;
readonly isCompliant: boolean;
/** True if mosConnection is configured to accept connections */
get acceptsConnections(): boolean;
readonly acceptsConnections: boolean;
/** A list of the profiles mosConnection is currently configured to use */
get profiles(): IProfiles;
readonly profiles: IProfiles;
/** Close all connections and clear all data */

@@ -53,3 +53,3 @@ dispose(): Promise<void>;

/** TO BE IMPLEMENTED */
get complianceText(): string;
readonly complianceText: string;
setDebug(debug: boolean): void;

@@ -64,3 +64,3 @@ private _registerMosDevice;

/** Get new unique id */
static get nextSocketID(): string;
static readonly nextSocketID: string;
}

@@ -62,15 +62,15 @@ /// <reference types="node" />

/** True if MOS-device has connection to server (can send messages) */
get hasConnection(): boolean;
readonly hasConnection: boolean;
/** Primary ID (probably the NCS-ID) */
get idPrimary(): string;
readonly idPrimary: string;
/** Secondary ID (probably the MOS-ID) */
get idSecondary(): string | null;
readonly idSecondary: string | null;
/** Host name (IP-address) of the primary server */
get primaryHost(): string | null;
readonly primaryHost: string | null;
/** Name (ID) of the primary server */
get primaryId(): string | null;
readonly primaryId: string | null;
/** Host name (IP-address) of the secondary (buddy) server */
get secondaryHost(): string | null;
readonly secondaryHost: string | null;
/** Name (ID) of the secondary (buddy) server */
get secondaryId(): string | null;
readonly secondaryId: string | null;
connect(): void;

@@ -77,0 +77,0 @@ dispose(): Promise<void>;

@@ -13,7 +13,7 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageID(): number;
readonly messageID: number;
/** */
toString(): string;
/** */
protected abstract get messageXMLBlocks(): XMLBuilder.XMLElement;
protected abstract readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -9,3 +9,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -49,3 +49,3 @@ import { MosTime } from '../../dataTypes/mosTime';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -7,3 +7,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -13,3 +13,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -9,3 +9,3 @@ import { MosMessage } from '../MosMessage';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -9,3 +9,3 @@ import { MosMessage } from '../MosMessage';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -9,3 +9,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -8,3 +8,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -12,3 +12,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -25,3 +25,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -9,3 +9,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -9,3 +9,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -13,3 +13,3 @@ import { IMOSItem } from '../../api';

constructor(options: MosItemReplaceOptions);
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -7,3 +7,3 @@ import { MosMessage } from '../MosMessage';

constructor(options: IMOSSearchableSchema);
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -7,3 +7,3 @@ import { IMOSObject } from '../../api';

constructor(object: IMOSObject);
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -7,3 +7,3 @@ import { IMosObjectList } from '../../api';

constructor(options: IMosObjectList);
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -11,3 +11,3 @@ import { IMOSObject } from '../../api';

constructor(options: MosReqObjActionOptions);
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -7,3 +7,3 @@ import { IMosRequestObjectList } from '../../api';

constructor(options: IMosRequestObjectList);
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -8,3 +8,3 @@ import { MosMessage } from '../MosMessage';

});
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}

@@ -7,3 +7,3 @@ import * as XMLBuilder from 'xmlbuilder';

/** */
get messageXMLBlocks(): XMLBuilder.XMLElement;
readonly messageXMLBlocks: XMLBuilder.XMLElement;
}
{
"name": "mos-connection",
"version": "0.8.10",
"version": "0.9.0-nightly-20200602-074254-d42e556.0",
"description": "MOS compliant TCP/IP Socket connection.",

@@ -54,3 +54,3 @@ "main": "dist/index.js",

"validate:dev-dependencies": "yarn audit --groups devDependencies",
"license-validate": "node-license-validator -p -d --allow-licenses MIT BSD BSD-3-Clause ISC Apache"
"license-validate": "node-license-validator -p -d --allow-licenses MIT 0BSD BSD BSD-3-Clause ISC Apache"
},

@@ -81,3 +81,3 @@ "scripts-info": {

"engines": {
"node": ">=4.5"
"node": ">=10.10"
},

@@ -91,19 +91,17 @@ "files": [

"devDependencies": {
"@types/jest": "^24.0.16",
"@types/jest": "^25.2.3",
"@types/node": "^12.12.3",
"codecov": "^3.6.5",
"gh-pages": "^2.0.1",
"gh-pages": "^3.0.0",
"jest": "^24.9.0",
"mkdirp": "^0.5.1",
"node-license-validator": "^1.3.0",
"npm-scripts-info": "^0.3.9",
"open-cli": "^5.0.0",
"sleep-ms": "^2.0.1",
"standard-version": "^7.0.0",
"open-cli": "^6.0.1",
"standard-version": "^8.0.0",
"trash-cli": "^3.0.0",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"tslint-config-standard": "^8.0.1",
"tslint": "^6.1.2",
"tslint-config-standard": "^9.0.0",
"typedoc": "^0.16.8",
"typescript": "^3.5.x"
"typescript": "~3.6.5"
},

@@ -126,6 +124,6 @@ "keywords": [

"iconv-lite": "^0.5.0",
"moment": "^2.24.0",
"tslib": "^1.9.3",
"moment": "^2.26.0",
"tslib": "^1.13.0",
"xml-js": "^1.6.11",
"xmlbuilder": "^13.0.2"
"xmlbuilder": "^15.1.1"
},

@@ -132,0 +130,0 @@ "standard-version": {

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