@uniformdev/cli 20.75.1-alpha.0 → 20.75.1-alpha.15.sha-b6ff05804e

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);
@@ -21,7 +21,7 @@ import { dirname, extname, isAbsolute, resolve, sep } from "path";
21
21
  // package.json
22
22
  var package_default = {
23
23
  name: "@uniformdev/cli",
24
- version: "20.75.0",
24
+ version: "20.76.0",
25
25
  description: "Uniform command line interface tool",
26
26
  license: "SEE LICENSE IN LICENSE.txt",
27
27
  main: "./cli.js",
@@ -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-GIRIO3PU.mjs";
1
+ import "./chunk-CGMR2SR6.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-GIRIO3PU.mjs";
26
+ } from "./chunk-CGMR2SR6.mjs";
27
27
 
28
28
  // src/index.ts
29
29
  import * as dotenv from "dotenv";
@@ -2795,6 +2795,18 @@ import PQueue2 from "p-queue";
2795
2795
  import { join as join11 } from "path";
2796
2796
  var uploadQueueByKey = /* @__PURE__ */ new Map();
2797
2797
  var fileUploadQueue = new PQueue2({ concurrency: 10 });
2798
+ var IMAGE_SIZE_SAFE_MEDIA_TYPES = /* @__PURE__ */ new Set([
2799
+ "image/png",
2800
+ "image/apng",
2801
+ "image/jpeg",
2802
+ "image/jpg",
2803
+ "image/jfif",
2804
+ "image/pjpeg",
2805
+ "image/pjp",
2806
+ "image/gif",
2807
+ "image/webp",
2808
+ "image/svg+xml"
2809
+ ]);
2798
2810
  var uploadFile = async ({
2799
2811
  fileClient,
2800
2812
  fileUrl,
@@ -2856,7 +2868,7 @@ var uploadFile = async ({
2856
2868
  uploadBody = createReadStream(expectedFilePath);
2857
2869
  }
2858
2870
  const { width, height } = await (async () => {
2859
- if (!mimeType.startsWith("image/")) {
2871
+ if (!IMAGE_SIZE_SAFE_MEDIA_TYPES.has(mimeType)) {
2860
2872
  return {
2861
2873
  width: void 0,
2862
2874
  height: void 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "20.75.1-alpha.0+effbce0886",
3
+ "version": "20.75.1-alpha.15.sha-b6ff05804e",
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.75.1-alpha.0+effbce0886",
31
- "@uniformdev/automations-sdk": "20.75.1-alpha.0+effbce0886",
32
- "@uniformdev/canvas": "20.75.1-alpha.0+effbce0886",
33
- "@uniformdev/context": "20.75.1-alpha.0+effbce0886",
34
- "@uniformdev/files": "20.75.1-alpha.0+effbce0886",
35
- "@uniformdev/project-map": "20.75.1-alpha.0+effbce0886",
36
- "@uniformdev/redirect": "20.75.1-alpha.0+effbce0886",
37
- "@uniformdev/richtext": "20.75.1-alpha.0+effbce0886",
30
+ "@uniformdev/assets": "20.75.1-alpha.15.sha-b6ff05804e",
31
+ "@uniformdev/automations-sdk": "20.75.1-alpha.15.sha-b6ff05804e",
32
+ "@uniformdev/canvas": "20.75.1-alpha.15.sha-b6ff05804e",
33
+ "@uniformdev/context": "20.75.1-alpha.15.sha-b6ff05804e",
34
+ "@uniformdev/files": "20.75.1-alpha.15.sha-b6ff05804e",
35
+ "@uniformdev/project-map": "20.75.1-alpha.15.sha-b6ff05804e",
36
+ "@uniformdev/redirect": "20.75.1-alpha.15.sha-b6ff05804e",
37
+ "@uniformdev/richtext": "20.75.1-alpha.15.sha-b6ff05804e",
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": "effbce0886d68a0e9a4f9b492b5f263eafa73813"
81
+ "gitHead": "b6ff05804e8d082bdd9563566f9eda24d999a771"
82
82
  }