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

genesys-cloud-service-discovery-web

Package Overview
Dependencies
Maintainers
1
Versions
425
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

genesys-cloud-service-discovery-web - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

index.js

@@ -169,3 +169,3 @@ 'use strict';

var matchesHostname = function (hostname) { return function (domain) {
return endsWith(hostname, domain);
return hostname === domain || endsWith(hostname, "." + domain);
}; };

@@ -245,3 +245,3 @@ var parseEnvFromName = function (name) {

var _a = parseValidUrl(url), hostname = _a.hostname, pathname = _a.pathname;
if (localHostnames.some(matchesHostname(hostname))) {
if (localHostnames.indexOf(hostname) >= 0) {
var _b = pathname.split("/"), envName_1 = _b[1];

@@ -248,0 +248,0 @@ var localEnv = getEnvironments(filters).find(function (e) { return e.name === envName_1; });

@@ -773,3 +773,3 @@ (function (global, factory) {

var matchesHostname = function (hostname) { return function (domain) {
return endsWith(hostname, domain);
return hostname === domain || endsWith(hostname, "." + domain);
}; };

@@ -849,3 +849,3 @@ var parseEnvFromName = function (name) {

var _a = parseValidUrl(url), hostname = _a.hostname, pathname = _a.pathname;
if (localHostnames.some(matchesHostname(hostname))) {
if (localHostnames.indexOf(hostname) >= 0) {
var _b = pathname.split("/"), envName_1 = _b[1];

@@ -852,0 +852,0 @@ var localEnv = getEnvironments(filters).find(function (e) { return e.name === envName_1; });

{
"name": "genesys-cloud-service-discovery-web",
"version": "1.1.1",
"version": "1.1.2",
"description": "Javascript library for discovering region deployments in Genesys Cloud",

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

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