Comparing version 1.0.0 to 1.1.0
@@ -29,8 +29,8 @@ 'use strict'; | ||
var ranges = [ | ||
[0x09], | ||
[0x0A], | ||
[0x0D], | ||
[0x20, 0x3C], | ||
[0x3E, 0x3F], | ||
[0x40, 0x7E] | ||
// https://tools.ietf.org/html/rfc2045#section-6.7 | ||
[0x09], // <TAB> | ||
[0x0A], // <LF> | ||
[0x0D], // <CR> | ||
[0x20, 0x3C], // <SP>!"#$%&'()*+,-./0123456789:; | ||
[0x3E, 0x7E] // >?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} | ||
]; | ||
@@ -61,5 +61,5 @@ var result = ''; | ||
str = (str || '').toString(). | ||
// remove invalid whitespace from the end of lines | ||
// remove invalid whitespace from the end of lines | ||
replace(/[\t ]+$/gm, ''). | ||
// remove soft line breaks | ||
// remove soft line breaks | ||
replace(/\=(?:\r?\n|$)/g, ''); | ||
@@ -66,0 +66,0 @@ |
{ | ||
"name": "libqp", | ||
"version": "1.0.0", | ||
"description": "Encode and decode quoted-printable strings according to rfc2045", | ||
"main": "lib/libqp.js", | ||
"scripts": { | ||
"test": "grunt" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/andris9/libqp.git" | ||
}, | ||
"keywords": [ | ||
"quoted-printable", | ||
"mime" | ||
], | ||
"author": "Andris Reinman", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/andris9/libqp/issues" | ||
}, | ||
"homepage": "https://github.com/andris9/libqp", | ||
"devDependencies": { | ||
"chai": "~2.2.0", | ||
"grunt": "~0.4.5", | ||
"grunt-contrib-jshint": "~0.11.1", | ||
"grunt-mocha-test": "~0.12.7" | ||
} | ||
} | ||
"name": "libqp", | ||
"version": "1.1.0", | ||
"description": "Encode and decode quoted-printable strings according to rfc2045", | ||
"main": "lib/libqp.js", | ||
"scripts": { | ||
"test": "grunt" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/andris9/libqp.git" | ||
}, | ||
"keywords": [ | ||
"quoted-printable", | ||
"mime" | ||
], | ||
"author": "Andris Reinman", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/andris9/libqp/issues" | ||
}, | ||
"homepage": "https://github.com/andris9/libqp", | ||
"devDependencies": { | ||
"chai": "~3.3.0", | ||
"grunt": "~0.4.5", | ||
"grunt-contrib-jshint": "~0.11.3", | ||
"grunt-mocha-test": "~0.12.7", | ||
"mocha": "^2.3.3" | ||
} | ||
} |
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
12912
5