@valbuild/server 0.62.2 → 0.62.3

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.
@@ -1847,7 +1847,8 @@ class ValOps {
1847
1847
  }
1848
1848
  if (errors.length === 0) {
1849
1849
  var _this$options;
1850
- let sourceFileText = tsSourceFile.getText(tsSourceFile);
1850
+ // https://github.com/microsoft/TypeScript/issues/36174
1851
+ let sourceFileText = unescape(tsSourceFile.getText(tsSourceFile).replace(/\\u/g, "%u"));
1851
1852
  if ((_this$options = this.options) !== null && _this$options !== void 0 && _this$options.formatter) {
1852
1853
  try {
1853
1854
  sourceFileText = this.options.formatter(sourceFileText, path);
@@ -1847,7 +1847,8 @@ class ValOps {
1847
1847
  }
1848
1848
  if (errors.length === 0) {
1849
1849
  var _this$options;
1850
- let sourceFileText = tsSourceFile.getText(tsSourceFile);
1850
+ // https://github.com/microsoft/TypeScript/issues/36174
1851
+ let sourceFileText = unescape(tsSourceFile.getText(tsSourceFile).replace(/\\u/g, "%u"));
1851
1852
  if ((_this$options = this.options) !== null && _this$options !== void 0 && _this$options.formatter) {
1852
1853
  try {
1853
1854
  sourceFileText = this.options.formatter(sourceFileText, path);
@@ -1817,7 +1817,8 @@ class ValOps {
1817
1817
  }
1818
1818
  if (errors.length === 0) {
1819
1819
  var _this$options;
1820
- let sourceFileText = tsSourceFile.getText(tsSourceFile);
1820
+ // https://github.com/microsoft/TypeScript/issues/36174
1821
+ let sourceFileText = unescape(tsSourceFile.getText(tsSourceFile).replace(/\\u/g, "%u"));
1821
1822
  if ((_this$options = this.options) !== null && _this$options !== void 0 && _this$options.formatter) {
1822
1823
  try {
1823
1824
  sourceFileText = this.options.formatter(sourceFileText, path);
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "./package.json": "./package.json"
13
13
  },
14
14
  "types": "dist/valbuild-server.cjs.d.ts",
15
- "version": "0.62.2",
15
+ "version": "0.62.3",
16
16
  "scripts": {
17
17
  "typecheck": "tsc --noEmit",
18
18
  "test": "jest",
@@ -22,9 +22,9 @@
22
22
  "@types/jest": "^29.2.5"
23
23
  },
24
24
  "dependencies": {
25
- "@valbuild/core": "~0.62.2",
26
- "@valbuild/shared": "~0.62.2",
27
- "@valbuild/ui": "~0.62.2",
25
+ "@valbuild/core": "~0.62.3",
26
+ "@valbuild/shared": "~0.62.3",
27
+ "@valbuild/ui": "~0.62.3",
28
28
  "image-size": "^1.0.2",
29
29
  "minimatch": "^3.0.4",
30
30
  "quickjs-emscripten": "^0.21.1",