@xapp/arachne-utils
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -5,3 +5,7 @@ "use strict"; | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -8,0 +12,0 @@ if (k2 === undefined) k2 = k; |
/*! Copyright (c) 2020, XAPP AI */ | ||
import * as _normalizeUrl from "normalize-url"; | ||
import { Options } from "normalize-url"; | ||
/** | ||
@@ -13,2 +13,2 @@ * Normalize the URL to make it easier to dedupe or compare URLs. | ||
*/ | ||
export declare function normalizeURL(url: string, options?: _normalizeUrl.Options): string; | ||
export declare function normalizeURL(url: string, options?: Options): string; |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.normalizeURL = void 0; | ||
/*! Copyright (c) 2020, XAPP AI */ | ||
const _normalizeUrl = require("normalize-url"); | ||
const normalize_url_1 = __importDefault(require("normalize-url")); | ||
/** | ||
@@ -17,5 +20,5 @@ * Normalize the URL to make it easier to dedupe or compare URLs. | ||
function normalizeURL(url, options = { stripHash: true }) { | ||
return _normalizeUrl(url, options); | ||
return (0, normalize_url_1.default)(url, options); | ||
} | ||
exports.normalizeURL = normalizeURL; | ||
//# sourceMappingURL=normalizeURL.js.map |
{ | ||
"name": "@xapp/arachne-utils", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"types": "lib/index", | ||
@@ -9,3 +9,3 @@ "main": "lib/index", | ||
], | ||
"private": false, | ||
"license": "Apache-2.0", | ||
"publishConfig": { | ||
@@ -18,19 +18,19 @@ "access": "public" | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "7.9.15", | ||
"@types/chai": "4.2.12", | ||
"@types/mocha": "8.0.3", | ||
"@types/node": "14.11.8", | ||
"@types/sinon": "9.0.5", | ||
"@types/sinon-chai": "3.2.4", | ||
"@microsoft/api-extractor": "7.22.2", | ||
"@types/chai": "4.3.1", | ||
"@types/mocha": "9.1.1", | ||
"@types/node": "17.0.25", | ||
"@types/sinon": "10.0.11", | ||
"@types/sinon-chai": "3.2.8", | ||
"@xapp/config": "0.2.3", | ||
"chai": "4.2.0", | ||
"mocha": "8.1.3", | ||
"sinon": "9.2.3", | ||
"sinon-chai": "3.5.0", | ||
"ts-node": "9.0.0", | ||
"tslib": "2.0.1", | ||
"typescript": "4.0.2" | ||
"chai": "4.3.6", | ||
"mocha": "9.2.2", | ||
"sinon": "13.0.2", | ||
"sinon-chai": "3.7.0", | ||
"ts-node": "10.7.0", | ||
"tslib": "2.4.0", | ||
"typescript": "4.6.3" | ||
}, | ||
"dependencies": { | ||
"normalize-url": "4.5.0" | ||
"normalize-url": "6.1.0" | ||
}, | ||
@@ -43,3 +43,3 @@ "scripts": { | ||
}, | ||
"gitHead": "7d53aaff43abd0ad5dfa288a8d7ba7147d8a4bee" | ||
"gitHead": "5fb12fa2701e8a62a892c3c1a3d6865eb5aadcc5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
18639
0
145
+ Addednormalize-url@6.1.0(transitive)
- Removednormalize-url@4.5.0(transitive)
Updatednormalize-url@6.1.0