@aws-crypto/sha256-browser
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EMPTY_DATA_SHA_256 = exports.SHA_256_HMAC_ALGO = exports.SHA_256_HASH = void 0; | ||
exports.SHA_256_HASH = { name: "SHA-256" }; | ||
@@ -4,0 +5,0 @@ exports.SHA_256_HMAC_ALGO = { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Sha256 = void 0; | ||
var ie11Sha256_1 = require("./ie11Sha256"); | ||
@@ -4,0 +5,0 @@ var webCryptoSha256_1 = require("./webCryptoSha256"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Sha256 = void 0; | ||
var isEmptyData_1 = require("./isEmptyData"); | ||
@@ -4,0 +5,0 @@ var constants_1 = require("./constants"); |
@@ -6,5 +6,5 @@ "use strict"; | ||
var ie11Sha256_1 = require("./ie11Sha256"); | ||
exports.Ie11Sha256 = ie11Sha256_1.Sha256; | ||
Object.defineProperty(exports, "Ie11Sha256", { enumerable: true, get: function () { return ie11Sha256_1.Sha256; } }); | ||
var webCryptoSha256_1 = require("./webCryptoSha256"); | ||
exports.WebCryptoSha256 = webCryptoSha256_1.Sha256; | ||
Object.defineProperty(exports, "WebCryptoSha256", { enumerable: true, get: function () { return webCryptoSha256_1.Sha256; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isEmptyData = void 0; | ||
function isEmptyData(data) { | ||
@@ -4,0 +5,0 @@ if (typeof data === "string") { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Sha256 = void 0; | ||
var util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser"); | ||
@@ -4,0 +5,0 @@ var isEmptyData_1 = require("./isEmptyData"); |
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.0.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@1.0.0-alpha.0...@aws-crypto/sha256-browser@1.0.0) (2020-10-22) | ||
**Note:** Version bump only for package @aws-crypto/sha256-browser | ||
# [1.0.0-alpha.0](https://github.com/aws/aws-sdk-js-crypto-helpers/compare/@aws-crypto/sha256-browser@0.1.0-preview.4...@aws-crypto/sha256-browser@1.0.0-alpha.0) (2020-02-07) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@aws-crypto/sha256-browser", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0", | ||
"scripts": { | ||
@@ -20,13 +20,13 @@ "prepublishOnly": "tsc", | ||
"dependencies": { | ||
"@aws-crypto/ie11-detection": "^1.0.0-alpha.0", | ||
"@aws-crypto/sha256-js": "^1.0.0-alpha.0", | ||
"@aws-crypto/supports-web-crypto": "^1.0.0-alpha.0", | ||
"@aws-sdk/types": "^1.0.0-alpha.0", | ||
"@aws-sdk/util-locate-window": "^1.0.0-alpha.0", | ||
"@aws-sdk/util-utf8-browser": "^1.0.0-alpha.0", | ||
"tslib": "^1.9.3" | ||
"@aws-crypto/ie11-detection": "^1.0.0", | ||
"@aws-crypto/sha256-js": "^1.0.0", | ||
"@aws-crypto/supports-web-crypto": "^1.0.0", | ||
"@aws-sdk/types": "^1.0.0-rc.1", | ||
"@aws-sdk/util-locate-window": "^1.0.0-rc.1", | ||
"@aws-sdk/util-utf8-browser": "^1.0.0-rc.1", | ||
"tslib": "^1.11.1" | ||
}, | ||
"main": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"gitHead": "1aeaf55c8803ae537cc03fef3541dc8567983b9b" | ||
"gitHead": "025ac6e89439c04a2d741663ef8781052e8f7e86" | ||
} |
@@ -1,5 +0,5 @@ | ||
# @aws-crypto/crypto-sha256-browser | ||
# @aws-crypto/sha256-browser | ||
SHA256 wrapper for browsers that prefers `window.crypto.subtle` but will | ||
fall back to a pure JS implementation in @aws-crypto/crypto-sha256-js | ||
fall back to a pure JS implementation in @aws-crypto/sha256-js | ||
to provide a consistent interface for SHA256. | ||
@@ -10,3 +10,3 @@ | ||
``` | ||
import {Sha256} from '@aws-crypto/crypto-sha256-browser' | ||
import {Sha256} from '@aws-crypto/sha256-browser' | ||
@@ -13,0 +13,0 @@ const hash = new Sha256(); |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
38388
517
1
1