New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rfc2047

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rfc2047 - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

lib/rfc2047.js

@@ -201,3 +201,3 @@ /*jshint regexp:false*/

var matchWhitespaceOrQuotesAtEnd = token.match(/[\s"]+$/);
var matchWhitespaceOrQuotesAtEnd = token.match(/\\?[\s"]+$/);
if (matchWhitespaceOrQuotesAtEnd) {

@@ -204,0 +204,0 @@ tokens.splice(i + 1, 0, matchWhitespaceOrQuotesAtEnd[0]);

{
"name": "rfc2047",
"version": "1.0.1",
"version": "1.0.2",
"description": "Encode and decode rfc2047 (MIME encoded words)",

@@ -5,0 +5,0 @@ "main": "lib/rfc2047.js",

@@ -96,2 +96,6 @@ /*global describe, it*/

});
it('should not split a backslash from the doublequote it is escaping', function () {
expect('"Öland\\""', 'to encode to', '"=?iso-8859-1?Q?=D6land?=\\""');
});
});

@@ -98,0 +102,0 @@

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