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

@preevy/common

Package Overview
Dependencies
Maintainers
3
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@preevy/common - npm Package Compare versions

Comparing version 0.0.36 to 0.0.37

4

dist/src/tunnel/index.d.ts
export type TunnelNameResolver = (x: {
name: string;
project: string;
port: number;
ports: number[];
}) => {
port: number;
tunnel: string;
};
}[];
export declare const tunnelNameResolver: ({ userDefinedSuffix }: {
userDefinedSuffix?: string | undefined;
}) => TunnelNameResolver;

@@ -6,4 +6,7 @@ "use strict";

const tunnel = (port, v) => ({ port, tunnel: concat(...v).toLowerCase() });
const tunnelNameResolver = ({ userDefinedSuffix }) => ({ project, name, port }) => tunnel(port, [name, userDefinedSuffix || project]);
const tunnelNameResolver = ({ userDefinedSuffix }) => ({ project, name, ports }) => {
const suffix = userDefinedSuffix || project;
return ports.map(port => tunnel(port, ports.length > 1 ? [name, port, suffix] : [name, suffix]));
};
exports.tunnelNameResolver = tunnelNameResolver;
//# sourceMappingURL=index.js.map
{
"name": "@preevy/common",
"version": "0.0.36",
"version": "0.0.37",
"description": "",

@@ -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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc