Skip to content

Commit

Permalink
Use HTTPS links
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 16, 2020
1 parent caba49a commit c5fd97d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ Set the [`registry` option](https://docs.npmjs.com/misc/config#registry) in pack

```json
"publishConfig": {
"registry": "http://my-internal-registry.local"
"registry": "https://my-internal-registry.local"
}
```

Expand Down
2 changes: 1 addition & 1 deletion source/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ module.exports = async (options, pkg) => {
filter: input => version.isValidInput(input) ? version(pkg.version).getNewVersionFrom(input) : input,
validate: input => {
if (!version.isValidInput(input)) {
return 'Please specify a valid semver, for example, `1.2.3`. See http://semver.org';
return 'Please specify a valid semver, for example, `1.2.3`. See https://semver.org';
}

if (version(oldVersion).isLowerThanOrEqualTo(input)) {
Expand Down

0 comments on commit c5fd97d

Please sign in to comment.