@fangzhongya/utils 0.0.7-7 → 0.0.7-8
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/basic/array/index.d.ts +1 -1
- package/dist/basic/index.d.ts +6 -6
- package/dist/basic/object/index.d.ts +1 -1
- package/dist/basic/string/index.d.ts +1 -1
- package/dist/{index-9e5e6ecd.d.ts → index-1809a70e.d.ts} +4 -2
- package/dist/{index-8473d4b5.d.ts → index-3062a21e.d.ts} +1 -1
- package/dist/index-7cb1dacf.d.ts +13 -0
- package/dist/{index-1033f402.d.ts → index-a65f6120.d.ts} +1 -1
- package/dist/{index-ab13c58f.d.ts → index-b61bcc84.d.ts} +1 -1
- package/dist/{index-7563997b.d.ts → index-f8e894a2.d.ts} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.ts +12 -12
- package/dist/index.js +4 -4
- package/dist/name/index.d.ts +1 -1
- package/dist/urls/getUrlCatalogueObj.d.ts +3 -3
- package/dist/urls/index.d.ts +2 -2
- package/package.json +4 -4
- package/dist/index-a726ae9a.d.ts +0 -13
package/dist/basic/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export { i as array } from '../index-
|
|
2
|
-
export { i as object } from '../index-
|
|
3
|
-
export { i as string } from '../index-
|
|
1
|
+
export { i as array } from '../index-b61bcc84.js';
|
|
2
|
+
export { i as object } from '../index-3062a21e.js';
|
|
3
|
+
export { i as string } from '../index-f8e894a2.js';
|
|
4
4
|
import './array/asyncMergeArray.js';
|
|
5
5
|
import './array/duplicateRemoval.js';
|
|
6
|
-
import './array/toggleArray.js';
|
|
7
6
|
import './array/isArray.js';
|
|
8
|
-
import './
|
|
7
|
+
import './array/toggleArray.js';
|
|
9
8
|
import './object/isObject.js';
|
|
9
|
+
import './object/mergeObject.js';
|
|
10
10
|
import './object/unmergeObject.js';
|
|
11
|
-
import './string/appearNumSeat.js';
|
|
12
11
|
import './string/appearNum.js';
|
|
12
|
+
import './string/appearNumSeat.js';
|
|
13
13
|
import './string/firstLower.js';
|
|
14
14
|
import './string/firstUpper.js';
|
|
15
15
|
import './string/getStartSame.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { appearNumSeat } from './appearNumSeat.js';
|
|
2
1
|
export { appearNum } from './appearNum.js';
|
|
2
|
+
export { appearNumSeat } from './appearNumSeat.js';
|
|
3
3
|
export { firstLower } from './firstLower.js';
|
|
4
4
|
export { firstUpper } from './firstUpper.js';
|
|
5
5
|
export { getStartSame } from './getStartSame.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { getImportUrl } from './urls/getImportUrl.js';
|
|
2
2
|
import { getImportUrlSuffix } from './urls/getImportUrlSuffix.js';
|
|
3
3
|
import { getReplaceUrl } from './urls/getReplaceUrl.js';
|
|
4
|
-
import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
|
|
5
4
|
import { getUrlCatalogue } from './urls/getUrlCatalogue.js';
|
|
6
|
-
import {
|
|
5
|
+
import { getUrlCatalogueLast } from './urls/getUrlCatalogueLast.js';
|
|
6
|
+
import { UrlCatalogue, getUrlCatalogueObj } from './urls/getUrlCatalogueObj.js';
|
|
7
7
|
|
|
8
|
+
declare const index_UrlCatalogue: typeof UrlCatalogue;
|
|
8
9
|
declare const index_getImportUrl: typeof getImportUrl;
|
|
9
10
|
declare const index_getImportUrlSuffix: typeof getImportUrlSuffix;
|
|
10
11
|
declare const index_getReplaceUrl: typeof getReplaceUrl;
|
|
@@ -13,6 +14,7 @@ declare const index_getUrlCatalogueLast: typeof getUrlCatalogueLast;
|
|
|
13
14
|
declare const index_getUrlCatalogueObj: typeof getUrlCatalogueObj;
|
|
14
15
|
declare namespace index {
|
|
15
16
|
export {
|
|
17
|
+
index_UrlCatalogue as UrlCatalogue,
|
|
16
18
|
index_getImportUrl as getImportUrl,
|
|
17
19
|
index_getImportUrlSuffix as getImportUrlSuffix,
|
|
18
20
|
index_getReplaceUrl as getReplaceUrl,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { mergeObject } from './basic/object/mergeObject.js';
|
|
2
1
|
import { isObject } from './basic/object/isObject.js';
|
|
2
|
+
import { mergeObject } from './basic/object/mergeObject.js';
|
|
3
3
|
import { unmergeObject } from './basic/object/unmergeObject.js';
|
|
4
4
|
|
|
5
5
|
declare const index_isObject: typeof isObject;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { i as index$1 } from './index-b61bcc84.js';
|
|
2
|
+
import { i as index$2 } from './index-3062a21e.js';
|
|
3
|
+
import { i as index$3 } from './index-f8e894a2.js';
|
|
4
|
+
|
|
5
|
+
declare namespace index {
|
|
6
|
+
export {
|
|
7
|
+
index$1 as array,
|
|
8
|
+
index$2 as object,
|
|
9
|
+
index$3 as string,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { index as i };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { getComponentNames } from './name/getComponentNames.js';
|
|
1
2
|
import { getNames } from './name/getNames.js';
|
|
2
3
|
import { humpToLine } from './name/humpToLine.js';
|
|
3
|
-
import { getComponentNames } from './name/getComponentNames.js';
|
|
4
4
|
import { lineToLargeHump } from './name/lineToLargeHump.js';
|
|
5
5
|
import { lineToSmallHump } from './name/lineToSmallHump.js';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { asyncMergeArray } from './basic/array/asyncMergeArray.js';
|
|
2
2
|
import { duplicateRemoval } from './basic/array/duplicateRemoval.js';
|
|
3
|
-
import { toggleArray } from './basic/array/toggleArray.js';
|
|
4
3
|
import { isArray } from './basic/array/isArray.js';
|
|
4
|
+
import { toggleArray } from './basic/array/toggleArray.js';
|
|
5
5
|
|
|
6
6
|
declare const index_asyncMergeArray: typeof asyncMergeArray;
|
|
7
7
|
declare const index_duplicateRemoval: typeof duplicateRemoval;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { appearNumSeat } from './basic/string/appearNumSeat.js';
|
|
2
1
|
import { appearNum } from './basic/string/appearNum.js';
|
|
2
|
+
import { appearNumSeat } from './basic/string/appearNumSeat.js';
|
|
3
3
|
import { firstLower } from './basic/string/firstLower.js';
|
|
4
4
|
import { firstUpper } from './basic/string/firstUpper.js';
|
|
5
5
|
import { getStartSame } from './basic/string/getStartSame.js';
|
package/dist/index.cjs
CHANGED
|
@@ -9,10 +9,6 @@ require('./chunk-3ERQHPTD.cjs');
|
|
|
9
9
|
require('./chunk-P3YVE7JK.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var _chunkJ7SPTSZMcjs = require('./chunk-J7SPTSZM.cjs');
|
|
13
|
-
require('./chunk-5VQ4EAJZ.cjs');
|
|
14
|
-
|
|
15
|
-
|
|
16
12
|
var _chunkJLEIVV37cjs = require('./chunk-JLEIVV37.cjs');
|
|
17
13
|
require('./chunk-PAJDTMC5.cjs');
|
|
18
14
|
require('./chunk-5UV36ZIW.cjs');
|
|
@@ -21,6 +17,10 @@ require('./chunk-XHR36FJK.cjs');
|
|
|
21
17
|
require('./chunk-WI55O3IV.cjs');
|
|
22
18
|
|
|
23
19
|
|
|
20
|
+
var _chunkJ7SPTSZMcjs = require('./chunk-J7SPTSZM.cjs');
|
|
21
|
+
require('./chunk-5VQ4EAJZ.cjs');
|
|
22
|
+
|
|
23
|
+
|
|
24
24
|
var _chunk4ALAS6RCcjs = require('./chunk-4ALAS6RC.cjs');
|
|
25
25
|
require('./chunk-ASN2EUM7.cjs');
|
|
26
26
|
require('./chunk-J7S3KBHL.cjs');
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { i as basic } from './index-
|
|
2
|
-
export { i as iss } from './index-24872dab.js';
|
|
1
|
+
export { i as basic } from './index-7cb1dacf.js';
|
|
3
2
|
export { i as judge } from './index-445fe401.js';
|
|
4
3
|
export { i as log } from './index-ef15848a.js';
|
|
5
|
-
export { i as
|
|
6
|
-
export { i as
|
|
7
|
-
|
|
4
|
+
export { i as iss } from './index-24872dab.js';
|
|
5
|
+
export { i as name } from './index-a65f6120.js';
|
|
6
|
+
export { i as urls } from './index-1809a70e.js';
|
|
7
|
+
import './index-b61bcc84.js';
|
|
8
8
|
import './basic/array/asyncMergeArray.js';
|
|
9
9
|
import './basic/array/duplicateRemoval.js';
|
|
10
|
-
import './basic/array/toggleArray.js';
|
|
11
10
|
import './basic/array/isArray.js';
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
11
|
+
import './basic/array/toggleArray.js';
|
|
12
|
+
import './index-3062a21e.js';
|
|
14
13
|
import './basic/object/isObject.js';
|
|
14
|
+
import './basic/object/mergeObject.js';
|
|
15
15
|
import './basic/object/unmergeObject.js';
|
|
16
|
-
import './index-
|
|
17
|
-
import './basic/string/appearNumSeat.js';
|
|
16
|
+
import './index-f8e894a2.js';
|
|
18
17
|
import './basic/string/appearNum.js';
|
|
18
|
+
import './basic/string/appearNumSeat.js';
|
|
19
19
|
import './basic/string/firstLower.js';
|
|
20
20
|
import './basic/string/firstUpper.js';
|
|
21
21
|
import './basic/string/getStartSame.js';
|
|
@@ -25,14 +25,14 @@ import './judge/matchsEnd.js';
|
|
|
25
25
|
import './judge/matchsStart.js';
|
|
26
26
|
import './judge/matchsWhole.js';
|
|
27
27
|
import './log/styleLog.js';
|
|
28
|
+
import './name/getComponentNames.js';
|
|
28
29
|
import './name/getNames.js';
|
|
29
30
|
import './name/humpToLine.js';
|
|
30
|
-
import './name/getComponentNames.js';
|
|
31
31
|
import './name/lineToLargeHump.js';
|
|
32
32
|
import './name/lineToSmallHump.js';
|
|
33
33
|
import './urls/getImportUrl.js';
|
|
34
34
|
import './urls/getImportUrlSuffix.js';
|
|
35
35
|
import './urls/getReplaceUrl.js';
|
|
36
|
-
import './urls/getUrlCatalogueLast.js';
|
|
37
36
|
import './urls/getUrlCatalogue.js';
|
|
37
|
+
import './urls/getUrlCatalogueLast.js';
|
|
38
38
|
import './urls/getUrlCatalogueObj.js';
|
package/dist/index.js
CHANGED
|
@@ -7,10 +7,6 @@ import "./chunk-ZRZ5HATA.js";
|
|
|
7
7
|
import "./chunk-ZEXHP7HI.js";
|
|
8
8
|
import "./chunk-BDJORZRC.js";
|
|
9
9
|
import "./chunk-AS3WKQP7.js";
|
|
10
|
-
import {
|
|
11
|
-
log_exports
|
|
12
|
-
} from "./chunk-MPKGL6EV.js";
|
|
13
|
-
import "./chunk-HVQG2IGJ.js";
|
|
14
10
|
import {
|
|
15
11
|
name_exports
|
|
16
12
|
} from "./chunk-2W7EPKCY.js";
|
|
@@ -19,6 +15,10 @@ import "./chunk-BWNLZJJG.js";
|
|
|
19
15
|
import "./chunk-J7CICTHH.js";
|
|
20
16
|
import "./chunk-AM67P3W7.js";
|
|
21
17
|
import "./chunk-XCDKXZFR.js";
|
|
18
|
+
import {
|
|
19
|
+
log_exports
|
|
20
|
+
} from "./chunk-MPKGL6EV.js";
|
|
21
|
+
import "./chunk-HVQG2IGJ.js";
|
|
22
22
|
import {
|
|
23
23
|
basic_exports
|
|
24
24
|
} from "./chunk-GHEA6X2Q.js";
|
package/dist/name/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
export { getComponentNames } from './getComponentNames.js';
|
|
1
2
|
export { getNames } from './getNames.js';
|
|
2
3
|
export { humpToLine } from './humpToLine.js';
|
|
3
|
-
export { getComponentNames } from './getComponentNames.js';
|
|
4
4
|
export { lineToLargeHump } from './lineToLargeHump.js';
|
|
5
5
|
export { lineToSmallHump } from './lineToSmallHump.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
type UrlCatalogue = {
|
|
2
2
|
catalogue: string;
|
|
3
3
|
name: string;
|
|
4
4
|
suffix: string;
|
|
5
|
-
}
|
|
5
|
+
};
|
|
6
6
|
/**
|
|
7
7
|
* 去掉文件,获取文件目录对象
|
|
8
8
|
* @param str { 文件地址 }
|
|
@@ -13,4 +13,4 @@ interface UrlCatalogue {
|
|
|
13
13
|
*/
|
|
14
14
|
declare function getUrlCatalogueObj(str: string): UrlCatalogue;
|
|
15
15
|
|
|
16
|
-
export { getUrlCatalogueObj };
|
|
16
|
+
export { UrlCatalogue, getUrlCatalogueObj };
|
package/dist/urls/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { getImportUrl } from './getImportUrl.js';
|
|
2
2
|
export { getImportUrlSuffix } from './getImportUrlSuffix.js';
|
|
3
3
|
export { getReplaceUrl } from './getReplaceUrl.js';
|
|
4
|
-
export { getUrlCatalogueLast } from './getUrlCatalogueLast.js';
|
|
5
4
|
export { getUrlCatalogue } from './getUrlCatalogue.js';
|
|
6
|
-
export {
|
|
5
|
+
export { getUrlCatalogueLast } from './getUrlCatalogueLast.js';
|
|
6
|
+
export { UrlCatalogue, getUrlCatalogueObj } from './getUrlCatalogueObj.js';
|
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.7-
|
|
5
|
+
"version": "0.0.7-8",
|
|
6
6
|
"description ": "个人工具库",
|
|
7
7
|
"author": "fangzhongya ",
|
|
8
8
|
"license": "MIT",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"test": "vitest test"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@fangzhongya/create": "0.2.0-
|
|
28
|
-
"@types/node": "^18.
|
|
29
|
-
"tsup": "^6.
|
|
27
|
+
"@fangzhongya/create": "0.2.0-12",
|
|
28
|
+
"@types/node": "^18.13.0",
|
|
29
|
+
"tsup": "^6.6.0",
|
|
30
30
|
"typescript": "^4.9.5",
|
|
31
31
|
"vitest": "^0.28.4"
|
|
32
32
|
},
|
package/dist/index-a726ae9a.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { i as index$1 } from './index-ab13c58f.js';
|
|
2
|
-
import { i as index$2 } from './index-8473d4b5.js';
|
|
3
|
-
import { i as index$3 } from './index-7563997b.js';
|
|
4
|
-
|
|
5
|
-
declare namespace index {
|
|
6
|
-
export {
|
|
7
|
-
index$1 as array,
|
|
8
|
-
index$2 as object,
|
|
9
|
-
index$3 as string,
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export { index as i };
|