@uniformdev/cli 19.128.0 → 19.128.1-alpha.9
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/index.mjs +7 -9
- package/package.json +9 -10
package/dist/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
7
7
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
8
|
});
|
|
9
9
|
|
|
10
|
-
// ../../node_modules/.pnpm/tsup@8.0.1_@microsoft+api-extractor@7.39.
|
|
10
|
+
// ../../node_modules/.pnpm/tsup@8.0.1_@microsoft+api-extractor@7.39.0_postcss@8.4.32_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
|
|
11
11
|
import { fileURLToPath } from "url";
|
|
12
12
|
import path from "path";
|
|
13
13
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -133,10 +133,9 @@ var loadConfig = (configPath) => {
|
|
|
133
133
|
|
|
134
134
|
// src/sync/util.ts
|
|
135
135
|
import { mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
136
|
-
import httpsProxyAgent from "https-proxy-agent";
|
|
137
|
-
import unfetch from "isomorphic-unfetch";
|
|
138
136
|
import { dump, load } from "js-yaml";
|
|
139
137
|
import { dirname, extname, isAbsolute, resolve, sep } from "path";
|
|
138
|
+
import { fetch as undiciFetch, ProxyAgent } from "undici";
|
|
140
139
|
function withConfiguration(yargs32) {
|
|
141
140
|
return yargs32.option("serialization", {
|
|
142
141
|
skipValidation: true,
|
|
@@ -175,11 +174,11 @@ function nodeFetchProxy(proxy) {
|
|
|
175
174
|
if (proxy) {
|
|
176
175
|
const wrappedInit = {
|
|
177
176
|
...init,
|
|
178
|
-
|
|
177
|
+
dispatcher: new ProxyAgent(proxy)
|
|
179
178
|
};
|
|
180
|
-
return
|
|
179
|
+
return undiciFetch(input, wrappedInit);
|
|
181
180
|
}
|
|
182
|
-
return
|
|
181
|
+
return undiciFetch(input, init);
|
|
183
182
|
};
|
|
184
183
|
return wrappedFetch;
|
|
185
184
|
}
|
|
@@ -6470,11 +6469,9 @@ var package_default = {
|
|
|
6470
6469
|
"fs-jetpack": "5.1.0",
|
|
6471
6470
|
graphql: "16.8.1",
|
|
6472
6471
|
"graphql-request": "6.1.0",
|
|
6473
|
-
"https-proxy-agent": "^7.0.0",
|
|
6474
6472
|
"image-size": "^1.0.2",
|
|
6475
6473
|
inquirer: "9.2.12",
|
|
6476
6474
|
"isomorphic-git": "1.25.2",
|
|
6477
|
-
"isomorphic-unfetch": "^4.0.0",
|
|
6478
6475
|
"js-yaml": "^4.1.0",
|
|
6479
6476
|
jsonwebtoken: "9.0.2",
|
|
6480
6477
|
"lodash.isequalwith": "^4.4.0",
|
|
@@ -6485,6 +6482,7 @@ var package_default = {
|
|
|
6485
6482
|
"registry-auth-token": "^5.0.0",
|
|
6486
6483
|
"registry-url": "^6.0.0",
|
|
6487
6484
|
slugify: "1.6.6",
|
|
6485
|
+
undici: "^6.10.1",
|
|
6488
6486
|
yargs: "^17.6.2",
|
|
6489
6487
|
zod: "3.22.4"
|
|
6490
6488
|
},
|
|
@@ -7455,8 +7453,8 @@ import yargs23 from "yargs";
|
|
|
7455
7453
|
// src/commands/optimize/manifest/download.ts
|
|
7456
7454
|
import { gray as gray4, green as green3, red as red5, yellow as yellow2 } from "colorette";
|
|
7457
7455
|
import { writeFile as writeFile2 } from "fs";
|
|
7458
|
-
import fetch2 from "isomorphic-unfetch";
|
|
7459
7456
|
import { exit as exit3 } from "process";
|
|
7457
|
+
import { fetch as fetch2 } from "undici";
|
|
7460
7458
|
|
|
7461
7459
|
// src/constants.ts
|
|
7462
7460
|
var UniformBaseUrl = "https://uniform.app";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/cli",
|
|
3
|
-
"version": "19.128.
|
|
3
|
+
"version": "19.128.1-alpha.9+1af0ad2d62",
|
|
4
4
|
"description": "Uniform command line interface tool",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./cli.js",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@thi.ng/mime": "^2.2.23",
|
|
20
|
-
"@uniformdev/assets": "19.128.
|
|
21
|
-
"@uniformdev/canvas": "19.128.
|
|
22
|
-
"@uniformdev/context": "19.128.
|
|
23
|
-
"@uniformdev/files": "19.128.
|
|
24
|
-
"@uniformdev/project-map": "19.128.
|
|
25
|
-
"@uniformdev/redirect": "19.128.
|
|
20
|
+
"@uniformdev/assets": "19.128.1-alpha.9+1af0ad2d62",
|
|
21
|
+
"@uniformdev/canvas": "19.128.1-alpha.9+1af0ad2d62",
|
|
22
|
+
"@uniformdev/context": "19.128.1-alpha.9+1af0ad2d62",
|
|
23
|
+
"@uniformdev/files": "19.128.1-alpha.9+1af0ad2d62",
|
|
24
|
+
"@uniformdev/project-map": "19.128.1-alpha.9+1af0ad2d62",
|
|
25
|
+
"@uniformdev/redirect": "19.128.1-alpha.9+1af0ad2d62",
|
|
26
26
|
"call-bind": "^1.0.2",
|
|
27
27
|
"colorette": "2.0.20",
|
|
28
28
|
"cosmiconfig": "8.3.6",
|
|
@@ -33,11 +33,9 @@
|
|
|
33
33
|
"fs-jetpack": "5.1.0",
|
|
34
34
|
"graphql": "16.8.1",
|
|
35
35
|
"graphql-request": "6.1.0",
|
|
36
|
-
"https-proxy-agent": "^7.0.0",
|
|
37
36
|
"image-size": "^1.0.2",
|
|
38
37
|
"inquirer": "9.2.12",
|
|
39
38
|
"isomorphic-git": "1.25.2",
|
|
40
|
-
"isomorphic-unfetch": "^4.0.0",
|
|
41
39
|
"js-yaml": "^4.1.0",
|
|
42
40
|
"jsonwebtoken": "9.0.2",
|
|
43
41
|
"lodash.isequalwith": "^4.4.0",
|
|
@@ -48,6 +46,7 @@
|
|
|
48
46
|
"registry-auth-token": "^5.0.0",
|
|
49
47
|
"registry-url": "^6.0.0",
|
|
50
48
|
"slugify": "1.6.6",
|
|
49
|
+
"undici": "^6.10.1",
|
|
51
50
|
"yargs": "^17.6.2",
|
|
52
51
|
"zod": "3.22.4"
|
|
53
52
|
},
|
|
@@ -69,5 +68,5 @@
|
|
|
69
68
|
"publishConfig": {
|
|
70
69
|
"access": "public"
|
|
71
70
|
},
|
|
72
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "1af0ad2d62257f3f8d34a8eca337dad8b6025b6e"
|
|
73
72
|
}
|