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

@aws-sdk/core

Package Overview
Dependencies
Maintainers
5
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/core - npm Package Compare versions

Comparing version 3.667.0 to 3.677.0

14

dist-cjs/submodules/client/index.js

@@ -26,3 +26,4 @@ "use strict";

setCredentialFeature: () => setCredentialFeature,
setFeature: () => setFeature
setFeature: () => setFeature,
state: () => state
});

@@ -32,6 +33,8 @@ module.exports = __toCommonJS(client_exports);

// src/submodules/client/emitWarningIfUnsupportedVersion.ts
var warningEmitted = false;
var state = {
warningEmitted: false
};
var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 18) {
warningEmitted = true;
if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 18) {
state.warningEmitted = true;
process.emitWarning(

@@ -75,3 +78,4 @@ `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will

setCredentialFeature,
setFeature
setFeature,
state
});

@@ -1,5 +0,7 @@

let warningEmitted = false;
export const state = {
warningEmitted: false,
};
export const emitWarningIfUnsupportedVersion = (version) => {
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 18) {
warningEmitted = true;
if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 18) {
state.warningEmitted = true;
process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will

@@ -6,0 +8,0 @@ no longer support Node.js 16.x on January 6, 2025.

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

export declare const state: {
warningEmitted: boolean;
};
/**

@@ -2,0 +5,0 @@ * @internal

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

export declare const state: {
warningEmitted: boolean;
};
export declare const emitWarningIfUnsupportedVersion: (version: string) => void;
{
"name": "@aws-sdk/core",
"version": "3.667.0",
"version": "3.677.0",
"description": "Core functions & classes shared by multiple AWS SDK clients.",

@@ -15,4 +15,4 @@ "scripts": {

"extract:docs": "api-extractor run --local",
"test": "jest",
"test:integration": "jest -c jest.config.integ.js"
"test": "vitest run",
"test:integration": "vitest run -c vitest.config.integ.ts"
},

@@ -19,0 +19,0 @@ "main": "./dist-cjs/index.js",

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