@mavogel/awscdk-rootmail 0.1.5 → 0.1.6
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 +3 -3
- 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/@zone-eu/mailsplit/package.json +3 -3
- package/node_modules/encoding-japanese/LICENSE +25 -1
- package/node_modules/encoding-japanese/README.md +86 -51
- package/node_modules/encoding-japanese/encoding.js +107 -78
- package/node_modules/encoding-japanese/encoding.min.js +2 -2
- package/node_modules/encoding-japanese/index.d.ts +102 -0
- package/node_modules/encoding-japanese/package.json +26 -17
- package/node_modules/encoding-japanese/src/encoding-convert.js +67 -58
- package/node_modules/encoding-japanese/src/encoding-table.js +1 -0
- package/node_modules/encoding-japanese/src/index.js +1 -1
- package/node_modules/encoding-japanese/src/kana-case-table.js +1 -1
- package/node_modules/encoding-japanese/src/utf8-to-jis-alias-table.js +14 -0
- package/node_modules/encoding-japanese/src/utf8-to-jis-table.js +6 -5
- package/node_modules/encoding-japanese/src/utf8-to-jisx0212-table.js +7 -5
- package/node_modules/libmime/CHANGELOG.md +7 -0
- package/node_modules/libmime/package.json +2 -2
- package/node_modules/mailparser/.release-please-manifest.json +1 -1
- package/node_modules/mailparser/CHANGELOG.md +14 -0
- package/node_modules/mailparser/package.json +5 -5
- package/node_modules/nodemailer/CHANGELOG.md +9 -0
- package/node_modules/nodemailer/dist/cjs/dkim/message-parser.js +12 -5
- package/node_modules/nodemailer/dist/cjs/mail-composer/index.js +3 -1
- package/node_modules/nodemailer/dist/cjs/mailer/mail-message.js +2 -1
- package/node_modules/nodemailer/dist/cjs/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/cjs/package-info.js +1 -1
- package/node_modules/nodemailer/dist/cjs/smtp-connection/index.d.ts +3 -0
- package/node_modules/nodemailer/dist/cjs/smtp-connection/index.js +62 -18
- package/node_modules/nodemailer/dist/esm/dkim/message-parser.js +12 -5
- package/node_modules/nodemailer/dist/esm/mail-composer/index.js +3 -1
- package/node_modules/nodemailer/dist/esm/mailer/mail-message.js +2 -1
- package/node_modules/nodemailer/dist/esm/package-info.d.ts +1 -1
- package/node_modules/nodemailer/dist/esm/package-info.js +1 -1
- package/node_modules/nodemailer/dist/esm/smtp-connection/index.d.ts +3 -0
- package/node_modules/nodemailer/dist/esm/smtp-connection/index.js +62 -18
- package/node_modules/nodemailer/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* encoding-japanese v2.
|
|
2
|
+
* encoding-japanese v2.4.0 - Convert and detect character encodings in JavaScript
|
|
3
3
|
* Copyright (c) 2012 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
4
4
|
* https://github.com/polygonplanet/encoding.js
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Encoding = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
|
8
8
|
module.exports={
|
|
9
|
-
"version": "2.
|
|
9
|
+
"version": "2.4.0"
|
|
10
10
|
}
|
|
11
11
|
},{}],2:[function(require,module,exports){
|
|
12
12
|
var util = require('./util');
|
|
@@ -149,7 +149,7 @@ function init_JIS_TO_UTF8_TABLE() {
|
|
|
149
149
|
}
|
|
150
150
|
exports.init_JIS_TO_UTF8_TABLE = init_JIS_TO_UTF8_TABLE;
|
|
151
151
|
|
|
152
|
-
},{"./encoding-table":5,"./util":
|
|
152
|
+
},{"./encoding-table":5,"./util":14}],3:[function(require,module,exports){
|
|
153
153
|
var config = require('./config');
|
|
154
154
|
var util = require('./util');
|
|
155
155
|
var EncodingDetect = require('./encoding-detect');
|
|
@@ -306,6 +306,17 @@ function SJISToJIS(data) {
|
|
|
306
306
|
}
|
|
307
307
|
results[results.length] = b1 - 0x80 & 0xFF;
|
|
308
308
|
} else if (b1 >= 0x80) {
|
|
309
|
+
b2 = data[++i];
|
|
310
|
+
if (b2 === 0x7F) {
|
|
311
|
+
if (index !== 0) {
|
|
312
|
+
index = 0;
|
|
313
|
+
results[results.length] = esc[0];
|
|
314
|
+
results[results.length] = esc[1];
|
|
315
|
+
results[results.length] = esc[2];
|
|
316
|
+
}
|
|
317
|
+
results[results.length] = config.FALLBACK_CHARACTER;
|
|
318
|
+
continue;
|
|
319
|
+
}
|
|
309
320
|
if (index !== 1) {
|
|
310
321
|
index = 1;
|
|
311
322
|
results[results.length] = esc[3];
|
|
@@ -313,7 +324,6 @@ function SJISToJIS(data) {
|
|
|
313
324
|
results[results.length] = esc[5];
|
|
314
325
|
}
|
|
315
326
|
|
|
316
|
-
b2 = data[++i];
|
|
317
327
|
if (sjisExt.hasCP932DuplicateCode(b1)) {
|
|
318
328
|
// Remap CP932 duplicate codes and IBM extended characters
|
|
319
329
|
remapped = sjisExt.remapCP932DuplicateCode(b1, b2);
|
|
@@ -380,6 +390,10 @@ function SJISToEUCJP(data) {
|
|
|
380
390
|
results[results.length] = b1;
|
|
381
391
|
} else if (b1 >= 0x81) {
|
|
382
392
|
b2 = data[++i];
|
|
393
|
+
if (b2 === 0x7F) {
|
|
394
|
+
results[results.length] = config.FALLBACK_CHARACTER;
|
|
395
|
+
continue;
|
|
396
|
+
}
|
|
383
397
|
if (sjisExt.hasCP932DuplicateCode(b1)) {
|
|
384
398
|
// Remap CP932 duplicate codes and IBM extended characters
|
|
385
399
|
remapped = sjisExt.remapCP932DuplicateCode(b1, b2);
|
|
@@ -561,6 +575,10 @@ function SJISToUTF8(data) {
|
|
|
561
575
|
results[results.length] = u3 & 0xFF;
|
|
562
576
|
} else if (b >= 0x80) {
|
|
563
577
|
b2 = data[++i];
|
|
578
|
+
if (b2 === 0x7F) {
|
|
579
|
+
results[results.length] = config.FALLBACK_CHARACTER;
|
|
580
|
+
continue;
|
|
581
|
+
}
|
|
564
582
|
if (sjisExt.hasCP932DuplicateCode(b)) {
|
|
565
583
|
// Remap CP932 duplicate codes and IBM extended characters
|
|
566
584
|
remapped = sjisExt.remapCP932DuplicateCode(b, b2);
|
|
@@ -794,7 +812,8 @@ function UTF8ToSJIS(data, options) {
|
|
|
794
812
|
(data[++i] & 0xFF);
|
|
795
813
|
}
|
|
796
814
|
|
|
797
|
-
jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8]
|
|
815
|
+
jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8] ||
|
|
816
|
+
EncodingTable.UTF8_TO_JIS_ALIAS_TABLE[utf8];
|
|
798
817
|
if (jis == null) {
|
|
799
818
|
if (fallbackOption) {
|
|
800
819
|
handleFallback(results, bytes, fallbackOption);
|
|
@@ -805,10 +824,6 @@ function UTF8ToSJIS(data, options) {
|
|
|
805
824
|
if (jis < 0xFF) {
|
|
806
825
|
results[results.length] = jis + 0x80;
|
|
807
826
|
} else {
|
|
808
|
-
if (jis > 0x10000) {
|
|
809
|
-
jis -= 0x10000;
|
|
810
|
-
}
|
|
811
|
-
|
|
812
827
|
b1 = jis >> 8;
|
|
813
828
|
b2 = jis & 0xFF;
|
|
814
829
|
if (b1 & 0x01) {
|
|
@@ -853,7 +868,7 @@ function UTF8ToEUCJP(data, options) {
|
|
|
853
868
|
var results = [];
|
|
854
869
|
var i = 0;
|
|
855
870
|
var len = data && data.length;
|
|
856
|
-
var b, bytes, utf8, jis;
|
|
871
|
+
var b, bytes, utf8, jis, isJISX0212;
|
|
857
872
|
var fallbackOption = options && options.fallback;
|
|
858
873
|
|
|
859
874
|
for (; i < len; i++) {
|
|
@@ -878,32 +893,28 @@ function UTF8ToEUCJP(data, options) {
|
|
|
878
893
|
(data[++i] & 0xFF);
|
|
879
894
|
}
|
|
880
895
|
|
|
881
|
-
jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8];
|
|
882
896
|
// JIS X 0212 chars duplicated into JIS X 0208 unassigned rows: use the JIS X 0212 form.
|
|
883
|
-
|
|
884
|
-
|
|
897
|
+
jis = EncodingTable.UTF8_TO_JISX0212_TABLE[utf8];
|
|
898
|
+
isJISX0212 = jis != null;
|
|
899
|
+
|
|
900
|
+
if (jis == null) {
|
|
901
|
+
jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8] ||
|
|
902
|
+
EncodingTable.UTF8_TO_JIS_ALIAS_TABLE[utf8];
|
|
885
903
|
}
|
|
886
904
|
if (jis == null) {
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
if (fallbackOption) {
|
|
890
|
-
handleFallback(results, bytes, fallbackOption);
|
|
891
|
-
} else {
|
|
892
|
-
results[results.length] = config.FALLBACK_CHARACTER;
|
|
893
|
-
}
|
|
905
|
+
if (fallbackOption) {
|
|
906
|
+
handleFallback(results, bytes, fallbackOption);
|
|
894
907
|
} else {
|
|
895
|
-
results[results.length] =
|
|
896
|
-
results[results.length] = (jis >> 8) - 0x80 & 0xFF;
|
|
897
|
-
results[results.length] = (jis & 0xFF) - 0x80 & 0xFF;
|
|
908
|
+
results[results.length] = config.FALLBACK_CHARACTER;
|
|
898
909
|
}
|
|
899
910
|
} else {
|
|
900
|
-
if (jis > 0x10000) {
|
|
901
|
-
jis -= 0x10000;
|
|
902
|
-
}
|
|
903
911
|
if (jis < 0xFF) {
|
|
904
912
|
results[results.length] = 0x8E;
|
|
905
913
|
results[results.length] = jis - 0x80 & 0xFF;
|
|
906
914
|
} else {
|
|
915
|
+
if (isJISX0212) {
|
|
916
|
+
results[results.length] = 0x8F;
|
|
917
|
+
}
|
|
907
918
|
results[results.length] = (jis >> 8) - 0x80 & 0xFF;
|
|
908
919
|
results[results.length] = (jis & 0xFF) - 0x80 & 0xFF;
|
|
909
920
|
}
|
|
@@ -925,7 +936,7 @@ function UTF8ToJIS(data, options) {
|
|
|
925
936
|
var index = 0;
|
|
926
937
|
var len = data && data.length;
|
|
927
938
|
var i = 0;
|
|
928
|
-
var b, bytes, utf8, jis;
|
|
939
|
+
var b, bytes, utf8, jis, isJISX0212;
|
|
929
940
|
var fallbackOption = options && options.fallback;
|
|
930
941
|
|
|
931
942
|
var esc = [
|
|
@@ -965,42 +976,29 @@ function UTF8ToJIS(data, options) {
|
|
|
965
976
|
(data[++i] & 0xFF);
|
|
966
977
|
}
|
|
967
978
|
|
|
968
|
-
jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8];
|
|
969
979
|
// JIS X 0212 chars duplicated into JIS X 0208 unassigned rows: use the JIS X 0212 form.
|
|
970
|
-
|
|
971
|
-
|
|
980
|
+
jis = EncodingTable.UTF8_TO_JISX0212_TABLE[utf8];
|
|
981
|
+
isJISX0212 = jis != null;
|
|
982
|
+
|
|
983
|
+
if (jis == null) {
|
|
984
|
+
jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8] ||
|
|
985
|
+
EncodingTable.UTF8_TO_JIS_ALIAS_TABLE[utf8];
|
|
972
986
|
}
|
|
987
|
+
|
|
973
988
|
if (jis == null) {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
results[results.length] = esc[2];
|
|
981
|
-
}
|
|
989
|
+
if (index !== 0) {
|
|
990
|
+
index = 0;
|
|
991
|
+
results[results.length] = esc[0];
|
|
992
|
+
results[results.length] = esc[1];
|
|
993
|
+
results[results.length] = esc[2];
|
|
994
|
+
}
|
|
982
995
|
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
} else {
|
|
986
|
-
results[results.length] = config.FALLBACK_CHARACTER;
|
|
987
|
-
}
|
|
996
|
+
if (fallbackOption) {
|
|
997
|
+
handleFallback(results, bytes, fallbackOption);
|
|
988
998
|
} else {
|
|
989
|
-
|
|
990
|
-
if (index !== 3) {
|
|
991
|
-
index = 3;
|
|
992
|
-
results[results.length] = esc[9];
|
|
993
|
-
results[results.length] = esc[10];
|
|
994
|
-
results[results.length] = esc[11];
|
|
995
|
-
results[results.length] = esc[12];
|
|
996
|
-
}
|
|
997
|
-
results[results.length] = jis >> 8 & 0xFF;
|
|
998
|
-
results[results.length] = jis & 0xFF;
|
|
999
|
+
results[results.length] = config.FALLBACK_CHARACTER;
|
|
999
1000
|
}
|
|
1000
1001
|
} else {
|
|
1001
|
-
if (jis > 0x10000) {
|
|
1002
|
-
jis -= 0x10000;
|
|
1003
|
-
}
|
|
1004
1002
|
if (jis < 0xFF) {
|
|
1005
1003
|
// Halfwidth Katakana
|
|
1006
1004
|
if (index !== 2) {
|
|
@@ -1011,7 +1009,17 @@ function UTF8ToJIS(data, options) {
|
|
|
1011
1009
|
}
|
|
1012
1010
|
results[results.length] = jis & 0xFF;
|
|
1013
1011
|
} else {
|
|
1014
|
-
if (
|
|
1012
|
+
if (isJISX0212) {
|
|
1013
|
+
// JIS X 0212:1990
|
|
1014
|
+
if (index !== 3) {
|
|
1015
|
+
index = 3;
|
|
1016
|
+
results[results.length] = esc[9];
|
|
1017
|
+
results[results.length] = esc[10];
|
|
1018
|
+
results[results.length] = esc[11];
|
|
1019
|
+
results[results.length] = esc[12];
|
|
1020
|
+
}
|
|
1021
|
+
} else if (index !== 1) {
|
|
1022
|
+
// JIS X 0208
|
|
1015
1023
|
index = 1;
|
|
1016
1024
|
results[results.length] = esc[3];
|
|
1017
1025
|
results[results.length] = esc[4];
|
|
@@ -1085,8 +1093,9 @@ function UTF8ToUNICODE(data, options) {
|
|
|
1085
1093
|
var i = 0;
|
|
1086
1094
|
var len = data && data.length;
|
|
1087
1095
|
var n, c, c2, c3, c4, code;
|
|
1088
|
-
// For internal
|
|
1089
|
-
|
|
1096
|
+
// For internal use only
|
|
1097
|
+
// Returns raw Unicode code points without splitting into surrogate pairs
|
|
1098
|
+
var asCodePoint = options && options.asCodePoint;
|
|
1090
1099
|
|
|
1091
1100
|
while (i < len) {
|
|
1092
1101
|
c = data[i++];
|
|
@@ -1122,7 +1131,7 @@ function UTF8ToUNICODE(data, options) {
|
|
|
1122
1131
|
(c4 & 0x3F);
|
|
1123
1132
|
}
|
|
1124
1133
|
|
|
1125
|
-
if (code <= 0xFFFF ||
|
|
1134
|
+
if (code <= 0xFFFF || asCodePoint) {
|
|
1126
1135
|
results[results.length] = code;
|
|
1127
1136
|
} else {
|
|
1128
1137
|
// Split in surrogate halves
|
|
@@ -1837,7 +1846,7 @@ function handleFallback(results, bytes, fallbackOption) {
|
|
|
1837
1846
|
switch (fallbackOption) {
|
|
1838
1847
|
case 'html-entity':
|
|
1839
1848
|
case 'html-entity-hex':
|
|
1840
|
-
var unicode = UTF8ToUNICODE(bytes, {
|
|
1849
|
+
var unicode = UTF8ToUNICODE(bytes, { asCodePoint: true })[0];
|
|
1841
1850
|
if (unicode) {
|
|
1842
1851
|
results[results.length] = 0x26; // &
|
|
1843
1852
|
results[results.length] = 0x23; // #
|
|
@@ -1861,7 +1870,7 @@ function handleFallback(results, bytes, fallbackOption) {
|
|
|
1861
1870
|
}
|
|
1862
1871
|
}
|
|
1863
1872
|
|
|
1864
|
-
},{"./config":2,"./encoding-detect":4,"./encoding-table":5,"./sjis-ext":10,"./util":
|
|
1873
|
+
},{"./config":2,"./encoding-detect":4,"./encoding-table":5,"./sjis-ext":10,"./util":14}],4:[function(require,module,exports){
|
|
1865
1874
|
/**
|
|
1866
1875
|
* Binary (exe, images and so, etc.)
|
|
1867
1876
|
*
|
|
@@ -2378,11 +2387,12 @@ exports.isUNICODE = isUNICODE;
|
|
|
2378
2387
|
|
|
2379
2388
|
},{}],5:[function(require,module,exports){
|
|
2380
2389
|
exports.UTF8_TO_JIS_TABLE = require('./utf8-to-jis-table');
|
|
2390
|
+
exports.UTF8_TO_JIS_ALIAS_TABLE = require('./utf8-to-jis-alias-table');
|
|
2381
2391
|
exports.UTF8_TO_JISX0212_TABLE = require('./utf8-to-jisx0212-table');
|
|
2382
2392
|
exports.JIS_TO_UTF8_TABLE = require('./jis-to-utf8-table');
|
|
2383
2393
|
exports.JISX0212_TO_UTF8_TABLE = require('./jisx0212-to-utf8-table');
|
|
2384
2394
|
|
|
2385
|
-
},{"./jis-to-utf8-table":7,"./jisx0212-to-utf8-table":8,"./utf8-to-jis-table":11,"./utf8-to-jisx0212-table":
|
|
2395
|
+
},{"./jis-to-utf8-table":7,"./jisx0212-to-utf8-table":8,"./utf8-to-jis-alias-table":11,"./utf8-to-jis-table":12,"./utf8-to-jisx0212-table":13}],6:[function(require,module,exports){
|
|
2386
2396
|
var config = require('./config');
|
|
2387
2397
|
var util = require('./util');
|
|
2388
2398
|
var EncodingDetect = require('./encoding-detect');
|
|
@@ -2888,7 +2898,7 @@ var Encoding = {
|
|
|
2888
2898
|
var i = 0;
|
|
2889
2899
|
var c, code, next;
|
|
2890
2900
|
|
|
2891
|
-
for (
|
|
2901
|
+
for (; i < len; i++) {
|
|
2892
2902
|
c = data[i];
|
|
2893
2903
|
// Hankaku katakana
|
|
2894
2904
|
if (c > 0xFF60 && c < 0xFFA0) {
|
|
@@ -2989,7 +2999,7 @@ var Encoding = {
|
|
|
2989
2999
|
|
|
2990
3000
|
module.exports = Encoding;
|
|
2991
3001
|
|
|
2992
|
-
},{"../package.json":1,"./config":2,"./encoding-convert":3,"./encoding-detect":4,"./kana-case-table":9,"./util":
|
|
3002
|
+
},{"../package.json":1,"./config":2,"./encoding-convert":3,"./encoding-detect":4,"./kana-case-table":9,"./util":14}],7:[function(require,module,exports){
|
|
2993
3003
|
/**
|
|
2994
3004
|
* Encoding conversion table for JIS to UTF-8
|
|
2995
3005
|
*/
|
|
@@ -3004,7 +3014,7 @@ var JISX0212_TO_UTF8_TABLE = null;
|
|
|
3004
3014
|
module.exports = JISX0212_TO_UTF8_TABLE;
|
|
3005
3015
|
|
|
3006
3016
|
},{}],9:[function(require,module,exports){
|
|
3007
|
-
/* eslint-disable key-spacing */
|
|
3017
|
+
/* eslint-disable @stylistic/key-spacing */
|
|
3008
3018
|
/**
|
|
3009
3019
|
* Katakana table
|
|
3010
3020
|
*/
|
|
@@ -3143,9 +3153,26 @@ function hasCP932DuplicateCode(b1) {
|
|
|
3143
3153
|
exports.hasCP932DuplicateCode = hasCP932DuplicateCode;
|
|
3144
3154
|
|
|
3145
3155
|
},{}],11:[function(require,module,exports){
|
|
3146
|
-
|
|
3156
|
+
/**
|
|
3157
|
+
* Encoding conversion table for UTF-8 to JIS (encode only)
|
|
3158
|
+
*
|
|
3159
|
+
* Accepts Unicode characters that differ between CP932 and JIS X 0208 mappings
|
|
3160
|
+
* (e.g., WAVE DASH vs. FULLWIDTH TILDE).
|
|
3161
|
+
*
|
|
3162
|
+
* { UTF-8 : JIS }
|
|
3163
|
+
*/
|
|
3164
|
+
module.exports = {
|
|
3165
|
+
0xE28892: 0x215D, // − U+2212 MINUS SIGN same cell as - U+FF0D (0xEFBC8D) -> SJIS 0x817C
|
|
3166
|
+
0xE3809C: 0x2141, // 〜 U+301C WAVE DASH same cell as ~ U+FF5E (0xEFBD9E) -> SJIS 0x8160
|
|
3167
|
+
0xC2A2: 0x2171, // ¢ U+00A2 CENT SIGN same cell as ¢ U+FFE0 (0xEFBFA0) -> SJIS 0x8191
|
|
3168
|
+
0xC2A3: 0x2172 // £ U+00A3 POUND SIGN same cell as £ U+FFE1 (0xEFBFA1) -> SJIS 0x8192
|
|
3169
|
+
};
|
|
3170
|
+
|
|
3171
|
+
},{}],12:[function(require,module,exports){
|
|
3172
|
+
/* eslint-disable @stylistic/indent, @stylistic/key-spacing */
|
|
3147
3173
|
/**
|
|
3148
3174
|
* Encoding conversion table for UTF-8 to JIS
|
|
3175
|
+
* { UTF-8 : JIS }
|
|
3149
3176
|
*/
|
|
3150
3177
|
module.exports = {
|
|
3151
3178
|
0xEFBDA1:0x21,0xEFBDA2:0x22,0xEFBDA3:0x23,0xEFBDA4:0x24,0xEFBDA5:0x25,
|
|
@@ -4631,16 +4658,21 @@ module.exports = {
|
|
|
4631
4658
|
0xE285B5:0x7C76,0xE285B6:0x7C77,0xE285B7:0x7C78,0xE285B8:0x7C79,0xE285B9:0x7C7A,
|
|
4632
4659
|
0xEFBFA4:0x7C7C,0xEFBC87:0x7C7D,0xEFBC82:0x7C7E,
|
|
4633
4660
|
|
|
4634
|
-
//
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4661
|
+
// Remaps Unicode characters that differ between CP932 and JIS X 0208 mappings
|
|
4662
|
+
// (encode and decode) See also `utf8-to-jis-alias-table.js`
|
|
4663
|
+
0xE288A5:0x2142, // ∥ U+2225 PARALLEL TO same cell as ‖ U+2016 (0xE28096) -> SJIS 0x8161
|
|
4664
|
+
0xEFBFA2:0x224C // ¬ U+FFE2 FULLWIDTH NOT SIGN same cell as ¬ U+00AC (0xC2AC) -> SJIS 0x81CA
|
|
4638
4665
|
};
|
|
4639
4666
|
|
|
4640
|
-
},{}],
|
|
4641
|
-
/* eslint-disable indent
|
|
4667
|
+
},{}],13:[function(require,module,exports){
|
|
4668
|
+
/* eslint-disable @stylistic/indent,@stylistic/key-spacing */
|
|
4642
4669
|
/**
|
|
4643
4670
|
* Encoding conversion table for UTF-8 to JIS X 0212:1990 (Hojo-Kanji)
|
|
4671
|
+
*
|
|
4672
|
+
* Character mappings based on:
|
|
4673
|
+
* https://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/JIS0212.TXT
|
|
4674
|
+
* Keys have been converted to UTF-8
|
|
4675
|
+
* { UTF-8 : JIS }
|
|
4644
4676
|
*/
|
|
4645
4677
|
module.exports = {
|
|
4646
4678
|
0xCB98:0x222F,0xCB87:0x2230,0xC2B8:0x2231,0xCB99:0x2232,0xCB9D:0x2233,
|
|
@@ -5857,13 +5889,10 @@ module.exports = {
|
|
|
5857
5889
|
0xE9BDB1:0x6D53,0xE9BDB3:0x6D54,0xE9BDB5:0x6D55,0xE9BDBA:0x6D56,0xE9BDBD:0x6D57,
|
|
5858
5890
|
0xE9BE8F:0x6D58,0xE9BE90:0x6D59,0xE9BE91:0x6D5A,0xE9BE92:0x6D5B,0xE9BE94:0x6D5C,
|
|
5859
5891
|
0xE9BE96:0x6D5D,0xE9BE97:0x6D5E,0xE9BE9E:0x6D5F,0xE9BEA1:0x6D60,0xE9BEA2:0x6D61,
|
|
5860
|
-
0xE9BEA3:0x6D62,0xE9BEA5:0x6D63
|
|
5861
|
-
|
|
5862
|
-
//FIXME: mojibake
|
|
5863
|
-
0xE3809C:0x2141
|
|
5892
|
+
0xE9BEA3:0x6D62,0xE9BEA5:0x6D63
|
|
5864
5893
|
};
|
|
5865
5894
|
|
|
5866
|
-
},{}],
|
|
5895
|
+
},{}],14:[function(require,module,exports){
|
|
5867
5896
|
var config = require('./config');
|
|
5868
5897
|
var fromCharCode = String.fromCharCode;
|
|
5869
5898
|
var slice = Array.prototype.slice;
|