hmpo-countries-lib
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "hmpo-countries-lib", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Country lists", | ||
@@ -29,13 +29,14 @@ "main": "index.js", | ||
"dependencies": { | ||
"debug": "^2.6.3", | ||
"hmpo-cached-model": "^1.1.0", | ||
"debug": "^3.1.0", | ||
"hmpo-cached-model": "^2.1.0", | ||
"hmpo-model": "^2.0.0", | ||
"underscore": "^1.8.3" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"eslint": "^3.13.1", | ||
"chai": "^4.1.2", | ||
"eslint": "^4.10.0", | ||
"istanbul": "^0.4.3", | ||
"mocha": "^3.1.2", | ||
"mocha": "^4.0.1", | ||
"proxyquire": "^1.7.11", | ||
"sinon": "^1.14.1", | ||
"sinon": "^4.1.2", | ||
"sinon-chai": "^2.7.0", | ||
@@ -42,0 +43,0 @@ "snyk": "^1.24.5" |
@@ -32,4 +32,4 @@ # hmpo-countries-lib | ||
let residentCountries = countriesLib.getResidentCountries(); | ||
let countryData = countriesLib.getCountyDataById('UK'); | ||
let countryData = countriesLib.getCountyDataBySlug('united-kingdom'); | ||
let countryData = countriesLib.getCountryDataById('UK'); | ||
let countryData = countriesLib.getCountryDataBySlug('united-kingdom'); | ||
``` | ||
@@ -36,0 +36,0 @@ |
@@ -97,2 +97,5 @@ 'use strict'; | ||
stubs.HmpoCachedModel.reset(); | ||
stubs.HmpoCachedModel | ||
.onCall(0).returns(stubs.countryCache) | ||
.onCall(1).returns(stubs.policyCache); | ||
instance = new stubs.CountriesCachedModel(); | ||
@@ -99,0 +102,0 @@ stubs.HmpoCachedModel.args[0][1].should.contain({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22711
469
4
+ Addedhmpo-model@^2.0.0
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedcolors@1.0.3(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addedcycle@1.0.3(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addedee-first@1.1.1(transitive)
+ Addedeyes@0.1.8(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedhmpo-cached-model@2.1.0(transitive)
+ Addedhmpo-logger@3.0.0(transitive)
+ Addedhmpo-model@2.1.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedlodash.kebabcase@4.1.1(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedms@2.1.3(transitive)
+ Addedon-finished@2.4.1(transitive)
+ Addedon-headers@1.0.2(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedsort-object-keys@1.1.3(transitive)
+ Addedstack-trace@0.0.10(transitive)
+ Addedwinston@2.4.7(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedhmpo-cached-model@1.1.0(transitive)
- Removedhmpo-model@1.0.0(transitive)
Updateddebug@^3.1.0
Updatedhmpo-cached-model@^2.1.0