Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trivikr-test/util-middleware

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trivikr-test/util-middleware - npm Package Compare versions

Comparing version 3.55.0 to 3.170.0-es2015

6

dist-es/normalizeProvider.js

@@ -1,6 +0,6 @@

export var normalizeProvider = function (input) {
export const normalizeProvider = (input) => {
if (typeof input === "function")
return input;
var promisified = Promise.resolve(input);
return function () { return promisified; };
const promisified = Promise.resolve(input);
return () => promisified;
};

@@ -1,2 +0,2 @@

import { Provider } from "@aws-sdk/types";
import { Provider } from "@trivikr-test/types";
export declare const normalizeProvider: <T>(input: T | Provider<T>) => Provider<T>;
export * from "./normalizeProvider";

@@ -1,2 +0,4 @@

import { Provider } from "@aws-sdk/types";
export declare const normalizeProvider: <T>(input: T | Provider<T>) => Provider<T>;
import { Provider } from "@trivikr-test/types";
export declare const normalizeProvider: <T>(
input: T | Provider<T>
) => Provider<T>;
{
"name": "@trivikr-test/util-middleware",
"version": "3.55.0",
"version": "3.170.0-es2015",
"description": "Shared utilities for to be used in middleware packages.",

@@ -11,2 +11,3 @@ "main": "./dist-cjs/index.js",

"build:es": "tsc -p tsconfig.es.json",
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
"build:types": "tsc -p tsconfig.types.json",

@@ -30,7 +31,7 @@ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",

"devDependencies": {
"@trivikr-test/types": "3.55.0",
"@trivikr-test/types": "3.170.0-es2015",
"@tsconfig/recommended": "1.0.1",
"@types/node": "^10.0.0",
"concurrently": "7.0.0",
"downlevel-dts": "0.7.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",

@@ -37,0 +38,0 @@ "typedoc": "0.19.2",

@@ -1,12 +0,1 @@

# @aws-sdk/util-middleware
[![NPM version](https://img.shields.io/npm/v/@aws-sdk/util-middleware/latest.svg)](https://www.npmjs.com/package/@aws-sdk/util-middleware)
[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/util-middleware.svg)](https://www.npmjs.com/package/@aws-sdk/util-middleware)
> An internal package
This package provides shared utilities for middleware.
## Usage
You probably shouldn't, at least directly.
Please refer [README.md](https://github.com/aws/aws-sdk-js-v3/blob/v3.170.0/packages/util-middleware/README.md) for v3.170.0.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc