@observablehq/notebook-kit 1.7.0 → 1.7.1

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/observablehq/notebook-kit.git"
7
7
  },
8
- "version": "1.7.0",
8
+ "version": "1.7.1",
9
9
  "type": "module",
10
10
  "scripts": {
11
11
  "test": "vitest",
@@ -25,6 +25,7 @@ export class Workbook {
25
25
  return extract(sheet, options);
26
26
  }
27
27
  }
28
+ Object.defineProperty(Workbook, "name", { value: "Workbook" }); // prevent mangling
28
29
  function extract(sheet, { range, headers } = {}) {
29
30
  let [[c0, r0], [c1, r1]] = parseRange(range, sheet); // eslint-disable-line prefer-const
30
31
  const headerRow = headers ? sheet.getRow(++r0) : null;
@@ -47,3 +47,5 @@ class ZipArchiveEntry extends AbstractFile {
47
47
  return JSON.parse(await this.text());
48
48
  }
49
49
  }
50
+ Object.defineProperty(ZipArchive, "name", { value: "ZipArchive" }); // prevent mangling
51
+ Object.defineProperty(ZipArchiveEntry, "name", { value: "ZipArchiveEntry" }); // prevent mangling
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/observablehq/notebook-kit.git"
7
7
  },
8
- "version": "1.7.0",
8
+ "version": "1.7.1",
9
9
  "type": "module",
10
10
  "scripts": {
11
11
  "test": "vitest",