@lexical/link 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.
@@ -9,7 +9,13 @@
9
9
  var utils = require('@lexical/utils');
10
10
  var lexical = require('lexical');
11
11
 
12
- /** @module @lexical/link */
12
+ /**
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ *
18
+ */
13
19
  const SUPPORTED_URL_PROTOCOLS = new Set(['http:', 'https:', 'mailto:', 'sms:', 'tel:']);
14
20
 
15
21
  /** @noInheritDoc */
@@ -7,7 +7,13 @@
7
7
  import { addClassNamesToElement, isHTMLAnchorElement } from '@lexical/utils';
8
8
  import { createCommand, ElementNode, $applyNodeReplacement, $isRangeSelection, $isElementNode, $getSelection } from 'lexical';
9
9
 
10
- /** @module @lexical/link */
10
+ /**
11
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ *
16
+ */
11
17
  const SUPPORTED_URL_PROTOCOLS = new Set(['http:', 'https:', 'mailto:', 'sms:', 'tel:']);
12
18
 
13
19
  /** @noInheritDoc */
package/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /** @module @lexical/link */
2
1
  /**
3
2
  * Copyright (c) Meta Platforms, Inc. and affiliates.
4
3
  *
package/package.json CHANGED
@@ -8,12 +8,12 @@
8
8
  "link"
9
9
  ],
10
10
  "license": "MIT",
11
- "version": "0.14.3",
11
+ "version": "0.14.4",
12
12
  "main": "LexicalLink.js",
13
13
  "types": "index.d.ts",
14
14
  "dependencies": {
15
- "@lexical/utils": "0.14.3",
16
- "lexical": "0.14.3"
15
+ "@lexical/utils": "0.14.4",
16
+ "lexical": "0.14.4"
17
17
  },
18
18
  "repository": {
19
19
  "type": "git",
@@ -26,11 +26,15 @@
26
26
  ".": {
27
27
  "import": {
28
28
  "types": "./index.d.ts",
29
+ "development": "./LexicalLink.dev.mjs",
30
+ "production": "./LexicalLink.prod.mjs",
29
31
  "node": "./LexicalLink.node.mjs",
30
32
  "default": "./LexicalLink.mjs"
31
33
  },
32
34
  "require": {
33
35
  "types": "./index.d.ts",
36
+ "development": "./LexicalLink.dev.js",
37
+ "production": "./LexicalLink.prod.js",
34
38
  "default": "./LexicalLink.js"
35
39
  }
36
40
  }