@mavogel/awscdk-rootmail 0.1.52 → 0.1.53
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/.jsii +10 -10
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/package.json +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ses/package.json +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/package.json +1 -1
- package/node_modules/linkify-it/README.md +49 -86
- package/node_modules/linkify-it/build/index.cjs.js +636 -825
- package/node_modules/linkify-it/build/index.cjs.js.map +1 -0
- package/node_modules/linkify-it/build/index.d.ts +236 -0
- package/node_modules/linkify-it/build/index.mjs +538 -0
- package/node_modules/linkify-it/build/index.mjs.map +1 -0
- package/node_modules/linkify-it/package.json +23 -20
- package/node_modules/mailparser/CHANGELOG.md +7 -0
- package/node_modules/mailparser/dist/cjs/mail-parser.js +34 -14
- package/node_modules/mailparser/dist/esm/mail-parser.js +34 -14
- package/node_modules/mailparser/package.json +2 -2
- package/node_modules/uc.micro/README.md +18 -1
- package/node_modules/uc.micro/build/index.cjs.js +13 -18
- package/node_modules/uc.micro/build/index.d.ts +6 -0
- package/node_modules/uc.micro/build/index.mjs +8 -0
- package/node_modules/uc.micro/package.json +12 -17
- package/package.json +11 -11
- package/node_modules/linkify-it/index.mjs +0 -646
- package/node_modules/linkify-it/lib/re.mjs +0 -193
- package/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/P/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/S/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
- package/node_modules/uc.micro/index.mjs +0 -8
- package/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
package/.jsii
CHANGED
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
"bundled": {
|
|
11
|
-
"@aws-sdk/client-cloudwatch-logs": "^3.
|
|
12
|
-
"@aws-sdk/client-route-53": "^3.
|
|
13
|
-
"@aws-sdk/client-s3": "^3.
|
|
14
|
-
"@aws-sdk/client-ses": "^3.
|
|
15
|
-
"@aws-sdk/client-ssm": "^3.
|
|
11
|
+
"@aws-sdk/client-cloudwatch-logs": "^3.1170.0",
|
|
12
|
+
"@aws-sdk/client-route-53": "^3.1170.0",
|
|
13
|
+
"@aws-sdk/client-s3": "^3.1170.0",
|
|
14
|
+
"@aws-sdk/client-ses": "^3.1170.0",
|
|
15
|
+
"@aws-sdk/client-ssm": "^3.1170.0",
|
|
16
16
|
"cdk-nag": "^3.0.1",
|
|
17
|
-
"mailparser": "^3.14.
|
|
17
|
+
"mailparser": "^3.14.5",
|
|
18
18
|
"uuid": "^14.0.3"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@mavogel/mvc-projen": "^0.0.
|
|
21
|
+
"@mavogel/mvc-projen": "^0.0.79",
|
|
22
22
|
"aws-cdk-lib": "^2.263.0",
|
|
23
23
|
"constructs": "^10.5.1"
|
|
24
24
|
},
|
|
@@ -9167,7 +9167,7 @@
|
|
|
9167
9167
|
"stability": "experimental"
|
|
9168
9168
|
},
|
|
9169
9169
|
"homepage": "https://github.com/mavogel/awscdk-rootmail",
|
|
9170
|
-
"jsiiVersion": "5.9.
|
|
9170
|
+
"jsiiVersion": "5.9.60 (build 50865f3)",
|
|
9171
9171
|
"keywords": [
|
|
9172
9172
|
"aws",
|
|
9173
9173
|
"cdk",
|
|
@@ -9620,6 +9620,6 @@
|
|
|
9620
9620
|
"symbolId": "src/ses-receive:SESReceiveProps"
|
|
9621
9621
|
}
|
|
9622
9622
|
},
|
|
9623
|
-
"version": "0.1.
|
|
9624
|
-
"fingerprint": "
|
|
9623
|
+
"version": "0.1.53",
|
|
9624
|
+
"fingerprint": "oiUFBXp1lxzRqsSedxdCufjbt9qG5imMRxK3G+IP5Yc="
|
|
9625
9625
|
}
|
package/lib/rootmail.js
CHANGED
|
@@ -11,7 +11,7 @@ const ses_receive_1 = require("./ses-receive");
|
|
|
11
11
|
* Rootmail construct
|
|
12
12
|
*/
|
|
13
13
|
class Rootmail extends constructs_1.Construct {
|
|
14
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.1.
|
|
14
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/awscdk-rootmail.Rootmail", version: "0.1.53" };
|
|
15
15
|
/**
|
|
16
16
|
* The name parameter in SSM to store the domain name server.
|
|
17
17
|
*/
|
package/lib/ses-receive.js
CHANGED
|
@@ -11,7 +11,7 @@ const ses_receipt_ruleset_activation_1 = require("./ses-receipt-ruleset-activati
|
|
|
11
11
|
* SES Receive construct
|
|
12
12
|
*/
|
|
13
13
|
class SESReceive extends constructs_1.Construct {
|
|
14
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.1.
|
|
14
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "@mavogel/awscdk-rootmail.SESReceive", version: "0.1.53" };
|
|
15
15
|
constructor(scope, id, props) {
|
|
16
16
|
super(scope, id);
|
|
17
17
|
const filteredEmailSubjects = props.filteredEmailSubjects || [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudwatch-logs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1170.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudwatch Logs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudwatch-logs",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route-53",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1170.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Route 53 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route-53",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -4779,7 +4779,7 @@ var WriteGetObjectResponse$ = [9, n0, _WGOR,
|
|
|
4779
4779
|
class CreateSessionCommand extends command(_ep4, _mw0, "CreateSession", CreateSession$) {
|
|
4780
4780
|
}
|
|
4781
4781
|
|
|
4782
|
-
var version = "3.
|
|
4782
|
+
var version = "3.1169.0";
|
|
4783
4783
|
var packageInfo = {
|
|
4784
4784
|
version: version};
|
|
4785
4785
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1170.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"tslib": "^2.6.2"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@aws-sdk/signature-v4-crt": "3.
|
|
70
|
+
"@aws-sdk/signature-v4-crt": "3.1170.0",
|
|
71
71
|
"@smithy/snapshot-testing": "^2.4.0",
|
|
72
72
|
"@tsconfig/node20": "20.1.8",
|
|
73
73
|
"@types/node": "^20.14.8",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ses",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1170.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ses Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ses",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ssm",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1170.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ssm",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,65 +24,39 @@ Install
|
|
|
24
24
|
npm install linkify-it --save
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
Browserification is also supported.
|
|
28
|
-
|
|
29
27
|
|
|
30
28
|
Usage examples
|
|
31
29
|
--------------
|
|
32
30
|
|
|
33
|
-
##### Example 1
|
|
34
|
-
|
|
35
31
|
```js
|
|
36
|
-
import
|
|
37
|
-
const linkify =
|
|
32
|
+
import { LinkifyIt } from 'linkify-it';
|
|
33
|
+
const linkify = new LinkifyIt({ fuzzyLink: true });
|
|
38
34
|
|
|
39
|
-
// Reload full tlds list & add unofficial `.onion` domain.
|
|
40
35
|
linkify
|
|
41
|
-
.tlds(require('tlds'))
|
|
42
|
-
.tlds('onion', true)
|
|
43
|
-
.add('
|
|
44
|
-
.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
console.log(linkify.match('Site github.com!'));
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
36
|
+
.tlds(require('tlds'))
|
|
37
|
+
.tlds('onion', true)
|
|
38
|
+
.add('ftp:', null)
|
|
39
|
+
.set({ fuzzyIP: true });
|
|
40
|
+
|
|
41
|
+
console.log(linkify.test('Site github.com!'));
|
|
42
|
+
// true
|
|
43
|
+
|
|
44
|
+
console.log(linkify.match('Site github.com!'));
|
|
45
|
+
// [ {
|
|
46
|
+
// schema: "",
|
|
47
|
+
// index: 5,
|
|
48
|
+
// lastIndex: 15,
|
|
49
|
+
// raw: "github.com",
|
|
50
|
+
// text: "github.com",
|
|
51
|
+
// url: "http://github.com",
|
|
52
|
+
// } ]
|
|
57
53
|
```
|
|
58
54
|
|
|
59
|
-
|
|
55
|
+
See more in examples folder:
|
|
60
56
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const tail = text.slice(pos);
|
|
65
|
-
|
|
66
|
-
if (!self.re.twitter) {
|
|
67
|
-
self.re.twitter = new RegExp(
|
|
68
|
-
`^([a-zA-Z0-9_]){1,15}(?!_)(?=$|${self.re.src_ZPCc})`
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
if (self.re.twitter.test(tail)) {
|
|
72
|
-
// Linkifier allows punctuation chars before prefix,
|
|
73
|
-
// but we additionally disable `@` ("@@mention" is invalid)
|
|
74
|
-
if (pos >= 2 && tail[pos - 2] === '@') {
|
|
75
|
-
return false;
|
|
76
|
-
}
|
|
77
|
-
return tail.match(self.re.twitter)[0].length;
|
|
78
|
-
}
|
|
79
|
-
return 0;
|
|
80
|
-
},
|
|
81
|
-
normalize: function (match) {
|
|
82
|
-
match.url = `https://twitter.com/${match.url.replace(/^@/, '')}`;
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
```
|
|
57
|
+
- [twitter mentions](examples/twitter.mjs)
|
|
58
|
+
- [CJK paired brackets in URL paths](examples/cjk-paired-brackets.mjs)
|
|
59
|
+
- [increased nested scopes depth](examples/nested-scopes-depth.mjs)
|
|
86
60
|
|
|
87
61
|
|
|
88
62
|
API
|
|
@@ -90,39 +64,28 @@ API
|
|
|
90
64
|
|
|
91
65
|
__[API documentation](http://markdown-it.github.io/linkify-it/doc)__
|
|
92
66
|
|
|
93
|
-
### new LinkifyIt(
|
|
67
|
+
### new LinkifyIt(options)
|
|
94
68
|
|
|
95
|
-
Creates new linkifier instance
|
|
96
|
-
Can be called without `new` keyword for convenience.
|
|
69
|
+
Creates new linkifier instance.
|
|
97
70
|
|
|
98
71
|
By default understands:
|
|
99
72
|
|
|
100
73
|
- `http(s)://...` , `ftp://...`, `mailto:...` & `//...` links
|
|
101
|
-
- "fuzzy"
|
|
102
|
-
|
|
103
|
-
`schemas` is an object, where each key/value describes protocol/rule:
|
|
104
|
-
|
|
105
|
-
- __key__ - link prefix (usually, protocol name with `:` at the end, `skype:`
|
|
106
|
-
for example). `linkify-it` makes sure that prefix is not preceded with
|
|
107
|
-
alphanumeric char.
|
|
108
|
-
- __value__ - rule to check tail after link prefix
|
|
109
|
-
- _String_ - just alias to existing rule
|
|
110
|
-
- _Object_
|
|
111
|
-
- _validate_ - either a `RegExp` (start with `^`, and don't include the
|
|
112
|
-
link prefix itself), or a validator function which, given arguments
|
|
113
|
-
_text_, _pos_, and _self_, returns the length of a match in _text_
|
|
114
|
-
starting at index _pos_. _pos_ is the index right after the link prefix.
|
|
115
|
-
_self_ can be used to access the linkify object to cache data.
|
|
116
|
-
- _normalize_ - optional function to normalize text & url of matched result
|
|
117
|
-
(for example, for twitter mentions).
|
|
74
|
+
- "fuzzy" emails (foo@bar.com).
|
|
118
75
|
|
|
119
76
|
`options`:
|
|
120
77
|
|
|
121
|
-
- __fuzzyLink__ - recognize URL-s without `http(s)://` head. Default `
|
|
78
|
+
- __fuzzyLink__ - recognize URL-s without `http(s)://` head. Default `false`.
|
|
122
79
|
- __fuzzyIP__ - allow IPs in fuzzy links above. Can conflict with some texts
|
|
123
80
|
like version numbers. Default `false`.
|
|
124
81
|
- __fuzzyEmail__ - recognize emails without `mailto:` prefix. Default `true`.
|
|
82
|
+
- __tlds__ - allowed TLDs list for fuzzy links. Replaces the default list
|
|
83
|
+
when set.
|
|
125
84
|
- __---__ - set `true` to terminate link with `---` (if it's considered as long dash).
|
|
85
|
+
Default `false`.
|
|
86
|
+
- __rebuilder__ - custom `REBuilder` instance for patched regex fragments.
|
|
87
|
+
- __urlAuth__ - recognize authentication data in URLs. Default `false`.
|
|
88
|
+
- __maxLength__ - maximum link length. Default `10000`.
|
|
126
89
|
|
|
127
90
|
|
|
128
91
|
### .test(text)
|
|
@@ -130,13 +93,6 @@ By default understands:
|
|
|
130
93
|
Searches linkifiable pattern and returns `true` on success or `false` on fail.
|
|
131
94
|
|
|
132
95
|
|
|
133
|
-
### .pretest(text)
|
|
134
|
-
|
|
135
|
-
Quick check if link MAY BE can exist. Can be used to optimize more expensive
|
|
136
|
-
`.test()` calls. Return `false` if link can not be found, `true` - if `.test()`
|
|
137
|
-
call needed to know exactly.
|
|
138
|
-
|
|
139
|
-
|
|
140
96
|
### .testSchemaAt(text, name, offset)
|
|
141
97
|
|
|
142
98
|
Similar to `.test()` but checks only specific protocol tail exactly at given
|
|
@@ -178,18 +134,25 @@ If that's not enough, you can reload defaults with more detailed zones list.
|
|
|
178
134
|
|
|
179
135
|
### .add(key, value)
|
|
180
136
|
|
|
181
|
-
Add a new schema to the schemas object.
|
|
182
|
-
definition, `key` is a link prefix (`skype:`, for example), and `value`
|
|
183
|
-
is a String to alias to another schema, or an Object with `validate` and
|
|
184
|
-
optionally `normalize` definitions. To disable an existing rule, use
|
|
185
|
-
`.add(key, null)`.
|
|
137
|
+
Add a new schema to the schemas object.
|
|
186
138
|
|
|
139
|
+
`key` is a link prefix (usually, protocol name with `:` at the end, `skype:`
|
|
140
|
+
for example). `linkify-it` makes sure that prefix is not preceded with
|
|
141
|
+
alphanumeric char.
|
|
187
142
|
|
|
188
|
-
|
|
143
|
+
`value` is a rule to check tail after link prefix:
|
|
189
144
|
|
|
190
|
-
|
|
145
|
+
- _Object_
|
|
146
|
+
- _validate_ - validator function which, given arguments _text_, _pos_, and
|
|
147
|
+
_self_, returns the length of a match in _text_ starting at index _pos_.
|
|
148
|
+
_pos_ is the index right after the link prefix. _self_ can be used to
|
|
149
|
+
access the linkify object to cache data.
|
|
150
|
+
- _normalize_ - optional function to normalize text & url of matched result
|
|
151
|
+
(for example, for twitter mentions).
|
|
191
152
|
|
|
153
|
+
To disable an existing rule, use `.add(key, null)`.
|
|
192
154
|
|
|
193
|
-
## License
|
|
194
155
|
|
|
195
|
-
|
|
156
|
+
### .set(options)
|
|
157
|
+
|
|
158
|
+
Override default options. Missed properties will not be changed.
|