mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-01 22:43:44 +00:00
Move streams library to a separate package
This commit is contained in:
@@ -16,18 +16,18 @@
|
||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
/**
|
||||
* @requires web-stream-tools
|
||||
* @requires encoding/base64
|
||||
* @requires enums
|
||||
* @requires config
|
||||
* @requires stream
|
||||
* @requires util
|
||||
* @module encoding/armor
|
||||
*/
|
||||
|
||||
import stream from 'web-stream-tools';
|
||||
import base64 from './base64.js';
|
||||
import enums from '../enums.js';
|
||||
import config from '../config';
|
||||
import stream from '../stream';
|
||||
import util from '../util';
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @requires stream
|
||||
* @requires web-stream-tools
|
||||
* @module encoding/base64
|
||||
*/
|
||||
|
||||
import stream from '../stream';
|
||||
import stream from 'web-stream-tools';
|
||||
|
||||
const b64s = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; // Standard radix-64
|
||||
const b64u = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'; // URL-safe radix-64
|
||||
|
||||
Reference in New Issue
Block a user