You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
Happy to.
Amndeep Mann is our lead developer and he can get our other developers
involved in the conversation to provide you more detail on the issues we
were facing, and why we had to temporary migrate away from the SDK to
straight Axios so that we were able to continue our upgrade to node 18 and
resolve, critical vulnerability, mitigation‘s for our application. We also
had to make updates via a fork of the repository and our own organization.
If we can contribute these back, and the library itself would be better
maintained we would be more than happy to, of course leverage the SDK as it
was intended for our Splunk integrations and be proactive participants in
the community.
Looking forward to working with you guys on this moving forward.
Our webapp until just recently used the splunk js sdk to interface with splunk instances
We are attempting to migrate the webapp to support Node v18 - there is much grief already posted on the internet about it being a difficult process due to node internals changing impacting several base libraries
We use webpack to transpile our code from typescript to javascript - during that transpilation process, it goes through and adds 'use strict' to everything including dependencies
In our branch where the migration work is being done, we are currently experiencing some runtime errors with anything using jQuery due to jQuery not being compatible with 'use strict'
The runtime error we get is as follows and was traced to a jQuery internal function: Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
Removing jQuery as a dependency would help us with this issue. For now, we've instead converted to calling the api directly via axios
Fork reason
For some reason, we were having issues with using this library in the browser due to process.env being overwritten in this library
Unfortunately, the dev who did the implementation for the functionality using this sdk is no longer with the company so I have no further details atm
Activity
[-]Remove jQuery Depedencies[/-][+]Remove jQuery Dependency [/+]aaronlippold commentedon May 3, 2023
👍🏻 agreed. Any thoughts from the splunk team on this. We have multiple projects facing issues with this dependency.
ashah-splunk commentedon Jun 22, 2023
@amcdnl as of now we don't have any plans to migrate to
fetchAPI. Please let us know if there is any specific need for usingfetchAPI@aaronlippold would you please share details of issues that are being faced in the projects because of the jQuery dependency.
aaronlippold commentedon Jun 22, 2023
Amndeep7 commentedon Jun 22, 2023
jQuery issue
Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to themFork reason
process.envbeing overwritten in this library