remove node_modules and .gitignore them

This commit is contained in:
2023-11-24 14:40:32 -05:00
parent 5f6e638903
commit a74d7b91b8
8963 changed files with 1 additions and 874175 deletions
-22
View File
@@ -1,22 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseUrl = void 0;
const querystring_parser_1 = require("@smithy/querystring-parser");
const parseUrl = (url) => {
if (typeof url === "string") {
return (0, exports.parseUrl)(new URL(url));
}
const { hostname, pathname, port, protocol, search } = url;
let query;
if (search) {
query = (0, querystring_parser_1.parseQueryString)(search);
}
return {
hostname,
port: port ? parseInt(port) : undefined,
protocol,
path: pathname,
query,
};
};
exports.parseUrl = parseUrl;