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

qipp-config-environment

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qipp-config-environment - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

2

package.json
{
"name": "qipp-config-environment",
"version": "3.0.0",
"version": "4.0.0",
"title": "Environment configuration",

@@ -5,0 +5,0 @@ "description": "Environment configuration file for the ATH clients.",

@@ -13,8 +13,8 @@ ;(function () {

) {
var regex = (/^[\w-]+\.(\w+\.)qipp\.com$/)
var regex = (/^[\w-]+\.(\w+\.)allthings\.me$/)
var match = $windowProvider.$get().location.hostname.match(regex)
var subdomainPart = match ? match[1] : ''
config.api.host = 'https://api.' + subdomainPart + 'qipp.com'
config.api.host = 'https://api.' + subdomainPart + 'allthings.me'
}
])
}())

@@ -17,3 +17,3 @@ ;(function () {

beforeEach(function () {
$window = { location: { hostname: 'erlenapp.dev.qipp.com' } }
$window = { location: { hostname: 'erlenapp.dev.allthings.me' } }
module(function ($provide) {

@@ -27,3 +27,3 @@ $provide.value('$window', $window)

function (config) {
expect(config.api.host).toEqual('https://api.dev.qipp.com')
expect(config.api.host).toEqual('https://api.dev.allthings.me')
}

@@ -35,3 +35,3 @@ ))

beforeEach(function () {
$window = { location: { hostname: 'erlenapp.staging.qipp.com' } }
$window = { location: { hostname: 'erlenapp.staging.allthings.me' } }
module(function ($provide) {

@@ -45,3 +45,3 @@ $provide.value('$window', $window)

function (config) {
expect(config.api.host).toEqual('https://api.staging.qipp.com')
expect(config.api.host).toEqual('https://api.staging.allthings.me')
}

@@ -53,3 +53,3 @@ ))

beforeEach(function () {
$window = { location: { hostname: 'erlenapp.qipp.com' } }
$window = { location: { hostname: 'erlenapp.allthings.me' } }
module(function ($provide) {

@@ -63,3 +63,3 @@ $provide.value('$window', $window)

function (config) {
expect(config.api.host).toEqual('https://api.qipp.com')
expect(config.api.host).toEqual('https://api.allthings.me')
}

@@ -80,3 +80,3 @@ ))

function (config) {
expect(config.api.host).toEqual('https://api.qipp.com')
expect(config.api.host).toEqual('https://api.allthings.me')
}

@@ -83,0 +83,0 @@ ))

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