@mavogel/awscdk-rootmail 0.1.11 → 0.1.13

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.
@@ -1,58 +1,58 @@
1
1
  {
2
- "name": "he",
3
- "version": "2.0.0",
4
- "description": "A robust HTML entities encoder/decoder with full Unicode support.",
5
- "keywords": [
6
- "decode",
7
- "encode",
8
- "entities",
9
- "entity",
10
- "html",
11
- "string",
12
- "unicode"
13
- ],
14
- "homepage": "https://mths.be/he",
15
- "bugs": "https://github.com/mathiasbynens/he/issues",
16
- "license": "MIT",
17
- "author": {
18
- "name": "Mathias Bynens",
19
- "url": "https://mathiasbynens.be/"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/mathiasbynens/he.git"
24
- },
25
- "man": "man/he.1",
26
- "bin": {
27
- "he": "bin/he.mjs"
28
- },
29
- "files": [
30
- "LICENSE-MIT.txt",
31
- "src/",
32
- "bin/",
33
- "man/"
34
- ],
35
- "type": "module",
36
- "exports": {
37
- ".": "./src/he.mjs",
38
- "./package.json": "./package.json"
39
- },
40
- "scripts": {
41
- "build": "node scripts/process-data.mjs && node scripts/build.mjs && oxfmt data src/data.mjs",
42
- "fetch": "npm run fetch:entities && node scripts/fetch-spec.mjs && npm run build",
43
- "fetch:entities": "curl --fail --silent --show-error --location https://html.spec.whatwg.org/entities.json --output data/entities.json && oxfmt data/entities.json",
44
- "test": "node --test \"tests/**/*.test.mjs\"",
45
- "coverage": "node --test --experimental-test-coverage --test-coverage-include=\"src/**\" \"tests/**/*.test.mjs\"",
46
- "format": "oxfmt",
47
- "format:check": "oxfmt --check"
48
- },
49
- "devDependencies": {
50
- "jsesc": "^3.1.0",
51
- "linkedom": "^0.18.13",
52
- "oxfmt": "^0.71.0",
53
- "regenerate": "^1.4.2"
54
- },
55
- "engines": {
56
- "node": ">=22"
57
- }
2
+ "name": "he",
3
+ "version": "1.2.0",
4
+ "description": "A robust HTML entities encoder/decoder with full Unicode support.",
5
+ "homepage": "https://mths.be/he",
6
+ "main": "he.js",
7
+ "bin": "bin/he",
8
+ "keywords": [
9
+ "string",
10
+ "entities",
11
+ "entity",
12
+ "html",
13
+ "encode",
14
+ "decode",
15
+ "unicode"
16
+ ],
17
+ "license": "MIT",
18
+ "author": {
19
+ "name": "Mathias Bynens",
20
+ "url": "https://mathiasbynens.be/"
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/mathiasbynens/he.git"
25
+ },
26
+ "bugs": "https://github.com/mathiasbynens/he/issues",
27
+ "files": [
28
+ "LICENSE-MIT.txt",
29
+ "he.js",
30
+ "bin/",
31
+ "man/"
32
+ ],
33
+ "directories": {
34
+ "bin": "bin",
35
+ "man": "man",
36
+ "test": "tests"
37
+ },
38
+ "scripts": {
39
+ "test": "node tests/tests.js",
40
+ "build": "grunt build"
41
+ },
42
+ "devDependencies": {
43
+ "codecov.io": "^0.1.6",
44
+ "grunt": "^0.4.5",
45
+ "grunt-cli": "^1.3.1",
46
+ "grunt-shell": "^1.1.1",
47
+ "grunt-template": "^0.2.3",
48
+ "istanbul": "^0.4.2",
49
+ "jsesc": "^1.0.0",
50
+ "lodash": "^4.8.2",
51
+ "qunit-extras": "^1.4.5",
52
+ "qunitjs": "~1.11.0",
53
+ "regenerate": "^1.2.1",
54
+ "regexgen": "^1.3.0",
55
+ "requirejs": "^2.1.22",
56
+ "sort-object": "^3.0.2"
57
+ }
58
58
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "3.9.35"
2
+ ".": "3.9.36"
3
3
  }
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.9.36](https://github.com/nodemailer/mailparser/compare/v3.9.35...v3.9.36) (2026-10-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **deps:** pin he back to 1.2.0, the last CommonJS release ([c1de2ad](https://github.com/nodemailer/mailparser/commit/c1de2adf42df903d928c3de607b58e3e5fee136c))
9
+
3
10
  ## [3.9.35](https://github.com/nodemailer/mailparser/compare/v3.9.34...v3.9.35) (2026-10-04)
4
11
 
5
12
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mailparser",
3
- "version": "3.9.35",
3
+ "version": "3.9.36",
4
4
  "description": "Parse e-mails",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -19,7 +19,7 @@
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
21
  "encoding-japanese": "2.4.0",
22
- "he": "2.0.0",
22
+ "he": "1.2.0",
23
23
  "html-to-text": "10.0.1",
24
24
  "iconv-lite": "0.7.3",
25
25
  "libmime": "5.4.7",
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "organization": true
41
41
  },
