@lexical/plain-text 0.14.3 → 0.14.4

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.
@@ -44,7 +44,13 @@ const IS_CHROME = CAN_USE_DOM && /^(?=.*Chrome).*/i.test(navigator.userAgent);
44
44
  CAN_USE_DOM && IS_ANDROID && IS_CHROME;
45
45
  const IS_APPLE_WEBKIT = CAN_USE_DOM && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !IS_CHROME;
46
46
 
47
- /** @module @lexical/plain-text */
47
+ /**
48
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
49
+ *
50
+ * This source code is licensed under the MIT license found in the
51
+ * LICENSE file in the root directory of this source tree.
52
+ *
53
+ */
48
54
  function onCopyForPlainText(event, editor) {
49
55
  editor.update(() => {
50
56
  if (event !== null) {
@@ -42,7 +42,13 @@ const IS_CHROME = CAN_USE_DOM && /^(?=.*Chrome).*/i.test(navigator.userAgent);
42
42
  CAN_USE_DOM && IS_ANDROID && IS_CHROME;
43
43
  const IS_APPLE_WEBKIT = CAN_USE_DOM && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !IS_CHROME;
44
44
 
45
- /** @module @lexical/plain-text */
45
+ /**
46
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
47
+ *
48
+ * This source code is licensed under the MIT license found in the
49
+ * LICENSE file in the root directory of this source tree.
50
+ *
51
+ */
46
52
  function onCopyForPlainText(event, editor) {
47
53
  editor.update(() => {
48
54
  if (event !== null) {
package/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /** @module @lexical/plain-text */
2
1
  /**
3
2
  * Copyright (c) Meta Platforms, Inc. and affiliates.
4
3
  *
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "plain-text"
8
8
  ],
9
9
  "license": "MIT",
10
- "version": "0.14.3",
10
+ "version": "0.14.4",
11
11
  "main": "LexicalPlainText.js",
12
12
  "types": "index.d.ts",
13
13
  "repository": {
@@ -21,19 +21,23 @@
21
21
  ".": {
22
22
  "import": {
23
23
  "types": "./index.d.ts",
24
+ "development": "./LexicalPlainText.dev.mjs",
25
+ "production": "./LexicalPlainText.prod.mjs",
24
26
  "node": "./LexicalPlainText.node.mjs",
25
27
  "default": "./LexicalPlainText.mjs"
26
28
  },
27
29
  "require": {
28
30
  "types": "./index.d.ts",
31
+ "development": "./LexicalPlainText.dev.js",
32
+ "production": "./LexicalPlainText.prod.js",
29
33
  "default": "./LexicalPlainText.js"
30
34
  }
31
35
  }
32
36
  },
33
37
  "dependencies": {
34
- "@lexical/clipboard": "0.14.3",
35
- "@lexical/selection": "0.14.3",
36
- "@lexical/utils": "0.14.3",
37
- "lexical": "0.14.3"
38
+ "@lexical/clipboard": "0.14.4",
39
+ "@lexical/selection": "0.14.4",
40
+ "@lexical/utils": "0.14.4",
41
+ "lexical": "0.14.4"
38
42
  }
39
43
  }