diff --git a/package.json b/package.json index 4a1d4d8b..c6a84f89 100644 --- a/package.json +++ b/package.json @@ -71,6 +71,7 @@ "browser": { "binary-search": false, "cheerio": "jquery", + "url": "./src/url.js", "./cli": false, "./location": false }, diff --git a/src/bootlint.js b/src/bootlint.js index f1c480b6..e51bdb60 100644 --- a/src/bootlint.js +++ b/src/bootlint.js @@ -8,6 +8,7 @@ /*eslint-env node */ var cheerio = require('cheerio'); +var parseUrl = require('url').parse; var semver = require('semver'); var _location = require('./location'); var LocationIndex = _location.LocationIndex; @@ -359,10 +360,8 @@ var LocationIndex = _location.LocationIndex; // check for jQuery