@fangzhongya/utils 0.0.25 → 0.0.27

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.
Files changed (52) hide show
  1. package/dist/basic/array/index.cjs +4 -4
  2. package/dist/basic/array/index.js +4 -4
  3. package/dist/basic/index.cjs +10 -10
  4. package/dist/basic/index.d.cts +1 -1
  5. package/dist/basic/index.d.ts +1 -1
  6. package/dist/basic/index.js +9 -9
  7. package/dist/basic/object/index.cjs +7 -7
  8. package/dist/basic/object/index.js +7 -7
  9. package/dist/basic/string/getImports.cjs +4 -2
  10. package/dist/basic/string/getImports.d.cts +3 -2
  11. package/dist/basic/string/getImports.d.ts +3 -2
  12. package/dist/basic/string/getImports.js +5 -3
  13. package/dist/basic/string/index.cjs +10 -8
  14. package/dist/basic/string/index.d.cts +1 -1
  15. package/dist/basic/string/index.d.ts +1 -1
  16. package/dist/basic/string/index.js +10 -8
  17. package/dist/chunk-3GVTDRAE.cjs +40 -0
  18. package/dist/chunk-DILPRD5C.js +40 -0
  19. package/dist/chunk-GHJWTV6H.js +41 -0
  20. package/dist/chunk-HMAAC5QA.cjs +41 -0
  21. package/dist/{chunk-T4SE6BE6.cjs → chunk-JZQA6OH4.cjs} +7 -3
  22. package/dist/chunk-PPMTNMKL.cjs +24 -0
  23. package/dist/{chunk-NESEMFYX.cjs → chunk-R73OUZSW.cjs} +9 -7
  24. package/dist/{chunk-TAWTCLBM.js → chunk-TQGXHFVK.js} +7 -3
  25. package/dist/{chunk-SWFEVYEZ.js → chunk-W2AZSVCH.js} +3 -3
  26. package/dist/{chunk-72A77L7G.js → chunk-YE2JQIXS.js} +9 -7
  27. package/dist/{index-C__Goqn1.d.cts → index--yFTfMpc.d.cts} +3 -1
  28. package/dist/{index-DvPj5P4h.d.cts → index-5Gw-pdd1.d.cts} +3 -2
  29. package/dist/{index-IJlghj8j.d.ts → index-CLnASTZ5.d.ts} +3 -1
  30. package/dist/{index-PlRqbYIG.d.ts → index-CVrzXZU0.d.ts} +3 -2
  31. package/dist/{index-C8zJOTOc.d.cts → index-ClzD7A8u.d.cts} +1 -1
  32. package/dist/{index-awyDHevH.d.ts → index-VbgOqtuF.d.ts} +1 -1
  33. package/dist/index.cjs +17 -16
  34. package/dist/index.d.cts +4 -3
  35. package/dist/index.d.ts +4 -3
  36. package/dist/index.js +16 -15
  37. package/dist/urls/getReplaceUrls.cjs +11 -0
  38. package/dist/urls/getReplaceUrls.d.cts +9 -0
  39. package/dist/urls/getReplaceUrls.d.ts +9 -0
  40. package/dist/urls/getReplaceUrls.js +11 -0
  41. package/dist/urls/index.cjs +9 -5
  42. package/dist/urls/index.d.cts +1 -0
  43. package/dist/urls/index.d.ts +1 -0
  44. package/dist/urls/index.js +8 -4
  45. package/package.json +11 -1
  46. package/dist/chunk-GT3LK2TS.cjs +0 -24
  47. package/dist/chunk-I4VBDCIM.js +0 -22
  48. package/dist/chunk-XTEDEB5P.cjs +0 -22
  49. package/dist/{chunk-EGM54DV6.js → chunk-3MPKAL6Z.js} +3 -3
  50. package/dist/{chunk-S5SLR7IL.cjs → chunk-4K5L3QJW.cjs} +3 -3
  51. package/dist/{chunk-5AAUEW6L.js → chunk-MECBPLFH.js} +6 -6
  52. package/dist/{chunk-6N2DOMCK.cjs → chunk-UKUXUB64.cjs} +6 -6
@@ -1,3 +1,6 @@
1
+ import {
2
+ getUrlCatalogueLast
3
+ } from "./chunk-BDJORZRC.js";
1
4
  import {
2
5
  getImportUrlSuffix
3
6
  } from "./chunk-XBZX5YZW.js";
