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

@aws-crypto/caching-materials-manager-browser

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/caching-materials-manager-browser - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

build/main/caching_materials_manager_browser.d.ts

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

import { CachingMaterialsManager, CachingMaterialsManagerInput, // eslint-disable-line no-unused-vars
CryptographicMaterialsCache } from '@aws-crypto/cache-material';
import { WebCryptoMaterialsManager, WebCryptoAlgorithmSuite, WebCryptoGetEncryptionMaterials, // eslint-disable-line no-unused-vars
WebCryptoGetDecryptMaterials } from '@aws-crypto/material-management-browser';
import { CachingMaterialsManager, CachingMaterialsManagerInput, CryptographicMaterialsCache } from '@aws-crypto/cache-material';
import { WebCryptoMaterialsManager, WebCryptoAlgorithmSuite, WebCryptoGetEncryptionMaterials, WebCryptoGetDecryptMaterials } from '@aws-crypto/material-management-browser';
export declare class WebCryptoCachingMaterialsManager implements CachingMaterialsManager<WebCryptoAlgorithmSuite> {

@@ -6,0 +4,0 @@ readonly _cache: CryptographicMaterialsCache<WebCryptoAlgorithmSuite>;

"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 });

@@ -40,3 +28,3 @@ const cache_material_1 = require("@aws-crypto/cache-material");

backingMaterialsManager,
partition
partition,
});

@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Q0FBQyxnQkFBa0UsQ0FBQTtRQUUvRTs7O1dBR0c7UUFDSCxNQUFNLEVBQUUsU0FBUyxHQUFHLDhCQUFRLENBQUMsNENBQXVCLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxHQUFHLEtBQUssQ0FBQTtRQUVuRSxtQ0FBa0IsQ0FBQyxJQUFJLEVBQUU7WUFDdkIsR0FBRyxLQUFLO1lBQ1IsdUJBQXVCO1lBQ3ZCLFNBQVM7U0FDVixDQUFDLENBQUE7SUFDSixDQUFDO0NBV0Y7QUF2Q0QsNEVBdUNDIn0=
"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) {

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

exports.getLocalCryptographicMaterialsCache = cache_material_1.getLocalCryptographicMaterialsCache;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7Ozs7O0dBYUc7Ozs7O0FBRUgseURBQW1EO0FBQ25ELDZEQUFnRjtBQUF2RSwrREFBQSxtQ0FBbUMsQ0FBQSJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLG9FQUFvRTtBQUNwRSxzQ0FBc0M7Ozs7O0FBRXRDLHlEQUFtRDtBQUNuRCw2REFBZ0Y7QUFBdkUsK0RBQUEsbUNBQW1DLENBQUEifQ==
"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 });

@@ -22,3 +10,3 @@ const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");

// Normalize to Uint8Array and squash into a single value.
const data = serialize_1.concatBuffers(...inputs.map(u => typeof u === 'string' ? util_utf8_browser_1.fromUtf8(u) : u));
const data = serialize_1.concatBuffers(...inputs.map((u) => (typeof u === 'string' ? util_utf8_browser_1.fromUtf8(u) : u)));
// Prefer the non-zero byte because this will always be the native implementation.

@@ -30,2 +18,2 @@ const backend = web_crypto_backend_1.getNonZeroByteBackend(await web_crypto_backend_1.getWebCryptoBackend());

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhNTEyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL3NoYTUxMi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7Ozs7Ozs7Ozs7R0FhRzs7QUFFSCxrRUFBcUQ7QUFDckQsdUVBQTJGO0FBQzNGLHFEQUFxRDtBQUV4QyxRQUF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TyxDQUFDLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQyw0QkFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUNoRSxDQUFBO0lBQ0Qsa0ZBQWtGO0lBQ2xGLE1BQU0sT0FBTyxHQUFHLDBDQUFxQixDQUFDLE1BQU0sd0NBQW1CLEVBQUUsQ0FBQyxDQUFBO0lBQ2xFLGNBQWM7SUFDZCxNQUFNLEVBQUUsR0FBRyxNQUFNLE9BQU8sQ0FBQyxNQUFNLENBQUMsU0FBUyxFQUFFLElBQUksQ0FBQyxDQUFBO0lBQ2hELE9BQU8sSUFBSSxVQUFVLENBQUMsRUFBRSxDQUFDLENBQUE7QUFDM0IsQ0FBQyxDQUFBIn0=

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

import { CachingMaterialsManager, CachingMaterialsManagerInput, // eslint-disable-line no-unused-vars
CryptographicMaterialsCache } from '@aws-crypto/cache-material';
import { WebCryptoMaterialsManager, WebCryptoAlgorithmSuite, WebCryptoGetEncryptionMaterials, // eslint-disable-line no-unused-vars
WebCryptoGetDecryptMaterials } from '@aws-crypto/material-management-browser';
import { CachingMaterialsManager, CachingMaterialsManagerInput, CryptographicMaterialsCache } from '@aws-crypto/cache-material';
import { WebCryptoMaterialsManager, WebCryptoAlgorithmSuite, WebCryptoGetEncryptionMaterials, WebCryptoGetDecryptMaterials } from '@aws-crypto/material-management-browser';
export declare class WebCryptoCachingMaterialsManager implements CachingMaterialsManager<WebCryptoAlgorithmSuite> {

@@ -6,0 +4,0 @@ readonly _cache: CryptographicMaterialsCache<WebCryptoAlgorithmSuite>;

@@ -1,20 +0,5 @@

/*
* 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 { // eslint-disable-line no-unused-vars
decorateProperties, getEncryptionMaterials, decryptMaterials, cacheEntryHasExceededLimits, buildCryptographicMaterialsCacheKeyHelpers } from '@aws-crypto/cache-material';
import { // eslint-disable-line no-unused-vars
WebCryptoDefaultCryptographicMaterialsManager, // eslint-disable-line no-unused-vars
KeyringWebCrypto } from '@aws-crypto/material-management-browser';
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
import { decorateProperties, getEncryptionMaterials, decryptMaterials, cacheEntryHasExceededLimits, buildCryptographicMaterialsCacheKeyHelpers, } from '@aws-crypto/cache-material';
import { WebCryptoDefaultCryptographicMaterialsManager, KeyringWebCrypto, } from '@aws-crypto/material-management-browser';
import { fromUtf8, toUtf8 } from '@aws-sdk/util-utf8-browser';

@@ -41,6 +26,6 @@ import { toBase64 } from '@aws-sdk/util-base64-browser';

backingMaterialsManager,
partition
partition,
});
}
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGluZ19tYXRlcmlhbHNfbWFuYWdlcl9icm93c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NhY2hpbmdfbWF0ZXJpYWxzX21hbmFnZXJfYnJvd3Nlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7OztHQWFHO0FBRUgsT0FBTyxFQUNvQixxQ0FBcUM7QUFDOUQsa0JBQWtCLEVBQ2xCLHNCQUFzQixFQUN0QixnQkFBZ0IsRUFDaEIsMkJBQTJCLEVBQzNCLDBDQUEwQyxFQUczQyxNQUFNLDRCQUE0QixDQUFBO0FBQ25DLE9BQU8sRUFDc0IscUNBQXFDO0FBQ2hFLDZDQUE2QyxFQUNwQixxQ0FBcUM7QUFDOUQsZ0JBQ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QUcsMkJBQTJCLEVBRXZELENBQUE7UUE1QkQsTUFBTSx1QkFBdUIsR0FDM0IsS0FBSyxDQUFDLGdCQUFnQixZQUFZLGdCQUFnQjtZQUNoRCxDQUFDLENBQUMsSUFBSSw2Q0FBNkMsQ0FDL0MsS0FBSyxDQUFDLGdCQUFnQixDQUN2QjtZQUNILENBQUMsQ0FBRSxLQUFLLENBQUMsZ0JBQWtFLENBQUE7UUFFL0U7OztXQUdHO1FBQ0gsTUFBTSxFQUFFLFNBQVMsR0FBRyxRQUFRLENBQUMsdUJBQXVCLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxHQUFHLEtBQUssQ0FBQTtRQUVuRSxrQkFBa0IsQ0FBQyxJQUFJLEVBQUU7WUFDdkIsR0FBRyxLQUFLO1lBQ1IsdUJBQXVCO1lBQ3ZCLFNBQVM7U0FDVixDQUFDLENBQUE7SUFDSixDQUFDO0NBV0YifQ==

@@ -1,17 +0,5 @@

/*
* 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 './caching_materials_manager_browser';
export { getLocalCryptographicMaterialsCache } from '@aws-crypto/cache-material';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7R0FhRztBQUVILGNBQWMscUNBQXFDLENBQUE7QUFDbkQsT0FBTyxFQUFFLG1DQUFtQyxFQUFFLE1BQU0sNEJBQTRCLENBQUEifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsb0VBQW9FO0FBQ3BFLHNDQUFzQztBQUV0QyxjQUFjLHFDQUFxQyxDQUFBO0FBQ25ELE9BQU8sRUFBRSxtQ0FBbUMsRUFBRSxNQUFNLDRCQUE0QixDQUFBIn0=

@@ -1,21 +0,9 @@

/*
* 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
import { fromUtf8 } from '@aws-sdk/util-utf8-browser';
import { getWebCryptoBackend, getNonZeroByteBackend } from '@aws-crypto/web-crypto-backend';
import { getWebCryptoBackend, getNonZeroByteBackend, } from '@aws-crypto/web-crypto-backend';
import { concatBuffers } from '@aws-crypto/serialize';
export const sha512 = async (...inputs) => {
// Normalize to Uint8Array and squash into a single value.
const data = concatBuffers(...inputs.map(u => typeof u === 'string' ? fromUtf8(u) : u));
const data = concatBuffers(...inputs.map((u) => (typeof u === 'string' ? fromUtf8(u) : u)));
// Prefer the non-zero byte because this will always be the native implementation.

@@ -27,2 +15,2 @@ const backend = getNonZeroByteBackend(await getWebCryptoBackend());

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2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Li4vc3JjL3NoYTUxMi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxvRUFBb0U7QUFDcEUsc0NBQXNDO0FBRXRDLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQTtBQUNyRCxPQUFPLEVBQ0wsbUJBQW1CLEVBQ25CLHFCQUFxQixHQUN0QixNQUFNLGdDQUFnQyxDQUFBO0FBQ3ZDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQTtBQUVyRCxNQUFNLENBQUMsTUFBTSxNQUFNLEdBQUcsS0FBSyxFQUFFLEdBQUcsTUFBK0IsRUFBRSxFQUFFO0lBQ2pFLDBEQUEwRDtJQUMxRCxNQUFNLElBQUksR0FBRyxhQUFhLENBQ3hCLEdBQUcsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsS0FBSyxRQUFRLENBQUMsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FDaEUsQ0FBQTtJQUNELGtGQUFrRjtJQUNsRixNQUFNLE9BQU8sR0FBRyxxQkFBcUIsQ0FBQyxNQUFNLG1CQUFtQixFQUFFLENBQUMsQ0FBQTtJQUNsRSxjQUFjO0lBQ2QsTUFBTSxFQUFFLEdBQUcsTUFBTSxPQUFPLENBQUMsTUFBTSxDQUFDLFNBQVMsRUFBRSxJQUFJLENBQUMsQ0FBQTtJQUNoRCxPQUFPLElBQUksVUFBVSxDQUFDLEVBQUUsQ0FBQyxDQUFBO0FBQzNCLENBQUMsQ0FBQSJ9

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

## [1.1.2](https://github.com/aws/aws-encryption-sdk-javascript/compare/@aws-crypto/caching-materials-manager-browser@1.1.1...@aws-crypto/caching-materials-manager-browser@1.1.2) (2020-05-26)
### Bug Fixes
* missing dependency in caching-materials-manager-browser ([#307](https://github.com/aws/aws-encryption-sdk-javascript/issues/307)) ([30b6619](https://github.com/aws/aws-encryption-sdk-javascript/commit/30b66193a9b4526ffb8d1bc35ebef4b1a911ace4))
## [1.1.1](https://github.com/aws/aws-encryption-sdk-javascript/compare/@aws-crypto/caching-materials-manager-browser@1.1.0...@aws-crypto/caching-materials-manager-browser@1.1.1) (2020-04-02)

@@ -8,0 +19,0 @@

{
"name": "@aws-crypto/caching-materials-manager-browser",
"version": "1.1.1",
"version": "1.1.2",
"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",
"karma": "karma start karma.conf.js",

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

"dependencies": {
"@aws-crypto/cache-material": "^1.0.3",
"@aws-crypto/material-management-browser": "^1.2.0",
"@aws-crypto/serialize": "^1.0.3",
"@aws-crypto/web-crypto-backend": "^1.1.1",
"@aws-sdk/util-base64-browser": "1.0.0-alpha.3",
"@aws-crypto/cache-material": "^1.0.4",
"@aws-crypto/material-management-browser": "^1.2.1",
"@aws-crypto/serialize": "^1.0.4",
"@aws-crypto/web-crypto-backend": "^1.1.2",
"@aws-sdk/util-base64-browser": "1.0.0-beta.2",
"@aws-sdk/util-utf8-browser": "1.0.0-beta.2",
"tslib": "^1.11.1"

@@ -34,9 +37,3 @@ },

],
"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

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