attio 0.0.1-experimental.20250214 → 0.0.1-experimental.20250218

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.
@@ -264,7 +264,7 @@ export const devMachine = setup({
264
264
  params.errors.forEach(printTsError);
265
265
  notifier.notify({
266
266
  title: "TypeScript Errors",
267
- message: `There were ${params.errors.length === 1 ? "one error" : `${params.errors.length} errors`} in your TypeScript code`,
267
+ message: `There ${params.errors.length === 1 ? "was one error" : `were ${params.errors.length} errors`} in your TypeScript code`,
268
268
  });
269
269
  }
270
270
  },
@@ -97,7 +97,7 @@ export function printTsError(error) {
97
97
  process.stderr.write(`${" ".repeat(lineStringLength - 2)} ${chalk.red("×")} ${error.text}\n\n`);
98
98
  process.stderr.write(`${emptyLine} ╭─── ${chalk.bold(error.location.file)}\n`);
99
99
  process.stderr.write(`${lineString} │ ${beforeError}${chalk.red(errorText)}${afterError}\n`);
100
- process.stderr.write(`${emptyLine} │ ${" ".repeat(Math.max(0, error.location.character - leadingSpaces))}${chalk.red("~".repeat(error.location.endCharacter - error.location.character))}\n`);
100
+ process.stderr.write(`${emptyLine} │ ${" ".repeat(Math.max(0, error.location.character - leadingSpaces))}${chalk.red("~".repeat(Math.max(0, error.location.endCharacter - error.location.character)))}\n`);
101
101
  process.stderr.write(`${emptyLine} ╰───\n\n`);
102
102
  }
103
103
  export function printJsError(error, type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attio",
3
- "version": "0.0.1-experimental.20250214",
3
+ "version": "0.0.1-experimental.20250218",
4
4
  "bin": "lib/attio.js",
5
5
  "type": "module",
6
6
  "files": [