@allthings/cloud-toolkit 4.3.1-beta.1 → 4.3.2-beta.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/dist/lib.cjs.js +1 -1
- package/package.json +19 -9
- package/dist/{lib.esm.js → lib.esm.mjs} +2 -2
package/dist/lib.cjs.js
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var querystring = require('querystring');
|
|
4
4
|
var zlib = require('zlib');
|
|
5
5
|
var crypto = require('crypto');
|
|
6
|
+
var winston = require('winston');
|
|
6
7
|
var clientDynamodb = require('@aws-sdk/client-dynamodb');
|
|
7
8
|
var libDynamodb = require('@aws-sdk/lib-dynamodb');
|
|
8
9
|
var Bottleneck = require('bottleneck');
|
|
@@ -11,7 +12,6 @@ var clientSsm = require('@aws-sdk/client-ssm');
|
|
|
11
12
|
var clientSesv2 = require('@aws-sdk/client-sesv2');
|
|
12
13
|
var nodemailer = require('nodemailer');
|
|
13
14
|
var clientSqs = require('@aws-sdk/client-sqs');
|
|
14
|
-
var winston = require('winston');
|
|
15
15
|
|
|
16
16
|
function _interopNamespaceDefault(e) {
|
|
17
17
|
var n = Object.create(null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allthings/cloud-toolkit",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2-beta.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Allthings GmbH",
|
|
6
6
|
"keywords": [
|
|
@@ -22,10 +22,20 @@
|
|
|
22
22
|
"repositoryUrl": "https://github.com/allthings/cloud-toolkit.git"
|
|
23
23
|
},
|
|
24
24
|
"main": "dist/lib.cjs.js",
|
|
25
|
-
"module": "dist/lib.esm.
|
|
25
|
+
"module": "dist/lib.esm.mjs",
|
|
26
26
|
"types": "dist/src/index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/src/index.d.ts",
|
|
30
|
+
"import": "./dist/lib.esm.mjs",
|
|
31
|
+
"require": "./dist/lib.cjs.js"
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"sideEffects": false,
|
|
27
36
|
"files": [
|
|
28
37
|
"dist/*.js",
|
|
38
|
+
"dist/*.mjs",
|
|
29
39
|
"dist/*.min.js",
|
|
30
40
|
"dist/**/*.d.ts"
|
|
31
41
|
],
|
|
@@ -65,22 +75,22 @@
|
|
|
65
75
|
"winston": "^3.19.0"
|
|
66
76
|
},
|
|
67
77
|
"devDependencies": {
|
|
68
|
-
"@allthings/eslint-config": "3.
|
|
69
|
-
"@commitlint/cli": "
|
|
70
|
-
"@commitlint/config-conventional": "
|
|
78
|
+
"@allthings/eslint-config": "3.2.0",
|
|
79
|
+
"@commitlint/cli": "21.0.1",
|
|
80
|
+
"@commitlint/config-conventional": "21.0.1",
|
|
71
81
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
72
82
|
"@types/aws-lambda": "8.10.161",
|
|
73
83
|
"@types/jest": "30.0.0",
|
|
74
|
-
"@types/node": "24.12.
|
|
84
|
+
"@types/node": "24.12.4",
|
|
75
85
|
"@types/nodemailer": "8.0.0",
|
|
76
86
|
"aws-sdk-client-mock": "4.1.0",
|
|
77
87
|
"eslint": "9.39.4",
|
|
78
88
|
"husky": "9.1.7",
|
|
79
|
-
"jest": "30.
|
|
80
|
-
"lint-staged": "
|
|
89
|
+
"jest": "30.4.2",
|
|
90
|
+
"lint-staged": "17.0.5",
|
|
81
91
|
"prettier": "3.8.3",
|
|
82
92
|
"rimraf": "6.1.3",
|
|
83
|
-
"rollup": "4.60.
|
|
93
|
+
"rollup": "4.60.4",
|
|
84
94
|
"semantic-release": "25.0.3",
|
|
85
95
|
"ts-jest": "29.4.9",
|
|
86
96
|
"typescript": "6.0.3"
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as querystring from 'querystring';
|
|
2
2
|
import * as zlib from 'zlib';
|
|
3
3
|
import * as crypto from 'crypto';
|
|
4
|
+
import { format, createLogger, transports } from 'winston';
|
|
5
|
+
export { Logger } from 'winston';
|
|
4
6
|
import { DynamoDBClient } from '@aws-sdk/client-dynamodb';
|
|
5
7
|
import { DynamoDBDocumentClient, UpdateCommand, ScanCommand, QueryCommand, PutCommand, GetCommand, DeleteCommand, BatchWriteCommand } from '@aws-sdk/lib-dynamodb';
|
|
6
8
|
import Bottleneck from 'bottleneck';
|
|
@@ -9,8 +11,6 @@ import { SSMClient, GetParametersCommand, GetParameterCommand } from '@aws-sdk/c
|
|
|
9
11
|
import { SESv2Client, SendEmailCommand } from '@aws-sdk/client-sesv2';
|
|
10
12
|
import { createTransport } from 'nodemailer';
|
|
11
13
|
import { SQSClient, SendMessageCommand, SendMessageBatchCommand, GetQueueUrlCommand, ReceiveMessageCommand, DeleteMessageCommand } from '@aws-sdk/client-sqs';
|
|
12
|
-
import { format, createLogger, transports } from 'winston';
|
|
13
|
-
export { Logger } from 'winston';
|
|
14
14
|
|
|
15
15
|
const defaultErrorHandler = (request, response, error) => {
|
|
16
16
|
const { requestId } = request.requestContext;
|