mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-04 08:15:20 +00:00
Finish refactoring src/**/*.js to use import & export
This commit is contained in:
@@ -14,7 +14,7 @@ import random from './random';
|
||||
import pkcs1 from './pkcs1';
|
||||
import crypto from './crypto.js';
|
||||
|
||||
module.exports = {
|
||||
const mod = {
|
||||
/** @see module:crypto/cipher */
|
||||
cipher: cipher,
|
||||
/** @see module:crypto/hash */
|
||||
@@ -32,5 +32,7 @@ module.exports = {
|
||||
};
|
||||
|
||||
for (var i in crypto) {
|
||||
module.exports[i] = crypto[i];
|
||||
mod[i] = crypto[i];
|
||||
}
|
||||
|
||||
export default mod;
|
||||
|
||||
Reference in New Issue
Block a user