@lexical/text 0.23.2-nightly.20250117.0 → 0.23.2-nightly.20250120.0

Sign up to get free protection for your applications and to get access to all the features.
package/LexicalText.js CHANGED
@@ -7,5 +7,5 @@
7
7
  */
8
8
 
9
9
  'use strict'
10
- const LexicalText = process.env.NODE_ENV === 'development' ? require('./LexicalText.dev.js') : require('./LexicalText.prod.js');
10
+ const LexicalText = process.env.NODE_ENV !== 'production' ? require('./LexicalText.dev.js') : require('./LexicalText.prod.js');
11
11
  module.exports = LexicalText;
package/LexicalText.mjs CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  import * as modDev from './LexicalText.dev.mjs';
10
10
  import * as modProd from './LexicalText.prod.mjs';
11
- const mod = process.env.NODE_ENV === 'development' ? modDev : modProd;
11
+ const mod = process.env.NODE_ENV !== 'production' ? modDev : modProd;
12
12
  export const $canShowPlaceholder = mod.$canShowPlaceholder;
13
13
  export const $canShowPlaceholderCurry = mod.$canShowPlaceholderCurry;
14
14
  export const $findTextIntersectionFromCharacters = mod.$findTextIntersectionFromCharacters;
@@ -6,7 +6,7 @@
6
6
  *
7
7
  */
8
8
 
9
- const mod = await (process.env.NODE_ENV === 'development' ? import('./LexicalText.dev.mjs') : import('./LexicalText.prod.mjs'));
9
+ const mod = await (process.env.NODE_ENV !== 'production' ? import('./LexicalText.dev.mjs') : import('./LexicalText.prod.mjs'));
10
10
  export const $canShowPlaceholder = mod.$canShowPlaceholder;
11
11
  export const $canShowPlaceholderCurry = mod.$canShowPlaceholderCurry;
12
12
  export const $findTextIntersectionFromCharacters = mod.$findTextIntersectionFromCharacters;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "text"
10
10
  ],
11
11
  "license": "MIT",
12
- "version": "0.23.2-nightly.20250117.0",
12
+ "version": "0.23.2-nightly.20250120.0",
13
13
  "main": "LexicalText.js",
14
14
  "types": "index.d.ts",
15
15
  "repository": {
@@ -37,6 +37,6 @@
37
37
  }
38
38
  },
39
39
  "dependencies": {
40
- "lexical": "0.23.2-nightly.20250117.0"
40
+ "lexical": "0.23.2-nightly.20250120.0"
41
41
  }
42
42
  }