emailjs-imap-client
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "emailjs-imap-client", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"homepage": "https://github.com/emailjs/emailjs-imap-client", | ||
@@ -5,0 +5,0 @@ "description": "JavaScript IMAP client", |
@@ -5,11 +5,11 @@ # emailjs-imap-client | ||
[![Build Status](https://travis-ci.org/whiteout-io/emailjs-imap-client.png?branch=master)](https://travis-ci.org/whiteout-io/emailjs-imap-client) | ||
[![Build Status](https://travis-ci.org/emailjs/emailjs-imap-client.png?branch=master)](https://travis-ci.org/emailjs/emailjs-imap-client) | ||
## StringEncoding API | ||
This module requires `TextEncoder` and `TextDecoder` to exist as part of the StringEncoding API (see: [MDN](https://developer.mozilla.org/en-US/docs/WebAPI/Encoding_API) [whatwg.org](http://encoding.spec.whatwg.org/#api)). This is supported by Firefox, Chrome and Opera. For other browser environments [there is a polyfill](https://github.com/whiteout-io/stringencoding). | ||
This module requires `TextEncoder` and `TextDecoder` to exist as part of the StringEncoding API (see: [MDN](https://developer.mozilla.org/en-US/docs/WebAPI/Encoding_API) [whatwg.org](http://encoding.spec.whatwg.org/#api)). This is supported by Firefox, Chrome and Opera. For other browser environments [there is a polyfill](https://github.com/emailjs/emailjs-tringencoding). | ||
## TCPSocket API | ||
There is a [shim](https://github.com/whiteout-io/tcp-socket) that brings [Mozilla-flavored](https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket) version of the [Raw Socket API](http://www.w3.org/TR/raw-sockets/) to other platforms. | ||
There is a [shim](https://github.com/emailjs/emailjs-tcp-socket) that brings [Mozilla-flavored](https://developer.mozilla.org/en-US/docs/WebAPI/TCP_Socket) version of the [Raw Socket API](http://www.w3.org/TR/raw-sockets/) to other platforms. | ||
@@ -20,3 +20,3 @@ If you are on a platform that uses forge instead of a native TLS implementation (e.g. chrome.socket), you have to set the .oncert(pemEncodedCertificate) handler that passes the TLS certificate that the server presents. It can be used on a trust-on-first-use basis for subsequent connection. | ||
Please take a look at the [tcp-socket documentation](https://github.com/whiteout-io/tcp-socket) for more information! | ||
Please take a look at the [tcp-socket documentation](https://github.com/emailjs/emailjs-tcp-socket) for more information! | ||
@@ -33,3 +33,3 @@ ## Installation | ||
Require [emailjs-imap-client.js](src/emailjs-imap-client.js) as `emailjs-imap-client` | ||
Require [emailjs-imap-client.js](src/emailjs-imap-client.js) as `ImapClient` | ||
@@ -59,4 +59,4 @@ ## API | ||
* **enableCompression** - if set to true then use IMAP COMPRESS extension (rfc4978) if the server supports it (Gmail does). All data sent and received in this case is compressed with *deflate* | ||
* **ca** (optional) (only in conjunction with the [TCPSocket shim](https://github.com/whiteout-io/tcp-socket)) if you use TLS with forge, pin a PEM-encoded certificate as a string. Please refer to the [tcp-socket documentation](https://github.com/whiteout-io/tcp-socket) for more information! | ||
* **tlsWorkerPath** (optional) (only in conjunction with the [TCPSocket shim](https://github.com/whiteout-io/tcp-socket)) if you use TLS with forge, this path indicates where the file for the TLS Web Worker is located. Please refer to the [tcp-socket documentation](https://github.com/whiteout-io/tcp-socket) for more information! | ||
* **ca** (optional) (only in conjunction with the [TCPSocket shim](https://github.com/emailjs/emailjs-tcp-socket)) if you use TLS with forge, pin a PEM-encoded certificate as a string. Please refer to the [tcp-socket documentation](https://github.com/emailjs/emailjs-tcp-socket) for more information! | ||
* **tlsWorkerPath** (optional) (only in conjunction with the [TCPSocket shim](https://github.com/emailjs/emailjs-tcp-socket)) if you use TLS with forge, this path indicates where the file for the TLS Web Worker is located. Please refer to the [tcp-socket documentation](https://github.com/emailjs/emailjs-tcp-socket) for more information! | ||
* **compressionWorkerPath** (optional) offloads de-/compression computation to a web worker, this is the path to the browserified emailjs-imap-client-compressor-worker.js | ||
@@ -700,3 +700,3 @@ | ||
``` | ||
$ git clone git@github.com:whiteout-io/emailjs-imap-client.git | ||
$ git clone git@github.com:emailjs/emailjs-imap-client.git | ||
$ cd emailjs-imap-client | ||
@@ -703,0 +703,0 @@ $ npm install |
@@ -418,3 +418,3 @@ (function(root, factory) { | ||
try { | ||
response = imapHandler.parser(command); | ||
response = imapHandler.parser(command.trim()); | ||
this.logger.debug('S:', imapHandler.compiler(response, false, true)); | ||
@@ -421,0 +421,0 @@ } catch (e) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
548026