@expo/eas-json
Advanced tools
@@ -17,3 +17,3 @@ import { Android, Cache, Ios, Workflow } from '@expo/eas-build-job'; | ||
| distribution?: AndroidDistributionType; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| } | ||
@@ -28,3 +28,3 @@ export interface AndroidGenericBuildProfile extends Android.BuilderEnvironment { | ||
| distribution?: AndroidDistributionType; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| } | ||
@@ -38,3 +38,3 @@ export interface iOSManagedBuildProfile extends Ios.BuilderEnvironment { | ||
| autoIncrement: VersionAutoIncrement; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| } | ||
@@ -50,3 +50,3 @@ export interface iOSGenericBuildProfile extends Ios.BuilderEnvironment { | ||
| autoIncrement: VersionAutoIncrement; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| disableIosBundleIdentifierValidation?: boolean; | ||
@@ -53,0 +53,0 @@ } |
@@ -36,3 +36,4 @@ "use strict"; | ||
| const CacheSchema = joi_1.default.object({ | ||
| key: joi_1.default.string().allow('').default('').max(128), | ||
| disabled: joi_1.default.boolean().default(false), | ||
| key: joi_1.default.string().max(128), | ||
| cacheDefaultPaths: joi_1.default.boolean().default(true), | ||
@@ -53,3 +54,3 @@ customPaths: joi_1.default.array().items(joi_1.default.string()).default([]), | ||
| distribution: joi_1.default.string().valid('store', 'internal').default('store'), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(AndroidBuilderEnvironmentSchema); | ||
@@ -66,3 +67,3 @@ const AndroidManagedSchema = joi_1.default.object({ | ||
| distribution: joi_1.default.string().valid('store', 'internal').default('store'), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(AndroidBuilderEnvironmentSchema); | ||
@@ -80,3 +81,3 @@ const iOSGenericSchema = joi_1.default.object({ | ||
| .default(false), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(IosBuilderEnvironmentSchema); | ||
@@ -92,3 +93,3 @@ const iOSManagedSchema = joi_1.default.object({ | ||
| .default(false), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(IosBuilderEnvironmentSchema); | ||
@@ -95,0 +96,0 @@ const schemaBuildProfileMap = { |
+3
-3
| { | ||
| "name": "@expo/eas-json", | ||
| "description": "A library for interacting with the eas.json", | ||
| "version": "0.7.0", | ||
| "version": "0.8.0", | ||
| "author": "Expo <support@expo.io>", | ||
| "bugs": "https://github.com/expo/eas-cli/issues", | ||
| "dependencies": { | ||
| "@expo/eas-build-job": "0.2.21", | ||
| "@expo/eas-build-job": "0.2.22", | ||
| "@hapi/joi": "^17.1.1", | ||
@@ -41,3 +41,3 @@ "fs-extra": "^9.0.1", | ||
| }, | ||
| "gitHead": "d92a2ae3f4e95bf3ff3bbf9377f2593295bc5259" | ||
| "gitHead": "b650f769792471042f1927f39014232d7fc63965" | ||
| } |
@@ -32,3 +32,3 @@ import fs from 'fs-extra'; | ||
| withoutCredentials: false, | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| image: 'default', | ||
@@ -59,3 +59,3 @@ }, | ||
| env: {}, | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| image: 'default', | ||
@@ -90,3 +90,3 @@ schemeBuildConfiguration: 'Release', | ||
| withoutCredentials: false, | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| image: 'default', | ||
@@ -100,3 +100,3 @@ }, | ||
| env: {}, | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| image: 'default', | ||
@@ -131,3 +131,3 @@ schemeBuildConfiguration: 'Release', | ||
| withoutCredentials: false, | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| image: 'default', | ||
@@ -166,3 +166,3 @@ }, | ||
| image: 'default', | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| buildType: 'development-client', | ||
@@ -177,3 +177,3 @@ }, | ||
| image: 'default', | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| buildType: 'development-client', | ||
@@ -208,3 +208,3 @@ }, | ||
| withoutCredentials: false, | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| image: 'default', | ||
@@ -238,3 +238,3 @@ }, | ||
| env: {}, | ||
| cache: { key: '', cacheDefaultPaths: true, customPaths: [] }, | ||
| cache: { disabled: false, cacheDefaultPaths: true, customPaths: [] }, | ||
| image: 'default', | ||
@@ -241,0 +241,0 @@ }, |
@@ -21,3 +21,3 @@ import { Android, Cache, Ios, Workflow } from '@expo/eas-build-job'; | ||
| distribution?: AndroidDistributionType; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| } | ||
@@ -33,3 +33,3 @@ | ||
| distribution?: AndroidDistributionType; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| } | ||
@@ -44,3 +44,3 @@ | ||
| autoIncrement: VersionAutoIncrement; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| } | ||
@@ -57,3 +57,3 @@ | ||
| autoIncrement: VersionAutoIncrement; | ||
| cache: Cache | null; | ||
| cache: Cache; | ||
| disableIosBundleIdentifierValidation?: boolean; | ||
@@ -60,0 +60,0 @@ } |
@@ -35,3 +35,4 @@ import { Android, Ios } from '@expo/eas-build-job'; | ||
| const CacheSchema = Joi.object({ | ||
| key: Joi.string().allow('').default('').max(128), | ||
| disabled: Joi.boolean().default(false), | ||
| key: Joi.string().max(128), | ||
| cacheDefaultPaths: Joi.boolean().default(true), | ||
@@ -53,3 +54,3 @@ customPaths: Joi.array().items(Joi.string()).default([]), | ||
| distribution: Joi.string().valid('store', 'internal').default('store'), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(AndroidBuilderEnvironmentSchema); | ||
@@ -67,3 +68,3 @@ | ||
| distribution: Joi.string().valid('store', 'internal').default('store'), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(AndroidBuilderEnvironmentSchema); | ||
@@ -82,3 +83,3 @@ | ||
| .default(false), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(IosBuilderEnvironmentSchema); | ||
@@ -95,3 +96,3 @@ | ||
| .default(false), | ||
| cache: CacheSchema.allow(null).default({ key: '', cacheDefaultPaths: true, customPaths: [] }), | ||
| cache: CacheSchema.default(), | ||
| }).concat(IosBuilderEnvironmentSchema); | ||
@@ -98,0 +99,0 @@ |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1101
0.18%43022
-1.04%+ Added
- Removed
Updated