Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emailjs-mime-builder

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emailjs-mime-builder - npm Package Compare versions

Comparing version 1.0.1 to 2.0.0

.babelrc

49

package.json
{
"name": "emailjs-mime-builder",
"version": "1.0.1",
"version": "2.0.0",
"homepage": "https://github.com/emailjs/emailjs-mime-builder",

@@ -13,3 +13,7 @@ "description": "emailjs-mime-builder is a low level rfc2822 message composer. Define your own mime tree, no magic included.",

"scripts": {
"test": "grunt"
"build": "./scripts/build.sh",
"release": "./scripts/release.sh",
"lint": "$(npm bin)/standard",
"test": "npm run lint && npm run unit",
"unit": "$(npm bin)/mocha './src/*-unit.js' --reporter spec --require babel-register testutils.js"
},

@@ -20,22 +24,33 @@ "repository": {

},
"main": "src/emailjs-mime-builder",
"main": "dist/builder",
"dependencies": {
"emailjs-addressparser": "^1.0.1",
"emailjs-mime-codec": "^1.0.1",
"emailjs-addressparser": "^2.0.2",
"emailjs-mime-codec": "^2.0.3",
"emailjs-mime-types": "^1.0.0",
"punycode": "^1.4.0"
"punycode": "^2.1.0",
"ramda": "^0.25.0"
},
"devDependencies": {
"amdefine": "^1.0.0",
"chai": "^3.4.1",
"grunt": "^0.4.5",
"grunt-contrib-connect": "^0.11.2",
"grunt-contrib-jshint": "^0.11.3",
"grunt-mocha-phantomjs": "^2.0.1",
"grunt-mocha-test": "^0.12.7",
"mocha": "^2.3.4",
"phantomjs": "^1.9.19",
"requirejs": "^2.1.22",
"sinon": "^1.17.2"
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.26.0",
"chai": "^4.1.2",
"mocha": "^4.0.1",
"pre-commit": "^1.2.2",
"standard": "^10.0.3"
},
"standard": {
"globals": [
"describe",
"it",
"before",
"beforeAll",
"afterAll",
"after",
"expect"
],
"ignore": [
"dist"
]
}
}

@@ -5,26 +5,18 @@ # emailjs-mime-builder

[![Build Status](https://travis-ci.org/emailjs/emailjs-mime-builder.png?branch=master)](https://travis-ci.org/emailjs/emailjs-mime-builder)
[![Greenkeeper badge](https://badges.greenkeeper.io/emailjs/emailjs-mime-builder.svg)](https://greenkeeper.io/) [![Build Status](https://travis-ci.org/emailjs/emailjs-mime-builder.png?branch=master)](https://travis-ci.org/emailjs/emailjs-mime-builder) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![ES6+](https://camo.githubusercontent.com/567e52200713e0f0c05a5238d91e1d096292b338/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f65732d362b2d627269676874677265656e2e737667)](https://kangax.github.io/compat-table/es6/)
## StringEncoding API
## Usage
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)). Firefox 19+ and Chrome M38+ support this. For the others, [there is a polyfill](https://github.com/whiteout-io/stringencoding)!
Install via
## Installation
```
npm install --save emailjs-mime-builder
```
### [npm](https://www.npmjs.org/):
... and then use via
npm install --save mailbuild
```javascript
import Mimebuilder from 'emailjs-mime-builder'
```
### Dependencies
This module has dependencies that will be fetched automatically.
* [emailjs-mime-codec](https://github.com/emailjs/emailjs-mime-codec/)
* [emailjs-mime-types](https://github.com/emailjs/emailjs-mime-types/)
* [emailjs-addressparser](https://github.com/emailjs/emailjs-addressparser/)
* [punycode.js](https://github.com/bestiejs/punycode.js)
* [emailjs-stringencoding](https://github.com/emailjs/emailjs-stringencoding)
## API
Create a new `MimeBuilder` object with

@@ -31,0 +23,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc