mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-07 01:21:35 +00:00
Refactor src/encoding/*.js and src/hkp/*.js to use import
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
var base64 = require('./base64.js'),
|
||||
enums = require('../enums.js'),
|
||||
config = require('../config');
|
||||
import base64 from './base64.js';
|
||||
import enums from '../enums.js';
|
||||
import config from '../config';
|
||||
|
||||
/**
|
||||
* Finds out which Ascii Armoring type is used. Throws error if unknown type.
|
||||
|
||||
Reference in New Issue
Block a user