@@ -16,15 +19,15 @@ import {
16
19
  import {
17
20
  getReplaceUrl
18
21
  } from "./chunk-SE7A43WC.js";
22
+ import {
23
+ getReplaceUrls
24
+ } from "./chunk-GHJWTV6H.js";
19
25
  import {
20
26
  getSuffix
21
27
  } from "./chunk-UOADEBDH.js";
22
28
  import {
23
29
  getUrlCatalogue
24
30
  } from "./chunk-YWL2IWBT.js";
25
- import {
26
- getUrlCatalogueLast
27
- } from "./chunk-BDJORZRC.js";
28
31
  import {
29
32
  getImportUrl
30
33
  } from "./chunk-AWC672JW.js";
@@ -41,6 +44,7 @@ __export(urls_exports, {
41
44
  getReplaceCompleteUrl: () => getReplaceCompleteUrl,
42
45
  getReplaceImportUrl: () => getReplaceImportUrl,
43
46
  getReplaceUrl: () => getReplaceUrl,
47
+ getReplaceUrls: () => getReplaceUrls,
44
48
  getSuffix: () => getSuffix,
45
49
  getUrlCatalogue: () => getUrlCatalogue,
46
50
  getUrlCatalogueLast: () => getUrlCatalogueLast,
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  string_exports
3
- } from "./chunk-72A77L7G.js";
3
+ } from "./chunk-YE2JQIXS.js";
4
4
  import {
5
5
  object_exports
6
- } from "./chunk-5AAUEW6L.js";
6
+ } from "./chunk-MECBPLFH.js";
7
7
  import {
8
8
  array_exports
9
- } from "./chunk-EGM54DV6.js";
9
+ } from "./chunk-3MPKAL6Z.js";
10
10
  import {
11
11
  __export
12
12
  } from "./chunk-MLKGABMK.js";
@@ -1,26 +1,27 @@
1
+ import {
2
+ toJSONParse,
3
+ toJSONStringify
4
+ } from "./chunk-U3PZBQ6G.js";
1
5
  import {
2
6
  serializeCodeBlock,
3
7
  serializeFunctionRef,
4
8
  toJSONSParse,
5
9
  toJSONSStringify
6
10
  } from "./chunk-5HC662VK.js";
11
+ import {
12
+ getImports,
13
+ getImportss
14
+ } from "./chunk-DILPRD5C.js";
7
15
  import {
8
16
  getStartSame
9
17
  } from "./chunk-7DTHADVK.js";
10
18
  import {
11
19
  splitUpper
12
20
  } from "./chunk-VKE5JARB.js";
13
- import {
14
- toJSONParse,
15
- toJSONStringify
16
- } from "./chunk-U3PZBQ6G.js";
17
21
  import {
18
22
  getFunctionFormat,
19
23
  toFunction
20
24
  } from "./chunk-7O4MJOHM.js";
21
- import {
22
- getImports
23
- } from "./chunk-I4VBDCIM.js";
24
25
  import {
25
26
  deComment
26
27
  } from "./chunk-FS4JPT23.js";
@@ -59,6 +60,7 @@ __export(string_exports, {
59
60
  firstUpper: () => firstUpper,
60
61
  getFunctionFormat: () => getFunctionFormat,
61
62
  getImports: () => getImports,
63
+ getImportss: () => getImportss,
62
64
  getStartSame: () => getStartSame,
63
65
  getStartSames: () => getStartSames,
64
66
  getStrNunPosit: () => getStrNunPosit,
@@ -4,6 +4,7 @@ import { getNewFileName } from './urls/getNewFileName.cjs';
4
4
  import { getReplaceCompleteUrl } from './urls/getReplaceCompleteUrl.cjs';
5
5
  import { getReplaceImportUrl } from './urls/getReplaceImportUrl.cjs';
6
6
  import { getReplaceUrl } from './urls/getReplaceUrl.cjs';
7
+ import { getReplaceUrls } from './urls/getReplaceUrls.cjs';
7
8
  import { getSuffix } from './urls/getSuffix.cjs';
8
9
  import { getUrlCatalogue } from './urls/getUrlCatalogue.cjs';
9
10
  import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.cjs';
@@ -16,12 +17,13 @@ declare const index_getNewFileName: typeof getNewFileName;
16
17
  declare const index_getReplaceCompleteUrl: typeof getReplaceCompleteUrl;
17
18
  declare const index_getReplaceImportUrl: typeof getReplaceImportUrl;
18
19
  declare const index_getReplaceUrl: typeof getReplaceUrl;
20
+ declare const index_getReplaceUrls: typeof getReplaceUrls;
19
21
  declare const index_getSuffix: typeof getSuffix;
20
22
  declare const index_getUrlCatalogue: typeof getUrlCatalogue;
21
23
  declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
22
24
  declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
23
25
  declare namespace index {
24
- export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj };
26
+ export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getReplaceUrls as getReplaceUrls, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj };
25
27
  }
26
28
 
27
29
  export { index as i };
@@ -3,7 +3,7 @@ import { appearNumSeat } from './basic/string/appearNumSeat.cjs';
3
3
  import { deComment } from './basic/string/deComment.cjs';
4
4
  import { firstLower } from './basic/string/firstLower.cjs';
5
5
  import { firstUpper } from './basic/string/firstUpper.cjs';
6
- import { getImports } from './basic/string/getImports.cjs';
6
+ import { getImports, getImportss } from './basic/string/getImports.cjs';
7
7
  import { getStartSame } from './basic/string/getStartSame.cjs';
8
8
  import { getStartSames } from './basic/string/getStartSames.cjs';
9
9
  import { getStrNunPosit } from './basic/string/getStrNunPosit.cjs';
@@ -21,6 +21,7 @@ declare const index_firstLower: typeof firstLower;
21
21
  declare const index_firstUpper: typeof firstUpper;
22
22
  declare const index_getFunctionFormat: typeof getFunctionFormat;
