@aws-sdk/util-format-url 3.357.0 → 3.369.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.formatUrl = void 0;
4
- const querystring_builder_1 = require("@aws-sdk/querystring-builder");
4
+ const querystring_builder_1 = require("@smithy/querystring-builder");
5
5
  function formatUrl(request) {
6
6
  var _a, _b;
7
7
  const { port, query } = request;
package/dist-es/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { buildQueryString } from "@aws-sdk/querystring-builder";
1
+ import { buildQueryString } from "@smithy/querystring-builder";
2
2
  export function formatUrl(request) {
3
3
  const { port, query } = request;
4
4
  let { protocol, path, hostname } = request;
@@ -1,2 +1,2 @@
1
- import { HttpRequest } from "@aws-sdk/types";
1
+ import { HttpRequest } from "@smithy/types";
2
2
  export declare function formatUrl(request: Omit<HttpRequest, "headers" | "method">): string;
@@ -1,4 +1,4 @@
1
- import { HttpRequest } from "@aws-sdk/types";
1
+ import { HttpRequest } from "@smithy/types";
2
2
  export declare function formatUrl(
3
3
  request: Pick<HttpRequest, Exclude<keyof HttpRequest, "headers" | "method">>
4
4
  ): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-format-url",
3
- "version": "3.357.0",
3
+ "version": "3.369.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,8 +20,9 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/querystring-builder": "3.357.0",
24
- "@aws-sdk/types": "3.357.0",
23
+ "@aws-sdk/types": "3.369.0",
24
+ "@smithy/querystring-builder": "^1.0.1",
25
+ "@smithy/types": "^1.1.0",
25
26
  "tslib": "^2.5.0"
26
27
  },
27
28
  "engines": {