mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 13:44:53 +08:00
[isomorphic-core] Allow use of atob() in cloud environments
Summary: atob() is a global in browser environments, but needs to be imported otherwise. Test Plan: manual Reviewers: juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D3950
This commit is contained in:
parent
ad65b7d77a
commit
393474a4d8
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
"description": "Packages use isomorphically on n1-cloud and client-sync",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"atob": "2.0.3",
|
||||
"imap": "github:jstejada/node-imap#fix-parse-body-list",
|
||||
"imap-provider-settings": "github:nylas/imap-provider-settings",
|
||||
"joi": "8.4.2",
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
const atob = require('atob')
|
||||
const crypto = require('crypto');
|
||||
const {JSONColumn, JSONArrayColumn} = require('../database-types');
|
||||
const {SUPPORTED_PROVIDERS} = require('../auth-helpers');
|
||||
|
|
Loading…
Add table
Reference in a new issue