23
23
  declare const index_getImports: typeof getImports;
24
+ declare const index_getImportss: typeof getImportss;
24
25
  declare const index_getStartSame: typeof getStartSame;
25
26
  declare const index_getStartSames: typeof getStartSames;
26
27
  declare const index_getStrNunPosit: typeof getStrNunPosit;
@@ -34,7 +35,7 @@ declare const index_toJSONSParse: typeof toJSONSParse;
34
35
  declare const index_toJSONSStringify: typeof toJSONSStringify;
35
36
  declare const index_toJSONStringify: typeof toJSONStringify;
36
37
  declare namespace index {
37
- export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify };
38
+ export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getImportss as getImportss, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify };
38
39
  }
39
40
 
40
41
  export { index as i };
@@ -4,6 +4,7 @@ import { getNewFileName } from './urls/getNewFileName.js';
4
4
  import { getReplaceCompleteUrl } from './urls/getReplaceCompleteUrl.js';
5
5
  import { getReplaceImportUrl } from './urls/getReplaceImportUrl.js';
6
6
  import { getReplaceUrl } from './urls/getReplaceUrl.js';
7
+ import { getReplaceUrls } from './urls/getReplaceUrls.js';
7
8
  import { getSuffix } from './urls/getSuffix.js';
8
9
  import { getUrlCatalogue } from './urls/getUrlCatalogue.js';
9
10
  import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
@@ -16,12 +17,13 @@ declare const index_getNewFileName: typeof getNewFileName;
16
17
  declare const index_getReplaceCompleteUrl: typeof getReplaceCompleteUrl;
17
18
  declare const index_getReplaceImportUrl: typeof getReplaceImportUrl;
18
19
  declare const index_getReplaceUrl: typeof getReplaceUrl;
20
+ declare const index_getReplaceUrls: typeof getReplaceUrls;
19
21
  declare const index_getSuffix: typeof getSuffix;
20
22
  declare const index_getUrlCatalogue: typeof getUrlCatalogue;
21
23
  declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
22
24
  declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
23
25
  declare namespace index {
24
- export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj };
26
+ export { index_UrlCatalogue as UrlCatalogue, index_getImportUrl as getImportUrl, index_getImportUrlSuffix as getImportUrlSuffix, index_getNewFileName as getNewFileName, index_getReplaceCompleteUrl as getReplaceCompleteUrl, index_getReplaceImportUrl as getReplaceImportUrl, index_getReplaceUrl as getReplaceUrl, index_getReplaceUrls as getReplaceUrls, index_getSuffix as getSuffix, index_getUrlCatalogue as getUrlCatalogue, index_getUrlCatalogueLast as getUrlCatalogueLast, index_getUrlCatalogueObj as getUrlCatalogueObj };
25
27
  }
26
28
 
27
29
  export { index as i };
@@ -3,7 +3,7 @@ import { appearNumSeat } from './basic/string/appearNumSeat.js';
3
3
  import { deComment } from './basic/string/deComment.js';
4
4
  import { firstLower } from './basic/string/firstLower.js';
5
5
  import { firstUpper } from './basic/string/firstUpper.js';
6
- import { getImports } from './basic/string/getImports.js';
6
+ import { getImports, getImportss } from './basic/string/getImports.js';
7
7
  import { getStartSame } from './basic/string/getStartSame.js';
8
8
  import { getStartSames } from './basic/string/getStartSames.js';
9
9
  import { getStrNunPosit } from './basic/string/getStrNunPosit.js';
@@ -21,6 +21,7 @@ declare const index_firstLower: typeof firstLower;
21
21
  declare const index_firstUpper: typeof firstUpper;
22
22
  declare const index_getFunctionFormat: typeof getFunctionFormat;
23
23
  declare const index_getImports: typeof getImports;
24
+ declare const index_getImportss: typeof getImportss;
24
25
  declare const index_getStartSame: typeof getStartSame;
25
26
  declare const index_getStartSames: typeof getStartSames;
26
27
  declare const index_getStrNunPosit: typeof getStrNunPosit;
@@ -34,7 +35,7 @@ declare const index_toJSONSParse: typeof toJSONSParse;
34
35
  declare const index_toJSONSStringify: typeof toJSONSStringify;
35
36
  declare const index_toJSONStringify: typeof toJSONStringify;
36
37
  declare namespace index {
37
- export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify };
38
+ export { index_CodeBlock as CodeBlock, index_appearNum as appearNum, index_appearNumSeat as appearNumSeat, index_deComment as deComment, index_firstLower as firstLower, index_firstUpper as firstUpper, index_getFunctionFormat as getFunctionFormat, index_getImports as getImports, index_getImportss as getImportss, index_getStartSame as getStartSame, index_getStartSames as getStartSames, index_getStrNunPosit as getStrNunPosit, index_serializeCodeBlock as serializeCodeBlock, index_serializeFunctionRef as serializeFunctionRef, index_splitUpper as splitUpper, index_startsNum as startsNum, index_toFunction as toFunction, index_toJSONParse as toJSONParse, index_toJSONSParse as toJSONSParse, index_toJSONSStringify as toJSONSStringify, index_toJSONStringify as toJSONStringify };
38
39
  }
