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

emailjs-utf7

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emailjs-utf7 - npm Package Compare versions

Comparing version 2.0.3 to 3.0.0

src/emailjs-utf7.js

4

package.json
{
"name": "emailjs-utf7",
"main": "src/utf7.js",
"version": "2.0.3",
"main": "src/emailjs-utf7.js",
"version": "3.0.0",
"homepage": "https://github.com/emailjs/emailjs-utf7",

@@ -6,0 +6,0 @@ "author": "Konstantin Käfer",

@@ -5,15 +5,9 @@ # UTF-7

### [Bower](http://bower.io/):
## Usage
bower install git@github.com:whiteout-io/utf7.git#<TAG NAME>
[bower | npm] install emailjs-utf7
### [npm](https://www.npmjs.org/):
npm install https://github.com/whiteout-io/utf7/tarball/<TAG NAME>
## Usage
### node.js
var utf7 = require('utf7');
var utf7 = require('emailjs-utf7');

@@ -20,0 +14,0 @@ ### Browser

@@ -5,5 +5,5 @@ (function(root, factory) {

if (typeof define === "function" && define.amd) {
define(['chai', 'utf7'], factory);
define(['chai', 'emailjs-utf7'], factory);
} else if (typeof exports === 'object') {
factory(require('chai'), require('../src/utf7'));
factory(require('chai'), require('../src/emailjs-utf7'));
}

@@ -134,3 +134,3 @@ }(this, function(chai, utf7) {

});
it('should decode +- to the plus sign', function() {

@@ -140,3 +140,3 @@ expect(utf7.decode('Hot +- Spicy +- Fruity')).to.equal('Hot + Spicy + Fruity');

});
it('should decode slashes in the beginning', function() {

@@ -146,3 +146,3 @@ expect(utf7.decode('+///typh2VDIf7Q-')).to.equal('\uffff\uedca\u9876\u5432\u1fed');

});
it('should decode non-ASCII chars', function() {

@@ -157,2 +157,2 @@ expect(utf7.decode('+AOQ-+-+AOQ-+-+AOQ-')).to.equal('\u00E4+\u00E4+\u00E4');

});
}));
}));

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