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

@aws-crypto/kms-keyring-node

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/kms-keyring-node - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

18

build/main/index.js
"use strict";
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
function __export(m) {

@@ -21,2 +9,2 @@ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];

__export(require("./kms_keyring_node"));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7Ozs7O0dBYUc7Ozs7O0FBRUgsd0NBQWtDIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7Ozs7O0FBRXRDLHdDQUFrQyJ9

10

build/main/kms_keyring_node.d.ts

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

import { // eslint-disable-line no-unused-vars
KmsKeyringInput, // eslint-disable-line no-unused-vars
KMSConstructible, // eslint-disable-line no-unused-vars
KmsClientSupplier, // eslint-disable-line no-unused-vars
getClient, limitRegions, excludeRegions, cacheClients } from '@aws-crypto/kms-keyring';
import { KmsKeyringInput, KMSConstructible, KmsClientSupplier, getClient, limitRegions, excludeRegions, cacheClients } from '@aws-crypto/kms-keyring';
import { NodeAlgorithmSuite } from '@aws-crypto/material-management-node';

@@ -15,5 +11,5 @@ import { KMS } from 'aws-sdk';

export declare class KmsKeyringNode extends KmsKeyringNode_base {
constructor({ clientProvider, keyIds, generatorKeyId, grantTokens, discovery }?: KmsKeyringNodeInput);
constructor({ clientProvider, keyIds, generatorKeyId, grantTokens, discovery, }?: KmsKeyringNodeInput);
}
export { getKmsClient, cacheKmsClients, getClient, limitRegions, excludeRegions, cacheClients, KMS };
export { getKmsClient, cacheKmsClients, getClient, limitRegions, excludeRegions, cacheClients, KMS, };
//# sourceMappingURL=kms_keyring_node.d.ts.map
"use strict";
/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,5 +11,7 @@ const kms_keyring_1 = require("@aws-crypto/kms-keyring");

const material_management_node_1 = require("@aws-crypto/material-management-node");
const aws_sdk_1 = require("aws-sdk"); // eslint-disable-line no-unused-vars
const aws_sdk_1 = require("aws-sdk");
exports.KMS = aws_sdk_1.KMS;
const getKmsClient = kms_keyring_1.getClient(aws_sdk_1.KMS, { customUserAgent: 'AwsEncryptionSdkJavascriptNodejs' });
const getKmsClient = kms_keyring_1.getClient(aws_sdk_1.KMS, {
customUserAgent: 'AwsEncryptionSdkJavascriptNodejs',
});
exports.getKmsClient = getKmsClient;

@@ -31,3 +21,3 @@ const cacheKmsClients = kms_keyring_1.cacheClients(getKmsClient);