39
40
 
40
41
  export { index as i };
@@ -1,6 +1,6 @@
1
1
  import { i as index$1 } from './index-qUiGxoy_.cjs';
2
2
  import { i as index$2 } from './index-BU0xla6v.cjs';
3
- import { i as index$3 } from './index-DvPj5P4h.cjs';
3
+ import { i as index$3 } from './index-5Gw-pdd1.cjs';
4
4
 
5
5
  declare namespace index {
6
6
  export { index$1 as array, index$2 as object, index$3 as string };
@@ -1,6 +1,6 @@
1
1
  import { i as index$1 } from './index-C29DFVeC.js';
2
2
  import { i as index$2 } from './index-DOq59RNr.js';
3
- import { i as index$3 } from './index-PlRqbYIG.js';
3
+ import { i as index$3 } from './index-CVrzXZU0.js';
4
4
 
5
5
  declare namespace index {
6
6
  export { index$1 as array, index$2 as object, index$3 as string };
package/dist/index.cjs CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkT4SE6BE6cjs = require('./chunk-T4SE6BE6.cjs');
3
+ var _chunkJZQA6OH4cjs = require('./chunk-JZQA6OH4.cjs');
4
+ require('./chunk-3ERQHPTD.cjs');
4
5
 
5
6
 
6
7
  var _chunkVCQOLLVKcjs = require('./chunk-VCQOLLVK.cjs');
@@ -12,18 +13,18 @@ require('./chunk-NESVPZNF.cjs');
12
13
  require('./chunk-77SI5VSS.cjs');
13
14
  require('./chunk-RFUD3TOQ.cjs');
14
15
  require('./chunk-3DD7YCN2.cjs');
16
+ require('./chunk-HMAAC5QA.cjs');
15
17
  require('./chunk-6A6EAFGL.cjs');
16
18
  require('./chunk-CP2ZSRMU.cjs');
17
- require('./chunk-3ERQHPTD.cjs');
18
-
19
-
20
- var _chunkV6PYRA4Acjs = require('./chunk-V6PYRA4A.cjs');
21
- require('./chunk-FGQXKLTH.cjs');
22
19
 
23
20
 
24
21
  var _chunkPV2N6PF2cjs = require('./chunk-PV2N6PF2.cjs');
25
22
  require('./chunk-YAD5PHVF.cjs');
26
23
  require('./chunk-RYBJGHXK.cjs');
24
+
25
+
26
+ var _chunkV6PYRA4Acjs = require('./chunk-V6PYRA4A.cjs');
27
+ require('./chunk-FGQXKLTH.cjs');
27
28
  require('./chunk-IRKWYW5B.cjs');
28
29
 
29
30
 
@@ -79,32 +80,32 @@ var _chunkFVQTU3A7cjs = require('./chunk-FVQTU3A7.cjs');
79
80
  require('./chunk-QDQ6QSZM.cjs');
80
81
 
81
82
 
82
- var _chunkGT3LK2TScjs = require('./chunk-GT3LK2TS.cjs');
83
- require('./chunk-NESEMFYX.cjs');
83
+ var _chunkPPMTNMKLcjs = require('./chunk-PPMTNMKL.cjs');
84
+ require('./chunk-R73OUZSW.cjs');
85
+ require('./chunk-JHV27P2Q.cjs');
84
86
  require('./chunk-ETMYYVQJ.cjs');
87
+ require('./chunk-3GVTDRAE.cjs');
85
88
  require('./chunk-J7S3KBHL.cjs');
86
89
  require('./chunk-L7FSHU27.cjs');
87
- require('./chunk-JHV27P2Q.cjs');
88
90
  require('./chunk-QXK4IUBI.cjs');
89
- require('./chunk-XTEDEB5P.cjs');
90
91
  require('./chunk-XWCRGY54.cjs');
91
- require('./chunk-6N2DOMCK.cjs');
92
+ require('./chunk-UKUXUB64.cjs');
93
+ require('./chunk-SLXKYTEU.cjs');
92
94
  require('./chunk-IIKQHLKT.cjs');
93
95
  require('./chunk-3VYRYSWK.cjs');
96
+ require('./chunk-D3SX7OUV.cjs');
94
97
  require('./chunk-7AIT4XSD.cjs');
95
98
  require('./chunk-GOUC2DFA.cjs');
96
99
  require('./chunk-NRJPCN4J.cjs');
97
100
  require('./chunk-E4WBX6J5.cjs');
98
- require('./chunk-SLXKYTEU.cjs');
99
- require('./chunk-S5SLR7IL.cjs');
101
+ require('./chunk-4K5L3QJW.cjs');
102
+ require('./chunk-GD3OA7GU.cjs');
100
103
  require('./chunk-MHHMXDHD.cjs');
101
104
  require('./chunk-SOAKYJIG.cjs');
102
105
  require('./chunk-UFYLVZNU.cjs');
103
106
  require('./chunk-CDQONLGU.cjs');
104
- require('./chunk-D3SX7OUV.cjs');
105
107
  require('./chunk-TCMJPIRM.cjs');
106
108
  require('./chunk-XSQOJWXL.cjs');
107
- require('./chunk-GD3OA7GU.cjs');
108
109
  require('./chunk-2H3KVSFA.cjs');
109
110
  require('./chunk-ILJLXJ5O.cjs');
110
111
  require('./chunk-OJBZ7UUC.cjs');
@@ -138,4 +139,4 @@ require('./chunk-75ZPJI57.cjs');
138
139
 
139
140
 
140
141
 
141
- exports.basic = _chunkGT3LK2TScjs.basic_exports; exports.css = _chunkXDTLZL44cjs.css_exports; exports.date = _chunkFVQTU3A7cjs.date_exports; exports.dom = _chunkKNTGZRPDcjs.dom_exports; exports.html = _chunkQN6KZWKMcjs.html_exports; exports.iss = _chunkIJDVZOVJcjs.iss_exports; exports.judge = _chunkUHKL2RG3cjs.judge_exports; exports.load = _chunkXXS5G6S6cjs.load_exports; exports.log = _chunkHUKQYAV6cjs.log_exports; exports.name = _chunkBG2YS767cjs.name_exports; exports.node = _chunkV6PYRA4Acjs.node_exports; exports.tree = _chunkPV2N6PF2cjs.tree_exports; exports.urls = _chunkT4SE6BE6cjs.urls_exports; exports.window = _chunkVCQOLLVKcjs.window_exports;
142
+ exports.basic = _chunkPPMTNMKLcjs.basic_exports; exports.css = _chunkXDTLZL44cjs.css_exports; exports.date = _chunkFVQTU3A7cjs.date_exports; exports.dom = _chunkKNTGZRPDcjs.dom_exports; exports.html = _chunkQN6KZWKMcjs.html_exports; exports.iss = _chunkIJDVZOVJcjs.iss_exports; exports.judge = _chunkUHKL2RG3cjs.judge_exports; exports.load = _chunkXXS5G6S6cjs.load_exports; exports.log = _chunkHUKQYAV6cjs.log_exports; exports.name = _chunkBG2YS767cjs.name_exports; exports.node = _chunkV6PYRA4Acjs.node_exports; exports.tree = _chunkPV2N6PF2cjs.tree_exports; exports.urls = _chunkJZQA6OH4cjs.urls_exports; exports.window = _chunkVCQOLLVKcjs.window_exports;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { i as basic } from './index-C8zJOTOc.cjs';
1
+ export { i as basic } from './index-ClzD7A8u.cjs';
2
2
  export { i as css } from './index-C0q7yBX5.cjs';
3
3
  export { i as date } from './index-CsYVH5m1.cjs';
4
4
  export { i as dom } from './index-BiHaQlE9.cjs';
@@ -10,7 +10,7 @@ export { i as log } from './index-D1xTdh0f.cjs';
10
10
  export { i as name } from './index-BbrWO_KD.cjs';
11
11
  export { i as node } from './index-CK2c-6vv.cjs';
12
12
  export { i as tree } from './index-cuR7l2XV.cjs';
13
- export { i as urls } from './index-C__Goqn1.cjs';
13
+ export { i as urls } from './index--yFTfMpc.cjs';
14
14
  export { i as window } from './index-C1jaHioq.cjs';
15
15
  import './index-qUiGxoy_.cjs';
16
16
  import './basic/array/asyncMergeArray.cjs';
@@ -33,7 +33,7 @@ import './basic/object/objValue.cjs';
33
33
  import './basic/object/reverseObj.cjs';
34
34
  import './basic/object/setSort.cjs';
35
35
  import './basic/object/unmergeObject.cjs';
36
- import './index-DvPj5P4h.cjs';
36
+ import './index-5Gw-pdd1.cjs';
37
37
  import './basic/string/appearNum.cjs';
38
38
  import './basic/string/appearNumSeat.cjs';
39
39
  import './basic/string/deComment.cjs';
@@ -88,6 +88,7 @@ import './urls/getNewFileName.cjs';
88
88
  import './urls/getReplaceCompleteUrl.cjs';
89
89
  import './urls/getReplaceImportUrl.cjs';
90
90
  import './urls/getReplaceUrl.cjs';
91
+ import './urls/getReplaceUrls.cjs';
91
92
  import './urls/getSuffix.cjs';
92
93
  import './urls/getUrlCatalogue.cjs';
93
94
  import './urls/getUrlCatalogueLast.cjs';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { i as basic } from './index-awyDHevH.js';
1
+ export { i as basic } from './index-VbgOqtuF.js';
2
2
  export { i as css } from './index-Bq6WKjlK.js';
3
3
  export { i as date } from './index-C1rfQdS-.js';
4
4
  export { i as dom } from './index-BqhKBGyX.js';
@@ -10,7 +10,7 @@ export { i as log } from './index-Cqj4dm5n.js';
10
10
  export { i as name } from './index-CS54GrWo.js';
11
11
  export { i as node } from './index-BocAlCa8.js';
12
12
  export { i as tree } from './index-CPO1AFVg.js';
13
- export { i as urls } from './index-IJlghj8j.js';
13
+ export { i as urls } from './index-CLnASTZ5.js';
14
14
  export { i as window } from './index-Q-ggiBiZ.js';
15
15
  import './index-C29DFVeC.js';
16
16
  import './basic/array/asyncMergeArray.js';
@@ -33,7 +33,7 @@ import './basic/object/objValue.js';
33
33
  import './basic/object/reverseObj.js';
34
34
  import './basic/object/setSort.js';
35
35
  import './basic/object/unmergeObject.js';
36
- import './index-PlRqbYIG.js';
36
+ import './index-CVrzXZU0.js';
37
37
  import './basic/string/appearNum.js';
38
38
  import './basic/string/appearNumSeat.js';
39
39
  import './basic/string/deComment.js';
@@ -88,6 +88,7 @@ import './urls/getNewFileName.js';
88
88
  import './urls/getReplaceCompleteUrl.js';
89
89
  import './urls/getReplaceImportUrl.js';
90
90
  import './urls/getReplaceUrl.js';
91
+ import './urls/getReplaceUrls.js';
91
92
  import './urls/getSuffix.js';
92
93
  import './urls/getUrlCatalogue.js';
93
94
  import './urls/getUrlCatalogueLast.js';
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  urls_exports
3
- } from "./chunk-TAWTCLBM.js";
3
+ } from "./chunk-TQGXHFVK.js";
4
+ import "./chunk-BDJORZRC.js";
4
5
  import {
5
6
  window_exports
6
7
  } from "./chunk-5M5OM6N6.js";
