Socket
Socket
Sign inDemoInstall

relateurl

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

.gitignore

8

package.json
{
"name": "relateurl",
"description": "Minify URLs by converting them from absolute to relative.",
"version": "0.2.1",
"version": "0.2.2",
"homepage": "https://github.com/stevenvachon/relateurl",

@@ -21,4 +21,3 @@ "author": {

"chai": "~1.9",
"grunt": "~0.4",
"grunt-mocha-test": "~0.9"
"mocha": "~1.18"
},

@@ -28,2 +27,5 @@ "engines": {

},
"scripts": {
"test": "node node_modules/mocha/bin/mocha test/ --bail --reporter spec --check-leaks"
},
"keywords": [

@@ -30,0 +32,0 @@ "url",

@@ -1,2 +0,2 @@

# relateurl [![NPM Version](http://badge.fury.io/js/relateurl.png)](http://badge.fury.io/js/relateurl) [![Build Status](https://secure.travis-ci.org/stevenvachon/relateurl.png)](http://travis-ci.org/stevenvachon/relateurl)
# relateurl [![NPM Version](http://badge.fury.io/js/relateurl.svg)](http://badge.fury.io/js/relateurl) [![Build Status](https://secure.travis-ci.org/stevenvachon/relateurl.svg)](http://travis-ci.org/stevenvachon/relateurl)

@@ -20,3 +20,3 @@ > Minify URLs by converting them from absolute to relative.

This plugin requires [Node.js](http://nodejs.org/) `~0.10`. To install, type this at the command line:
This utility requires [Node.js](http://nodejs.org/) `~0.10`. To install, type this at the command line:
```

@@ -123,2 +123,3 @@ npm install relateurl --save-dev

## Release History
* 0.2.2 removed task runner
* 0.2.1 shorten resource- and query-relative URLs, test variations list with other site URLs

@@ -129,3 +130,4 @@ * 0.2.0 code cleanup, `options.removeEmptyQueries=true` only applied to unrelated URLs

## Roadmap
* 0.2.2 decipher and return invalid input (special cases) to complete test suite
* 0.2.3 shorten absolute URLs like `http://domain.com/?var` to `http://domain.com?var`, etc
* 0.2.4 decipher and return invalid input (special cases) to complete test suite
* 0.3.0 test `options.slashesDenoteHost=false`, add something like `options.externalDirectoryIndexes=[]` for external sites

@@ -132,0 +134,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc