diff --git a/package-lock.json b/package-lock.json index f0af54e..f55dab7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@leafac/html": "^1.3.0", "@leafac/sqlite": "^1.1.2", "@leafac/sqlite-migration": "^1.0.3", - "@small-tech/auto-encrypt": "^3.0.0", + "@small-tech/auto-encrypt": "^2.2.0", "crypto-random-string": "^3.3.1", "express": "^4.17.1", "fs-extra": "^9.1.0", @@ -968,12 +968,14 @@ } }, "node_modules/@small-tech/auto-encrypt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt/-/auto-encrypt-3.0.0.tgz", - "integrity": "sha512-u/D3j0VtDemZtpTArw0eI1d2T39b4E6wRsdnts6auLJO+BJKUzQXdJyv08r/9xYxBXQF/NWfTfc43PCqCL6AWQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt/-/auto-encrypt-2.2.0.tgz", + "integrity": "sha512-+/WqoT6plaPNNZE+W6R/sbhHHAspzZwzlE/BtBM4bhV9fN1nZXFJapBm7fqH56U4zvmwuL+DtmJk851bV0+Tww==", + "license": "AGPL-3.0-or-later", "dependencies": { "bent": "github:aral/bent#errors-with-response-headers", "encodeurl": "^1.0.2", + "fs-extra": "^8.1.0", "jose": "^1.24.0", "moment": "^2.24.0", "node-forge": "^0.10.0", @@ -985,6 +987,27 @@ "url": "https://small-tech.org/fund-us/" } }, + "node_modules/@small-tech/auto-encrypt/node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/@small-tech/auto-encrypt/node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, "node_modules/@szmarczak/http-timer": { "version": "4.0.5", "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.5.tgz", @@ -9918,17 +9941,38 @@ } }, "@small-tech/auto-encrypt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt/-/auto-encrypt-3.0.0.tgz", - "integrity": "sha512-u/D3j0VtDemZtpTArw0eI1d2T39b4E6wRsdnts6auLJO+BJKUzQXdJyv08r/9xYxBXQF/NWfTfc43PCqCL6AWQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@small-tech/auto-encrypt/-/auto-encrypt-2.2.0.tgz", + "integrity": "sha512-+/WqoT6plaPNNZE+W6R/sbhHHAspzZwzlE/BtBM4bhV9fN1nZXFJapBm7fqH56U4zvmwuL+DtmJk851bV0+Tww==", "requires": { "bent": "github:aral/bent#errors-with-response-headers", "encodeurl": "^1.0.2", + "fs-extra": "^8.1.0", "jose": "^1.24.0", "moment": "^2.24.0", "node-forge": "^0.10.0", "ocsp": "^1.2.0", "server-destroy": "^1.0.1" + }, + "dependencies": { + "fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "requires": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + } + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "requires": { + "graceful-fs": "^4.1.6" + } + } } }, "@szmarczak/http-timer": { diff --git a/package.json b/package.json index db36305..2c40129 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@leafac/html": "^1.3.0", "@leafac/sqlite": "^1.1.2", "@leafac/sqlite-migration": "^1.0.3", - "@small-tech/auto-encrypt": "^3.0.0", + "@small-tech/auto-encrypt": "^2.2.0", "crypto-random-string": "^3.3.1", "express": "^4.17.1", "fs-extra": "^9.1.0",