npm package diff

Package: @forge/manifest

Versions: 8.1.0-next.7 - 8.1.0-next.8

File: package/out/text/errors.js

Index: package/out/text/errors.js
===================================================================
--- package/out/text/errors.js
+++ package/out/text/errors.js
@@ -180,8 +180,20 @@
         package: {
             extraFiles: {
                 missing: (glob) => `Extra files specification '${glob}' does not match any files.`
             }
+        },
+        runtime: {
+            deprecatedVersion: (runtime) => {
+                switch (runtime) {
+                    case 'sandbox':
+                        return 'The sandbox runtime is deprecated and will be removed in the future https://developer.atlassian.com/platform/forge/changelog/#CHANGE-789';
+                    case 'nodejs18.x':
+                        return 'The nodejs18.x runtime is deprecated and will be removed in the future https://developer.atlassian.com/platform/forge/changelog/#CHANGE-2208';
+                    default:
+                        return `The ${runtime} runtime is deprecated and will be removed in the future.`;
+                }
+            }
         }
     },
     translations: {
         missingTranslationsJsonFile: (languageLocaleCode) => `There is no available translations JSON file for the specified fallback language: '${languageLocaleCode}'`,