@etrepum/lexical-builder-ssr 0.0.33 → 0.0.35

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/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { LexicalEditor } from 'lexical';
2
2
  import { withDOM as withDOMLocal } from '@etrepum/lexical-builder-ssr/dom';
3
-
4
3
  export declare const PACKAGE_VERSION: string;
5
4
  export declare const withDOM: typeof withDOMLocal;
6
5
  export declare function prerenderEditorHtml(editor: LexicalEditor): string;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { withDOM as r } from "@etrepum/lexical-builder-ssr/dom";
2
- const s = "0.0.33", l = r;
2
+ const s = "0.0.35", l = r;
3
3
  function c(e) {
4
4
  return l(({ document: n }) => {
5
5
  const t = n.createElement("div");
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "test:watch": "vitest",
16
16
  "lint": "eslint"
17
17
  },
18
- "version": "0.0.33",
18
+ "version": "0.0.35",
19
19
  "license": "MIT",
20
20
  "repository": {
21
21
  "type": "git",
@@ -40,17 +40,21 @@
40
40
  "@testing-library/jest-dom": "*",
41
41
  "@testing-library/user-event": "*",
42
42
  "@types/jsdom": "^21.1.7",
43
- "eslint": "*",
43
+ "eslint": "^8.57.0",
44
44
  "tslib": "*",
45
- "typescript": "*",
46
- "vite": "*",
47
- "vite-plugin-dts": "*",
48
- "vite-plugin-package-version": "*",
49
- "vitest": "*"
45
+ "typescript": "^5.5.2",
46
+ "vite": "^5.4.0",
47
+ "vite-plugin-dts": "^4.0.2",
48
+ "vite-plugin-package-version": "^1.1.0",
49
+ "vitest": "^2.0.5"
50
50
  },
51
51
  "exports": {
52
- ".": "./dist/index.js",
52
+ ".": {
53
+ "types": "./dist/index.d.ts",
54
+ "default": "./dist/index.js"
55
+ },
53
56
  "./dom": {
57
+ "types": "./dist/dom.js.ts",
54
58
  "browser": "./dist/dom.js",
55
59
  "default": "./dist/dom.node.js"
56
60
  }