Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@aws-sdk/credential-provider-process

Package Overview
Dependencies
Maintainers
2
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/credential-provider-process - npm Package Compare versions

Comparing version
3.972.12
to
3.972.13
+3
-3
dist-cjs/index.js

@@ -5,4 +5,4 @@ 'use strict';

var propertyProvider = require('@smithy/property-provider');
var child_process = require('child_process');
var util = require('util');
var node_child_process = require('node:child_process');
var node_util = require('node:util');
var client = require('@aws-sdk/core/client');

@@ -45,3 +45,3 @@

if (credentialProcess !== undefined) {
const execPromise = util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? child_process.exec);
const execPromise = node_util.promisify(sharedIniFileLoader.externalDataInterceptor?.getTokenRecord?.().exec ?? node_child_process.exec);
try {

@@ -48,0 +48,0 @@ const { stdout } = await execPromise(credentialProcess);

import { CredentialsProviderError } from "@smithy/property-provider";
import { externalDataInterceptor } from "@smithy/shared-ini-file-loader";
import { exec } from "child_process";
import { promisify } from "util";
import { exec } from "node:child_process";
import { promisify } from "node:util";
import { getValidatedProcessCredentials } from "./getValidatedProcessCredentials";

@@ -6,0 +6,0 @@ export const resolveProcessCredentials = async (profileName, profiles, logger) => {

import type { CredentialProviderOptions, RuntimeConfigAwsCredentialIdentityProvider } from "@aws-sdk/types";
import { SourceProfileInit } from "@smithy/shared-ini-file-loader";
import type { SourceProfileInit } from "@smithy/shared-ini-file-loader";
/**

@@ -4,0 +4,0 @@ * @internal

@@ -1,3 +0,3 @@

import { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
import { ProcessCredentials } from "./ProcessCredentials";
import type { AwsCredentialIdentity, ParsedIniData } from "@smithy/types";
import type { ProcessCredentials } from "./ProcessCredentials";
/**

@@ -4,0 +4,0 @@ * @internal

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

import { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types";
import type { AwsCredentialIdentity, Logger, ParsedIniData } from "@smithy/types";
/**

@@ -3,0 +3,0 @@ * @internal

{
"name": "@aws-sdk/credential-provider-process",
"version": "3.972.12",
"version": "3.972.13",
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",

@@ -29,4 +29,4 @@ "main": "./dist-cjs/index.js",

"dependencies": {
"@aws-sdk/core": "^3.973.14",
"@aws-sdk/types": "^3.973.3",
"@aws-sdk/core": "^3.973.15",
"@aws-sdk/types": "^3.973.4",
"@smithy/property-provider": "^4.2.10",

@@ -33,0 +33,0 @@ "@smithy/shared-ini-file-loader": "^4.4.5",