Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 11, 2019
1 parent 81a779e commit 537d35f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const osLocale = mem(async (options = defaultOptions) => {
} catch (_) {}

return (locale || defaultLocale).replace(/_/, '-');
});
}, {cachePromiseRejection: false});

module.exports = osLocale;

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
],
"dependencies": {
"execa": "^1.0.0",
"lcid": "^2.0.0",
"mem": "^4.3.0"
"lcid": "^3.0.0",
"mem": "^5.0.0"
},
"devDependencies": {
"ava": "^1.4.1",
"ava": "^2.1.0",
"import-fresh": "^3.0.0",
"tsd": "^0.7.2",
"xo": "^0.24.0"
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ const osLocale = require('os-locale');

## API

### osLocale([options])
### osLocale(options?)

Returns a `Promise` for the locale.

### osLocale.sync([options])
### osLocale.sync(options?)

Returns the locale.

Expand Down

0 comments on commit 537d35f

Please sign in to comment.