@social-mail/social-mail-web-server 1.7.340 → 1.7.342
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/dist/server/seed/ui/seed-ui.js +2 -2
- package/dist/server/services/files/web-content/WebContentTranspileService.d.ts.map +1 -1
- package/dist/server/services/files/web-content/WebContentTranspileService.js +3 -0
- package/dist/server/services/files/web-content/WebContentTranspileService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/server/seed/ui/seed-ui.ts +2 -2
- package/src/server/services/files/web-content/WebContentTranspileService.ts +3 -0
package/package.json
CHANGED
|
@@ -5,13 +5,13 @@ export default async function seedUI(config: DBConfig) {
|
|
|
5
5
|
await config.saveVersion(UIPackageConfig, {
|
|
6
6
|
package: "@social-mail/social-mail-client",
|
|
7
7
|
view: "dist/web/AppIndex",
|
|
8
|
-
version: "1.4.
|
|
8
|
+
version: "1.4.208"
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
await config.saveVersion(WebComponentsPackageConfig, {
|
|
12
12
|
package: "@social-mail/web-components",
|
|
13
13
|
view: "dist/index.js",
|
|
14
|
-
version: "1.0.
|
|
14
|
+
version: "1.0.194"
|
|
15
15
|
});
|
|
16
16
|
|
|
17
17
|
await config.saveVersion(FAFreePackageConfig, {
|
|
@@ -135,6 +135,9 @@ export default class WebContentTranspileService
|
|
|
135
135
|
|
|
136
136
|
async transformImageLink(node: HTMLElement, attributeName: string) {
|
|
137
137
|
const value = node.getAttribute(attributeName);
|
|
138
|
+
if (!value) {
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
138
141
|
if (!value.includes("/social-mail/site/snapshot/view/")) {
|
|
139
142
|
return;
|
|
140
143
|
}
|