Socket
Socket
Sign inDemoInstall

@aws-sdk/core

Package Overview
Dependencies
Maintainers
5
Versions
61
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.662.0 to 3.664.0

dist-es/submodules/client/setFeature.js

19

dist-cjs/submodules/client/index.js

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

__export(client_exports, {
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,
setFeature: () => setFeature
});

@@ -45,5 +46,19 @@ module.exports = __toCommonJS(client_exports);

}, "emitWarningIfUnsupportedVersion");
// src/submodules/client/setFeature.ts
function setFeature(context, feature, value) {
if (!context.__aws_sdk_context) {
context.__aws_sdk_context = {
features: {}
};
} else if (!context.__aws_sdk_context.features) {
context.__aws_sdk_context.features = {};
}
context.__aws_sdk_context.features[feature] = value;
}
__name(setFeature, "setFeature");
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
emitWarningIfUnsupportedVersion
emitWarningIfUnsupportedVersion,
setFeature
});
export * from "./emitWarningIfUnsupportedVersion";
export * from "./setFeature";
export * from "./emitWarningIfUnsupportedVersion";
export * from "./setFeature";
export * from "./emitWarningIfUnsupportedVersion";
export * from "./setFeature";

3

package.json
{
"name": "@aws-sdk/core",
"version": "3.662.0",
"version": "3.664.0",
"description": "Core functions & classes shared by multiple AWS SDK clients.",

@@ -82,2 +82,3 @@ "scripts": {

"dependencies": {
"@aws-sdk/types": "3.664.0",
"@smithy/core": "^2.4.7",

@@ -84,0 +85,0 @@ "@smithy/node-config-provider": "^3.1.8",

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