Release new version

This commit is contained in:
Sanjana Rajan 2019-02-28 10:39:10 -08:00
parent b1be7d1202
commit 10d3bca6d3
9 changed files with 56 additions and 51 deletions

View File

@ -1,6 +1,6 @@
{
"name": "openpgp",
"version": "4.4.8",
"version": "4.4.9",
"license": "LGPL-3.0+",
"homepage": "https://openpgpjs.org/",
"authors": [

View File

@ -16827,17 +16827,21 @@ utils.intFromLE = intFromLE;
},{"bn.js":45,"minimalistic-assert":319,"minimalistic-crypto-utils":320}],303:[function(_dereq_,module,exports){
module.exports={
"_args": [
[
"github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"/Users/sunny/Desktop/Protonmail/openpgpjs"
]
],
"_from": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_id": "elliptic@6.4.0",
"_id": "elliptic@github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_inBundle": false,
"_integrity": "",
"_location": "/elliptic",
"_phantomChildren": {},
"_requested": {
"type": "git",
"raw": "elliptic@github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"name": "elliptic",
"escapedName": "elliptic",
"raw": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"rawSpec": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"saveSpec": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"fetchSpec": null,
@ -16847,7 +16851,7 @@ module.exports={
"/"
],
"_resolved": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_spec": "elliptic@github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_spec": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_where": "/Users/sunny/Desktop/Protonmail/openpgpjs",
"author": {
"name": "Fedor Indutny",
@ -16856,7 +16860,6 @@ module.exports={
"bugs": {
"url": "https://github.com/indutny/elliptic/issues"
},
"bundleDependencies": false,
"dependencies": {
"bn.js": "^4.4.0",
"brorand": "^1.0.1",
@ -16866,7 +16869,6 @@ module.exports={
"minimalistic-assert": "^1.0.0",
"minimalistic-crypto-utils": "^1.0.0"
},
"deprecated": false,
"description": "EC cryptography",
"devDependencies": {
"brfs": "^1.4.3",
@ -27807,8 +27809,14 @@ module.exports = Stream;
},{}],343:[function(_dereq_,module,exports){
module.exports={
"_args": [
[
"github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"/Users/sunny/Desktop/Protonmail/openpgpjs"
]
],
"_from": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_id": "seek-bzip@1.0.5-git",
"_id": "seek-bzip@github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_inBundle": false,
"_integrity": "",
"_location": "/seek-bzip",
@ -27817,9 +27825,7 @@ module.exports={
},
"_requested": {
"type": "git",
"raw": "seek-bzip@github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"name": "seek-bzip",
"escapedName": "seek-bzip",
"raw": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"rawSpec": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"saveSpec": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"fetchSpec": null,
@ -27829,7 +27835,7 @@ module.exports={
"/"
],
"_resolved": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_spec": "seek-bzip@github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_spec": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_where": "/Users/sunny/Desktop/Protonmail/openpgpjs",
"bin": {
"seek-bunzip": "./bin/seek-bunzip",
@ -27838,7 +27844,6 @@ module.exports={
"bugs": {
"url": "https://github.com/cscott/seek-bzip/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "C. Scott Ananian",
@ -27858,7 +27863,6 @@ module.exports={
"dependencies": {
"commander": "~2.8.1"
},
"deprecated": false,
"description": "a pure-JavaScript Node.JS module for random-access decoding bzip2 data",
"devDependencies": {
"fibers": "~1.0.6",
@ -31053,7 +31057,7 @@ exports.default = {
* @memberof module:config
* @property {String} versionstring A version string to be included in armored messages
*/
versionstring: "OpenPGP.js v4.4.8",
versionstring: "OpenPGP.js v4.4.9",
/**
* @memberof module:config
* @property {String} commentstring A comment string to be included in armored messages
@ -44675,32 +44679,29 @@ SubKey.prototype.update = function () {
case 8:
if (!(i < that.bindingSignatures.length)) {
_context44.next = 16;
_context44.next = 15;
break;
}
if (!that.bindingSignatures[i].issuerKeyId.equals(srcBindSig.issuerKeyId)) {
_context44.next = 13;
_context44.next = 12;
break;
}
if (!(srcBindSig.created < that.bindingSignatures[i].created)) {
_context44.next = 13;
break;
if (srcBindSig.created > that.bindingSignatures[i].created) {
that.bindingSignatures[i] = srcBindSig;
}
that.bindingSignatures[i] = srcBindSig;
return _context44.abrupt('return', false);
case 13:
case 12:
i++;
_context44.next = 8;
break;
case 16:
case 15:
return _context44.abrupt('return', true);
case 17:
case 16:
case 'end':
return _context44.stop();
}

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
/*! OpenPGP.js v4.4.8 - 2019-02-25 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
/*! OpenPGP.js v4.4.9 - 2019-02-28 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
!function(){return function e(n,r,t){function o(a,f){if(!r[a]){if(!n[a]){var u="function"==typeof require&&require;if(!f&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var s=r[a]={exports:{}};n[a][0].call(s.exports,function(e){return o(n[a][1][e]||e)},s,s.exports,e,n,r,t)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<t.length;a++)o(t[a]);return o}}()({1:[function(e,n,r){self.window=self,importScripts("openpgp.min.js");var t=window.openpgp,o=[],i=6e4;function a(e){self.postMessage(e,t.util.getTransferables(e.data,!0))}t.crypto.random.randomBuffer.init(i,function(){return o.length||self.postMessage({event:"request-seed",amount:i}),new Promise(function(e){o.push(e)})}),self.onmessage=function(e){var n,r=e.data||{};switch(r.event){case"configure":n=r.config,Object.keys(n).forEach(function(e){t.config[e]=n[e]});break;case"seed-random":!function(e){e instanceof Uint8Array||(e=new Uint8Array(e));t.crypto.random.randomBuffer.set(e)}(r.buf);var i=o;o=[];for(var f=0;f<i.length;f++)i[f]();break;default:!function(e,n,r){if("function"!=typeof t[n])return void a({id:e,event:"method-return",err:"Unknown Worker Event"});r=t.packet.clone.parseClonedPackets(r,n),t.util.restoreStreams(r),t[n](r).then(function(n){a({id:e,event:"method-return",data:t.packet.clone.clonePackets(n)})}).catch(function(n){t.util.print_debug_error(n),a({id:e,event:"method-return",err:n.message,stack:n.stack})})}(r.id,r.event,r.options||{})}}},{}]},{},[1]);

38
dist/openpgp.js vendored
View File

@ -12242,17 +12242,21 @@ utils.intFromLE = intFromLE;
},{"bn.js":17,"minimalistic-assert":50,"minimalistic-crypto-utils":51}],34:[function(require,module,exports){
module.exports={
"_args": [
[
"github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"/Users/sunny/Desktop/Protonmail/openpgpjs"
]
],
"_from": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_id": "elliptic@6.4.0",
"_id": "elliptic@github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_inBundle": false,
"_integrity": "",
"_location": "/elliptic",
"_phantomChildren": {},
"_requested": {
"type": "git",
"raw": "elliptic@github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"name": "elliptic",
"escapedName": "elliptic",
"raw": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"rawSpec": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"saveSpec": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"fetchSpec": null,
@ -12262,7 +12266,7 @@ module.exports={
"/"
],
"_resolved": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_spec": "elliptic@github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_spec": "github:openpgpjs/elliptic#ad81845f693effa5b4b6d07db2e82112de222f48",
"_where": "/Users/sunny/Desktop/Protonmail/openpgpjs",
"author": {
"name": "Fedor Indutny",
@ -12271,7 +12275,6 @@ module.exports={
"bugs": {
"url": "https://github.com/indutny/elliptic/issues"
},
"bundleDependencies": false,
"dependencies": {
"bn.js": "^4.4.0",
"brorand": "^1.0.1",
@ -12281,7 +12284,6 @@ module.exports={
"minimalistic-assert": "^1.0.0",
"minimalistic-crypto-utils": "^1.0.0"
},
"deprecated": false,
"description": "EC cryptography",
"devDependencies": {
"brfs": "^1.4.3",
@ -22635,8 +22637,14 @@ module.exports = Stream;
},{}],73:[function(require,module,exports){
module.exports={
"_args": [
[
"github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"/Users/sunny/Desktop/Protonmail/openpgpjs"
]
],
"_from": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_id": "seek-bzip@1.0.5-git",
"_id": "seek-bzip@github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_inBundle": false,
"_integrity": "",
"_location": "/seek-bzip",
@ -22645,9 +22653,7 @@ module.exports={
},
"_requested": {
"type": "git",
"raw": "seek-bzip@github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"name": "seek-bzip",
"escapedName": "seek-bzip",
"raw": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"rawSpec": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"saveSpec": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"fetchSpec": null,
@ -22657,7 +22663,7 @@ module.exports={
"/"
],
"_resolved": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_spec": "seek-bzip@github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_spec": "github:openpgpjs/seek-bzip#3aca608ffedc055a1da1d898ecb244804ef32209",
"_where": "/Users/sunny/Desktop/Protonmail/openpgpjs",
"bin": {
"seek-bunzip": "./bin/seek-bunzip",
@ -22666,7 +22672,6 @@ module.exports={
"bugs": {
"url": "https://github.com/cscott/seek-bzip/issues"
},
"bundleDependencies": false,
"contributors": [
{
"name": "C. Scott Ananian",
@ -22686,7 +22691,6 @@ module.exports={
"dependencies": {
"commander": "~2.8.1"
},
"deprecated": false,
"description": "a pure-JavaScript Node.JS module for random-access decoding bzip2 data",
"devDependencies": {
"fibers": "~1.0.6",
@ -24594,7 +24598,7 @@ exports.default = {
* @memberof module:config
* @property {String} versionstring A version string to be included in armored messages
*/
versionstring: "OpenPGP.js v4.4.8",
versionstring: "OpenPGP.js v4.4.9",
/**
* @memberof module:config
* @property {String} commentstring A comment string to be included in armored messages
@ -32924,10 +32928,10 @@ SubKey.prototype.update = async function (subKey, primaryKey) {
}
for (let i = 0; i < that.bindingSignatures.length; i++) {
if (that.bindingSignatures[i].issuerKeyId.equals(srcBindSig.issuerKeyId)) {
if (srcBindSig.created < that.bindingSignatures[i].created) {
if (srcBindSig.created > that.bindingSignatures[i].created) {
that.bindingSignatures[i] = srcBindSig;
return false;
}
return false;
}
}
return true;

4
dist/openpgp.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
/*! OpenPGP.js v4.4.8 - 2019-02-25 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
/*! OpenPGP.js v4.4.9 - 2019-02-28 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
!function(){return function e(n,r,t){function o(a,f){if(!r[a]){if(!n[a]){var u="function"==typeof require&&require;if(!f&&u)return u(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var s=r[a]={exports:{}};n[a][0].call(s.exports,function(e){return o(n[a][1][e]||e)},s,s.exports,e,n,r,t)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<t.length;a++)o(t[a]);return o}}()({1:[function(e,n,r){self.window=self,importScripts("openpgp.min.js");var t=window.openpgp,o=[],i=6e4;function a(e){self.postMessage(e,t.util.getTransferables(e.data,!0))}t.crypto.random.randomBuffer.init(i,function(){return o.length||self.postMessage({event:"request-seed",amount:i}),new Promise(function(e){o.push(e)})}),self.onmessage=function(e){var n,r=e.data||{};switch(r.event){case"configure":n=r.config,Object.keys(n).forEach(function(e){t.config[e]=n[e]});break;case"seed-random":!function(e){e instanceof Uint8Array||(e=new Uint8Array(e));t.crypto.random.randomBuffer.set(e)}(r.buf);var i=o;o=[];for(var f=0;f<i.length;f++)i[f]();break;default:!function(e,n,r){if("function"!=typeof t[n])return void a({id:e,event:"method-return",err:"Unknown Worker Event"});r=t.packet.clone.parseClonedPackets(r,n),t.util.restoreStreams(r),t[n](r).then(function(n){a({id:e,event:"method-return",data:t.packet.clone.clonePackets(n)})}).catch(function(n){t.util.print_debug_error(n),a({id:e,event:"method-return",err:n.message,stack:n.stack})})}(r.id,r.event,r.options||{})}}},{}]},{},[1]);

2
npm-shrinkwrap.json generated
View File

@ -1,6 +1,6 @@
{
"name": "openpgp",
"version": "4.4.8",
"version": "4.4.9",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "openpgp",
"description": "OpenPGP.js is a Javascript implementation of the OpenPGP protocol. This is defined in RFC 4880.",
"version": "4.4.8",
"version": "4.4.9",
"license": "LGPL-3.0+",
"homepage": "https://openpgpjs.org/",
"engines": {