cap-js / attachments

The @cap-js/attachments package is a CDS plugin that provides out-of-the box asset storage and handling by using an aspect Attachments. It also provides a CAP-level, easy to use integration of the SAP Object Store.
Apache License 2.0
8 stars 4 forks source link

Support for NodeJs version > 17 #79

Open WAVIFICATION opened 3 days ago

WAVIFICATION commented 3 days ago

Context:

SAP BTP Cloud Foundry environment recommends using Node.js versions 18 and 20 for deployment. You can find more information on their recommendations here: SAP BTP CF Environment.

Issue:

When attempting to install the package with Node.js versions 18 or 20, the following warning is displayed:

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '@cap-js/attachments@1.1.3',
npm WARN EBADENGINE   required: { node: '^17.0.0' },
npm WARN EBADENGINE   current: { node: 'v20.12.2', npm: '10.5.0' }
npm WARN EBADENGINE }

Request:

To ensure compatibility and leverage the latest Node.js features and security updates, I kindly request that the @cap-js/attachments package be updated to support Node.js versions 18 and 20.

This update would be highly beneficial for developers deploying applications in environments that recommend or require these versions.