42
42
  "devDependencies": {
43
- "@aws-cdk/integ-runner": "2.205.4",
43
+ "@aws-cdk/integ-runner": "2.205.5",
44
44
  "@aws-cdk/integ-tests-alpha": "2.263.0-alpha.0",
45
45
  "@commitlint/cli": "^20.1.0",
46
46
  "@commitlint/config-conventional": "^20.0.0",
@@ -78,15 +78,15 @@
78
78
  "constructs": "^10.5.1"
79
79
  },
80
80
  "dependencies": {
81
- "@aws-sdk/client-cloudwatch-logs": "^3.1146.0",
82
- "@aws-sdk/client-route-53": "^3.1146.0",
83
- "@aws-sdk/client-s3": "^3.1146.0",
84
- "@aws-sdk/client-ses": "^3.1146.0",
85
- "@aws-sdk/client-ssm": "^3.1146.0",
86
- "@mavogel/mvc-projen": "^0.0.50",
81
+ "@aws-sdk/client-cloudwatch-logs": "^3.1147.0",
82
+ "@aws-sdk/client-route-53": "^3.1147.0",
83
+ "@aws-sdk/client-s3": "^3.1147.0",
84
+ "@aws-sdk/client-ses": "^3.1147.0",
85
+ "@aws-sdk/client-ssm": "^3.1147.0",
86
+ "@mavogel/mvc-projen": "^0.0.53",
87
87
  "cdk-nag": "^3.0.1",
88
88
  "constructs": "^10.5.1",
89
- "mailparser": "^3.9.35",
89
+ "mailparser": "^3.9.36",
90
90
  "uuid": "^14.0.2"
91
91
  },
