@etrepum/lexical-emoji-plan 0.0.34 → 0.0.35

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
1
1
  import { TextNode } from 'lexical';
2
-
3
2
  export declare function $textNodeTransform(node: TextNode): void;
4
3
  //# sourceMappingURL=$textNodeTransform.d.ts.map
@@ -1,5 +1,4 @@
1
1
  import { DOMConversionMap, EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedTextNode, Spread, TextNode } from 'lexical';
2
-
3
2
  export type SerializedEmojiNode = Spread<{
4
3
  type: ReturnType<typeof EmojiNode.getType>;
5
4
  shortcode?: string;
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ function I(o) {
15
15
  (e) => e.codePointAt(0).toString(16).padStart(4, "0")
16
16
  ).join("-");
17
17
  }
18
- const T = "0.0.34";
18
+ const T = "0.0.35";
19
19
  function $() {
20
20
  }
21
21
  function L(o, e) {
@@ -1,5 +1,4 @@
1
1
  import { $textNodeTransform } from './$textNodeTransform';
2
-
3
2
  type MaybePromise<T> = T | Promise<T>;
4
3
  export declare function loadTextNodeTransform(): MaybePromise<typeof $textNodeTransform>;
5
4
  export {};
@@ -1,4 +1,3 @@
1
1
  import { $textNodeTransform } from './$textNodeTransform';
2
-
3
2
  export declare function loadTextNodeTransform(): typeof $textNodeTransform;
4
3
  //# sourceMappingURL=loadTextNodeTransform.node.d.ts.map
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "test": "vitest run",
17
17
  "test:watch": "vitest"
18
18
  },
19
- "version": "0.0.34",
19
+ "version": "0.0.35",
20
20
  "license": "MIT",
21
21
  "repository": {
22
22
  "type": "git",
@@ -44,17 +44,21 @@
44
44
  "eslint": "^8.57.0",
45
45
  "jsdom": "^24.1.0",
46
46
  "tslib": "^2.6.2",
47
- "typescript": "^5.4.5",
48
- "vite": "^5.2.11",
47
+ "typescript": "^5.5.2",
48
+ "vite": "^5.4.0",
49
49
  "vite-plugin-data": "^0.2.5",
50
- "vite-plugin-dts": "*",
51
- "vite-plugin-package-version": "*",
50
+ "vite-plugin-dts": "^4.0.2",
51
+ "vite-plugin-package-version": "^1.1.0",
52
52
  "vite-plugin-static-copy": "^1.0.5",
53
- "vitest": "*"
53
+ "vitest": "^2.0.5"
54
54
  },
55
55
  "exports": {
56
- ".": "./dist/index.js",
56
+ ".": {
57
+ "types": "./dist/index.d.ts",
58
+ "default": "./dist/index.js"
59
+ },
57
60
  "./loadTextNodeTransform": {
61
+ "types": "./dist/loadTextNodeTransform.d.ts",
58
62
  "browser": "./dist/loadTextNodeTransform.js",
59
63
  "default": "./dist/loadTextNodeTransform.node.js"
60
64
  },