@ywfe/fe-tools 1.2.1-beta.16 → 1.2.1-beta.18
Sign up to get free protection for your applications and to get access to all the features.
- package/index.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/lib/ywfe-tools.cjs +0 -1989
- package/lib/ywfe-tools.cjs.map +1 -1
- package/lib/ywfe-tools.esm.js +1 -1989
- package/lib/ywfe-tools.esm.js.map +1 -1
- package/lib/ywfe-tools.umd.js +2 -2
- package/lib/ywfe-tools.umd.js.map +1 -1
- package/package.json +4 -5
- package/userInputToJson.ts +0 -1
- package/JSON2String.ts +0 -13
- package/lib/JSON2String.d.ts +0 -4
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"private": false,
|
3
3
|
"name": "@ywfe/fe-tools",
|
4
|
-
"version": "1.2.1-beta.
|
4
|
+
"version": "1.2.1-beta.18",
|
5
5
|
"description": "工具函数库",
|
6
6
|
"main": "./lib/ywfe-tools.cjs",
|
7
7
|
"module": "./lib/ywfe-tools.esm.js",
|
@@ -24,17 +24,16 @@
|
|
24
24
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
25
25
|
"@rollup/plugin-replace": "^5.0.7",
|
26
26
|
"@rollup/plugin-typescript": "^11.1.6",
|
27
|
-
"@ywfe/utils": "^0.10.74",
|
28
27
|
"crypto-js": "^4.0.0",
|
29
28
|
"ramda": "^0.27.1",
|
30
|
-
"rollup": "^4.18.0",
|
31
29
|
"rollup-plugin-clear": "^2.0.7",
|
32
30
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
33
31
|
"rollup-plugin-progress": "^1.1.2",
|
34
32
|
"rollup-plugin-terser": "^7.0.2",
|
35
33
|
"strtok3": "^6.3.0",
|
36
34
|
"token-types": "^4.2.0",
|
37
|
-
"uuid": "^8.3.2"
|
35
|
+
"uuid": "^8.3.2",
|
36
|
+
"rollup": "^4.18.0"
|
38
37
|
},
|
39
38
|
"gitHead": "795058c747c80a3a69f6904dccffb53c42acfcc7"
|
40
|
-
}
|
39
|
+
}
|
package/userInputToJson.ts
CHANGED
package/JSON2String.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
interface userInput {
|
2
|
-
data?: object;
|
3
|
-
}
|
4
|
-
function JSON2String({ input }) {
|
5
|
-
const { data = {} } = input;
|
6
|
-
try {
|
7
|
-
return "```json" + JSON.stringify(data) + "json```";
|
8
|
-
} catch (error) {
|
9
|
-
return "```json" + JSON.stringify({}) + "json```";
|
10
|
-
}
|
11
|
-
}
|
12
|
-
|
13
|
-
export default JSON2String
|
package/lib/JSON2String.d.ts
DELETED