92
92
  "bundledDependencies": [
@@ -121,7 +121,7 @@
121
121
  "publishConfig": {
122
122
  "access": "public"
123
123
  },
124
- "version": "0.1.11",
124
+ "version": "0.1.13",
125
125
  "jest": {
126
126
  "coverageProvider": "v8",
127
127
  "transformIgnorePatterns": [
@@ -1,165 +0,0 @@
1
- #!/usr/bin/env node
2
- import packageJson from '../package.json' with { type: 'json' };
3
- import * as he from '../src/he.mjs';
4
-
5
- const { version } = packageJson;
6
-
7
- const strings = process.argv.slice(2);
8
- const stdin = process.stdin;
9
- const options = {};
10
- const log = console.log;
11
- let action;
12
- let timeout;
13
-
14
- const flags = new Map([
15
- [
16
- '--escape',
17
- () => {
18
- action = 'escape';
19
- },
20
- ],
21
- [
22
- '--encode',
23
- () => {
24
- action = 'encode';
25
- },
26
- ],
27
- [
28
- '--use-named-refs',
29
- () => {
30
- action = 'encode';
31
- options.useNamedReferences = true;
32
- },
33
- ],
34
- [
35
- '--everything',
36
- () => {
37
- action = 'encode';
38
- options.encodeEverything = true;
39
- },
40
- ],
41
- [
42
- '--allow-unsafe',
43
- () => {
44
- action = 'encode';
45
- options.allowUnsafeSymbols = true;
46
- },
47
- ],
48
- [
49
- '--decimal',
50
- () => {
51
- action = 'encode';
52
- options.decimal = true;
53
- },
54
- ],
55
- [
56
- '--decode',
57
- () => {
58
- action = 'decode';
59
- },
60
- ],
61
- [
62
- '--attribute',
63
- () => {
64
- action = 'decode';
65
- options.isAttributeValue = true;
66
- },
67
- ],
68
- [
69
- '--strict',
70
- () => {
71
- action = 'decode';
72
- options.strict = true;
73
- },
74
- ],
75
- ]);
76
-
77
- const main = () => {
78
- const option = strings[0];
79
- let count = 0;
80
-
81
- if (/^(?:-h|--help|undefined)$/.test(option)) {
82
- log('he v%s - https://mths.be/he', version);
83
- log(
84
- [
85
- '\nUsage:\n',
86
- '\the [--escape] string',
87
- '\the [--encode] [--use-named-refs] [--everything] [--allow-unsafe] [--decimal] string',
88
- '\the [--decode] [--attribute] [--strict] string',
89
- '\the [-v | --version]',
90
- '\the [-h | --help]',
91
- '\nExamples:\n',
92
- '\the --escape \\<img\\ src\\=\\\'x\\\'\\ onerror\\=\\"prompt\\(1\\)\\"\\>',
93
- "\techo '&copy; &#x1D306;' | he --decode",
94
- ].join('\n'),
95
- );
96
- return process.exit(option ? 0 : 1);
97
- }
98
-
99
- if (/^(?:-v|--version)$/.test(option)) {
100
- log('v%s', version);
101
- return process.exit(0);
102
- }
103
-
104
- for (const string of strings) {
105
- // Process options.
106
- const flag = flags.get(string);
107
- if (flag) {
108
- flag();
109
- continue;
110
- }
111
- // Process string(s).
112
- if (!action) {
113
- log('Error: he requires at least one option and a string argument.');
114
- log('Try `he --help` for more information.');
115
- return process.exit(1);
116
- }
117
- try {
118
- log(he[action](string, options));
119
- count++;
120
- } catch (error) {
121
- log(`${error.message}\n`);
122
- log('Error: failed to %s.', action);
123
- log('If you think this is a bug in he, please report it:');
124
- log('https://github.com/mathiasbynens/he/issues/new');
125
- log('\nStack trace using he@%s:\n', version);
126
- log(error.stack);
127
- return process.exit(1);
128
- }
129
- }
130
- if (!count) {
131
- log('Error: he requires a string argument.');
132
- log('Try `he --help` for more information.');
133
- return process.exit(1);
134
- }
135
- // Exit with status 0 after the loop, in case multiple strings were passed in.
136
- return process.exit(0);
137
- };
138
-
139
- if (stdin.isTTY) {
140
- // Handle shell arguments.
141
- main();
142
- } else {
143
- // Either the script is called from within a non-TTY context, or `stdin`
144
- // content is being piped in.
145
- if (!process.stdout.isTTY) {
146
- // The script was called from a non-TTY context. This is a rather uncommon
147
- // use case we don’t actively support. However, we don’t want the script
148
- // to wait forever in such cases, so…
149
- timeout = setTimeout(() => {
150
- // …if no piped data arrived after a whole minute, handle shell
151
- // arguments instead.
152
- main();
153
- }, 60_000);
154
- }
155
- let data = '';
156
- stdin.on('data', (chunk) => {
157
- clearTimeout(timeout);
158
- data += chunk;
159
- });
160
- stdin.on('end', () => {
161
- strings.push(data.trim());
162
- main();
163
- });
164
- stdin.resume();
165
- }