Socket
Socket
Sign inDemoInstall

@confconf/aws-secrets-manager

Package Overview
Dependencies
146
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 2.0.0

12

dist/awsSecretsManagerProvider.js

@@ -7,9 +7,5 @@ "use strict";

constructor(opts) {
// private readonly structure?: ConfigStructureRoot;
// constructor(opts: AwsSecretsManagerProviderOptsStructure);
// constructor(opts: AwsSecretsManagerProviderOptsSecret | AwsSecretsManagerProviderOptsStructure) {
this.client = opts.client;
this.secretToLoad = opts.secretToLoad;
}
// this.structure = (opts as AwsSecretsManagerProviderOptsStructure).structure;
async load() {

@@ -20,5 +16,2 @@ if (this.secretToLoad) {

return {};
// if (this.structure) {
// return await this.loadIntoStructure(this.structure);
// }
}

@@ -42,9 +35,4 @@ async loadSingleSecret(secret) {

exports.AwsSecretsManagerProvider = AwsSecretsManagerProvider;
// private async loadIntoStructure(structure: ConfigStructureRoot) {
// const secretsToLoad = traverse.reduce(structure, (acc, value) => {
// if (val)
// }, [])
// }
const awsSecretsManagerConfig = (opts) => new AwsSecretsManagerProvider(opts);
exports.awsSecretsManagerConfig = awsSecretsManagerConfig;
//# sourceMappingURL=awsSecretsManagerProvider.js.map

11

package.json
{
"name": "@confconf/aws-secrets-manager",
"version": "1.0.0",
"version": "2.0.0",
"description": "AWS Secrets Manager provider for confconf",

@@ -35,2 +35,4 @@ "keywords": [

"scripts": {
"build": "tsc -p .",
"clean": "rimraf dist && rm -f tsconfig.ref.tsbuildinfo",
"test": "jest",

@@ -42,3 +44,3 @@ "test:ci": "jest --ci",

"@aws-sdk/client-secrets-manager": "^3.40.0",
"@confconf/confconf": "^1.1.1"
"@confconf/confconf": "^2.0.0"
},

@@ -49,3 +51,6 @@ "license": "MIT",

},
"homepage": "https://github.com/tomi/confconf/tree/main/packages/aws-secrets-manager"
"homepage": "https://github.com/tomi/confconf/tree/main/packages/aws-secrets-manager",
"publishConfig": {
"access": "public"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc