Comments (7)
Hi @shubhamUpadhyayInBlue – I am getting warnings for three packages that you are pulling in:
node_modules/querystring:
The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
node_modules/superagent:
Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at https://github.com/visionmedia/superagent/releases.
node_modules/superagent/node_modules/formidable:
Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau
All packages are dependencies of sib-api-v3-sdk
> npm explain querystring
[email protected]
node_modules/querystring
querystring@"0.2.0" from [email protected]
node_modules/sib-api-v3-sdk
sib-api-v3-sdk@"^8.4.0" from the root project
> npm explain superagent
[email protected]
node_modules/superagent
superagent@"3.7.0" from [email protected]
node_modules/sib-api-v3-sdk
sib-api-v3-sdk@"^8.4.0" from the root project
> npm explain formidable
[email protected]
node_modules/formidable
formidable@"^2.0.1" from the root project
[email protected]
node_modules/superagent/node_modules/formidable
formidable@"^1.1.1" from [email protected]
node_modules/superagent
superagent@"3.7.0" from [email protected]
node_modules/sib-api-v3-sdk
sib-api-v3-sdk@"^8.4.0" from the root project
from apiv3-nodejs-library.
Thanks @TheLionIsAlive , yes overriding the version is a workaround for now. But, I checked if I have to upgrade to this version in the SDK it does not support Node v10. So, it will be a breaking change that I will have to release. I will do it after new development changes are live in a minor release first.
Thanks!
from apiv3-nodejs-library.
Hi @mhoffmann-attempto
Thanks for pointing it out. I will check this.
from apiv3-nodejs-library.
I am getting "Refused to set unsafe header "user-agent"" as console error, is this issue related?
Creating new contacts via API works anyways.
from apiv3-nodejs-library.
I'm having the same warnings. Since formidable is a dependency of the superagent package, I've been able to fix both formidable and superagent by adding an override to my package.json like so:
"dependencies": {
... ,
"sib-api-v3-sdk": "^8.5.0"
},
"overrides": {
"sib-api-v3-sdk": {
"superagent": "8.0.0"
}
}
I'm still working on the [email protected] warning.
from apiv3-nodejs-library.
Actually, for some reason in my most recent commits, I'm no longer getting the deprecation warning for [email protected], even though I haven't successfully troubleshooted it. I'm not sure if I should still be concerned... but I'll go with it for now since I still have all the functionality I should be getting.
from apiv3-nodejs-library.
from apiv3-nodejs-library.
Related Issues (20)
- Update boolean attribute HOT 4
- Enhancement request - option to disable URL replacement HOT 28
- Uncaught TypeError: Cannot read properties of undefined (reading 'instance') HOT 3
- GetEmailCampaign with empty recipients and statistics HOT 3
- Enhancement - Advanced filters for recipients in createEmailCampaign HOT 1
- Using NextJS: Build works locally, but fails during AWS Amplify build process HOT 4
- Sending transactional email to many recipient fails with a 400 Bad Request response HOT 1
- API endpint to query automations HOT 1
- We should not url encode params HOT 1
- Account suspended indefinitely HOT 2
- 8.4.2 initialization error HOT 2
- Attachment error in transactional email HOT 2
- Cannot read properties of undefined (reading 'body') HOT 3
- Is it possible to run multiple instances connected to multiple SIB-Accounts on one machine?
- How to add `X-SMTPAPI` header to avoid email delivery delays?
- Deprecated dependencies HOT 1
- 'content' is not valid in attachment HOT 9
- API WooCommerce calculated custom field sync
- transitional emails damaged and not relayed properly please disable URL replacement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apiv3-nodejs-library.