Release new version

This commit is contained in:
Sanjana Rajan 2018-09-17 13:18:05 -07:00
parent 528e544d04
commit cccebd0272
9 changed files with 25 additions and 27 deletions

View File

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

View File

@ -29617,7 +29617,7 @@ exports.default = {
* @memberof module:config
* @property {String} versionstring A version string to be included in armored messages
*/
versionstring: "OpenPGP.js v4.0.1",
versionstring: "OpenPGP.js v4.0.2",
/**
* @memberof module:config
* @property {String} commentstring A comment string to be included in armored messages
@ -37953,7 +37953,7 @@ function armor(messagetype, body, partindex, parttotal, customComment) {
result.push(addheader(customComment));
result.push(_base2.default.encode(body));
result.push("\r\n=", getCheckSum(bodyClone), "\r\n");
result.push("-----END PGP PUBLIC KEY BLOCK-----\r\n\r\n");
result.push("-----END PGP PUBLIC KEY BLOCK-----\r\n");
break;
case _enums2.default.armor.private_key:
result.push("-----BEGIN PGP PRIVATE KEY BLOCK-----\r\n");
@ -38035,6 +38035,9 @@ function s2r(t) {
var r = [];
var tl = value.length;
for (var n = 0; n < tl; n++) {
if (l && l % 60 === 0 && !u) {
r.push("\r\n");
}
c = value[n];
if (s === 0) {
r.push(b64.charAt(c >> 2 & 63));
@ -38046,15 +38049,11 @@ function s2r(t) {
r.push(b64.charAt(a | c >> 6 & 3));
l += 1;
if (l % 60 === 0 && !u) {
r.push("\n");
r.push("\r\n");
}
r.push(b64.charAt(c & 63));
}
l += 1;
if (l % 60 === 0 && !u) {
r.push("\n");
}
s += 1;
if (s === 3) {
s = 0;
@ -38067,7 +38066,7 @@ function s2r(t) {
r.push(b64.charAt(a));
l += 1;
if (l % 60 === 0 && !u) {
r.push("\n");
r.push("\r\n");
}
if (!u) {
r.push('=');
@ -38076,7 +38075,7 @@ function s2r(t) {
}
if (s === 1 && !u) {
if (l % 60 === 0 && !u) {
r.push("\n");
r.push("\r\n");
}
r.push('=');
}

File diff suppressed because one or more lines are too long

View File

@ -1,2 +1,2 @@
/*! OpenPGP.js v4.0.1 - 2018-09-03 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
/*! OpenPGP.js v4.0.2 - 2018-09-17 - 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))}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]);

17
dist/openpgp.js vendored
View File

@ -23337,7 +23337,7 @@ exports.default = {
* @memberof module:config
* @property {String} versionstring A version string to be included in armored messages
*/
versionstring: "OpenPGP.js v4.0.1",
versionstring: "OpenPGP.js v4.0.2",
/**
* @memberof module:config
* @property {String} commentstring A comment string to be included in armored messages
@ -29461,7 +29461,7 @@ function armor(messagetype, body, partindex, parttotal, customComment) {
result.push(addheader(customComment));
result.push(_base2.default.encode(body));
result.push("\r\n=", getCheckSum(bodyClone), "\r\n");
result.push("-----END PGP PUBLIC KEY BLOCK-----\r\n\r\n");
result.push("-----END PGP PUBLIC KEY BLOCK-----\r\n");
break;
case _enums2.default.armor.private_key:
result.push("-----BEGIN PGP PRIVATE KEY BLOCK-----\r\n");
@ -29541,6 +29541,9 @@ function s2r(t, u = false) {
const r = [];
const tl = value.length;
for (let n = 0; n < tl; n++) {
if (l && l % 60 === 0 && !u) {
r.push("\r\n");
}
c = value[n];
if (s === 0) {
r.push(b64.charAt(c >> 2 & 63));
@ -29552,15 +29555,11 @@ function s2r(t, u = false) {
r.push(b64.charAt(a | c >> 6 & 3));
l += 1;
if (l % 60 === 0 && !u) {
r.push("\n");
r.push("\r\n");
}
r.push(b64.charAt(c & 63));
}
l += 1;
if (l % 60 === 0 && !u) {
r.push("\n");
}
s += 1;
if (s === 3) {
s = 0;
@ -29573,7 +29572,7 @@ function s2r(t, u = false) {
r.push(b64.charAt(a));
l += 1;
if (l % 60 === 0 && !u) {
r.push("\n");
r.push("\r\n");
}
if (!u) {
r.push('=');
@ -29582,7 +29581,7 @@ function s2r(t, u = false) {
}
if (s === 1 && !u) {
if (l % 60 === 0 && !u) {
r.push("\n");
r.push("\r\n");
}
r.push('=');
}

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.0.1 - 2018-09-03 - this is LGPL licensed code, see LICENSE/our website https://openpgpjs.org/ for more information. */
/*! OpenPGP.js v4.0.2 - 2018-09-17 - 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))}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.0.1",
"version": "4.0.2",
"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.0.1",
"version": "4.0.2",
"license": "LGPL-3.0+",
"homepage": "https://openpgpjs.org/",
"engines": {