class KmsKeyringNode extends kms_keyring_1.KmsKeyringClass(material_management_node_1.KeyringNode) {
constructor({ clientProvider = cacheKmsClients, keyIds, generatorKeyId, grantTokens, discovery } = {}) {
constructor({ clientProvider = cacheKmsClients, keyIds, generatorKeyId, grantTokens, discovery, } = {}) {
super({ clientProvider, keyIds, generatorKeyId, grantTokens, discovery });

@@ -38,2 +28,2 @@ }

material_management_node_1.immutableClass(KmsKeyringNode);
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia21zX2tleXJpbmdfbm9kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9rbXNfa2V5cmluZ19ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTs7Ozs7Ozs7Ozs7OztHQWFHOztBQUVILHlEQVVnQztBQTBCUSxvQkE5QnRDLHVCQUFTLENBOEJzQztBQUFFLHVCQTdCakQsMEJBQVksQ0E2QmlEO0FBQUUseUJBNUIvRCw0QkFBYyxDQTRCK0Q7QUFBRSx1QkEzQi9FLDBCQUFZLENBMkIrRTtBQXpCN0YsbUZBRzZDO0FBQzdDLHFDQUE2QixDQUFDLHFDQUFxQztBQXFCNEIsY0FyQnRGLGFBQUcsQ0FxQnNGO0FBcEJsRyxNQUFNLFlBQVksR0FBRyx1QkFBUyxDQUFDLGFBQUcsRUFBRSxFQUFFLGVBQWUsRUFBRSxrQ0FBa0MsRUFBRSxDQUFDLENBQUE7QUFvQm5GLG9DQUFZO0FBbkJyQixNQUFNLGVBQWUsR0FBRywwQkFBWSxDQUFDLFlBQVksQ0FBQyxDQUFBO0FBbUIzQiwwQ0F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SxDQUNqRCxzQ0FBdUQsQ0FDeEQ7SUFDQyxZQUFZLEVBQ1YsY0FBYyxHQUFHLGVBQWUsRUFDaEMsTUFBTSxFQUNOLGNBQWMsRUFDZCxXQUFXLEVBQ1gsU0FBUyxNQUNjLEVBQUU7UUFDekIsS0FBSyxDQUFDLEVBQUUsY0FBYyxFQUFFLE1BQU0sRUFBRSxjQUFjLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxDQUFDLENBQUE7SUFDM0UsQ0FBQztDQUNGO0FBWkQsd0NBWUM7QUFDRCx5Q0FBYyxDQUFDLGNBQWMsQ0FBQyxDQUFBIn0=

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

/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
export * from './kms_keyring_node';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7R0FhRztBQUVILGNBQWMsb0JBQW9CLENBQUEifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQztBQUV0QyxjQUFjLG9CQUFvQixDQUFBIn0=

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

import { // eslint-disable-line no-unused-vars
KmsKeyringInput, // eslint-disable-line no-unused-vars
KMSConstructible, // eslint-disable-line no-unused-vars
KmsClientSupplier, // eslint-disable-line no-unused-vars
getClient, limitRegions, excludeRegions, cacheClients } from '@aws-crypto/kms-keyring';
import { KmsKeyringInput, KMSConstructible, KmsClientSupplier, getClient, limitRegions, excludeRegions, cacheClients } from '@aws-crypto/kms-keyring';
import { NodeAlgorithmSuite } from '@aws-crypto/material-management-node';

@@ -15,5 +11,5 @@ import { KMS } from 'aws-sdk';

export declare class KmsKeyringNode extends KmsKeyringNode_base {
constructor({ clientProvider, keyIds, generatorKeyId, grantTokens, discovery }?: KmsKeyringNodeInput);
constructor({ clientProvider, keyIds, generatorKeyId, grantTokens, discovery, }?: KmsKeyringNodeInput);
}
export { getKmsClient, cacheKmsClients, getClient, limitRegions, excludeRegions, cacheClients, KMS };
export { getKmsClient, cacheKmsClients, getClient, limitRegions, excludeRegions, cacheClients, KMS, };
//# sourceMappingURL=kms_keyring_node.d.ts.map

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

/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is
* located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" file accompanying this file. This file is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
* implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
import { KmsKeyringClass, // eslint-disable-line no-unused-vars
getClient, limitRegions, excludeRegions, cacheClients } from '@aws-crypto/kms-keyring';
import { // eslint-disable-line no-unused-vars
immutableClass, KeyringNode } from '@aws-crypto/material-management-node';
import { KMS } from 'aws-sdk'; // eslint-disable-line no-unused-vars
const getKmsClient = getClient(KMS, { customUserAgent: 'AwsEncryptionSdkJavascriptNodejs' });
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { KmsKeyringClass, getClient, limitRegions, excludeRegions, cacheClients, } from '@aws-crypto/kms-keyring';
import { immutableClass, KeyringNode, } from '@aws-crypto/material-management-node';
import { KMS } from 'aws-sdk';
const getKmsClient = getClient(KMS, {
customUserAgent: 'AwsEncryptionSdkJavascriptNodejs',
});
const cacheKmsClients = cacheClients(getKmsClient);
export class KmsKeyringNode extends KmsKeyringClass(KeyringNode) {
constructor({ clientProvider = cacheKmsClients, keyIds, generatorKeyId, grantTokens, discovery } = {}) {
constructor({ clientProvider = cacheKmsClients, keyIds, generatorKeyId, grantTokens, discovery, } = {}) {
super({ clientProvider, keyIds, generatorKeyId, grantTokens, discovery });

@@ -28,3 +16,3 @@ }

immutableClass(KmsKeyringNode);
export { getKmsClient, cacheKmsClients, getClient, limitRegions, excludeRegions, cacheClients, KMS };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia21zX2tleXJpbmdfbm9kZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9rbXNfa2V5cmluZ19ub2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7O0dBYUc7QUFFSCxPQUFPLEVBQ0wsZUFBZSxFQUlJLHFDQUFxQztBQUN4RCxTQUFTLEVBQ1QsWUFBWSxFQUNaLGNBQWMsRUFDZCxZQUFZLEVBQ2IsTUFBTSx5QkFBeUIsQ0FBQTtBQUNoQyxPQUFPLEVBQ2UscUNBQXFDO0FBQ3pELGNBQWMsRUFBRSxXQUFXLEVBQzVCLE1BQU0sc0NBQXNDLENBQUE7QUFDN0MsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLFNBQVMsQ0FBQSxDQUFDLHFDQUFxQztBQUNuRSxNQUFNLFlBQVksR0FBRyxTQUFTLENBQUMsR0FBRyxFQUFF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QzdDLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxTQUFTLENBQUE7QUFDN0IsTUFBTSxZQUFZLEdBQUcsU0FBUyxDQUFDLEdBQUcsRUFBRTtJQUNsQyxlQUFlLEVBQUUsa0NBQWtDO0NBQ3BELENBQUMsQ0FBQTtBQUNGLE1BQU0sZUFBZSxHQUFHLFlBQVksQ0FBQyxZQUFZLENBQUMsQ0FBQTtBQVNsRCxNQUFNLE9BQU8sY0FBZSxTQUFRLGVBQWUsQ0FDakQsV0FBdUQsQ0FDeEQ7SUFDQyxZQUFZLEVBQ1YsY0FBYyxHQUFHLGVBQWUsRUFDaEMsTUFBTSxFQUNOLGNBQWMsRUFDZCxXQUFXLEVBQ1gsU0FBUyxNQUNjLEVBQUU7UUFDekIsS0FBSyxDQUFDLEVBQUUsY0FBYyxFQUFFLE1BQU0sRUFBRSxjQUFjLEVBQUUsV0FBVyxFQUFFLFNBQVMsRUFBRSxDQUFDLENBQUE7SUFDM0UsQ0FBQztDQUNGO0FBQ0QsY0FBYyxDQUFDLGNBQWMsQ0FBQyxDQUFBO0FBRTlCLE9BQU8sRUFDTCxZQUFZLEVBQ1osZUFBZSxFQUNmLFNBQVMsRUFDVCxZQUFZLEVBQ1osY0FBYyxFQUNkLFlBQVksRUFDWixHQUFHLEdBQ0osQ0FBQSJ9

@@ -6,2 +6,10 @@ # Change Log

## [1.0.5](https://github.com/aws/aws-encryption-sdk-javascript/compare/@aws-crypto/kms-keyring-node@1.0.4...@aws-crypto/kms-keyring-node@1.0.5) (2020-05-26)
**Note:** Version bump only for package @aws-crypto/kms-keyring-node
## [1.0.4](https://github.com/aws/aws-encryption-sdk-javascript/compare/@aws-crypto/kms-keyring-node@1.0.3...@aws-crypto/kms-keyring-node@1.0.4) (2020-04-02)

@@ -8,0 +16,0 @@

{
"name": "@aws-crypto/kms-keyring-node",
"version": "1.0.4",
"version": "1.0.5",
"scripts": {
"prepublishOnly": "npm run build",
"build": "tsc -b tsconfig.json && tsc -b tsconfig.module.json",
"lint": "standard src/*.ts test/**/*.ts",
"lint": "run-s lint-*",
"lint-eslint": "eslint src/*.ts test/**/*.ts",
"lint-prettier": "prettier -c src/*.ts test/**/*.ts",
"mocha": "mocha --require ts-node/register test/**/*test.ts",

@@ -19,4 +21,4 @@ "test": "npm run lint && npm run coverage",

"dependencies": {
"@aws-crypto/kms-keyring": "^1.1.0",
"@aws-crypto/material-management-node": "^1.0.4",
"@aws-crypto/kms-keyring": "^1.1.1",
"@aws-crypto/material-management-node": "^1.0.5",
"aws-sdk": "^2.650.0",

@@ -32,9 +34,3 @@ "tslib": "^1.11.1"

],
"standard": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
]
},
"gitHead": "6fdb7e50f91cff05999eeaf79fbd6ad1720024a2"
"gitHead": "4b60e0607e83d1ea2da98fd593e681f98f0d0082"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc