Socket
Socket
Sign inDemoInstall

@arianee/utils

Package Overview
Dependencies
Maintainers
8
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arianee/utils - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

src/lib/passphrase/randomPassphrase.d.ts

4

package.json
{
"name": "@arianee/utils",
"version": "0.1.0",
"version": "0.2.0",
"type": "commonjs",
"peerDependencies": {
"@arianee/common-types": "0.10.0",
"@arianee/common-types": "0.11.0",
"tslib": "2.5.0"

@@ -8,0 +8,0 @@ },

export * from './lib/links/readLink';
export * from './lib/passphrase/randomPassphrase';

@@ -5,2 +5,3 @@ "use strict";

tslib_1.__exportStar(require("./lib/links/readLink"), exports);
tslib_1.__exportStar(require("./lib/passphrase/randomPassphrase"), exports);
//# sourceMappingURL=index.js.map

@@ -12,1 +12,2 @@ import { Protocol } from '@arianee/common-types';

export declare const getProtocolNameFromHostname: (hostname: string) => Protocol['name'] | null;
export declare const getHostnameFromProtocolName: (protocolName: Protocol['name']) => string | undefined;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getProtocolNameFromHostname = exports.readLink = void 0;
exports.getHostnameFromProtocolName = exports.getProtocolNameFromHostname = exports.readLink = void 0;
const readLink = (link) => {

@@ -54,2 +54,7 @@ var _a;

exports.getProtocolNameFromHostname = getProtocolNameFromHostname;
const getHostnameFromProtocolName = (protocolName) => {
var _a;
return (_a = Object.entries(WHITELABEL_HOSTNAMES_TO_PROTOCOL_NAME).find(([, value]) => value === protocolName)) === null || _a === void 0 ? void 0 : _a[0];
};
exports.getHostnameFromProtocolName = getHostnameFromProtocolName;
//# sourceMappingURL=readLink.js.map

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