@contentful/app-scripts 2.3.0 → 2.3.1

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.
@@ -1,4 +1,4 @@
1
- import { LocationsSettings } from "./types";
1
+ import { LocationsSettings } from './types';
2
2
  export declare function createTypeSafeLocations(settings: LocationsSettings): ({
3
3
  location: "entry-field";
4
4
  fieldTypes: import("contentful-management").FieldType[];
@@ -43,7 +43,9 @@ async function getDefinitionById(client, orgId, defId) {
43
43
  return {
44
44
  name: definition.name,
45
45
  value: definition.sys.id,
46
- locations: definition.locations ? definition.locations.map((location) => location.location) : [],
46
+ locations: definition.locations
47
+ ? definition.locations.map((location) => location.location)
48
+ : [],
47
49
  };
48
50
  }
49
51
  catch (err) {
@@ -1,4 +1,4 @@
1
- import { LocationsSettings } from "./types";
1
+ import { LocationsSettings } from './types';
2
2
  export declare const selectLocationsPrompt: {
3
3
  name: string;
4
4
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/app-scripts",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "description": "A collection of scripts for building Contentful Apps",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",
@@ -51,11 +51,11 @@
51
51
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
52
52
  "@segment/analytics-node": "^2.0.0",
53
53
  "adm-zip": "0.5.16",
54
- "axios": "^1.7.9",
54
+ "axios": "^1.8.4",
55
55
  "bottleneck": "2.19.5",
56
56
  "chalk": "4.1.2",
57
57
  "commander": "12.1.0",
58
- "contentful-management": "11.48.0",
58
+ "contentful-management": "^11.48.1",
59
59
  "dotenv": "16.4.7",
60
60
  "esbuild": "^0.25.1",
61
61
  "ignore": "7.0.3",
@@ -67,7 +67,7 @@
67
67
  "tiged": "^2.12.7",
68
68
  "zod": "^3.24.1"
69
69
  },
70
- "gitHead": "94da155a27c586d7a26e4448da180bde6cf61817",
70
+ "gitHead": "5569e704260c531e9e33ced31ad5d4820f867b1a",
71
71
  "devDependencies": {
72
72
  "@types/adm-zip": "0.5.7",
73
73
  "@types/analytics-node": "3.1.14",
@@ -81,7 +81,7 @@
81
81
  "chai": "4.5.0",
82
82
  "mocha": "10.8.2",
83
83
  "proxyquire": "2.1.3",
84
- "sinon": "19.0.2",
84
+ "sinon": "20.0.0",
85
85
  "ts-mocha": "11.1.0",
86
86
  "ts-node": "10.9.2"
87
87
  }