@travetto/email-compiler 8.0.0-alpha.7 → 8.0.0-alpha.9

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/src/util.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/email-compiler",
3
- "version": "8.0.0-alpha.7",
3
+ "version": "8.0.0-alpha.9",
4
4
  "type": "module",
5
5
  "description": "Email compiling module",
6
6
  "keywords": [
@@ -27,12 +27,12 @@
27
27
  "directory": "module/email-compiler"
28
28
  },
29
29
  "dependencies": {
30
- "@travetto/config": "^8.0.0-alpha.6",
31
- "@travetto/di": "^8.0.0-alpha.6",
32
- "@travetto/email": "^8.0.0-alpha.6",
33
- "@travetto/image": "^8.0.0-alpha.6",
34
- "@travetto/runtime": "^8.0.0-alpha.6",
35
- "@travetto/worker": "^8.0.0-alpha.6",
30
+ "@travetto/config": "^8.0.0-alpha.8",
31
+ "@travetto/di": "^8.0.0-alpha.8",
32
+ "@travetto/email": "^8.0.0-alpha.8",
33
+ "@travetto/image": "^8.0.0-alpha.8",
34
+ "@travetto/runtime": "^8.0.0-alpha.8",
35
+ "@travetto/worker": "^8.0.0-alpha.8",
36
36
  "@types/inline-css": "^3.0.4",
37
37
  "html-entities": "^2.6.0",
38
38
  "inline-css": "^4.0.3",
@@ -40,7 +40,7 @@
40
40
  "sass": "^1.98.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@travetto/cli": "^8.0.0-alpha.11"
43
+ "@travetto/cli": "^8.0.0-alpha.13"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "@travetto/cli": {
package/src/util.ts CHANGED
@@ -185,7 +185,7 @@ export class EmailCompileUtil {
185
185
  static async applyStyles(html: string, options: EmailTemplateResource): Promise<string> {
186
186
  const styles = [
187
187
  options.globalStyles ?? '',
188
- await options.loader.readText('/email/main.scss').catch(() => '')
188
+ await options.loader.readUTF8('/email/main.scss').catch(() => '')
189
189
  ]
190
190
  .filter(line => !!line)
191
191
  .join('\n');