@hyperjump/uri
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -137,3 +137,3 @@ // Common | ||
let resolved = components.scheme.toLowerCase() + ":"; | ||
resolved += components.authority === undefined ? "" : "//" + components.authority; | ||
resolved += components.authority === undefined ? "" : "//" + components.authority.toLowerCase(); | ||
resolved += strategy.normalizePath(components.path); | ||
@@ -140,0 +140,0 @@ resolved += components.query === undefined ? "" : "?" + strategy.normalizeQuery(components.query); |
{ | ||
"name": "@hyperjump/uri", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A small and fast library for validating parsing and resolving URIs and IRIs", | ||
@@ -11,3 +11,3 @@ "type": "module", | ||
"lint": "eslint lib", | ||
"test": "mocha 'lib/**/*.spec.js'" | ||
"test": "mocha 'lib/**/*.spec.ts'" | ||
}, | ||
@@ -24,11 +24,24 @@ "repository": "github:hyperjump-io/uri", | ||
"IRI", | ||
"resolve" | ||
"resolve", | ||
"relative", | ||
"parse", | ||
"RFC3986", | ||
"RFC-3986", | ||
"RFC3987", | ||
"RFC-3987" | ||
], | ||
"devDependencies": { | ||
"@types/chai": "*", | ||
"@types/mocha": "*", | ||
"@typescript-eslint/eslint-plugin": "*", | ||
"@typescript-eslint/parser": "*", | ||
"chai": "*", | ||
"eslint": "*", | ||
"eslint-import-resolver-node": "*", | ||
"eslint-import-resolver-typescript": "*", | ||
"eslint-plugin-import": "*", | ||
"mocha": "*" | ||
"mocha": "*", | ||
"ts-node": "*", | ||
"typescript": "*" | ||
} | ||
} |
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
15605
12