@smithy/middleware-content-length
Advanced tools
+7
-8
| { | ||
| "name": "@smithy/middleware-content-length", | ||
| "version": "4.2.12", | ||
| "version": "4.2.13", | ||
| "scripts": { | ||
| "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
| "build:cjs": "node ../../scripts/inline middleware-content-length", | ||
| "build:es": "yarn g:tsc -p tsconfig.es.json", | ||
| "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'", | ||
| "build:es:cjs": "yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline middleware-content-length", | ||
| "build:types": "yarn g:tsc -p tsconfig.types.json", | ||
| "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4", | ||
| "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", | ||
| "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo", | ||
| "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", | ||
| "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", | ||
| "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"", | ||
| "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", | ||
| "test": "exit 0", | ||
@@ -28,4 +27,4 @@ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts", | ||
| "dependencies": { | ||
| "@smithy/protocol-http": "^5.3.12", | ||
| "@smithy/types": "^4.13.1", | ||
| "@smithy/protocol-http": "^5.3.13", | ||
| "@smithy/types": "^4.14.0", | ||
| "tslib": "^2.6.2" | ||
@@ -32,0 +31,0 @@ }, |
+13
-0
@@ -5,1 +5,14 @@ # @smithy/middleware-content-length | ||
| [](https://www.npmjs.com/package/@smithy/middleware-content-length) | ||
| ### :warning: Internal API :warning: | ||
| > This is an internal package. | ||
| > That means this is used as a dependency for other, public packages, but | ||
| > should not be taken directly as a dependency in your application's `package.json`. | ||
| > If you are updating the version of this package, for example to bring in a | ||
| > bug-fix, you should do so by updating your application lockfile with | ||
| > e.g. `npm up @scope/package` or equivalent command in another | ||
| > package manager, rather than taking a direct dependency. | ||
| --- |
| import { BodyLengthCalculator, BuildHandlerOptions, BuildMiddleware, Pluggable } from "@smithy/types"; | ||
| export declare function contentLengthMiddleware(bodyLengthChecker: BodyLengthCalculator): BuildMiddleware<any, any>; | ||
| export declare const contentLengthMiddlewareOptions: BuildHandlerOptions; | ||
| export declare const getContentLengthPlugin: (options: { | ||
| bodyLengthChecker: BodyLengthCalculator; | ||
| }) => Pluggable<any, any>; |
17683
0.12%18
260%6
-14.29%88
-6.38%Updated