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

hmpo-countries-lib

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hmpo-countries-lib - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

15

package.json
{
"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({

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