@mailwoman/normalize 9.1.0 → 9.3.0
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/README.md +2 -2
- package/{abbreviations.ts → lib/abbreviations.ts} +3 -3
- package/{cjk.ts → lib/cjk.ts} +39 -4
- package/lib/comma-spacing.ts +68 -0
- package/{compute.ts → lib/compute.ts} +25 -9
- package/lib/fold.ts +30 -0
- package/{index.ts → lib/index.ts} +9 -8
- package/{nfc.ts → lib/nfc.ts} +1 -1
- package/{punctuation.ts → lib/punctuation.ts} +3 -1
- package/{types.ts → lib/types.ts} +8 -0
- package/{whitespace.ts → lib/whitespace.ts} +15 -11
- package/out/abbreviations.d.ts +2 -2
- package/out/abbreviations.d.ts.map +1 -1
- package/out/abbreviations.js +2 -2
- package/out/abbreviations.js.map +1 -1
- package/out/cjk.d.ts +7 -2
- package/out/cjk.d.ts.map +1 -1
- package/out/cjk.js +30 -4
- package/out/cjk.js.map +1 -1
- package/out/comma-spacing.d.ts +30 -0
- package/out/comma-spacing.d.ts.map +1 -0
- package/out/comma-spacing.js +52 -0
- package/out/comma-spacing.js.map +1 -0
- package/out/compute.d.ts +1 -1
- package/out/compute.d.ts.map +1 -1
- package/out/compute.js +22 -8
- package/out/compute.js.map +1 -1
- package/out/fold.d.ts +22 -0
- package/out/fold.d.ts.map +1 -0
- package/out/fold.js +28 -0
- package/out/fold.js.map +1 -0
- package/out/index.d.ts +9 -8
- package/out/index.d.ts.map +1 -1
- package/out/index.js +8 -7
- package/out/index.js.map +1 -1
- package/out/nfc.d.ts.map +1 -1
- package/out/nfc.js +1 -1
- package/out/nfc.js.map +1 -1
- package/out/offset-map.d.ts.map +1 -1
- package/out/offset-map.js.map +1 -1
- package/out/punctuation.d.ts.map +1 -1
- package/out/punctuation.js +3 -1
- package/out/punctuation.js.map +1 -1
- package/out/types.d.ts +10 -0
- package/out/types.d.ts.map +1 -1
- package/out/types.js.map +1 -1
- package/out/whitespace.d.ts +9 -3
- package/out/whitespace.d.ts.map +1 -1
- package/out/whitespace.js +11 -10
- package/out/whitespace.js.map +1 -1
- package/package.json +111 -3
- /package/{offset-map.ts → lib/offset-map.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/normalize",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.3.0",
|
|
4
4
|
"description": "Stage 1 of the runtime pipeline — deterministic input preprocessing (Unicode NFC, punctuation, whitespace, abbreviation). Pure functions, no ML.",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/sister-software/mailwoman.git",
|
|
9
|
-
"directory": "normalize"
|
|
9
|
+
"directory": "packages/normalize"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"out/**/*.js",
|
|
@@ -20,14 +20,69 @@
|
|
|
20
20
|
"!*.test.ts",
|
|
21
21
|
"!*.test.tsx",
|
|
22
22
|
"!**/*.test.ts",
|
|
23
|
-
"!**/*.test.tsx"
|
|
23
|
+
"!**/*.test.tsx",
|
|
24
|
+
"!test/**"
|
|
24
25
|
],
|
|
25
26
|
"type": "module",
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"imports": {
|
|
29
|
+
"#*": {
|
|
30
|
+
"types": "./out/*.d.ts",
|
|
31
|
+
"node": "./out/*.js",
|
|
32
|
+
"default": "./out/*.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
26
35
|
"exports": {
|
|
27
36
|
"./package.json": "./package.json",
|
|
28
37
|
".": {
|
|
29
38
|
"types": "./out/index.d.ts",
|
|
39
|
+
"node": "./out/index.js",
|
|
30
40
|
"default": "./out/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./abbreviations": {
|
|
43
|
+
"types": "./out/abbreviations.d.ts",
|
|
44
|
+
"node": "./out/abbreviations.js",
|
|
45
|
+
"default": "./out/abbreviations.js"
|
|
46
|
+
},
|
|
47
|
+
"./cjk": {
|
|
48
|
+
"types": "./out/cjk.d.ts",
|
|
49
|
+
"node": "./out/cjk.js",
|
|
50
|
+
"default": "./out/cjk.js"
|
|
51
|
+
},
|
|
52
|
+
"./compute": {
|
|
53
|
+
"types": "./out/compute.d.ts",
|
|
54
|
+
"node": "./out/compute.js",
|
|
55
|
+
"default": "./out/compute.js"
|
|
56
|
+
},
|
|
57
|
+
"./nfc": {
|
|
58
|
+
"types": "./out/nfc.d.ts",
|
|
59
|
+
"node": "./out/nfc.js",
|
|
60
|
+
"default": "./out/nfc.js"
|
|
61
|
+
},
|
|
62
|
+
"./offset-map": {
|
|
63
|
+
"types": "./out/offset-map.d.ts",
|
|
64
|
+
"node": "./out/offset-map.js",
|
|
65
|
+
"default": "./out/offset-map.js"
|
|
66
|
+
},
|
|
67
|
+
"./punctuation": {
|
|
68
|
+
"types": "./out/punctuation.d.ts",
|
|
69
|
+
"node": "./out/punctuation.js",
|
|
70
|
+
"default": "./out/punctuation.js"
|
|
71
|
+
},
|
|
72
|
+
"./comma-spacing": {
|
|
73
|
+
"types": "./out/comma-spacing.d.ts",
|
|
74
|
+
"node": "./out/comma-spacing.js",
|
|
75
|
+
"default": "./out/comma-spacing.js"
|
|
76
|
+
},
|
|
77
|
+
"./fold": {
|
|
78
|
+
"types": "./out/fold.d.ts",
|
|
79
|
+
"node": "./out/fold.js",
|
|
80
|
+
"default": "./out/fold.js"
|
|
81
|
+
},
|
|
82
|
+
"./whitespace": {
|
|
83
|
+
"types": "./out/whitespace.d.ts",
|
|
84
|
+
"node": "./out/whitespace.js",
|
|
85
|
+
"default": "./out/whitespace.js"
|
|
31
86
|
}
|
|
32
87
|
},
|
|
33
88
|
"publishConfig": {
|
|
@@ -36,7 +91,60 @@
|
|
|
36
91
|
"./package.json": "./package.json",
|
|
37
92
|
".": {
|
|
38
93
|
"types": "./out/index.d.ts",
|
|
94
|
+
"node": "./out/index.js",
|
|
39
95
|
"default": "./out/index.js"
|
|
96
|
+
},
|
|
97
|
+
"./abbreviations": {
|
|
98
|
+
"types": "./out/abbreviations.d.ts",
|
|
99
|
+
"node": "./out/abbreviations.js",
|
|
100
|
+
"default": "./out/abbreviations.js"
|
|
101
|
+
},
|
|
102
|
+
"./cjk": {
|
|
103
|
+
"types": "./out/cjk.d.ts",
|
|
104
|
+
"node": "./out/cjk.js",
|
|
105
|
+
"default": "./out/cjk.js"
|
|
106
|
+
},
|
|
107
|
+
"./compute": {
|
|
108
|
+
"types": "./out/compute.d.ts",
|
|
109
|
+
"node": "./out/compute.js",
|
|
110
|
+
"default": "./out/compute.js"
|
|
111
|
+
},
|
|
112
|
+
"./nfc": {
|
|
113
|
+
"types": "./out/nfc.d.ts",
|
|
114
|
+
"node": "./out/nfc.js",
|
|
115
|
+
"default": "./out/nfc.js"
|
|
116
|
+
},
|
|
117
|
+
"./offset-map": {
|
|
118
|
+
"types": "./out/offset-map.d.ts",
|
|
119
|
+
"node": "./out/offset-map.js",
|
|
120
|
+
"default": "./out/offset-map.js"
|
|
121
|
+
},
|
|
122
|
+
"./punctuation": {
|
|
123
|
+
"types": "./out/punctuation.d.ts",
|
|
124
|
+
"node": "./out/punctuation.js",
|
|
125
|
+
"default": "./out/punctuation.js"
|
|
126
|
+
},
|
|
127
|
+
"./comma-spacing": {
|
|
128
|
+
"types": "./out/comma-spacing.d.ts",
|
|
129
|
+
"node": "./out/comma-spacing.js",
|
|
130
|
+
"default": "./out/comma-spacing.js"
|
|
131
|
+
},
|
|
132
|
+
"./fold": {
|
|
133
|
+
"types": "./out/fold.d.ts",
|
|
134
|
+
"node": "./out/fold.js",
|
|
135
|
+
"default": "./out/fold.js"
|
|
136
|
+
},
|
|
137
|
+
"./whitespace": {
|
|
138
|
+
"types": "./out/whitespace.d.ts",
|
|
139
|
+
"node": "./out/whitespace.js",
|
|
140
|
+
"default": "./out/whitespace.js"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"imports": {
|
|
144
|
+
"#*": {
|
|
145
|
+
"types": "./out/*.d.ts",
|
|
146
|
+
"node": "./out/*.js",
|
|
147
|
+
"default": "./out/*.js"
|
|
40
148
|
}
|
|
41
149
|
}
|
|
42
150
|
}
|
|
File without changes
|