purl icon indicating copy to clipboard operation
purl copied to clipboard

[NO LONGER MAINTAINED] A JS utility for for parsing URLs and extracting information out of them.

Results 13 purl issues
Sort by recently updated
recently updated
newest added

Security fix: Prevent prototype pollution by using an object without prototypes (via Object.create(null)) https://nvd.nist.gov/vuln/detail/CVE-2021-20089 https://cwe.mitre.org/data/definitions/1321.html

Per bower/bower.json-spec@a325da3 Also their maintainer says they probably won't ever use it: http://stackoverflow.com/questions/24844901/bowers-bower-json-file-version-property

The package name is purl-parser, because the name purl was already taken in the npm registry.

…also update buster test suite to work with latest version of buster see also: https://github.com/allmarkedup/purl/issues/64 https://github.com/allmarkedup/purl/pull/74

More information here : https://github.com/omarqureshi/jQuery-URL-Parser/pull/1

$.url('http://domain.com/xxx@yyy'); => protocol=http, host=domain.com, directory=xxx@yyy $.url('/a@b', false); => user=/a, host=b $.url('/a@b', true); => directory=/a@b

The following is not perfect, but is a basic implementation of using attr with function overloading ... it is backwards compatible with the current implementation. attr('foo') does whatever it does...

- add support for requesting specific parameters only, by an array of parameter names. The returned parameters are in the same format as they were previously; an associative array for...