mailisk 2.0.1 → 2.2.1
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/.github/workflows/test.yml +31 -0
- package/README.md +122 -22
- package/dist/index.d.ts +169 -11
- package/dist/index.js +49 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +49 -6
- package/dist/index.mjs.map +1 -1
- package/jest.config.js +13 -0
- package/package.json +11 -3
- package/private/dist/private/index.js +28 -0
- package/private/dist/private/index.js.map +1 -0
- package/private/dist/src/mailisk.interfaces.js +3 -0
- package/private/dist/src/mailisk.interfaces.js.map +1 -0
- package/private/dist/src/mailisk.js +168 -0
- package/private/dist/src/mailisk.js.map +1 -0
- package/private/index.ts +17 -0
- package/private/node_modules/.package-lock.json +44 -0
- package/private/node_modules/typescript/LICENSE.txt +55 -0
- package/private/node_modules/typescript/README.md +50 -0
- package/private/node_modules/typescript/SECURITY.md +41 -0
- package/private/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
- package/private/node_modules/typescript/bin/tsc +2 -0
- package/private/node_modules/typescript/bin/tsserver +2 -0
- package/private/node_modules/typescript/lib/_tsc.js +133818 -0
- package/private/node_modules/typescript/lib/_tsserver.js +659 -0
- package/private/node_modules/typescript/lib/_typingsInstaller.js +222 -0
- package/private/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/de/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/es/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/it/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/lib.d.ts +22 -0
- package/private/node_modules/typescript/lib/lib.decorators.d.ts +384 -0
- package/private/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
- package/private/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +41 -0
- package/private/node_modules/typescript/lib/lib.dom.d.ts +39429 -0
- package/private/node_modules/typescript/lib/lib.dom.iterable.d.ts +571 -0
- package/private/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
- package/private/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
- package/private/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
- package/private/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
- package/private/node_modules/typescript/lib/lib.es2015.iterable.d.ts +605 -0
- package/private/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
- package/private/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
- package/private/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
- package/private/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
- package/private/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
- package/private/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
- package/private/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
- package/private/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
- package/private/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
- package/private/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +21 -0
- package/private/node_modules/typescript/lib/lib.es2017.d.ts +26 -0
- package/private/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
- package/private/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
- package/private/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
- package/private/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
- package/private/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
- package/private/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
- package/private/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
- package/private/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
- package/private/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
- package/private/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
- package/private/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
- package/private/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
- package/private/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
- package/private/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
- package/private/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
- package/private/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
- package/private/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
- package/private/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
- package/private/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
- package/private/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
- package/private/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
- package/private/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
- package/private/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
- package/private/node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
- package/private/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
- package/private/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
- package/private/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
- package/private/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
- package/private/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
- package/private/node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
- package/private/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
- package/private/node_modules/typescript/lib/lib.es2022.d.ts +25 -0
- package/private/node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
- package/private/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2022.intl.d.ts +145 -0
- package/private/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
- package/private/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
- package/private/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
- package/private/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
- package/private/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
- package/private/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
- package/private/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
- package/private/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
- package/private/node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
- package/private/node_modules/typescript/lib/lib.es2024.d.ts +26 -0
- package/private/node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.es2024.object.d.ts +29 -0
- package/private/node_modules/typescript/lib/lib.es2024.promise.d.ts +35 -0
- package/private/node_modules/typescript/lib/lib.es2024.regexp.d.ts +25 -0
- package/private/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +68 -0
- package/private/node_modules/typescript/lib/lib.es2024.string.d.ts +29 -0
- package/private/node_modules/typescript/lib/lib.es5.d.ts +4601 -0
- package/private/node_modules/typescript/lib/lib.es6.d.ts +23 -0
- package/private/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
- package/private/node_modules/typescript/lib/lib.esnext.collection.d.ts +96 -0
- package/private/node_modules/typescript/lib/lib.esnext.d.ts +29 -0
- package/private/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
- package/private/node_modules/typescript/lib/lib.esnext.disposable.d.ts +193 -0
- package/private/node_modules/typescript/lib/lib.esnext.error.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.esnext.float16.d.ts +445 -0
- package/private/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
- package/private/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
- package/private/node_modules/typescript/lib/lib.esnext.iterator.d.ts +148 -0
- package/private/node_modules/typescript/lib/lib.esnext.promise.d.ts +34 -0
- package/private/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +25 -0
- package/private/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
- package/private/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +41 -0
- package/private/node_modules/typescript/lib/lib.webworker.d.ts +13150 -0
- package/private/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
- package/private/node_modules/typescript/lib/lib.webworker.iterable.d.ts +340 -0
- package/private/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/tsc.js +8 -0
- package/private/node_modules/typescript/lib/tsserver.js +8 -0
- package/private/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
- package/private/node_modules/typescript/lib/tsserverlibrary.js +21 -0
- package/private/node_modules/typescript/lib/typesMap.json +497 -0
- package/private/node_modules/typescript/lib/typescript.d.ts +11437 -0
- package/private/node_modules/typescript/lib/typescript.js +200276 -0
- package/private/node_modules/typescript/lib/typingsInstaller.js +8 -0
- package/private/node_modules/typescript/lib/watchGuard.js +53 -0
- package/private/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +2122 -0
- package/private/node_modules/typescript/package.json +120 -0
- package/private/package-lock.json +53 -0
- package/private/package.json +17 -0
- package/private/tsconfig.json +103 -0
- package/src/mailisk.interfaces.ts +123 -6
- package/src/mailisk.ts +120 -11
- package/tests/mocks/axios-mocks.ts +108 -0
- package/tests/setup.ts +21 -0
- package/tests/unit/mailisk.test.ts +480 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// This file is a shim which defers loading the real module until the compile cache is enabled.
|
|
2
|
+
try {
|
|
3
|
+
const { enableCompileCache } = require("node:module");
|
|
4
|
+
if (enableCompileCache) {
|
|
5
|
+
enableCompileCache();
|
|
6
|
+
}
|
|
7
|
+
} catch {}
|
|
8
|
+
module.exports = require("./_typingsInstaller.js");
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
+
|
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
11
|
+
|
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
13
|
+
and limitations under the License.
|
|
14
|
+
***************************************************************************** */
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
"use strict";
|
|
18
|
+
var __create = Object.create;
|
|
19
|
+
var __defProp = Object.defineProperty;
|
|
20
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
21
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
22
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
23
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
24
|
+
var __copyProps = (to, from, except, desc) => {
|
|
25
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
26
|
+
for (let key of __getOwnPropNames(from))
|
|
27
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
28
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
29
|
+
}
|
|
30
|
+
return to;
|
|
31
|
+
};
|
|
32
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
33
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
34
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
35
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
36
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
37
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
38
|
+
mod
|
|
39
|
+
));
|
|
40
|
+
|
|
41
|
+
// src/watchGuard/watchGuard.ts
|
|
42
|
+
var fs = __toESM(require("fs"));
|
|
43
|
+
if (process.argv.length < 3) {
|
|
44
|
+
process.exit(1);
|
|
45
|
+
}
|
|
46
|
+
var directoryName = process.argv[2];
|
|
47
|
+
try {
|
|
48
|
+
const watcher = fs.watch(directoryName, { recursive: true }, () => ({}));
|
|
49
|
+
watcher.close();
|
|
50
|
+
} catch {
|
|
51
|
+
}
|
|
52
|
+
process.exit(0);
|
|
53
|
+
//# sourceMappingURL=watchGuard.js.map
|