@webcrypto/storage
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -5,3 +5,3 @@ 'use strict'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -37,3 +37,3 @@ | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -593,3 +593,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
case 1: | ||
_a = _b.sent(), store = _a[0], storeName = _a[1], salt = _a[3]; | ||
_a = _b.sent(), store = _a[0], storeName = _a[1], _a[2], salt = _a[3]; | ||
return [4 /*yield*/, store.clear(storeName)]; | ||
@@ -596,0 +596,0 @@ case 2: |
/** | ||
* Default input data formats to be encrypted and stored. | ||
*/ | ||
export declare type InputData = string | BufferSource; | ||
export type InputData = string | BufferSource; | ||
/** | ||
@@ -6,0 +6,0 @@ * Configuration used to initialize the Crypto Storage. |
@@ -1,2 +0,2 @@ | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -32,3 +32,3 @@ | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -588,3 +588,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
case 1: | ||
_a = _b.sent(), store = _a[0], storeName = _a[1], salt = _a[3]; | ||
_a = _b.sent(), store = _a[0], storeName = _a[1], _a[2], salt = _a[3]; | ||
return [4 /*yield*/, store.clear(storeName)]; | ||
@@ -591,0 +591,0 @@ case 2: |
@@ -7,3 +7,3 @@ (function (global, factory) { | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -39,3 +39,3 @@ | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -595,3 +595,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
case 1: | ||
_a = _b.sent(), store = _a[0], storeName = _a[1], salt = _a[3]; | ||
_a = _b.sent(), store = _a[0], storeName = _a[1], _a[2], salt = _a[3]; | ||
return [4 /*yield*/, store.clear(storeName)]; | ||
@@ -598,0 +598,0 @@ case 2: |
{ | ||
"name": "@webcrypto/storage", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"private": false, | ||
@@ -56,3 +56,4 @@ "description": "A set of tools to facilitate and give good defaults for use of the native Web Crypto API.", | ||
"commit": "git-cz", | ||
"semantic-release": "semantic-release" | ||
"semantic-release": "semantic-release", | ||
"prepare": "husky install" | ||
}, | ||
@@ -120,31 +121,31 @@ "release": { | ||
"devDependencies": { | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@semantic-release/git": "^9.0.1", | ||
"@types/jasmine": "^3.10.3", | ||
"@types/lodash.camelcase": "^4.3.6", | ||
"@types/node": "^17.0.18", | ||
"@commitlint/cli": "^17.3.0", | ||
"@commitlint/config-conventional": "^17.3.0", | ||
"@semantic-release/changelog": "^6.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
"@types/jasmine": "^4.3.1", | ||
"@types/lodash.camelcase": "^4.3.7", | ||
"@types/node": "^18.11.17", | ||
"@types/rollup-plugin-json": "^3.0.3", | ||
"browserify": "^16.5.2", | ||
"budo": "^11.6.4", | ||
"colors": "^1.3.2", | ||
"commitizen": "^4.2.4", | ||
"budo": "^11.8.4", | ||
"colors": "^1.4.0", | ||
"commitizen": "^4.2.6", | ||
"coveralls": "^3.1.1", | ||
"cross-env": "^5.2.0", | ||
"cross-env": "^7.0.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^4.3.8", | ||
"jasmine-core": "^4.0.0", | ||
"karma": "^6.3.16", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"husky": "^8.0.2", | ||
"jasmine-core": "^4.5.0", | ||
"karma": "^6.4.1", | ||
"karma-chrome-launcher": "^3.1.1", | ||
"karma-cli": "^2.0.0", | ||
"karma-jasmine": "^4.0.1", | ||
"karma-jasmine": "^4.0.2", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"karma-typescript": "^5.5.3", | ||
"lint-staged": "^12.3.4", | ||
"lint-staged": "^13.1.0", | ||
"lodash.camelcase": "^4.3.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^1.14.3", | ||
"prompt": "^1.2.1", | ||
"rollup": "^2.67.2", | ||
"prettier": "^2.8.1", | ||
"prompt": "^1.3.0", | ||
"rollup": "^2.79.1", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
@@ -155,3 +156,3 @@ "rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-typescript2": "^0.31.2", | ||
"semantic-release": "^17.4.7", | ||
"semantic-release": "^19.0.5", | ||
"shelljs": "^0.8.5", | ||
@@ -164,5 +165,5 @@ "shx": "^0.3.4", | ||
"tslint-config-standard": "^9.0.0", | ||
"typedoc": "^0.22.11", | ||
"typescript": "^4.5.5" | ||
"typedoc": "^0.23.23", | ||
"typescript": "^4.9.4" | ||
} | ||
} |
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
346830