General announcement regarding axios.
If you use import { axios } from '@pipedream/platform'
in Node.js code steps you can disregard this notice.
Yesterday axios
released a new major version to NPM.
It unfortunately introduced some issues, including a bug when using ?
in URLs to manually define query params.
Pipedream by default will import the latest version of an NPM package, if you don’t define a specific version.We recommend you switch to using the Pipedream wrapped axios since we pin the version to a stable version and we include extras give better feedback in the builder itself.
Alternatively, you can import a specific version of axios using the symver in the import like so:
import axios from “axios@v0.27.2”
Version v0.27.2
is the latest version before the major v1.0.0
upgrade.
Again, the axios version provided by Pipedream (@pipedream/platform
) is unaffected by this breaking change, but if you use axios
in your code steps without a specific version, you may be affected.