@lexical/table 0.23.2-nightly.20250117.0 → 0.23.2-nightly.20250121.0
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/LexicalTable.js +1 -1
- package/LexicalTable.mjs +1 -1
- package/LexicalTable.node.mjs +1 -1
- package/package.json +4 -4
package/LexicalTable.js
CHANGED
@@ -7,5 +7,5 @@
|
|
7
7
|
*/
|
8
8
|
|
9
9
|
'use strict'
|
10
|
-
const LexicalTable = process.env.NODE_ENV
|
10
|
+
const LexicalTable = process.env.NODE_ENV !== 'production' ? require('./LexicalTable.dev.js') : require('./LexicalTable.prod.js');
|
11
11
|
module.exports = LexicalTable;
|
package/LexicalTable.mjs
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
import * as modDev from './LexicalTable.dev.mjs';
|
10
10
|
import * as modProd from './LexicalTable.prod.mjs';
|
11
|
-
const mod = process.env.NODE_ENV
|
11
|
+
const mod = process.env.NODE_ENV !== 'production' ? modDev : modProd;
|
12
12
|
export const $computeTableMap = mod.$computeTableMap;
|
13
13
|
export const $computeTableMapSkipCellCheck = mod.$computeTableMapSkipCellCheck;
|
14
14
|
export const $createTableCellNode = mod.$createTableCellNode;
|
package/LexicalTable.node.mjs
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
*
|
7
7
|
*/
|
8
8
|
|
9
|
-
const mod = await (process.env.NODE_ENV
|
9
|
+
const mod = await (process.env.NODE_ENV !== 'production' ? import('./LexicalTable.dev.mjs') : import('./LexicalTable.prod.mjs'));
|
10
10
|
export const $computeTableMap = mod.$computeTableMap;
|
11
11
|
export const $computeTableMapSkipCellCheck = mod.$computeTableMapSkipCellCheck;
|
12
12
|
export const $createTableCellNode = mod.$createTableCellNode;
|
package/package.json
CHANGED
@@ -8,13 +8,13 @@
|
|
8
8
|
"table"
|
9
9
|
],
|
10
10
|
"license": "MIT",
|
11
|
-
"version": "0.23.2-nightly.
|
11
|
+
"version": "0.23.2-nightly.20250121.0",
|
12
12
|
"main": "LexicalTable.js",
|
13
13
|
"types": "index.d.ts",
|
14
14
|
"dependencies": {
|
15
|
-
"@lexical/clipboard": "0.23.2-nightly.
|
16
|
-
"@lexical/utils": "0.23.2-nightly.
|
17
|
-
"lexical": "0.23.2-nightly.
|
15
|
+
"@lexical/clipboard": "0.23.2-nightly.20250121.0",
|
16
|
+
"@lexical/utils": "0.23.2-nightly.20250121.0",
|
17
|
+
"lexical": "0.23.2-nightly.20250121.0"
|
18
18
|
},
|
19
19
|
"repository": {
|
20
20
|
"type": "git",
|