@uniformdev/cli 20.76.2 → 20.76.3-alpha.7.sha-dd3877d123

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.
@@ -5,7 +5,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
5
5
  throw Error('Dynamic require of "' + x + '" is not supported');
6
6
  });
7
7
 
8
- // ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.58.9_@types+node@26.0.0__jiti@2.7.0_postcss@8.5.1_7017c7d2ba4cec51f3116591eb787c26/node_modules/tsup/assets/esm_shims.js
8
+ // ../../node_modules/.pnpm/tsup@8.5.1_@microsoft+api-extractor@7.58.9_@types+node@26.0.0__jiti@2.7.0_postcss@8.5.2_1593607ac254a0f78ffdb743585a4e57/node_modules/tsup/assets/esm_shims.js
9
9
  import path from "path";
10
10
  import { fileURLToPath } from "url";
11
11
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -68,7 +68,7 @@ var package_default = {
68
68
  "fs-jetpack": "5.1.0",
69
69
  "image-size": "2.0.2",
70
70
  "isomorphic-git": "1.38.5",
71
- "js-yaml": "^4.2.0",
71
+ "js-yaml": "^4.3.1",
72
72
  jsonwebtoken: "9.0.3",
73
73
  mitt: "^3.0.1",
74
74
  "normalize-newline": "^4.1.0",
@@ -80,7 +80,7 @@ var package_default = {
80
80
  "registry-url": "^6.0.0",
81
81
  slugify: "1.6.9",
82
82
  svix: "^1.96.0",
83
- undici: "^7.28.0",
83
+ undici: "^7.29.0",
84
84
  yargs: "^18.0.0",
85
85
  zod: "4.4.3"
86
86
  },
@@ -1,4 +1,4 @@
1
- import "./chunk-ILUO7HJ5.mjs";
1
+ import "./chunk-BO22W54V.mjs";
2
2
 
3
3
  // src/sync/allSerializableEntitiesConfig.ts
4
4
  var allSerializableEntitiesConfig = {
package/dist/index.mjs CHANGED
@@ -23,7 +23,7 @@ import {
23
23
  withFormatOptions,
24
24
  withProjectOptions,
25
25
  withTeamOptions
26
- } from "./chunk-ILUO7HJ5.mjs";
26
+ } from "./chunk-BO22W54V.mjs";
27
27
 
28
28
  // src/index.ts
29
29
  import * as dotenv from "dotenv";
@@ -286,6 +286,11 @@ var ENVIRONMENT_HOSTS = {
286
286
  api: "https://eu.uniform.app",
287
287
  global: "https://eu.uniform.global",
288
288
  ai: "https://ai.eu.uniform.global"
289
+ },
290
+ eu2: {
291
+ api: "https://eu2.uniform.app",
292
+ global: "https://eu2.uniform.global",
293
+ ai: "https://ai.eu2.uniform.global"
289
294
  }
290
295
  };
291
296
  async function selectEnvironment(explicitParams) {
@@ -305,6 +310,10 @@ async function selectEnvironment(explicitParams) {
305
310
  {
306
311
  name: "EU (eu.uniform.app)",
307
312
  value: "eu"
313
+ },
314
+ {
315
+ name: "EU2 (eu2.uniform.app)",
316
+ value: "eu2"
308
317
  }
309
318
  ],
310
319
  default: "usa"
@@ -2795,6 +2804,18 @@ import PQueue2 from "p-queue";
2795
2804
  import { join as join11 } from "path";
2796
2805
  var uploadQueueByKey = /* @__PURE__ */ new Map();
2797
2806
  var fileUploadQueue = new PQueue2({ concurrency: 10 });
2807
+ var IMAGE_SIZE_SAFE_MEDIA_TYPES = /* @__PURE__ */ new Set([
2808
+ "image/png",
2809
+ "image/apng",
2810
+ "image/jpeg",
2811
+ "image/jpg",
2812
+ "image/jfif",
2813
+ "image/pjpeg",
2814
+ "image/pjp",
2815
+ "image/gif",
2816
+ "image/webp",
2817
+ "image/svg+xml"
2818
+ ]);
2798
2819
  var uploadFile = async ({
2799
2820
  fileClient,
2800
2821
  fileUrl,
@@ -2856,7 +2877,7 @@ var uploadFile = async ({
2856
2877
  uploadBody = createReadStream(expectedFilePath);
2857
2878
  }
2858
2879
  const { width, height } = await (async () => {
2859
- if (!mimeType.startsWith("image/")) {
2880
+ if (!IMAGE_SIZE_SAFE_MEDIA_TYPES.has(mimeType)) {
2860
2881
  return {
2861
2882
  width: void 0,
2862
2883
  height: void 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "20.76.2",
3
+ "version": "20.76.3-alpha.7.sha-dd3877d123",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -27,14 +27,14 @@
27
27
  "dependencies": {
28
28
  "@inquirer/prompts": "^8.5.2",
29
29
  "@thi.ng/mime": "^2.2.23",
30
- "@uniformdev/assets": "20.76.2",
31
- "@uniformdev/automations-sdk": "20.76.2",
32
- "@uniformdev/canvas": "20.76.2",
33
- "@uniformdev/context": "20.76.2",
34
- "@uniformdev/files": "20.76.2",
35
- "@uniformdev/project-map": "20.76.2",
36
- "@uniformdev/redirect": "20.76.2",
37
- "@uniformdev/richtext": "20.76.2",
30
+ "@uniformdev/assets": "20.76.3-alpha.7.sha-dd3877d123",
31
+ "@uniformdev/automations-sdk": "20.76.3-alpha.7.sha-dd3877d123",
32
+ "@uniformdev/canvas": "20.76.3-alpha.7.sha-dd3877d123",
33
+ "@uniformdev/context": "20.76.3-alpha.7.sha-dd3877d123",
34
+ "@uniformdev/files": "20.76.3-alpha.7.sha-dd3877d123",
35
+ "@uniformdev/project-map": "20.76.3-alpha.7.sha-dd3877d123",
36
+ "@uniformdev/redirect": "20.76.3-alpha.7.sha-dd3877d123",
37
+ "@uniformdev/richtext": "20.76.3-alpha.7.sha-dd3877d123",
38
38
  "call-bind": "^1.0.2",
39
39
  "colorette": "2.0.20",
40
40
  "cosmiconfig": "9.0.2",
@@ -47,7 +47,7 @@
47
47
  "fs-jetpack": "5.1.0",
48
48
  "image-size": "2.0.2",
49
49
  "isomorphic-git": "1.38.5",
50
- "js-yaml": "^4.2.0",
50
+ "js-yaml": "^4.3.1",
51
51
  "jsonwebtoken": "9.0.3",
52
52
  "mitt": "^3.0.1",
53
53
  "normalize-newline": "^4.1.0",
@@ -59,7 +59,7 @@
59
59
  "registry-url": "^6.0.0",
60
60
  "slugify": "1.6.9",
61
61
  "svix": "^1.96.0",
62
- "undici": "^7.28.0",
62
+ "undici": "^7.29.0",
63
63
  "yargs": "^18.0.0",
64
64
  "zod": "4.4.3"
65
65
  },
@@ -78,5 +78,5 @@
78
78
  "publishConfig": {
79
79
  "access": "public"
80
80
  },
81
- "gitHead": "d977f0afc2aa754b18053d9455e007712e712dbb"
81
+ "gitHead": "dd3877d123e16a160c58c1e258aee070565a4fc7"
82
82
  }