@visulima/string 1.2.1 → 1.2.3
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/CHANGELOG.md +27 -0
- package/LICENSE.md +1 -1
- package/dist/case/camel-case.cjs +2 -2
- package/dist/case/camel-case.d.cts +2 -2
- package/dist/case/camel-case.d.mts +2 -2
- package/dist/case/camel-case.d.ts +2 -2
- package/dist/case/camel-case.mjs +2 -2
- package/dist/case/capital-case.cjs +2 -2
- package/dist/case/capital-case.d.cts +2 -2
- package/dist/case/capital-case.d.mts +2 -2
- package/dist/case/capital-case.d.ts +2 -2
- package/dist/case/capital-case.mjs +2 -2
- package/dist/case/constant-case.d.cts +2 -2
- package/dist/case/constant-case.d.mts +2 -2
- package/dist/case/constant-case.d.ts +2 -2
- package/dist/case/dot-case.d.cts +2 -2
- package/dist/case/dot-case.d.mts +2 -2
- package/dist/case/dot-case.d.ts +2 -2
- package/dist/case/flat-case.d.cts +2 -2
- package/dist/case/flat-case.d.mts +2 -2
- package/dist/case/flat-case.d.ts +2 -2
- package/dist/case/flip-case.cjs +1 -1
- package/dist/case/flip-case.d.cts +4 -3
- package/dist/case/flip-case.d.mts +4 -3
- package/dist/case/flip-case.d.ts +4 -3
- package/dist/case/flip-case.mjs +1 -1
- package/dist/case/identify-case.d.cts +2 -2
- package/dist/case/identify-case.d.mts +2 -2
- package/dist/case/identify-case.d.ts +2 -2
- package/dist/case/index.cjs +1 -1
- package/dist/case/index.d.cts +2 -2
- package/dist/case/index.d.mts +2 -2
- package/dist/case/index.d.ts +2 -2
- package/dist/case/index.mjs +1 -1
- package/dist/case/kebab-case.cjs +2 -2
- package/dist/case/kebab-case.d.cts +4 -3
- package/dist/case/kebab-case.d.mts +4 -3
- package/dist/case/kebab-case.d.ts +4 -3
- package/dist/case/kebab-case.mjs +2 -2
- package/dist/case/lower-first.d.cts +2 -2
- package/dist/case/lower-first.d.mts +2 -2
- package/dist/case/lower-first.d.ts +2 -2
- package/dist/case/no-case.d.cts +2 -2
- package/dist/case/no-case.d.mts +2 -2
- package/dist/case/no-case.d.ts +2 -2
- package/dist/case/pascal-case.cjs +2 -2
- package/dist/case/pascal-case.d.cts +2 -2
- package/dist/case/pascal-case.d.mts +2 -2
- package/dist/case/pascal-case.d.ts +2 -2
- package/dist/case/pascal-case.mjs +2 -2
- package/dist/case/pascal-snake-case.d.cts +2 -2
- package/dist/case/pascal-snake-case.d.mts +2 -2
- package/dist/case/pascal-snake-case.d.ts +2 -2
- package/dist/case/path-case.d.cts +2 -2
- package/dist/case/path-case.d.mts +2 -2
- package/dist/case/path-case.d.ts +2 -2
- package/dist/case/sentence-case.cjs +2 -2
- package/dist/case/sentence-case.d.cts +2 -2
- package/dist/case/sentence-case.d.mts +2 -2
- package/dist/case/sentence-case.d.ts +2 -2
- package/dist/case/sentence-case.mjs +2 -2
- package/dist/case/snake-case.d.cts +2 -2
- package/dist/case/snake-case.d.mts +2 -2
- package/dist/case/snake-case.d.ts +2 -2
- package/dist/case/split-by-case.cjs +1 -1
- package/dist/case/split-by-case.d.cts +4 -3
- package/dist/case/split-by-case.d.mts +4 -3
- package/dist/case/split-by-case.d.ts +4 -3
- package/dist/case/split-by-case.mjs +1 -1
- package/dist/case/title-case.d.cts +2 -2
- package/dist/case/title-case.d.mts +2 -2
- package/dist/case/title-case.d.ts +2 -2
- package/dist/case/train-case.cjs +1 -1
- package/dist/case/train-case.d.cts +2 -2
- package/dist/case/train-case.d.mts +2 -2
- package/dist/case/train-case.d.ts +2 -2
- package/dist/case/train-case.mjs +1 -1
- package/dist/case/upper-first.d.cts +2 -2
- package/dist/case/upper-first.d.mts +2 -2
- package/dist/case/upper-first.d.ts +2 -2
- package/dist/get-string-truncated-width.cjs +1 -1
- package/dist/get-string-truncated-width.d.cts +2 -1
- package/dist/get-string-truncated-width.d.mts +2 -1
- package/dist/get-string-truncated-width.d.ts +2 -1
- package/dist/get-string-truncated-width.mjs +1 -1
- package/dist/get-string-width.d.cts +2 -1
- package/dist/get-string-width.d.mts +2 -1
- package/dist/get-string-width.d.ts +2 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +5 -4
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.mjs +4 -4
- package/dist/native-string-types.d.cts +1 -1
- package/dist/native-string-types.d.mts +1 -1
- package/dist/native-string-types.d.ts +1 -1
- package/dist/outdent.cjs +1 -1
- package/dist/outdent.d.cts +2 -1
- package/dist/outdent.d.mts +2 -1
- package/dist/outdent.d.ts +2 -1
- package/dist/outdent.mjs +1 -1
- package/dist/packem_shared/{WrapMode-B-WBY1mj.mjs → WrapMode-BCVbMqYK.mjs} +1 -1
- package/dist/packem_shared/{WrapMode-Dsqu9BaX.cjs → WrapMode-DebG_Nll.cjs} +1 -1
- package/dist/packem_shared/{constants-CKuHriHc.cjs → constants-6-GJ6zA-.cjs} +2 -3
- package/dist/packem_shared/{constants-CsGLUb4U.mjs → constants-CKdlkHVU.mjs} +2 -3
- package/dist/packem_shared/{joinSegments-BovQ2h_P.mjs → joinSegments-BfSDBmPF.mjs} +1 -1
- package/dist/packem_shared/{joinSegments-B_7bxy5J.cjs → joinSegments-HYXurfoq.cjs} +1 -1
- package/dist/packem_shared/{slugify-jh6PftAT.cjs → slugify-SKjCL8DF.cjs} +1 -1
- package/dist/packem_shared/{slugify-DhE59J2A.mjs → slugify-pbxTlzeQ.mjs} +1 -1
- package/dist/packem_shared/{transliterate-DwSldp0o.mjs → transliterate-4P32b49d.mjs} +1 -1
- package/dist/packem_shared/{transliterate-BEci5RC8.cjs → transliterate-CtOTNpLs.cjs} +1 -1
- package/dist/packem_shared/{types-DmfKbIaI.d.cts → types-BSdIWVzn.d.cts} +2 -1
- package/dist/packem_shared/{types-DmfKbIaI.d.mts → types-BSdIWVzn.d.mts} +2 -1
- package/dist/packem_shared/{types-DmfKbIaI.d.ts → types-BSdIWVzn.d.ts} +2 -1
- package/dist/packem_shared/{types-DcGtApe2.d.ts → types-BfGNLD2K.d.ts} +1 -1
- package/dist/packem_shared/{types-C5Pk8B8Q.d.cts → types-DrtiqNkK.d.cts} +1 -1
- package/dist/packem_shared/{types-_jqW_ZOt.d.mts → types-mlwFVBiS.d.mts} +1 -1
- package/dist/slice.cjs +1 -1
- package/dist/slice.d.cts +2 -1
- package/dist/slice.d.mts +2 -1
- package/dist/slice.d.ts +2 -1
- package/dist/slice.mjs +1 -1
- package/dist/test/utils.d.cts +2 -1
- package/dist/test/utils.d.mts +2 -1
- package/dist/test/utils.d.ts +2 -1
- package/dist/test/vitest.d.cts +2 -1
- package/dist/test/vitest.d.mts +2 -1
- package/dist/test/vitest.d.ts +2 -1
- package/dist/truncate.d.cts +2 -1
- package/dist/truncate.d.mts +2 -1
- package/dist/truncate.d.ts +2 -1
- package/dist/utils.d.cts +1 -1
- package/dist/utils.d.mts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +10 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
declare const pascalSnakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => PascalSnakeCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, g as PathCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, g as PathCase } from '../packem_shared/types-DrtiqNkK.cjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.cjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.cjs';
|
|
4
4
|
|
|
5
5
|
declare const pathCase: <T extends string = string>(value?: T, options?: CaseOptions) => PathCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, g as PathCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, g as PathCase } from '../packem_shared/types-mlwFVBiS.mjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.mjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.mjs';
|
|
4
4
|
|
|
5
5
|
declare const pathCase: <T extends string = string>(value?: T, options?: CaseOptions) => PathCase<T>;
|
package/dist/case/path-case.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, g as PathCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, g as PathCase } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
declare const pathCase: <T extends string = string>(value?: T, options?: CaseOptions) => PathCase<T>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const constants = require('../packem_shared/constants-
|
|
3
|
+
const constants = require('../packem_shared/constants-6-GJ6zA-.cjs');
|
|
4
4
|
const LRUCache = require('../packem_shared/LRUCache-Crb-m7cw.cjs');
|
|
5
5
|
const case_splitByCase = require('./split-by-case.cjs');
|
|
6
6
|
const case_upperFirst = require('./upper-first.cjs');
|
|
7
7
|
const generateCacheKey = require('../packem_shared/generate-cache-key-D8f1auDB.cjs');
|
|
8
|
-
const joinSegments = require('../packem_shared/joinSegments-
|
|
8
|
+
const joinSegments = require('../packem_shared/joinSegments-HYXurfoq.cjs');
|
|
9
9
|
const normalizeGermanEszett = require('../packem_shared/normalize-german-eszett-DJK0S2qj.cjs');
|
|
10
10
|
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-DrtiqNkK.cjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.cjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.cjs';
|
|
4
4
|
|
|
5
5
|
declare const sentenceCase: <T extends string = string>(value?: T, options?: CaseOptions) => SentenceCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-mlwFVBiS.mjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.mjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.mjs';
|
|
4
4
|
|
|
5
5
|
declare const sentenceCase: <T extends string = string>(value?: T, options?: CaseOptions) => SentenceCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
declare const sentenceCase: <T extends string = string>(value?: T, options?: CaseOptions) => SentenceCase<T>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { R as RE_FAST_ANSI } from '../packem_shared/constants-
|
|
1
|
+
import { R as RE_FAST_ANSI } from '../packem_shared/constants-CKdlkHVU.mjs';
|
|
2
2
|
import LRUCache from '../packem_shared/LRUCache-udNErhWw.mjs';
|
|
3
3
|
import { splitByCase } from './split-by-case.mjs';
|
|
4
4
|
import upperFirst from './upper-first.mjs';
|
|
5
5
|
import { g as generateCacheKey } from '../packem_shared/generate-cache-key-YSju5pj2.mjs';
|
|
6
|
-
import joinSegments from '../packem_shared/joinSegments-
|
|
6
|
+
import joinSegments from '../packem_shared/joinSegments-BfSDBmPF.mjs';
|
|
7
7
|
import { n as normalizeGermanEszett } from '../packem_shared/normalize-german-eszett-fpJ4lZL6.mjs';
|
|
8
8
|
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-DrtiqNkK.cjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.cjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.cjs';
|
|
4
4
|
|
|
5
5
|
declare const snakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => SnakeCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-mlwFVBiS.mjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.mjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.mjs';
|
|
4
4
|
|
|
5
5
|
declare const snakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => SnakeCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
declare const snakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => SnakeCase<T>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
5
|
const node_util = require('node:util');
|
|
6
|
-
const constants = require('../packem_shared/constants-
|
|
6
|
+
const constants = require('../packem_shared/constants-6-GJ6zA-.cjs');
|
|
7
7
|
const LRUCache = require('../packem_shared/LRUCache-Crb-m7cw.cjs');
|
|
8
8
|
|
|
9
9
|
var __defProp$2 = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-DrtiqNkK.cjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.cjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.cjs';
|
|
4
4
|
|
|
5
5
|
interface SplitOptions extends LocaleOptions {
|
|
@@ -13,4 +13,5 @@ interface SplitOptions extends LocaleOptions {
|
|
|
13
13
|
}
|
|
14
14
|
declare const splitByCase: <T extends string = string>(input: T, options?: SplitOptions) => SplitByCase<T>;
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { splitByCase };
|
|
17
|
+
export type { SplitOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-mlwFVBiS.mjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.mjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.mjs';
|
|
4
4
|
|
|
5
5
|
interface SplitOptions extends LocaleOptions {
|
|
@@ -13,4 +13,5 @@ interface SplitOptions extends LocaleOptions {
|
|
|
13
13
|
}
|
|
14
14
|
declare const splitByCase: <T extends string = string>(input: T, options?: SplitOptions) => SplitByCase<T>;
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { splitByCase };
|
|
17
|
+
export type { SplitOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
interface SplitOptions extends LocaleOptions {
|
|
@@ -13,4 +13,5 @@ interface SplitOptions extends LocaleOptions {
|
|
|
13
13
|
}
|
|
14
14
|
declare const splitByCase: <T extends string = string>(input: T, options?: SplitOptions) => SplitByCase<T>;
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { splitByCase };
|
|
17
|
+
export type { SplitOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { stripVTControlCharacters } from 'node:util';
|
|
2
|
-
import { j as RE_EMOJI, s as stripEmoji, k as RE_SEPARATORS, R as RE_FAST_ANSI, l as RE_CYRILLIC, m as RE_LATIN, n as RE_GREEK, o as RE_GREEK_LATIN_SPLIT, p as RE_KANJI, q as RE_HEBREW, r as RE_ARABIC, t as RE_HANGUL, u as RE_UZBEK_LATIN_MODIFIER, v as RE_KATAKANA, w as RE_HIRAGANA, x as RE_DEVANAGARI, y as RE_BENGALI, z as RE_GUJARATI, A as RE_GURMUKHI, B as RE_KANNADA, C as RE_TAMIL, D as RE_TELUGU, E as RE_MALAYALAM, F as RE_SINHALA, G as RE_THAI, H as RE_LAO, I as RE_TIBETAN, J as RE_MYANMAR, K as RE_ETHIOPIC, L as RE_KHMER, M as RE_ORIYA } from '../packem_shared/constants-
|
|
2
|
+
import { j as RE_EMOJI, s as stripEmoji, k as RE_SEPARATORS, R as RE_FAST_ANSI, l as RE_CYRILLIC, m as RE_LATIN, n as RE_GREEK, o as RE_GREEK_LATIN_SPLIT, p as RE_KANJI, q as RE_HEBREW, r as RE_ARABIC, t as RE_HANGUL, u as RE_UZBEK_LATIN_MODIFIER, v as RE_KATAKANA, w as RE_HIRAGANA, x as RE_DEVANAGARI, y as RE_BENGALI, z as RE_GUJARATI, A as RE_GURMUKHI, B as RE_KANNADA, C as RE_TAMIL, D as RE_TELUGU, E as RE_MALAYALAM, F as RE_SINHALA, G as RE_THAI, H as RE_LAO, I as RE_TIBETAN, J as RE_MYANMAR, K as RE_ETHIOPIC, L as RE_KHMER, M as RE_ORIYA } from '../packem_shared/constants-CKdlkHVU.mjs';
|
|
3
3
|
import LRUCache from '../packem_shared/LRUCache-udNErhWw.mjs';
|
|
4
4
|
|
|
5
5
|
var __defProp$2 = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-DrtiqNkK.cjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.cjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.cjs';
|
|
4
4
|
|
|
5
5
|
declare function titleCase<T extends string = string>(value?: T, options?: CaseOptions): TitleCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-mlwFVBiS.mjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.mjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.mjs';
|
|
4
4
|
|
|
5
5
|
declare function titleCase<T extends string = string>(value?: T, options?: CaseOptions): TitleCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
declare function titleCase<T extends string = string>(value?: T, options?: CaseOptions): TitleCase<T>;
|
package/dist/case/train-case.cjs
CHANGED
|
@@ -4,7 +4,7 @@ const LRUCache = require('../packem_shared/LRUCache-Crb-m7cw.cjs');
|
|
|
4
4
|
const case_splitByCase = require('./split-by-case.cjs');
|
|
5
5
|
const case_upperFirst = require('./upper-first.cjs');
|
|
6
6
|
const generateCacheKey = require('../packem_shared/generate-cache-key-D8f1auDB.cjs');
|
|
7
|
-
const joinSegments = require('../packem_shared/joinSegments-
|
|
7
|
+
const joinSegments = require('../packem_shared/joinSegments-HYXurfoq.cjs');
|
|
8
8
|
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
10
10
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-DrtiqNkK.cjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.cjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.cjs';
|
|
4
4
|
|
|
5
5
|
declare const trainCase: <T extends string = string>(value?: T, options?: CaseOptions) => TrainCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-mlwFVBiS.mjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.mjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.mjs';
|
|
4
4
|
|
|
5
5
|
declare const trainCase: <T extends string = string>(value?: T, options?: CaseOptions) => TrainCase<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
declare const trainCase: <T extends string = string>(value?: T, options?: CaseOptions) => TrainCase<T>;
|
package/dist/case/train-case.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import LRUCache from '../packem_shared/LRUCache-udNErhWw.mjs';
|
|
|
2
2
|
import { splitByCase } from './split-by-case.mjs';
|
|
3
3
|
import upperFirst from './upper-first.mjs';
|
|
4
4
|
import { g as generateCacheKey } from '../packem_shared/generate-cache-key-YSju5pj2.mjs';
|
|
5
|
-
import joinSegments from '../packem_shared/joinSegments-
|
|
5
|
+
import joinSegments from '../packem_shared/joinSegments-BfSDBmPF.mjs';
|
|
6
6
|
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-DrtiqNkK.cjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.cjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.cjs';
|
|
4
4
|
|
|
5
5
|
declare const upperFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => UpperFirst<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-mlwFVBiS.mjs';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.mjs';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.mjs';
|
|
4
4
|
|
|
5
5
|
declare const upperFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => UpperFirst<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-
|
|
2
|
-
import '../packem_shared/types-
|
|
1
|
+
import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-BfGNLD2K.js';
|
|
2
|
+
import '../packem_shared/types-BSdIWVzn.js';
|
|
3
3
|
import '../packem_shared/lru-cache-B_t27XwI.js';
|
|
4
4
|
|
|
5
5
|
declare const upperFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => UpperFirst<T>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
|
-
const constants = require('./packem_shared/constants-
|
|
5
|
+
const constants = require('./packem_shared/constants-6-GJ6zA-.cjs');
|
|
6
6
|
|
|
7
7
|
var __defProp$2 = Object.defineProperty;
|
|
8
8
|
var __name$2 = (target, value) => __defProp$2(target, "name", { value, configurable: true });
|
|
@@ -21,4 +21,5 @@ interface StringTruncatedWidthResult {
|
|
|
21
21
|
}
|
|
22
22
|
declare const getStringTruncatedWidth: (input: string, options?: StringTruncatedWidthOptions) => StringTruncatedWidthResult;
|
|
23
23
|
|
|
24
|
-
export {
|
|
24
|
+
export { getStringTruncatedWidth };
|
|
25
|
+
export type { StringTruncatedWidthOptions, StringTruncatedWidthResult };
|
|
@@ -21,4 +21,5 @@ interface StringTruncatedWidthResult {
|
|
|
21
21
|
}
|
|
22
22
|
declare const getStringTruncatedWidth: (input: string, options?: StringTruncatedWidthOptions) => StringTruncatedWidthResult;
|
|
23
23
|
|
|
24
|
-
export {
|
|
24
|
+
export { getStringTruncatedWidth };
|
|
25
|
+
export type { StringTruncatedWidthOptions, StringTruncatedWidthResult };
|
|
@@ -21,4 +21,5 @@ interface StringTruncatedWidthResult {
|
|
|
21
21
|
}
|
|
22
22
|
declare const getStringTruncatedWidth: (input: string, options?: StringTruncatedWidthOptions) => StringTruncatedWidthResult;
|
|
23
23
|
|
|
24
|
-
export {
|
|
24
|
+
export { getStringTruncatedWidth };
|
|
25
|
+
export type { StringTruncatedWidthOptions, StringTruncatedWidthResult };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as RE_ANSI, N as RE_CONTROL, j as RE_EMOJI } from './packem_shared/constants-
|
|
1
|
+
import { c as RE_ANSI, N as RE_CONTROL, j as RE_EMOJI } from './packem_shared/constants-CKdlkHVU.mjs';
|
|
2
2
|
|
|
3
3
|
var __defProp$2 = Object.defineProperty;
|
|
4
4
|
var __name$2 = (target, value) => __defProp$2(target, "name", { value, configurable: true });
|
|
@@ -3,4 +3,5 @@ import { StringTruncatedWidthOptions } from './get-string-truncated-width.cjs';
|
|
|
3
3
|
type StringWidthOptions = Omit<StringTruncatedWidthOptions, "ellipsis" | "ellipsisWidth" | "limit">;
|
|
4
4
|
declare const getStringWidth: (input: string, options?: StringWidthOptions) => number;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { getStringWidth };
|
|
7
|
+
export type { StringWidthOptions };
|
|
@@ -3,4 +3,5 @@ import { StringTruncatedWidthOptions } from './get-string-truncated-width.mjs';
|
|
|
3
3
|
type StringWidthOptions = Omit<StringTruncatedWidthOptions, "ellipsis" | "ellipsisWidth" | "limit">;
|
|
4
4
|
declare const getStringWidth: (input: string, options?: StringWidthOptions) => number;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { getStringWidth };
|
|
7
|
+
export type { StringWidthOptions };
|
|
@@ -3,4 +3,5 @@ import { StringTruncatedWidthOptions } from './get-string-truncated-width.js';
|
|
|
3
3
|
type StringWidthOptions = Omit<StringTruncatedWidthOptions, "ellipsis" | "ellipsisWidth" | "limit">;
|
|
4
4
|
declare const getStringWidth: (input: string, options?: StringWidthOptions) => number;
|
|
5
5
|
|
|
6
|
-
export {
|
|
6
|
+
export { getStringWidth };
|
|
7
|
+
export type { StringWidthOptions };
|
package/dist/index.cjs
CHANGED
|
@@ -21,16 +21,16 @@ const case_splitByCase = require('./case/split-by-case.cjs');
|
|
|
21
21
|
const case_titleCase = require('./case/title-case.cjs');
|
|
22
22
|
const case_trainCase = require('./case/train-case.cjs');
|
|
23
23
|
const case_upperFirst = require('./case/upper-first.cjs');
|
|
24
|
-
const joinSegments = require('./packem_shared/joinSegments-
|
|
24
|
+
const joinSegments = require('./packem_shared/joinSegments-HYXurfoq.cjs');
|
|
25
25
|
const getStringTruncatedWidth = require('./get-string-truncated-width.cjs');
|
|
26
26
|
const getStringWidth = require('./get-string-width.cjs');
|
|
27
27
|
const outdent = require('./outdent.cjs');
|
|
28
28
|
const replaceString = require('./packem_shared/replaceString-iYo1cDfZ.cjs');
|
|
29
29
|
const slice = require('./slice.cjs');
|
|
30
|
-
const slugify = require('./packem_shared/slugify-
|
|
31
|
-
const transliterate = require('./packem_shared/transliterate-
|
|
30
|
+
const slugify = require('./packem_shared/slugify-SKjCL8DF.cjs');
|
|
31
|
+
const transliterate = require('./packem_shared/transliterate-CtOTNpLs.cjs');
|
|
32
32
|
const truncate = require('./truncate.cjs');
|
|
33
|
-
const WrapMode = require('./packem_shared/WrapMode-
|
|
33
|
+
const WrapMode = require('./packem_shared/WrapMode-DebG_Nll.cjs');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
package/dist/index.d.cts
CHANGED
|
@@ -16,14 +16,14 @@ export { default as snakeCase } from './case/snake-case.cjs';
|
|
|
16
16
|
export { SplitOptions, splitByCase } from './case/split-by-case.cjs';
|
|
17
17
|
export { default as titleCase } from './case/title-case.cjs';
|
|
18
18
|
export { default as trainCase } from './case/train-case.cjs';
|
|
19
|
-
export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-
|
|
19
|
+
export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-DrtiqNkK.cjs';
|
|
20
20
|
export { default as upperFirst } from './case/upper-first.cjs';
|
|
21
21
|
export { joinSegments } from './case/index.cjs';
|
|
22
22
|
export { StringTruncatedWidthOptions, StringTruncatedWidthResult, getStringTruncatedWidth } from './get-string-truncated-width.cjs';
|
|
23
23
|
export { StringWidthOptions, getStringWidth } from './get-string-width.cjs';
|
|
24
24
|
export { Outdent, Options as OutdentOptions, outdent } from './outdent.cjs';
|
|
25
|
-
import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-
|
|
26
|
-
export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-
|
|
25
|
+
import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-BSdIWVzn.cjs';
|
|
26
|
+
export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BSdIWVzn.cjs';
|
|
27
27
|
export { SliceOptions, slice } from './slice.cjs';
|
|
28
28
|
export { TruncateOptions, truncate } from './truncate.cjs';
|
|
29
29
|
import './packem_shared/lru-cache-B_t27XwI.cjs';
|
|
@@ -47,4 +47,5 @@ interface WordWrapOptions {
|
|
|
47
47
|
}
|
|
48
48
|
declare const wordWrap: (string: string, options?: WordWrapOptions) => string;
|
|
49
49
|
|
|
50
|
-
export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions,
|
|
50
|
+
export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions, WrapMode, replaceString, slugify, transliterate, wordWrap };
|
|
51
|
+
export type { WordWrapOptions };
|
package/dist/index.d.mts
CHANGED
|
@@ -16,14 +16,14 @@ export { default as snakeCase } from './case/snake-case.mjs';
|
|
|
16
16
|
export { SplitOptions, splitByCase } from './case/split-by-case.mjs';
|
|
17
17
|
export { default as titleCase } from './case/title-case.mjs';
|
|
18
18
|
export { default as trainCase } from './case/train-case.mjs';
|
|
19
|
-
export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-
|
|
19
|
+
export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-mlwFVBiS.mjs';
|
|
20
20
|
export { default as upperFirst } from './case/upper-first.mjs';
|
|
21
21
|
export { joinSegments } from './case/index.mjs';
|
|
22
22
|
export { StringTruncatedWidthOptions, StringTruncatedWidthResult, getStringTruncatedWidth } from './get-string-truncated-width.mjs';
|
|
23
23
|
export { StringWidthOptions, getStringWidth } from './get-string-width.mjs';
|
|
24
24
|
export { Outdent, Options as OutdentOptions, outdent } from './outdent.mjs';
|
|
25
|
-
import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-
|
|
26
|
-
export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-
|
|
25
|
+
import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-BSdIWVzn.mjs';
|
|
26
|
+
export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BSdIWVzn.mjs';
|
|
27
27
|
export { SliceOptions, slice } from './slice.mjs';
|
|
28
28
|
export { TruncateOptions, truncate } from './truncate.mjs';
|
|
29
29
|
import './packem_shared/lru-cache-B_t27XwI.mjs';
|
|
@@ -47,4 +47,5 @@ interface WordWrapOptions {
|
|
|
47
47
|
}
|
|
48
48
|
declare const wordWrap: (string: string, options?: WordWrapOptions) => string;
|
|
49
49
|
|
|
50
|
-
export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions,
|
|
50
|
+
export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions, WrapMode, replaceString, slugify, transliterate, wordWrap };
|
|
51
|
+
export type { WordWrapOptions };
|
package/dist/index.d.ts
CHANGED
|
@@ -16,14 +16,14 @@ export { default as snakeCase } from './case/snake-case.js';
|
|
|
16
16
|
export { SplitOptions, splitByCase } from './case/split-by-case.js';
|
|
17
17
|
export { default as titleCase } from './case/title-case.js';
|
|
18
18
|
export { default as trainCase } from './case/train-case.js';
|
|
19
|
-
export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-
|
|
19
|
+
export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-BfGNLD2K.js';
|
|
20
20
|
export { default as upperFirst } from './case/upper-first.js';
|
|
21
21
|
export { joinSegments } from './case/index.js';
|
|
22
22
|
export { StringTruncatedWidthOptions, StringTruncatedWidthResult, getStringTruncatedWidth } from './get-string-truncated-width.js';
|
|
23
23
|
export { StringWidthOptions, getStringWidth } from './get-string-width.js';
|
|
24
24
|
export { Outdent, Options as OutdentOptions, outdent } from './outdent.js';
|
|
25
|
-
import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-
|
|
26
|
-
export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-
|
|
25
|
+
import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-BSdIWVzn.js';
|
|
26
|
+
export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BSdIWVzn.js';
|
|
27
27
|
export { SliceOptions, slice } from './slice.js';
|
|
28
28
|
export { TruncateOptions, truncate } from './truncate.js';
|
|
29
29
|
import './packem_shared/lru-cache-B_t27XwI.js';
|
|
@@ -47,4 +47,5 @@ interface WordWrapOptions {
|
|
|
47
47
|
}
|
|
48
48
|
declare const wordWrap: (string: string, options?: WordWrapOptions) => string;
|
|
49
49
|
|
|
50
|
-
export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions,
|
|
50
|
+
export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions, WrapMode, replaceString, slugify, transliterate, wordWrap };
|
|
51
|
+
export type { WordWrapOptions };
|
package/dist/index.mjs
CHANGED
|
@@ -17,13 +17,13 @@ export { splitByCase } from './case/split-by-case.mjs';
|
|
|
17
17
|
export { default as titleCase } from './case/title-case.mjs';
|
|
18
18
|
export { default as trainCase } from './case/train-case.mjs';
|
|
19
19
|
export { default as upperFirst } from './case/upper-first.mjs';
|
|
20
|
-
export { default as joinSegments } from './packem_shared/joinSegments-
|
|
20
|
+
export { default as joinSegments } from './packem_shared/joinSegments-BfSDBmPF.mjs';
|
|
21
21
|
export { getStringTruncatedWidth } from './get-string-truncated-width.mjs';
|
|
22
22
|
export { getStringWidth } from './get-string-width.mjs';
|
|
23
23
|
export { outdent } from './outdent.mjs';
|
|
24
24
|
export { default as replaceString } from './packem_shared/replaceString-C7Dp5vAg.mjs';
|
|
25
25
|
export { slice } from './slice.mjs';
|
|
26
|
-
export { default as slugify } from './packem_shared/slugify-
|
|
27
|
-
export { default as transliterate } from './packem_shared/transliterate-
|
|
26
|
+
export { default as slugify } from './packem_shared/slugify-pbxTlzeQ.mjs';
|
|
27
|
+
export { default as transliterate } from './packem_shared/transliterate-4P32b49d.mjs';
|
|
28
28
|
export { truncate } from './truncate.mjs';
|
|
29
|
-
export { WrapMode, wordWrap } from './packem_shared/WrapMode-
|
|
29
|
+
export { WrapMode, wordWrap } from './packem_shared/WrapMode-BCVbMqYK.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CharAt, a as Concat, E as EndsWith, I as Includes, L as Length, P as PadEnd, b as PadStart, R as Replace, c as ReplaceAll, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-
|
|
1
|
+
import { C as CharAt, a as Concat, E as EndsWith, I as Includes, L as Length, P as PadEnd, b as PadStart, R as Replace, c as ReplaceAll, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BSdIWVzn.cjs';
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
interface String {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CharAt, a as Concat, E as EndsWith, I as Includes, L as Length, P as PadEnd, b as PadStart, R as Replace, c as ReplaceAll, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-
|
|
1
|
+
import { C as CharAt, a as Concat, E as EndsWith, I as Includes, L as Length, P as PadEnd, b as PadStart, R as Replace, c as ReplaceAll, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BSdIWVzn.mjs';
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
interface String {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CharAt, a as Concat, E as EndsWith, I as Includes, L as Length, P as PadEnd, b as PadStart, R as Replace, c as ReplaceAll, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-
|
|
1
|
+
import { C as CharAt, a as Concat, E as EndsWith, I as Includes, L as Length, P as PadEnd, b as PadStart, R as Replace, c as ReplaceAll, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BSdIWVzn.js';
|
|
2
2
|
|
|
3
3
|
declare global {
|
|
4
4
|
interface String {
|
package/dist/outdent.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
|
-
const constants = require('./packem_shared/constants-
|
|
5
|
+
const constants = require('./packem_shared/constants-6-GJ6zA-.cjs');
|
|
6
6
|
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
package/dist/outdent.d.cts
CHANGED
package/dist/outdent.d.mts
CHANGED
package/dist/outdent.d.ts
CHANGED
package/dist/outdent.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as RE_ONLY_WHITESPACE_WITH_AT_LEAST_ONE_NEWLINE, e as RE_STARTS_WITH_NEWLINE_OR_IS_EMPTY, f as RE_LEADING_NEWLINE, g as RE_TRAILING_NEWLINE, h as RE_MATCH_NEWLINES, i as RE_DETECT_INDENTATION } from './packem_shared/constants-
|
|
1
|
+
import { d as RE_ONLY_WHITESPACE_WITH_AT_LEAST_ONE_NEWLINE, e as RE_STARTS_WITH_NEWLINE_OR_IS_EMPTY, f as RE_LEADING_NEWLINE, g as RE_TRAILING_NEWLINE, h as RE_MATCH_NEWLINES, i as RE_DETECT_INDENTATION } from './packem_shared/constants-CKdlkHVU.mjs';
|
|
2
2
|
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as ESCAPES, P as ANSI_ESCAPE_LINK, Q as ANSI_SGR_TERMINATOR, S as ANSI_ESCAPE_BELL, T as ANSI_CSI, U as RE_ESCAPE_PATTERN, V as ANSI_RESET_CODES, W as END_CODE, X as RE_ZERO_WIDTH } from './constants-
|
|
1
|
+
import { O as ESCAPES, P as ANSI_ESCAPE_LINK, Q as ANSI_SGR_TERMINATOR, S as ANSI_ESCAPE_BELL, T as ANSI_CSI, U as RE_ESCAPE_PATTERN, V as ANSI_RESET_CODES, W as END_CODE, X as RE_ZERO_WIDTH } from './constants-CKdlkHVU.mjs';
|
|
2
2
|
import { getStringWidth } from '../get-string-width.mjs';
|
|
3
3
|
|
|
4
4
|
var __defProp$5 = Object.defineProperty;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
|
-
const constants = require('./constants-
|
|
5
|
+
const constants = require('./constants-6-GJ6zA-.cjs');
|
|
6
6
|
const getStringWidth = require('../get-string-width.cjs');
|
|
7
7
|
|
|
8
8
|
var __defProp$5 = Object.defineProperty;
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
var __defProp$1 = Object.defineProperty;
|
|
4
4
|
var __name$1 = (target, value) => __defProp$1(target, "name", { value, configurable: true });
|
|
5
5
|
const r = String.raw;
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const emojiRegex = /* @__PURE__ */ __name$1(() => new RegExp(r`[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[${sTags}]{2}[\u{E0030}-\u{E0039}${sTags}]{1,3}\u{E007F}|${seq}(?:\u200D${seq})*`, "gu"), "default");
|
|
6
|
+
const e = r`\p{Emoji}(?:\p{EMod}|[\u{E0020}-\u{E007E}]+\u{E007F}|\uFE0F?\u20E3?)`;
|
|
7
|
+
const emojiRegex = /* @__PURE__ */ __name$1(() => new RegExp(r`\p{RI}{2}|(?)${e}(?:\u200D${e})*`, "gu"), "default");
|
|
9
8
|
|
|
10
9
|
var __defProp = Object.defineProperty;
|
|
11
10
|
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|