Mailspring/packages/local-sync/package.json
Christine Spang 587f7787a6 fix(local-sync): Fix charset interpretation in message parsing
Summary:
This commit fixes the following bugs in message parsing:
- we were unilaterally decoding MIME bodies as UTF-8; instead, decode according
  to the charset data in the mimepart header
- '7bit' content-transfer-encoding means us-ascii, NOT utf-7
- only interpret valid content-transfer-encodings (previously we were trying
  to treat various charsets as transfer-encodings)
- clearer naming: s/values/parsedMessage/
- unify snippet cleanup between plaintext & stripped HTML (merging
  whitespace etc.)

Test Plan: units tests coming

Reviewers: juan

Differential Revision: https://phab.nylas.com/D3491
2016-12-09 11:01:04 -08:00

47 lines
1.2 KiB
JSON

{
"name": "local-sync",
"version": "0.0.1",
"description": "The local sync engine for Nylas N1",
"main": "./main",
"dependencies": {
"googleapis": "9.0.0",
"hapi": "13.4.1",
"hapi-auth-basic": "4.2.0",
"hapi-boom-decorators": "1.1.3",
"hapi-plugin-websocket": "0.9.2",
"hapi-swagger": "6.1.0",
"inert": "4.0.0",
"isomorphic-core": "0.x.x",
"jasmine": "2.4.1",
"joi": "8.4.2",
"mimelib": "0.2.19",
"nodemailer": "2.5.0",
"request": "2.79.0",
"rx": "4.1.0",
"sequelize": "3.27.0",
"sqlite3": "https://github.com/bengotow/node-sqlite3/archive/bengotow/usleep-v3.1.4.tar.gz",
"underscore": "1.8.3",
"striptags": "2.1.1",
"vision": "4.1.0",
"encoding": "0.1.12"
},
"scripts": {
"test": "../../../../node_modules/.bin/electron ../../../../ --test --enable-logging --spec-directory=$(pwd)/spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nylas/K2.git"
},
"author": "Nylas",
"license": "proprietary",
"bugs": {
"url": "https://github.com/nylas/K2/issues"
},
"engines": {
"nylas": "*"
},
"windowTypes": {
"work": true
},
"homepage": "https://github.com/nylas/K2#readme"
}