@bitblit/ratchet-aws-node-only 4.0.102-alpha → 4.0.103-alpha
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}/athena/alb-athena-log-ratchet.js +6 -6
- package/{dist → lib}/athena/alb-athena-log-ratchet.spec.js +3 -3
- package/{dist → lib}/athena/athena-ratchet.js +6 -6
- package/{dist → lib}/athena/athena-ratchet.spec.js +1 -1
- package/{dist → lib}/build/ratchet-aws-node-only-info.d.ts +1 -1
- package/{dist → lib}/cli/dynamo-exporter.d.ts +1 -1
- package/{dist → lib}/cli/dynamo-exporter.js +4 -4
- package/{dist → lib}/cli/ratchet-cli-handler.d.ts +2 -2
- package/{dist → lib}/cli/ratchet-cli-handler.js +1 -1
- package/{dist → lib}/cli/site-uploader/site-uploader.js +1 -1
- package/{dist → lib}/cli/start-instance-and-ssh.js +2 -2
- package/{dist → lib}/mail/inbound/email-to-db-insert-processor.js +4 -4
- package/{dist → lib}/mail/inbound/inbound-email-ratchet.d.ts +1 -1
- package/{dist → lib}/mail/inbound/inbound-email-ratchet.js +2 -2
- package/{dist → lib}/mail/inbound/inbound-email-ratchet.spec.js +1 -1
- package/package.json +5 -5
- /package/{includes → bin}/cli.js +0 -0
- /package/{dist → lib}/athena/alb-athena-log-ratchet.d.ts +0 -0
- /package/{dist → lib}/athena/alb-athena-log-ratchet.spec.d.ts +0 -0
- /package/{dist → lib}/athena/athena-ratchet.d.ts +0 -0
- /package/{dist → lib}/athena/athena-ratchet.spec.d.ts +0 -0
- /package/{dist → lib}/build/ratchet-aws-node-only-info.js +0 -0
- /package/{dist → lib}/cli/site-uploader/site-uploader.d.ts +0 -0
- /package/{dist → lib}/cli/start-instance-and-ssh.d.ts +0 -0
- /package/{dist → lib}/index.d.ts +0 -0
- /package/{dist → lib}/index.js +0 -0
- /package/{dist → lib}/mail/inbound/email-to-db-insert-processor.d.ts +0 -0
- /package/{dist → lib}/mail/inbound/inbound-email-ratchet.spec.d.ts +0 -0
- /package/{dist → lib}/mail/inbound/parsed-email-processor.d.ts +0 -0
- /package/{dist → lib}/mail/inbound/parsed-email-processor.js +0 -0
- /package/{dist → lib}/mail/inbound/sample-email-processor.d.ts +0 -0
- /package/{dist → lib}/mail/inbound/sample-email-processor.js +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { readFileSync } from 'fs';
|
|
2
2
|
import path from 'path';
|
|
3
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
4
|
-
import { RequireRatchet } from '@bitblit/ratchet-common/
|
|
5
|
-
import { StringRatchet } from '@bitblit/ratchet-common/
|
|
6
|
-
import { EsmRatchet } from '@bitblit/ratchet-common/
|
|
7
|
-
import { S3Ratchet } from '@bitblit/ratchet-aws/
|
|
8
|
-
import { CsvRatchet } from '@bitblit/ratchet-node-only/
|
|
3
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
4
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lib/lang/require-ratchet.js';
|
|
5
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lib/lang/string-ratchet.js';
|
|
6
|
+
import { EsmRatchet } from '@bitblit/ratchet-common/lib/lang/esm-ratchet.js';
|
|
7
|
+
import { S3Ratchet } from '@bitblit/ratchet-aws/lib/s3/s3-ratchet.js';
|
|
8
|
+
import { CsvRatchet } from '@bitblit/ratchet-node-only/lib/csv/csv-ratchet.js';
|
|
9
9
|
export class AlbAthenaLogRatchet {
|
|
10
10
|
athena;
|
|
11
11
|
athenaTableName;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AthenaRatchet } from './athena-ratchet.js';
|
|
2
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
3
|
-
import { LoggerLevelName } from '@bitblit/ratchet-common/
|
|
4
|
-
import { TimeZoneRatchet } from '@bitblit/ratchet-common/
|
|
2
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
3
|
+
import { LoggerLevelName } from '@bitblit/ratchet-common/lib/logger/logger-level-name.js';
|
|
4
|
+
import { TimeZoneRatchet } from '@bitblit/ratchet-common/lib/lang/time-zone-ratchet.js';
|
|
5
5
|
import { AlbAthenaLogRatchet } from './alb-athena-log-ratchet.js';
|
|
6
6
|
import { S3Client } from '@aws-sdk/client-s3';
|
|
7
7
|
import { AthenaClient } from '@aws-sdk/client-athena';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { GetNamedQueryCommand, GetQueryExecutionCommand, ListNamedQueriesCommand, StartQueryExecutionCommand, } from '@aws-sdk/client-athena';
|
|
2
|
-
import { StringRatchet } from '@bitblit/ratchet-common/
|
|
3
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
4
|
-
import { StopWatch } from '@bitblit/ratchet-common/
|
|
5
|
-
import { PromiseRatchet } from '@bitblit/ratchet-common/
|
|
2
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lib/lang/string-ratchet.js';
|
|
3
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
4
|
+
import { StopWatch } from '@bitblit/ratchet-common/lib/lang/stop-watch.js';
|
|
5
|
+
import { PromiseRatchet } from '@bitblit/ratchet-common/lib/lang/promise-ratchet.js';
|
|
6
6
|
import { GetObjectCommand } from '@aws-sdk/client-s3';
|
|
7
7
|
import tmp from 'tmp';
|
|
8
8
|
import fs from 'fs';
|
|
9
|
-
import { CsvRatchet } from '@bitblit/ratchet-node-only/
|
|
10
|
-
import { RequireRatchet } from '@bitblit/ratchet-common/
|
|
9
|
+
import { CsvRatchet } from '@bitblit/ratchet-node-only/lib/csv/csv-ratchet.js';
|
|
10
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lib/lang/require-ratchet.js';
|
|
11
11
|
export class AthenaRatchet {
|
|
12
12
|
athena;
|
|
13
13
|
s3;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AthenaRatchet } from './athena-ratchet.js';
|
|
2
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
2
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
3
3
|
import { AthenaClient, GetQueryExecutionCommand, StartQueryExecutionCommand, } from '@aws-sdk/client-athena';
|
|
4
4
|
import { S3Client } from '@aws-sdk/client-s3';
|
|
5
5
|
import { mockClient } from 'aws-sdk-client-mock';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuildInformation } from '@bitblit/ratchet-common/
|
|
1
|
+
import { BuildInformation } from '@bitblit/ratchet-common/lib/build/build-information.js';
|
|
2
2
|
export declare class RatchetAwsNodeOnlyInfo {
|
|
3
3
|
private constructor();
|
|
4
4
|
static buildInformation(): BuildInformation;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
2
|
import { WriteStream } from 'fs';
|
|
3
|
-
import { DynamoRatchet } from '@bitblit/ratchet-aws/
|
|
3
|
+
import { DynamoRatchet } from '@bitblit/ratchet-aws/lib/dynamodb/dynamo-ratchet.js';
|
|
4
4
|
import { QueryCommandInput, ScanCommandInput } from '@aws-sdk/client-dynamodb';
|
|
5
5
|
export declare class DynamoExporter {
|
|
6
6
|
private constructor();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { StringRatchet } from '@bitblit/ratchet-common/
|
|
2
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
3
|
-
import { PromiseRatchet } from '@bitblit/ratchet-common/
|
|
4
|
-
import { RequireRatchet } from '@bitblit/ratchet-common/
|
|
1
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lib/lang/string-ratchet.js';
|
|
2
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
3
|
+
import { PromiseRatchet } from '@bitblit/ratchet-common/lib/lang/promise-ratchet.js';
|
|
4
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lib/lang/require-ratchet.js';
|
|
5
5
|
import fs from 'fs';
|
|
6
6
|
import readline from 'readline';
|
|
7
7
|
export class DynamoExporter {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AbstractRatchetCliHandler } from '@bitblit/ratchet-node-only/
|
|
2
|
-
import { BuildInformation } from '@bitblit/ratchet-common/
|
|
1
|
+
import { AbstractRatchetCliHandler } from '@bitblit/ratchet-node-only/lib/cli/abstract-ratchet-cli-handler.js';
|
|
2
|
+
import { BuildInformation } from '@bitblit/ratchet-common/lib/build/build-information.js';
|
|
3
3
|
export declare class RatchetCliHandler extends AbstractRatchetCliHandler {
|
|
4
4
|
fetchHandlerMap(): Record<string, any>;
|
|
5
5
|
fetchVersionInfo(): BuildInformation;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AbstractRatchetCliHandler } from '@bitblit/ratchet-node-only/
|
|
1
|
+
import { AbstractRatchetCliHandler } from '@bitblit/ratchet-node-only/lib/cli/abstract-ratchet-cli-handler.js';
|
|
2
2
|
import { SiteUploader } from './site-uploader/site-uploader.js';
|
|
3
3
|
import { StartInstanceAndSsh } from './start-instance-and-ssh.js';
|
|
4
4
|
import { RatchetAwsNodeOnlyInfo } from '../build/ratchet-aws-node-only-info.js';
|
|
@@ -3,7 +3,7 @@ import walk from 'walk';
|
|
|
3
3
|
import { S3Client } from '@aws-sdk/client-s3';
|
|
4
4
|
import path from 'path';
|
|
5
5
|
import mime from 'mime-types';
|
|
6
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
6
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
7
7
|
import { Upload } from '@aws-sdk/lib-storage';
|
|
8
8
|
export class SiteUploader {
|
|
9
9
|
srcDir;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
2
|
-
import { Ec2Ratchet } from '@bitblit/ratchet-aws/
|
|
1
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
2
|
+
import { Ec2Ratchet } from '@bitblit/ratchet-aws/lib/ec2/ec2-ratchet.js';
|
|
3
3
|
import { spawnSync } from 'child_process';
|
|
4
4
|
import fs from 'fs';
|
|
5
5
|
import os from 'os';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { RequireRatchet } from '@bitblit/ratchet-common/
|
|
2
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
3
|
-
import { MultiStream } from '@bitblit/ratchet-common/
|
|
1
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lib/lang/require-ratchet.js';
|
|
2
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
3
|
+
import { MultiStream } from '@bitblit/ratchet-common/lib/stream/multi-stream.js';
|
|
4
4
|
import unzipper from 'unzipper';
|
|
5
|
-
import { CsvRatchet } from '@bitblit/ratchet-node-only/
|
|
5
|
+
import { CsvRatchet } from '@bitblit/ratchet-node-only/lib/csv/csv-ratchet.js';
|
|
6
6
|
import { DateTime } from 'luxon';
|
|
7
7
|
export class EmailToDbInsertProcessor {
|
|
8
8
|
canProcess(mail) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
import { S3CacheRatchet } from '@bitblit/ratchet-aws/
|
|
2
|
+
import { S3CacheRatchet } from '@bitblit/ratchet-aws/lib/s3/s3-cache-ratchet.js';
|
|
3
3
|
import { ParsedEmailProcessor } from './parsed-email-processor.js';
|
|
4
4
|
export declare class InboundEmailRatchet {
|
|
5
5
|
private cache;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { simpleParser } from 'mailparser';
|
|
2
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
3
|
-
import { RequireRatchet } from '@bitblit/ratchet-common/
|
|
2
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
3
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lib/lang/require-ratchet.js';
|
|
4
4
|
export class InboundEmailRatchet {
|
|
5
5
|
cache;
|
|
6
6
|
processors;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InboundEmailRatchet } from './inbound-email-ratchet.js';
|
|
2
|
-
import { JestRatchet } from '@bitblit/ratchet-jest/
|
|
2
|
+
import { JestRatchet } from '@bitblit/ratchet-jest/lib/jest/jest-ratchet.js';
|
|
3
3
|
import { jest } from '@jest/globals';
|
|
4
4
|
import { SampleEmailProcessor } from './sample-email-processor.js';
|
|
5
5
|
let mockS3CR;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitblit/ratchet-aws-node-only",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.103-alpha",
|
|
4
4
|
"description": "Common tools for use with AWS (Node only)",
|
|
5
5
|
"note-on-side-effects": "Technically the entries in 'bin' below might be side effects, but they are called explicitly",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"bin": {
|
|
8
|
-
"ratchet-aws-cli": "./
|
|
8
|
+
"ratchet-aws-cli": "./bin/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
11
11
|
"module": "index.js",
|
|
12
12
|
"files": [
|
|
13
|
-
"
|
|
14
|
-
"
|
|
13
|
+
"lib/*",
|
|
14
|
+
"bin/*"
|
|
15
15
|
],
|
|
16
16
|
"contributors": [
|
|
17
17
|
"Christopher Weiss <bitblit@gmail.com>",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"config": {},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"watch": "tsc-watch",
|
|
37
|
-
"clean": "shx rm -Rf
|
|
37
|
+
"clean": "shx rm -Rf lib",
|
|
38
38
|
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
|
|
39
39
|
"docs": "typedoc",
|
|
40
40
|
"lint": "eslint src/**/*.ts",
|
/package/{includes → bin}/cli.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist → lib}/index.d.ts
RENAMED
|
File without changes
|
/package/{dist → lib}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|