Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iu-global-access-initiative

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iu-global-access-initiative - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1-1

2

package.json
{
"name": "iu-global-access-initiative",
"version": "1.0.0",
"version": "1.0.1-1",
"description": "Holds logic to determine contextual presentation information given user country and some other conditions (i.e. study delivery method) for International University (IU) partnership",

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

@@ -7,5 +7,5 @@ "use strict";

return ((_a = criteria.educationLevel) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase()) === "master"
|| ((_b = criteria.educationLevel) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase()) === "bachelors";
|| ((_b = criteria.educationLevel) === null || _b === void 0 ? void 0 : _b.toLocaleLowerCase()) === "bachelor";
}
}
exports.default = new EducationLevelPolicy();

@@ -38,3 +38,3 @@ "use strict";

countryId: "SomeCountryId",
educationLevel: "bachelors"
educationLevel: "bachelor"
};

@@ -48,3 +48,3 @@ const result = testInstance.meets(criteria);

countryId: "SomeCountryId",
educationLevel: "baCHelors"
educationLevel: "baCHelor"
};

@@ -51,0 +51,0 @@ const result = testInstance.meets(criteria);

@@ -85,3 +85,3 @@ "use strict";

deliveryMethod: "online",
educationLevel: "bachelors"
educationLevel: "bachelor"
};

@@ -98,3 +98,3 @@ const result = testInstance.getDiscountPercentage(criteria);

deliveryMethod: "online",
educationLevel: "bachelors"
educationLevel: "bachelor"
};

@@ -135,3 +135,3 @@ const result = testInstance.getDiscountPercentage(criteria);

deliveryMethod: "online",
educationLevel: "bachelors"
educationLevel: "bachelor"
};

@@ -148,3 +148,3 @@ const result = testInstance.getDiscountPercentage(criteria);

deliveryMethod: "blended",
educationLevel: "bachelors"
educationLevel: "bachelor"
};

@@ -151,0 +151,0 @@ const result = testInstance.getDiscountPercentage(criteria);

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