@contentful/app-scripts
Advanced tools
Comparing version 1.27.0 to 1.28.0
import { UploadOptions, UploadSettings } from '../types'; | ||
export declare function buildAppUploadSettings(options: UploadOptions): Promise<UploadSettings>; | ||
export declare function hostProtocolFilter(input: string): string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.buildAppUploadSettings = void 0; | ||
exports.hostProtocolFilter = exports.buildAppUploadSettings = void 0; | ||
const inquirer_1 = require("inquirer"); | ||
@@ -40,2 +40,3 @@ const get_app_info_1 = require("../get-app-info"); | ||
default: constants_1.DEFAULT_CONTENTFUL_API_HOST, | ||
filter: hostProtocolFilter, | ||
}); | ||
@@ -57,1 +58,5 @@ } | ||
exports.buildAppUploadSettings = buildAppUploadSettings; | ||
function hostProtocolFilter(input) { | ||
return input.replace(/^https?:\/\//, ''); | ||
} | ||
exports.hostProtocolFilter = hostProtocolFilter; |
{ | ||
"name": "@contentful/app-scripts", | ||
"version": "1.27.0", | ||
"version": "1.28.0", | ||
"description": "A collection of scripts for building Contentful Apps", | ||
@@ -51,9 +51,9 @@ "author": "Contentful GmbH", | ||
"@segment/analytics-node": "^2.0.0", | ||
"adm-zip": "0.5.15", | ||
"adm-zip": "0.5.16", | ||
"bottleneck": "2.19.5", | ||
"chalk": "4.1.2", | ||
"commander": "12.1.0", | ||
"contentful-management": "11.31.9", | ||
"contentful-management": "11.35.1", | ||
"dotenv": "16.4.5", | ||
"ignore": "5.3.2", | ||
"ignore": "6.0.2", | ||
"inquirer": "8.2.6", | ||
@@ -64,3 +64,3 @@ "lodash": "4.17.21", | ||
}, | ||
"gitHead": "a2c683683c29974787b17871fe525d384fe295a6", | ||
"gitHead": "580a3ebbe9ac4dbefaf0a7fea989ba4aab7b8dc3", | ||
"devDependencies": { | ||
@@ -72,4 +72,4 @@ "@tsconfig/node18": "18.2.4", | ||
"@types/inquirer": "8.2.1", | ||
"@types/lodash": "4.17.7", | ||
"@types/mocha": "10.0.7", | ||
"@types/lodash": "4.17.9", | ||
"@types/mocha": "10.0.8", | ||
"@types/proxyquire": "1.3.31", | ||
@@ -80,3 +80,3 @@ "@types/sinon": "17.0.3", | ||
"proxyquire": "2.1.3", | ||
"sinon": "18.0.0", | ||
"sinon": "19.0.2", | ||
"ts-mocha": "10.0.0", | ||
@@ -83,0 +83,0 @@ "ts-node": "10.9.2" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97755
1998
1
+ Addedadm-zip@0.5.16(transitive)
+ Addedcontentful-management@11.35.1(transitive)
+ Addedignore@6.0.2(transitive)
- Removedadm-zip@0.5.15(transitive)
- Removedcontentful-management@11.31.9(transitive)
- Removedignore@5.3.2(transitive)
Updatedadm-zip@0.5.16
Updatedignore@6.0.2