@@ -12,18 +13,18 @@ import "./chunk-3NBXSBFM.js";
12
13
  import "./chunk-TP5BP64T.js";
13
14
  import "./chunk-ZJHRAMCL.js";
14
15
  import "./chunk-SE7A43WC.js";
16
+ import "./chunk-GHJWTV6H.js";
15
17
  import "./chunk-UOADEBDH.js";
16
18
  import "./chunk-YWL2IWBT.js";
17
- import "./chunk-BDJORZRC.js";
18
- import {
19
- node_exports
20
- } from "./chunk-UZ3LZBJ5.js";
21
- import "./chunk-HWR2FRME.js";
22
19
  import {
23
20
  tree_exports
24
21
  } from "./chunk-OVHYLUAS.js";
25
22
  import "./chunk-GVVJIN46.js";
26
23
  import "./chunk-XQOH3NGZ.js";
24
+ import {
25
+ node_exports
26
+ } from "./chunk-UZ3LZBJ5.js";
27
+ import "./chunk-HWR2FRME.js";
27
28
  import "./chunk-AWC672JW.js";
28
29
  import {
29
30
  load_exports
@@ -79,32 +80,32 @@ import {
79
80
  import "./chunk-6ZPCYCOL.js";
80
81
  import {
81
82
  basic_exports
82
- } from "./chunk-SWFEVYEZ.js";
83
- import "./chunk-72A77L7G.js";
83
+ } from "./chunk-W2AZSVCH.js";
84
+ import "./chunk-YE2JQIXS.js";
85
+ import "./chunk-U3PZBQ6G.js";
84
86
  import "./chunk-5HC662VK.js";
87
+ import "./chunk-DILPRD5C.js";
85
88
  import "./chunk-7DTHADVK.js";
86
89
  import "./chunk-VKE5JARB.js";
87
- import "./chunk-U3PZBQ6G.js";
88
90
  import "./chunk-7O4MJOHM.js";
89
- import "./chunk-I4VBDCIM.js";
90
91
  import "./chunk-FS4JPT23.js";
91
- import "./chunk-5AAUEW6L.js";
92
+ import "./chunk-MECBPLFH.js";
93
+ import "./chunk-B3IGSYZT.js";
92
94
  import "./chunk-3LWFUVER.js";
93
95
  import "./chunk-A6J46LQK.js";
96
+ import "./chunk-S42NGJ5W.js";
94
97
  import "./chunk-ZEAT23CI.js";
95
98
  import "./chunk-3IR2ABRO.js";
96
99
  import "./chunk-RD4EP3M5.js";
97
100
  import "./chunk-754Z5VW6.js";
98
- import "./chunk-B3IGSYZT.js";
99
- import "./chunk-EGM54DV6.js";
101
+ import "./chunk-3MPKAL6Z.js";
102
+ import "./chunk-ZVBCHJA5.js";
100
103
  import "./chunk-K33LOE73.js";
101
104
  import "./chunk-APKFW4LU.js";
102
105
  import "./chunk-T4BAVDTH.js";
103
106
  import "./chunk-PHKZER72.js";
104
- import "./chunk-S42NGJ5W.js";
105
107
  import "./chunk-Q6FMBSK4.js";
106
108
  import "./chunk-DBSRZCFK.js";
107
- import "./chunk-ZVBCHJA5.js";
108
109
  import "./chunk-USIMBBLW.js";
109
110
  import "./chunk-P7AWHISY.js";
110
111
  import "./chunk-LPMR5W6M.js";
@@ -0,0 +1,11 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkHMAAC5QAcjs = require('../chunk-HMAAC5QA.cjs');
4
+ require('../chunk-ILJLXJ5O.cjs');
5
+ require('../chunk-OJBZ7UUC.cjs');
6
+ require('../chunk-JR6ZN6QD.cjs');
7
+ require('../chunk-PW7RP73J.cjs');
8
+ require('../chunk-75ZPJI57.cjs');
9
+
10
+
11
+ exports.getReplaceUrls = _chunkHMAAC5QAcjs.getReplaceUrls;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * 以当前路径 生成对应的url地址
3
+ * @param {string} url 要生成的地址
4
+ * @param {string} add 生成的目录地址
5
+ * @returns {string} 完整的url地址
6
+ */
7
+ declare function getReplaceUrls(url: string, add: string): string;
8
+
9
+ export { getReplaceUrls };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * 以当前路径 生成对应的url地址
3
+ * @param {string} url 要生成的地址
4
+ * @param {string} add 生成的目录地址
5
+ * @returns {string} 完整的url地址
6
+ */
7
+ declare function getReplaceUrls(url: string, add: string): string;
8
+
9
+ export { getReplaceUrls };
@@ -0,0 +1,11 @@
1
+ import {
2
+ getReplaceUrls
3
+ } from "../chunk-GHJWTV6H.js";
4
+ import "../chunk-P7AWHISY.js";
5
+ import "../chunk-LPMR5W6M.js";
6
+ import "../chunk-DMZP4RPN.js";
7
+ import "../chunk-A276ZDLP.js";
8
+ import "../chunk-MLKGABMK.js";
9
+ export {
10
+ getReplaceUrls
11
+ };
@@ -1,4 +1,7 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-T4SE6BE6.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-JZQA6OH4.cjs');
2
+
3
+
4
+ var _chunk3ERQHPTDcjs = require('../chunk-3ERQHPTD.cjs');
2
5
 
3
6
 
4
7
  var _chunk27WA7EI2cjs = require('../chunk-27WA7EI2.cjs');
@@ -19,13 +22,13 @@ var _chunkRFUD3TOQcjs = require('../chunk-RFUD3TOQ.cjs');
19
22
  var _chunk3DD7YCN2cjs = require('../chunk-3DD7YCN2.cjs');
20
23
 
21
24
 
22
- var _chunk6A6EAFGLcjs = require('../chunk-6A6EAFGL.cjs');
25
+ var _chunkHMAAC5QAcjs = require('../chunk-HMAAC5QA.cjs');
23
26
 
24
27
 
25
- var _chunkCP2ZSRMUcjs = require('../chunk-CP2ZSRMU.cjs');
28
+ var _chunk6A6EAFGLcjs = require('../chunk-6A6EAFGL.cjs');
26
29
 
27
30
 
28
- var _chunk3ERQHPTDcjs = require('../chunk-3ERQHPTD.cjs');
31
+ var _chunkCP2ZSRMUcjs = require('../chunk-CP2ZSRMU.cjs');
29
32
 
30
33
 
31
34
  var _chunkIRKWYW5Bcjs = require('../chunk-IRKWYW5B.cjs');
@@ -46,4 +49,5 @@ require('../chunk-75ZPJI57.cjs');
46
49
 
47
50
 
48
51
 
49
- exports.getImportUrl = _chunkIRKWYW5Bcjs.getImportUrl; exports.getImportUrlSuffix = _chunk27WA7EI2cjs.getImportUrlSuffix; exports.getNewFileName = _chunk43VE3KXLcjs.getNewFileName; exports.getReplaceCompleteUrl = _chunkNESVPZNFcjs.getReplaceCompleteUrl; exports.getReplaceImportUrl = _chunkRFUD3TOQcjs.getReplaceImportUrl; exports.getReplaceUrl = _chunk3DD7YCN2cjs.getReplaceUrl; exports.getSuffix = _chunk6A6EAFGLcjs.getSuffix; exports.getUrlCatalogue = _chunkCP2ZSRMUcjs.getUrlCatalogue; exports.getUrlCatalogueLast = _chunk3ERQHPTDcjs.getUrlCatalogueLast; exports.getUrlCatalogueObj = _chunk77SI5VSScjs.getUrlCatalogueObj;
52
+
53
+ exports.getImportUrl = _chunkIRKWYW5Bcjs.getImportUrl; exports.getImportUrlSuffix = _chunk27WA7EI2cjs.getImportUrlSuffix; exports.getNewFileName = _chunk43VE3KXLcjs.getNewFileName; exports.getReplaceCompleteUrl = _chunkNESVPZNFcjs.getReplaceCompleteUrl; exports.getReplaceImportUrl = _chunkRFUD3TOQcjs.getReplaceImportUrl; exports.getReplaceUrl = _chunk3DD7YCN2cjs.getReplaceUrl; exports.getReplaceUrls = _chunkHMAAC5QAcjs.getReplaceUrls; exports.getSuffix = _chunk6A6EAFGLcjs.getSuffix; exports.getUrlCatalogue = _chunkCP2ZSRMUcjs.getUrlCatalogue; exports.getUrlCatalogueLast = _chunk3ERQHPTDcjs.getUrlCatalogueLast; exports.getUrlCatalogueObj = _chunk77SI5VSScjs.getUrlCatalogueObj;
@@ -4,6 +4,7 @@ export { getNewFileName } from './getNewFileName.cjs';
4
4
  export { getReplaceCompleteUrl } from './getReplaceCompleteUrl.cjs';
5
5
  export { getReplaceImportUrl } from './getReplaceImportUrl.cjs';
6
6
  export { getReplaceUrl } from './getReplaceUrl.cjs';
7
+ export { getReplaceUrls } from './getReplaceUrls.cjs';
7
8
  export { getSuffix } from './getSuffix.cjs';
8
9
  export { getUrlCatalogue } from './getUrlCatalogue.cjs';
9
10
  export { getUrlCatalogueLast } from './getUrlCatalogueLast.cjs';
@@ -4,6 +4,7 @@ export { getNewFileName } from './getNewFileName.js';
4
4
  export { getReplaceCompleteUrl } from './getReplaceCompleteUrl.js';
5
5
  export { getReplaceImportUrl } from './getReplaceImportUrl.js';
6
6
  export { getReplaceUrl } from './getReplaceUrl.js';
7
+ export { getReplaceUrls } from './getReplaceUrls.js';
7
8
  export { getSuffix } from './getSuffix.js';
8
9
  export { getUrlCatalogue } from './getUrlCatalogue.js';
9
10
  export { getUrlCatalogueLast } from './getUrlCatalogueLast.js';
@@ -1,4 +1,7 @@
1
- import "../chunk-TAWTCLBM.js";
1
+ import "../chunk-TQGXHFVK.js";
2
+ import {
3
+ getUrlCatalogueLast
4
+ } from "../chunk-BDJORZRC.js";
2
5
  import {
3
6
  getImportUrlSuffix
4
7
  } from "../chunk-XBZX5YZW.js";
@@ -17,15 +20,15 @@ import {
17
20
  import {
18
21
  getReplaceUrl
19
22
  } from "../chunk-SE7A43WC.js";
23
+ import {
24
+ getReplaceUrls
25
+ } from "../chunk-GHJWTV6H.js";
20
26
  import {
21
27
  getSuffix
22
28
  } from "../chunk-UOADEBDH.js";
23
29
  import {
24
30
  getUrlCatalogue
25
31
  } from "../chunk-YWL2IWBT.js";
26
- import {
27
- getUrlCatalogueLast
28
- } from "../chunk-BDJORZRC.js";
29
32
  import {
30
33
  getImportUrl
31
34
  } from "../chunk-AWC672JW.js";
@@ -42,6 +45,7 @@ export {
42
45
  getReplaceCompleteUrl,
43
46
  getReplaceImportUrl,
44
47
  getReplaceUrl,
48
+ getReplaceUrls,
45
49
  getSuffix,
46
50
  getUrlCatalogue,
47
51
  getUrlCatalogueLast,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fangzhongya/utils",
3
3
  "private": false,
4
4
  "type": "module",
5
- "version": "0.0.25",
5
+ "version": "0.0.27",
6
6
  "description ": "个人工具库",
7
7
  "author": "fangzhongya ",
8
8
  "license": "MIT",
@@ -286,6 +286,11 @@
286
286
  "require": "./dist/css/setObjStyle.cjs",
287
287
  "import": "./dist/css/setObjStyle.js"
288
288
  },
289
+ "./date": {
290
+ "types": "./dist/date/index.d.ts",
291
+ "require": "./dist/date/index.cjs",
292
+ "import": "./dist/date/index.js"
293
+ },
289
294
  "./date/format": {
290
295
  "types": "./dist/date/format.d.ts",
291
296
  "require": "./dist/date/format.cjs",
@@ -481,6 +486,11 @@
481
486
  "require": "./dist/urls/getReplaceUrl.cjs",
482
487
  "import": "./dist/urls/getReplaceUrl.js"
483
488
  },
489
+ "./urls/getReplaceUrls": {
490
+ "types": "./dist/urls/getReplaceUrls.d.ts",
491
+ "require": "./dist/urls/getReplaceUrls.cjs",
492
+ "import": "./dist/urls/getReplaceUrls.js"
493
+ },
484
494
  "./urls/getSuffix": {
485
495
  "types": "./dist/urls/getSuffix.d.ts",
486
496
  "require": "./dist/urls/getSuffix.cjs",
@@ -1,24 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkNESEMFYXcjs = require('./chunk-NESEMFYX.cjs');
4
-
5
-
6
- var _chunk6N2DOMCKcjs = require('./chunk-6N2DOMCK.cjs');
7
-
8
-
9
- var _chunkS5SLR7ILcjs = require('./chunk-S5SLR7IL.cjs');
10
-
11
-
12
- var _chunk75ZPJI57cjs = require('./chunk-75ZPJI57.cjs');
13
-
14
- // packages/basic/index.ts
15
- var basic_exports = {};
16
- _chunk75ZPJI57cjs.__export.call(void 0, basic_exports, {
17
- array: () => _chunkS5SLR7ILcjs.array_exports,
18
- object: () => _chunk6N2DOMCKcjs.object_exports,
19
- string: () => _chunkNESEMFYXcjs.string_exports
20
- });
21
-
22
-
23
-
24
- exports.basic_exports = basic_exports;