emailjs-utf7
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -24,3 +24,3 @@ 'use strict'; | ||
function decodeFromUTF7(str) { | ||
var octets = (0, _emailjsBase.decode)(str); | ||
var octets = (0, _emailjsBase.decode)(str, _emailjsBase.OUTPUT_TYPED_ARRAY); | ||
var output = ''; | ||
@@ -101,2 +101,2 @@ | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGY3LmpzIl0sIm5hbWVzIjpbImVuY29kZVRvVVRGNyIsInN0ciIsImIiLCJVaW50OEFycmF5IiwibGVuZ3RoIiwiaSIsImJpIiwibGVuIiwiYyIsImNoYXJDb2RlQXQiLCJyZXBsYWNlIiwiZGVjb2RlRnJvbVVURjciLCJvY3RldHMiLCJvdXRwdXQiLCJTdHJpbmciLCJmcm9tQ2hhckNvZGUiLCJlc2NhcGVSZXNlcnZlZFJlZ2V4U3RyaW5ncyIsImNoYXJzIiwic2V0RCIsInNldE8iLCJzZXRXIiwiZW5jb2RlIiwibWFzayIsIlJlZ0V4cCIsImNodW5rIiwiZW5jb2RlQWxsIiwiZGVjb2RlIiwiXyIsImltYXBFbmNvZGUiLCJpbWFwRGVjb2RlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBQUE7O0FBRUEsU0FBU0EsWUFBVCxDQUF1QkMsR0FBdkIsRUFBNEI7QUFDMUIsTUFBTUMsSUFBSSxJQUFJQyxVQUFKLENBQWVGLElBQUlHLE1BQUosR0FBYSxDQUE1QixDQUFWOztBQUVBO0FBQ0EsT0FBSyxJQUFJQyxJQUFJLENBQVIsRUFBV0MsS0FBSyxDQUFoQixFQUFtQkMsTUFBTU4sSUFBSUcsTUFBbEMsRUFBMENDLElBQUlFLEdBQTlDLEVBQW1ERixHQUFuRCxFQUF3RDtBQUN0RCxRQUFNRyxJQUFJUCxJQUFJUSxVQUFKLENBQWVKLENBQWYsQ0FBVjtBQUNBS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ICogRGVjb2RlcyBVVEYtNyBzdHJpbmcsIHNlZSBSRkMgMzUwMVxuICogQHBhcmFtIHtTdHJpbmd9IHN0ciBTdHJpbmcgdG8gZGVjb2RlXG4gKi9cbmV4cG9ydCBjb25zdCBpbWFwRGVjb2RlID0gc3RyID0+XG4gIHN0ci5yZXBsYWNlKC8mKFteLV0qKS0vZywgKF8sIGNodW5rKSA9PiAoY2h1bmsgPT09ICcnKSA/ICcmJyA6IGRlY29kZUZyb21VVEY3KGNodW5rLnJlcGxhY2UoLywvZywgJy8nKSkpXG4iXX0= |
{ | ||
"name": "emailjs-utf7", | ||
"main": "dist/utf7.js", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"homepage": "https://github.com/emailjs/emailjs-utf7", | ||
@@ -27,3 +27,3 @@ "author": "Konstantin Käfer", | ||
"dependencies": { | ||
"emailjs-base64": "^1.0.3" | ||
"emailjs-base64": "^1.1.2" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
import { encode as encodeBase64, decode as decodeBase64 } from 'emailjs-base64' | ||
import { encode as encodeBase64, decode as decodeBase64, OUTPUT_TYPED_ARRAY } from 'emailjs-base64' | ||
@@ -17,3 +17,3 @@ function encodeToUTF7 (str) { | ||
function decodeFromUTF7 (str) { | ||
const octets = decodeBase64(str) | ||
const octets = decodeBase64(str, OUTPUT_TYPED_ARRAY) | ||
let output = '' | ||
@@ -20,0 +20,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26150
0
Updatedemailjs-base64@^1.1.2