Socket
Socket
Sign inDemoInstall

protocolify

Package Overview
Dependencies
3
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

2

index.js

@@ -8,3 +8,3 @@ 'use strict';

if (typeof url !== 'string') {
throw new TypeError('Expected a string');
throw new TypeError('Expected a string, got ' + typeof url);
}

@@ -11,0 +11,0 @@

{
"name": "protocolify",
"version": "1.0.2",
"description": "Prepend http:// to humanized URLs like todomvc.com and file:// to file paths",
"version": "1.0.3",
"description": "Prepend `http://` to humanized URLs like `todomvc.com` and `file://` to file paths",
"license": "MIT",

@@ -16,3 +16,3 @@ "repository": "sindresorhus/protocolify",

"scripts": {
"test": "node test.js"
"test": "xo && ava"
},

@@ -35,7 +35,8 @@ "files": [

"path-exists": "^2.0.0",
"prepend-http": "^1.0.0"
"prepend-http": "^1.0.4"
},
"devDependencies": {
"ava": "*"
"ava": "*",
"xo": "*"
}
}

@@ -37,2 +37,2 @@ # protocolify [![Build Status](https://travis-ci.org/sindresorhus/protocolify.svg?branch=master)](https://travis-ci.org/sindresorhus/protocolify)

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc