@util.js/emails 0.41.2 → 0.41.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/EmailHeaders.js +1 -2
- package/dist/Emails.js +4 -5
- package/package.json +3 -3
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
<p>
|
|
6
6
|
<a href="https://www.npmjs.com/package/@util.js/emails"><img alt="NPM Status" src="https://img.shields.io/npm/v/@util.js/emails.svg?style=flat"></a>
|
|
7
|
-
<a href="https://travis-ci.org/creemama/utiljs"><img alt="Travis CI Build Status" src="https://img.shields.io/travis/creemama/utiljs/master.svg?style=flat-square&label=Travis+CI"></a>
|
|
8
7
|
</p>
|
|
9
8
|
|
|
10
9
|
@util.js/emails is part of [Util.js](https://github.com/creemama/utiljs).
|
package/dist/EmailHeaders.js
CHANGED
|
@@ -27,7 +27,7 @@ var EmailHeaders = /*#__PURE__*/function () {
|
|
|
27
27
|
* @instance
|
|
28
28
|
* @function
|
|
29
29
|
*/
|
|
30
|
-
(0, _createClass2["default"])(EmailHeaders, [{
|
|
30
|
+
return (0, _createClass2["default"])(EmailHeaders, [{
|
|
31
31
|
key: "deliveredTo",
|
|
32
32
|
value: function deliveredTo() {
|
|
33
33
|
return this.get("delivered-to");
|
|
@@ -161,7 +161,6 @@ var EmailHeaders = /*#__PURE__*/function () {
|
|
|
161
161
|
return "EmailHeaders " + json().stringify(headerMap(this), null, " ");
|
|
162
162
|
}
|
|
163
163
|
}]);
|
|
164
|
-
return EmailHeaders;
|
|
165
164
|
}();
|
|
166
165
|
module.exports = EmailHeaders;
|
|
167
166
|
var dependencies = new _weakMap["default"]();
|
package/dist/Emails.js
CHANGED
|
@@ -13,14 +13,14 @@ var _Array$isArray = require("@babel/runtime-corejs3/core-js-stable/array/is-arr
|
|
|
13
13
|
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
14
14
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/classCallCheck"));
|
|
15
15
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/createClass"));
|
|
16
|
-
function _createForOfIteratorHelper(
|
|
17
|
-
function _unsupportedIterableToArray(
|
|
18
|
-
function _arrayLikeToArray(
|
|
16
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof _Symbol && _getIteratorMethod(r) || r["@@iterator"]; if (!t) { if (_Array$isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
17
|
+
function _unsupportedIterableToArray(r, a) { if (r) { var _context; if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = _sliceInstanceProperty(_context = {}.toString.call(r)).call(_context, 8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? _Array$from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
18
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
19
19
|
var Emails = /*#__PURE__*/function () {
|
|
20
20
|
function Emails() {
|
|
21
21
|
(0, _classCallCheck2["default"])(this, Emails);
|
|
22
22
|
}
|
|
23
|
-
(0, _createClass2["default"])(Emails, [{
|
|
23
|
+
return (0, _createClass2["default"])(Emails, [{
|
|
24
24
|
key: "isValidEmail",
|
|
25
25
|
value:
|
|
26
26
|
/**
|
|
@@ -84,7 +84,6 @@ var Emails = /*#__PURE__*/function () {
|
|
|
84
84
|
});
|
|
85
85
|
}
|
|
86
86
|
}]);
|
|
87
|
-
return Emails;
|
|
88
87
|
}();
|
|
89
88
|
module.exports = Emails;
|
|
90
89
|
var dependencies = {};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Chris Topher <c@creemama.com>",
|
|
3
3
|
"description": "JavaScript utility methods for emails",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@babel/runtime-corejs3": "7.
|
|
5
|
+
"@babel/runtime-corejs3": "7.29.7"
|
|
6
6
|
},
|
|
7
7
|
"dependencies-comments": [
|
|
8
8
|
"@babel/runtime-corejs3 is required by files in the dist directory to ",
|
|
@@ -28,6 +28,6 @@
|
|
|
28
28
|
"type": "git",
|
|
29
29
|
"url": "https://github.com/creemama/utiljs/tree/master/packages/utiljs-emails"
|
|
30
30
|
},
|
|
31
|
-
"version": "0.41.
|
|
32
|
-
"gitHead": "
|
|
31
|
+
"version": "0.41.4",
|
|
32
|
+
"gitHead": "2119863a175cf7095ca3a2417e61af32974add15"
|
|
33
33
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright 2018 Chris Topher (c@creemama.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
7
|
-
the Software without restriction, including without limitation the rights to
|
|
8
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
9
|
-
of the Software, and to permit persons to whom the Software is furnished to do
|
|
10
|
-
so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|