@ciwergrp/nuxid 1.5.10 → 1.5.13

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ciwergrp/nuxid",
3
3
  "configKey": "nuxid",
4
- "version": "1.5.10",
4
+ "version": "1.5.13",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -585,7 +585,7 @@ const module$1 = defineNuxtModule({
585
585
  moduleDependencies() {
586
586
  const dependencies = {
587
587
  "@sentry/nuxt": {
588
- version: "10.33.0"
588
+ version: "10.36.0"
589
589
  }
590
590
  };
591
591
  return dependencies;
@@ -9,7 +9,7 @@ export type { NumberHelper } from './number/index.js';
9
9
  export { abbreviate, forHumans, clamp, currency, fileSize, format, ordinal, pairs, parse, parseFloatNumber, parseIntNumber, percentage, spell, spellOrdinal, trim, } from './number/index.js';
10
10
  export { string } from './string/index.js';
11
11
  export type { StringHelper } from './string/index.js';
12
- export { after, afterLast, ascii, before, beforeLast, between, betweenFirst, camel, contains, containsAll, endsWith, finish, kebab, lcfirst, length, lower, padBoth, padLeft, padRight, plural, pluralStudly, remove, replace, replaceFirst, replaceLast, rtrim, singular, slug, snake, start, startsWith, studly, title, transliterate, ucfirst, upper, wordCount, words, } from './string/index.js';
12
+ export { after, afterLast, ascii, before, beforeLast, between, betweenFirst, camel, contains, containsAll, endsWith, finish, kebab, lcfirst, length, lower, padBoth, padLeft, padRight, remove, replace, replaceFirst, replaceLast, rtrim, slug, snake, start, startsWith, studly, title, transliterate, ucfirst, upper, wordCount, words, } from './string/index.js';
13
13
  export { defaultLocale, useLocale, withLocale, defaultCurrency, useCurrency, withCurrency, } from './state.js';
14
14
  export { dt } from './date/index.js';
15
15
  export type { DateHelper, DateInput, DateFormatPreset } from './date/index.js';
@@ -73,14 +73,11 @@ export {
73
73
  padBoth,
74
74
  padLeft,
75
75
  padRight,
76
- plural,
77
- pluralStudly,
78
76
  remove,
79
77
  replace,
80
78
  replaceFirst,
81
79
  replaceLast,
82
80
  rtrim,
83
- singular,
84
81
  slug,
85
82
  snake,
86
83
  start,
@@ -4,7 +4,6 @@ import { camel, kebab, lcfirst, lower, snake, studly, title, ucfirst, upper } fr
4
4
  import { contains, containsAll, endsWith, startsWith } from './match.js';
5
5
  import { defaultLocale, useLocale, withLocale } from './locale.js';
6
6
  import { padBoth, padLeft, padRight } from './pad.js';
7
- import { plural, pluralStudly, singular } from './plural.js';
8
7
  import { remove, replace, replaceFirst, replaceLast } from './replace.js';
9
8
  import { slug } from './slug.js';
10
9
  import { ascii, transliterate } from './transliterate.js';
@@ -31,14 +30,11 @@ export interface StringHelper {
31
30
  padBoth: typeof padBoth;
32
31
  padLeft: typeof padLeft;
33
32
  padRight: typeof padRight;
34
- plural: typeof plural;
35
- pluralStudly: typeof pluralStudly;
36
33
  remove: typeof remove;
37
34
  replace: typeof replace;
38
35
  replaceFirst: typeof replaceFirst;
39
36
  replaceLast: typeof replaceLast;
40
37
  rtrim: typeof rtrim;
41
- singular: typeof singular;
42
38
  slug: typeof slug;
43
39
  snake: typeof snake;
44
40
  start: typeof start;
@@ -54,4 +50,4 @@ export interface StringHelper {
54
50
  withLocale: typeof withLocale;
55
51
  }
56
52
  export declare function string(): StringHelper;
57
- export { after, afterLast, ascii, before, beforeLast, between, betweenFirst, defaultLocale, camel, contains, containsAll, endsWith, finish, kebab, lcfirst, length, lower, padBoth, padLeft, padRight, plural, pluralStudly, remove, replace, replaceFirst, replaceLast, rtrim, singular, slug, snake, start, startsWith, studly, title, transliterate, ucfirst, upper, wordCount, words, useLocale, withLocale, };
53
+ export { after, afterLast, ascii, before, beforeLast, between, betweenFirst, defaultLocale, camel, contains, containsAll, endsWith, finish, kebab, lcfirst, length, lower, padBoth, padLeft, padRight, remove, replace, replaceFirst, replaceLast, rtrim, slug, snake, start, startsWith, studly, title, transliterate, ucfirst, upper, wordCount, words, useLocale, withLocale, };
@@ -4,7 +4,6 @@ import { camel, kebab, lcfirst, lower, snake, studly, title, ucfirst, upper } fr
4
4
  import { contains, containsAll, endsWith, startsWith } from "./match.js";
5
5
  import { defaultLocale, useLocale, withLocale } from "./locale.js";
6
6
  import { padBoth, padLeft, padRight } from "./pad.js";
7
- import { plural, pluralStudly, singular } from "./plural.js";
8
7
  import { remove, replace, replaceFirst, replaceLast } from "./replace.js";
9
8
  import { slug } from "./slug.js";
10
9
  import { ascii, transliterate } from "./transliterate.js";
@@ -32,14 +31,11 @@ export function string() {
32
31
  padBoth,
33
32
  padLeft,
34
33
  padRight,
35
- plural,
36
- pluralStudly,
37
34
  remove,
38
35
  replace,
39
36
  replaceFirst,
40
37
  replaceLast,
41
38
  rtrim,
42
- singular,
43
39
  slug,
44
40
  snake,
45
41
  start,
@@ -76,14 +72,11 @@ export {
76
72
  padBoth,
77
73
  padLeft,
78
74
  padRight,
79
- plural,
80
- pluralStudly,
81
75
  remove,
82
76
  replace,
83
77
  replaceFirst,
84
78
  replaceLast,
85
79
  rtrim,
86
- singular,
87
80
  slug,
88
81
  snake,
89
82
  start,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ciwergrp/nuxid",
3
- "version": "1.5.10",
3
+ "version": "1.5.13",
4
4
  "description": "All-in-one essential modules for Nuxt",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,20 +46,19 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@element-plus/nuxt": "1.1.4",
49
- "@formatjs/intl": "4.0.9",
49
+ "@formatjs/intl": "4.1.1",
50
50
  "@inquirer/prompts": "8.2.0",
51
- "@nuxt/icon": "2.2.0",
52
- "@nuxt/kit": "4.2.2",
53
- "@sentry/nuxt": "10.33.0",
51
+ "@nuxt/icon": "2.2.1",
52
+ "@nuxt/kit": "4.3.0",
53
+ "@sentry/nuxt": "10.36.0",
54
54
  "@sindresorhus/slugify": "3.0.0",
55
55
  "@sindresorhus/transliterate": "2.3.1",
56
56
  "@vueuse/nuxt": "14.1.0",
57
- "date-fns": "^4.1.0",
57
+ "date-fns": "4.1.0",
58
58
  "element-plus": "2.13.1",
59
59
  "hls.js": "1.6.15",
60
- "lodash-es": "4.17.22",
60
+ "lodash-es": "4.17.23",
61
61
  "pinia": "3.0.4",
62
- "pluralize": "8.0.0",
63
62
  "socket.io-client": "4.8.3"
64
63
  },
65
64
  "devDependencies": {
@@ -70,7 +69,6 @@
70
69
  "@nuxt/test-utils": "^3.23.0",
71
70
  "@types/lodash-es": "^4.17.12",
72
71
  "@types/node": "^22",
73
- "@types/pluralize": "^0.0.33",
74
72
  "eslint": "^9.39.2",
75
73
  "nuxt": "^4.2.1",
76
74
  "typescript": "^5.9.3",
@@ -1,3 +0,0 @@
1
- export declare function plural(value: string, count?: number): string;
2
- export declare function singular(value: string): string;
3
- export declare function pluralStudly(value: string, count?: number): string;
@@ -1,16 +0,0 @@
1
- import { plural as pluralFn, singular as singularFn } from "pluralize";
2
- import { studly } from "./case.js";
3
- export function plural(value, count) {
4
- if (typeof count === "number") {
5
- return pluralFn(value);
6
- }
7
- return pluralFn(value);
8
- }
9
- export function singular(value) {
10
- return singularFn(value);
11
- }
12
- export function pluralStudly(value, count) {
13
- const studlyValue = studly(value);
14
- const inflected = plural(studlyValue, count);
15
- return count === 1 ? studlyValue : inflected;
16
- }