Socket
Socket
Sign inDemoInstall

@tiermobility/tile38-ts

Package Overview
Dependencies
14
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-beta.4 to 2.0.0-beta.5

11

dist/Client.js

@@ -97,7 +97,8 @@ "use strict";

const applyDefaults = (args) => {
if (!args.length)
return [{ port: 9851, lazyConnect: true }];
if (typeof args[0] === 'object')
return [{ port: 9851, ...args[0], lazyConnect: true }];
return args;
const options = args.find((arg) => typeof arg === 'object');
if (!options)
return [...args, { port: 9851, lazyConnect: true }];
return args.map((arg) => typeof arg === 'object'
? { port: 9851, ...arg, lazyConnect: true }
: arg);
};

@@ -104,0 +105,0 @@ const catchConnectionClosed = (error) => {

{
"name": "@tiermobility/tile38-ts",
"version": "2.0.0-beta.4",
"version": "2.0.0-beta.5",
"description": "A Node.js Tile38 client written in TypeScript",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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