soda-nodejs 0.6.3 → 0.6.4
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/cjs/index.d.ts +8 -8
- package/dist/cjs/index.js +17 -13
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.d.ts +8 -8
- package/dist/esm/index.js +8 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +2 -1
- package/src/index.ts +8 -8
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
1
|
+
export * from "./utils/compress";
|
|
2
|
+
export * from "./utils/copy";
|
|
3
|
+
export * from "./utils/execAsync";
|
|
4
|
+
export * from "./utils/saveFile";
|
|
5
|
+
export * from "./utils/saveResponse";
|
|
6
|
+
export * from "./utils/spawnAsync";
|
|
7
|
+
export * from "./utils/unzip";
|
|
8
|
+
export * from "./utils/zip";
|
package/dist/cjs/index.js
CHANGED
|
@@ -2,10 +2,6 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
5
|
var __copyProps = (to, from, except, desc) => {
|
|
10
6
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
7
|
for (let key of __getOwnPropNames(from))
|
|
@@ -14,21 +10,29 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
14
10
|
}
|
|
15
11
|
return to;
|
|
16
12
|
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
17
14
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
15
|
|
|
19
16
|
// src/index.ts
|
|
20
17
|
var src_exports = {};
|
|
21
|
-
__export(src_exports, {
|
|
22
|
-
getDefaultOptions: () => import_spawnAsync.getDefaultOptions,
|
|
23
|
-
setDefaultOptions: () => import_spawnAsync.setDefaultOptions,
|
|
24
|
-
spawnAsync: () => import_spawnAsync.spawnAsync
|
|
25
|
-
});
|
|
26
18
|
module.exports = __toCommonJS(src_exports);
|
|
27
|
-
|
|
19
|
+
__reExport(src_exports, require("./utils/compress"), module.exports);
|
|
20
|
+
__reExport(src_exports, require("./utils/copy"), module.exports);
|
|
21
|
+
__reExport(src_exports, require("./utils/execAsync"), module.exports);
|
|
22
|
+
__reExport(src_exports, require("./utils/saveFile"), module.exports);
|
|
23
|
+
__reExport(src_exports, require("./utils/saveResponse"), module.exports);
|
|
24
|
+
__reExport(src_exports, require("./utils/spawnAsync"), module.exports);
|
|
25
|
+
__reExport(src_exports, require("./utils/unzip"), module.exports);
|
|
26
|
+
__reExport(src_exports, require("./utils/zip"), module.exports);
|
|
28
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
28
|
0 && (module.exports = {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
...require("./utils/compress"),
|
|
30
|
+
...require("./utils/copy"),
|
|
31
|
+
...require("./utils/execAsync"),
|
|
32
|
+
...require("./utils/saveFile"),
|
|
33
|
+
...require("./utils/saveResponse"),
|
|
34
|
+
...require("./utils/spawnAsync"),
|
|
35
|
+
...require("./utils/unzip"),
|
|
36
|
+
...require("./utils/zip")
|
|
33
37
|
});
|
|
34
38
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["export * from \"@/utils/compress\"\nexport * from \"@/utils/copy\"\nexport * from \"@/utils/execAsync\"\nexport * from \"@/utils/saveFile\"\nexport * from \"@/utils/saveResponse\"\nexport * from \"@/utils/spawnAsync\"\nexport * from \"@/utils/unzip\"\nexport * from \"@/utils/zip\"\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,6BAAd;AACA,wBAAc,yBADd;AAEA,wBAAc,8BAFd;AAGA,wBAAc,6BAHd;AAIA,wBAAc,iCAJd;AAKA,wBAAc,+BALd;AAMA,wBAAc,0BANd;AAOA,wBAAc,wBAPd;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
1
|
+
export * from "./utils/compress";
|
|
2
|
+
export * from "./utils/copy";
|
|
3
|
+
export * from "./utils/execAsync";
|
|
4
|
+
export * from "./utils/saveFile";
|
|
5
|
+
export * from "./utils/saveResponse";
|
|
6
|
+
export * from "./utils/spawnAsync";
|
|
7
|
+
export * from "./utils/unzip";
|
|
8
|
+
export * from "./utils/zip";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from "./utils/compress";
|
|
2
|
+
export * from "./utils/copy";
|
|
3
|
+
export * from "./utils/execAsync";
|
|
4
|
+
export * from "./utils/saveFile";
|
|
5
|
+
export * from "./utils/saveResponse";
|
|
6
|
+
export * from "./utils/spawnAsync";
|
|
7
|
+
export * from "./utils/unzip";
|
|
8
|
+
export * from "./utils/zip";
|
|
2
9
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[
|
|
1
|
+
{"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":["export * from \"@/utils/compress\"\nexport * from \"@/utils/copy\"\nexport * from \"@/utils/execAsync\"\nexport * from \"@/utils/saveFile\"\nexport * from \"@/utils/saveResponse\"\nexport * from \"@/utils/spawnAsync\"\nexport * from \"@/utils/unzip\"\nexport * from \"@/utils/zip\"\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soda-nodejs",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/esm/index.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
8
9
|
"keywords": [],
|
|
9
10
|
"authors": [],
|
|
10
11
|
"license": "MIT",
|
package/src/index.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
1
|
+
export * from "@/utils/compress"
|
|
2
|
+
export * from "@/utils/copy"
|
|
3
|
+
export * from "@/utils/execAsync"
|
|
4
|
+
export * from "@/utils/saveFile"
|
|
5
|
+
export * from "@/utils/saveResponse"
|
|
6
|
+
export * from "@/utils/spawnAsync"
|
|
7
|
+
export * from "@/utils/unzip"
|
|
8
|
+
export * from "@/utils/zip"
|