Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@contentful/app-scripts

Package Overview
Dependencies
Maintainers
4
Versions
511
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contentful/app-scripts - npm Package Compare versions

Comparing version 1.20.1 to 1.21.0

7

lib/upload/index.js

@@ -9,4 +9,11 @@ "use strict";

const feedback_1 = require("../feedback/feedback");
function uploadSettingsHaveAppEventFunction(settings) {
return (settings.functions &&
settings.functions.some((fn) => fn.accepts.some((fnType) => fnType.startsWith('appevent'))));
}
async function uploadAndActivate(settings) {
const bundle = await (0, create_app_bundle_1.createAppBundleFromSettings)(settings);
if (uploadSettingsHaveAppEventFunction(settings)) {
console.log('Remember that in order to be invoked, your App Event function(s) must be linked to your App Event subscription using the CMA or the Events tab of the App Details page.');
}
if (!settings.skipActivation && bundle) {

@@ -13,0 +20,0 @@ await (0, activate_bundle_1.activateBundle)({ ...settings, bundleId: bundle.sys.id });

6

package.json
{
"name": "@contentful/app-scripts",
"version": "1.20.1",
"version": "1.21.0",
"description": "A collection of scripts for building Contentful Apps",

@@ -55,3 +55,3 @@ "author": "Contentful GmbH",

"commander": "12.1.0",
"contentful-management": "11.25.6",
"contentful-management": "11.26.2",
"dotenv": "16.4.5",

@@ -64,3 +64,3 @@ "ignore": "5.3.1",

},
"gitHead": "ebf25f744dae8f8aa1c165ddcda2981e29fd489e",
"gitHead": "81cc3ea1a7090350e4791112816a82b243c3fc14",
"devDependencies": {

@@ -67,0 +67,0 @@ "@tsconfig/node18": "18.2.4",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc