@mavogel/awscdk-rootmail 0.1.37 → 0.1.39
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 +9 -9
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/checksums/package.json +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +3 -3
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-route-53/package.json +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/package.json +6 -6
- package/node_modules/@aws-sdk/client-ses/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ses/package.json +3 -3
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@zone-eu/mailsplit/package.json +5 -5
- package/node_modules/encoding-japanese/README.md +10 -5
- package/node_modules/encoding-japanese/encoding.js +761 -3168
- package/node_modules/encoding-japanese/encoding.min.js +3 -3
- package/node_modules/encoding-japanese/index.d.ts +39 -25
- package/node_modules/encoding-japanese/package.json +6 -6
- package/node_modules/encoding-japanese/src/config.js +7 -33
- package/node_modules/encoding-japanese/src/encoding-convert.js +332 -279
- package/node_modules/encoding-japanese/src/encoding-table.js +108 -5
- package/node_modules/encoding-japanese/src/index.js +61 -49
- package/node_modules/encoding-japanese/src/utf8-to-jis-alias-table.js +3 -1
- package/node_modules/encoding-japanese/src/utf8-to-jis-table.js +91 -1492
- package/node_modules/encoding-japanese/src/utf8-to-jisx0212-table.js +76 -1220
- package/node_modules/encoding-japanese/src/util.js +70 -62
- package/node_modules/libmime/CHANGELOG.md +7 -0
- package/node_modules/libmime/package.json +6 -6
- package/node_modules/mailparser/CHANGELOG.md +7 -0
- package/node_modules/mailparser/package.json +8 -5
- package/package.json +10 -10
- package/node_modules/encoding-japanese/src/jis-to-utf8-table.js +0 -5
- package/node_modules/encoding-japanese/src/jisx0212-to-utf8-table.js +0 -5
|
@@ -59,8 +59,9 @@ Since JavaScript string values are internally encoded as UTF-16 code units
|
|
|
59
59
|
data in other encodings cannot be handled directly as JavaScript strings.
|
|
60
60
|
encoding.js works around this limitation by representing encoded data as arrays of numeric code values instead of strings, enabling conversion between different character encodings.
|
|
61
61
|
For example, `[130, 160]` represents "あ" in Shift_JIS.
|
|
62
|
+
When passing these character code arrays to encoding.js methods, you can use regular arrays as well as typed arrays (such as `Uint8Array`) or Node.js `Buffer` objects.
|
|
62
63
|
|
|
63
|
-
|
|
64
|
+
The source code of encoding.js itself is written using only ASCII characters, except for comments. This makes it easy to work with when embedded in other code or used in environments with limited character support.
|
|
64
65
|
|
|
65
66
|
### How to Handle Encoded Data as Strings?
|
|
66
67
|
|
|
@@ -97,12 +98,16 @@ const Encoding = require('encoding-japanese');
|
|
|
97
98
|
|
|
98
99
|
#### TypeScript
|
|
99
100
|
|
|
100
|
-
|
|
101
|
+
As of version 2.4.0, encoding.js includes TypeScript type definitions (`index.d.ts`), so no additional package is required.
|
|
102
|
+
|
|
103
|
+
After upgrading to v2.4.0 or later, you can remove `@types/encoding-japanese` if installed:
|
|
101
104
|
|
|
102
105
|
```bash
|
|
103
|
-
npm
|
|
106
|
+
npm uninstall @types/encoding-japanese
|
|
104
107
|
```
|
|
105
108
|
|
|
109
|
+
The type definitions were originally maintained on DefinitelyTyped (thanks to [@rhysd](https://github.com/rhysd) and [@peterblazejewicz](https://github.com/peterblazejewicz)).
|
|
110
|
+
|
|
106
111
|
### Browser (standalone)
|
|
107
112
|
|
|
108
113
|
To use encoding.js in a browser environment, you can either install it via npm or download it directly from the [release list](https://github.com/polygonplanet/encoding.js/tags).
|
|
@@ -125,7 +130,7 @@ When the script is loaded, the object `Encoding` is defined in the global scope
|
|
|
125
130
|
You can use encoding.js (package name: `encoding-japanese`) directly from a CDN via a script tag:
|
|
126
131
|
|
|
127
132
|
```html
|
|
128
|
-
<script src="https://unpkg.com/encoding-japanese@2.
|
|
133
|
+
<script src="https://unpkg.com/encoding-japanese@2.5.0/encoding.min.js"></script>
|
|
129
134
|
```
|
|
130
135
|
|
|
131
136
|
In this example we use [unpkg](https://unpkg.com/encoding-japanese/), but you can use any CDN that provides npm packages,
|
|
@@ -396,7 +401,7 @@ The following `type` options are supported.
|
|
|
396
401
|
|
|
397
402
|
* **string** : Return as a string.
|
|
398
403
|
* **arraybuffer** : Return a `Uint16Array` (the option name is retained for historical reasons).
|
|
399
|
-
* **array** : Return as
|
|
404
|
+
* **array** : Return as a new Array. (*default*)
|
|
400
405
|
|
|
401
406
|
`type: 'string'` can be used as a shorthand for converting a code array to a string,
|
|
402
407
|
as performed by [`Encoding.codeToString`](#encodingcodetostring-code).
|