Comparing version 2.0.0 to 2.0.1
@@ -5,3 +5,4 @@ #! /usr/bin/env node | ||
const minimist = require('minimist'); | ||
const result = fqs(minimist(process.argv.slice(2))._[0].toString()); | ||
const input = minimist(process.argv.slice(2))._[0] || ''; | ||
const result = fqs(input.toString()); | ||
if (result) { | ||
@@ -8,0 +9,0 @@ console.log(result); |
{ | ||
"name": "fqs", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Pretty-print URLs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,1 +13,2 @@ const assert = require('assert'); | ||
assert.equal(fqs('https://example.com/foo?d=3&c=2#b=1&a=0'), expected); | ||
assert.equal(fqs(''), ''); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21405
58