quoted-printable
Advanced tools
Comparing version
{ | ||
"name": "quoted-printable", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A robust & character encoding–agnostic JavaScript implementation of the `Quoted-Printable` content transfer encoding as defined by RFC 2045.", | ||
@@ -42,3 +42,3 @@ "homepage": "https://mths.be/quoted-printable", | ||
"dependencies": { | ||
"utf8": "^2.0.0" | ||
"utf8": "^2.1.0" | ||
}, | ||
@@ -54,3 +54,3 @@ "devDependencies": { | ||
"qunitjs": "~1.11.0", | ||
"regenerate": "^1.0.1", | ||
"regenerate": "^1.2.1", | ||
"requirejs": "^2.1.15", | ||
@@ -57,0 +57,0 @@ "string.fromcodepoint": "^0.2.1" |
@@ -1,2 +0,2 @@ | ||
/*! https://mths.be/quoted-printable v0.2.1 by @mathias | MIT license */ | ||
/*! https://mths.be/quoted-printable v1.0.1 by @mathias | MIT license */ | ||
;(function(root) { | ||
@@ -48,3 +48,3 @@ | ||
var regexUnsafeSymbols = /[\0-\b\n-\x1F=\x7F-\uD7FF\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF]/g; | ||
var regexUnsafeSymbols = /[\0-\x08\n-\x1F=\x7F-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g; | ||
var encode = function(string) { | ||
@@ -129,3 +129,3 @@ | ||
'decode': decode, | ||
'version': '0.2.1' | ||
'version': '1.0.1' | ||
}; | ||
@@ -144,3 +144,3 @@ | ||
} else if (freeExports && !freeExports.nodeType) { | ||
if (freeModule) { // in Node.js or RingoJS v0.8.0+ | ||
if (freeModule) { // in Node.js, io.js, or RingoJS v0.8.0+ | ||
freeModule.exports = quotedPrintable; | ||
@@ -147,0 +147,0 @@ } else { // in Narwhal or RingoJS v0.7.0- |
@@ -1,2 +0,2 @@ | ||
# quoted-printable [](https://travis-ci.org/mathiasbynens/quoted-printable) [](https://coveralls.io/r/mathiasbynens/quoted-printable) [](https://gemnasium.com/mathiasbynens/quoted-printable) | ||
# quoted-printable [](https://travis-ci.org/mathiasbynens/quoted-printable) [](https://coveralls.io/r/mathiasbynens/quoted-printable) [](https://gemnasium.com/mathiasbynens/quoted-printable) | ||
@@ -7,3 +7,3 @@ _quoted-printable_ is a character encoding–agnostic JavaScript implementation of [the `Quoted-Printable` content transfer encoding as defined by RFC 2045](https://tools.ietf.org/html/rfc2045#section-6.7). It can be used to encode plaintext to its `Quoted-Printable` encoding, or the other way around (i.e. decoding). [Here’s an online demo using the UTF-8 character encoding.](https://mothereff.in/quoted-printable) | ||
Via [npm](https://www.npmjs.org/): | ||
Via [npm](https://www.npmjs.com/): | ||
@@ -32,3 +32,3 @@ ```bash | ||
In [Narwhal](http://narwhaljs.org/), [Node.js](https://nodejs.org/), and [RingoJS](http://ringojs.org/): | ||
In [Node.js](https://nodejs.org/), [io.js](https://iojs.org/), [Narwhal](http://narwhaljs.org/), and [RingoJS](http://ringojs.org/): | ||
@@ -135,3 +135,3 @@ ```js | ||
_quoted-printable_ is designed to work in at least Node.js v0.10.0, Narwhal 0.3.2, RingoJS 0.8-0.9, PhantomJS 1.9.0, Rhino 1.7RC4, as well as old and modern versions of Chrome, Firefox, Safari, Opera, and Internet Explorer. | ||
_quoted-printable_ is designed to work in at least Node.js v0.10.0, io.js v1.0.0, Narwhal 0.3.2, RingoJS 0.8-0.11, PhantomJS 1.9.0, Rhino 1.7RC4, as well as old and modern versions of Chrome, Firefox, Safari, Opera, and Internet Explorer. | ||
@@ -138,0 +138,0 @@ ## Unit tests & code coverage |
17869
0.1%Updated