deshortify
Advanced tools
Comparing version 0.6.0 to 1.0.0
{ | ||
"name": "deshortify", | ||
"version": "0.6.0", | ||
"version": "1.0.0", | ||
"description": "Turns short URLs into long, meaningful, crap-less URLs.", | ||
@@ -32,3 +32,4 @@ "main": "dist/deshortify.js", | ||
"rollup-plugin-buble": "^0.18.0" | ||
} | ||
}, | ||
"bin": "bin/deshortify.js" | ||
} |
@@ -171,2 +171,4 @@ const http = require("http"); | ||
name.match(/_kwd$/) || | ||
name.match(/_brand$/) || | ||
name.match(/_social-type$/) || | ||
name === "utm_cid" || | ||
@@ -282,2 +284,3 @@ name === "cm_mmc" || | ||
url.match(/gdpr/) || // Potential "GDPR consent" interstitial | ||
url.match(/\/users\/sign_in/) || // Login page, e.g. gitlab | ||
(host === "www.bloomberg.com" && pathname.match(/^\/tosv2.html/)) // GPDR interstitial | ||
@@ -284,0 +287,0 @@ ); |
@@ -29,3 +29,8 @@ | ||
deshortifier.deshortify('https://www.nature.com/articles/s41598-019-44557-w'); | ||
// deshortifier.deshortify('https://www.nature.com/articles/s41598-019-44557-w'); | ||
var u = deshortifier.deshortify('http://zpr.io/gkR6r'); | ||
u.then(v=>{console.log(v)}); |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
43901
9
566
1