appium-mac2-driver 4.4.0 → 4.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/WebDriverAgentMac/IntegrationTests/AMWindowTests.m +427 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Commands/AMWindowCommands.m +63 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Commands/FBDebugCommands.m +2 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Routing/FBCommandStatus.h +3 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Routing/FBCommandStatus.m +13 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMScreenUtils.h +4 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMScreenUtils.m +23 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMSnapshotUtils.h +18 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMSnapshotUtils.m +43 -28
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMWindowUtils.h +111 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMWindowUtils.m +780 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMXCTAccessibility.h +61 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/AMXCTAccessibility.m +108 -0
- package/WebDriverAgentMac/WebDriverAgentMac.xcodeproj/project.pbxproj +20 -0
- package/build/lib/commands/native-record-screen.d.ts +2 -0
- package/build/lib/commands/native-record-screen.d.ts.map +1 -1
- package/build/lib/commands/native-record-screen.js.map +1 -1
- package/build/lib/commands/windows.d.ts +22 -0
- package/build/lib/commands/windows.d.ts.map +1 -0
- package/build/lib/commands/windows.js +32 -0
- package/build/lib/commands/windows.js.map +1 -0
- package/build/lib/driver.d.ts +12 -0
- package/build/lib/driver.d.ts.map +1 -1
- package/build/lib/driver.js +3 -0
- package/build/lib/driver.js.map +1 -1
- package/build/lib/execute-method-map.d.ts +9 -0
- package/build/lib/execute-method-map.d.ts.map +1 -1
- package/build/lib/execute-method-map.js +9 -0
- package/build/lib/execute-method-map.js.map +1 -1
- package/build/lib/session-claim-handler.d.ts.map +1 -1
- package/build/lib/session-claim-handler.js +1 -2
- package/build/lib/session-claim-handler.js.map +1 -1
- package/build/lib/types.d.ts +26 -0
- package/build/lib/types.d.ts.map +1 -1
- package/build/lib/wda-mac.d.ts +0 -1
- package/build/lib/wda-mac.d.ts.map +1 -1
- package/build/lib/wda-mac.js +1 -1
- package/lib/commands/native-record-screen.ts +2 -0
- package/lib/commands/windows.ts +44 -0
- package/lib/driver.ts +4 -0
- package/lib/execute-method-map.ts +9 -0
- package/lib/session-claim-handler.ts +1 -2
- package/lib/types.ts +28 -0
- package/lib/wda-mac.ts +1 -2
- package/node_modules/@appium/support/build/lib/npm.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/npm.js +2 -1
- package/node_modules/@appium/support/build/lib/npm.js.map +1 -1
- package/node_modules/@appium/support/build/lib/util.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/util.js +13 -1
- package/node_modules/@appium/support/build/lib/util.js.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.d.ts +2 -1
- package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.js +193 -64
- package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/@appium/support/lib/npm.ts +2 -1
- package/node_modules/@appium/support/lib/util.ts +13 -1
- package/node_modules/@appium/support/lib/zip.ts +231 -71
- package/node_modules/@appium/support/node_modules/axios/CHANGELOG.md +1934 -0
- package/node_modules/@appium/support/node_modules/axios/LICENSE +7 -0
- package/node_modules/@appium/support/node_modules/axios/MIGRATION_GUIDE.md +877 -0
- package/node_modules/@appium/support/node_modules/axios/README.md +2851 -0
- package/node_modules/@appium/support/node_modules/axios/dist/axios.js +5807 -0
- package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js +5 -0
- package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/@appium/support/node_modules/axios/dist/browser/axios.cjs +5829 -0
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.js +5850 -0
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/@appium/support/node_modules/axios/dist/node/axios.cjs +6808 -0
- package/node_modules/@appium/support/node_modules/axios/index.d.cts +766 -0
- package/node_modules/@appium/support/node_modules/axios/index.d.ts +787 -0
- package/node_modules/@appium/support/node_modules/axios/index.js +45 -0
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/README.md +36 -0
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/fetch.js +696 -0
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/http.js +1490 -0
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/xhr.js +277 -0
- package/node_modules/@appium/support/node_modules/axios/lib/axios.js +89 -0
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/Axios.js +306 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/InterceptorManager.js +171 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/buildFullPath.js +76 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/dispatchRequest.js +95 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/settle.js +27 -0
- package/node_modules/@appium/support/node_modules/axios/lib/core/transformData.js +28 -0
- package/node_modules/@appium/support/node_modules/axios/lib/defaults/index.js +178 -0
- package/node_modules/@appium/support/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/node_modules/@appium/support/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/@appium/support/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/@appium/support/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/bind.js +14 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/spread.js +28 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/throttle.js +45 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/toFormData.js +279 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/validator.js +112 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/index.js +7 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/index.js +37 -0
- package/node_modules/@appium/support/node_modules/axios/lib/utils.js +1150 -0
- package/node_modules/@appium/support/node_modules/axios/package.json +203 -0
- package/node_modules/@appium/support/package.json +6 -6
- package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts +6 -4
- package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts.map +1 -1
- package/node_modules/@appium/types/lib/commands/basedriver.ts +4 -4
- package/node_modules/@appium/types/package.json +2 -2
- package/node_modules/appium-xcode/CHANGELOG.md +7 -0
- package/node_modules/appium-xcode/package.json +4 -4
- package/node_modules/asyncbox/README.md +43 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts +9 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js +35 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncfilter.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts +9 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.js +23 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncmap.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.d.ts +9 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.js +20 -0
- package/node_modules/asyncbox/build/cjs/lib/errors.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/index.d.ts +12 -0
- package/node_modules/asyncbox/build/cjs/lib/index.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/index.js +24 -0
- package/node_modules/asyncbox/build/cjs/lib/index.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts +3 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.js +15 -0
- package/node_modules/asyncbox/build/cjs/lib/limit-function.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.d.ts +74 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.js +295 -0
- package/node_modules/asyncbox/build/cjs/lib/lock.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts +15 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.js +36 -0
- package/node_modules/asyncbox/build/cjs/lib/long-sleep.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.d.ts +17 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.js +57 -0
- package/node_modules/asyncbox/build/cjs/lib/retry.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.d.ts +20 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.js +61 -0
- package/node_modules/asyncbox/build/cjs/lib/sleep.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js +51 -0
- package/node_modules/asyncbox/build/cjs/lib/wait-for-condition.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts +16 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.js +45 -0
- package/node_modules/asyncbox/build/cjs/lib/with-timeout.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts +9 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.js +32 -0
- package/node_modules/asyncbox/build/esm/lib/asyncfilter.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts +9 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.js +20 -0
- package/node_modules/asyncbox/build/esm/lib/asyncmap.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/errors.d.ts +9 -0
- package/node_modules/asyncbox/build/esm/lib/errors.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/errors.js +15 -0
- package/node_modules/asyncbox/build/esm/lib/errors.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/index.d.ts +12 -0
- package/node_modules/asyncbox/build/esm/lib/index.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/index.js +10 -0
- package/node_modules/asyncbox/build/esm/lib/index.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.d.ts +3 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.js +12 -0
- package/node_modules/asyncbox/build/esm/lib/limit-function.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/lock.d.ts +74 -0
- package/node_modules/asyncbox/build/esm/lib/lock.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/lock.js +291 -0
- package/node_modules/asyncbox/build/esm/lib/lock.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts +15 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.js +33 -0
- package/node_modules/asyncbox/build/esm/lib/long-sleep.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/retry.d.ts +17 -0
- package/node_modules/asyncbox/build/esm/lib/retry.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/retry.js +53 -0
- package/node_modules/asyncbox/build/esm/lib/retry.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.d.ts +20 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.js +58 -0
- package/node_modules/asyncbox/build/esm/lib/sleep.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts +18 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js +48 -0
- package/node_modules/asyncbox/build/esm/lib/wait-for-condition.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts +16 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.js +42 -0
- package/node_modules/asyncbox/build/esm/lib/with-timeout.js.map +1 -0
- package/node_modules/asyncbox/lib/asyncfilter.ts +38 -0
- package/node_modules/asyncbox/lib/asyncmap.ts +29 -0
- package/node_modules/asyncbox/lib/errors.ts +15 -0
- package/node_modules/asyncbox/lib/index.ts +21 -0
- package/node_modules/asyncbox/lib/limit-function.ts +18 -0
- package/node_modules/asyncbox/lib/lock.ts +360 -0
- package/node_modules/asyncbox/lib/long-sleep.ts +38 -0
- package/node_modules/asyncbox/lib/retry.ts +61 -0
- package/node_modules/asyncbox/lib/sleep.ts +79 -0
- package/node_modules/asyncbox/lib/wait-for-condition.ts +52 -0
- package/node_modules/asyncbox/lib/with-timeout.ts +43 -0
- package/node_modules/asyncbox/package.json +8 -8
- package/node_modules/axios/README.md +41 -106
- package/node_modules/axios/dist/axios.js +931 -278
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +948 -268
- package/node_modules/axios/dist/esm/axios.js +948 -268
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +925 -242
- package/node_modules/axios/index.d.cts +20 -1
- package/node_modules/axios/index.d.ts +18 -1
- package/node_modules/axios/lib/adapters/fetch.js +73 -20
- package/node_modules/axios/lib/adapters/http.js +145 -26
- package/node_modules/axios/lib/adapters/xhr.js +120 -13
- package/node_modules/axios/lib/core/Axios.js +67 -12
- package/node_modules/axios/lib/core/AxiosError.js +59 -0
- package/node_modules/axios/lib/core/AxiosHeaders.js +17 -4
- package/node_modules/axios/lib/core/InterceptorManager.js +13 -2
- package/node_modules/axios/lib/core/assertParamsAcyclic.js +49 -0
- package/node_modules/axios/lib/core/createMultipartBody.js +37 -0
- package/node_modules/axios/lib/core/dispatchRequest.js +20 -0
- package/node_modules/axios/lib/core/mergeConfig.js +183 -120
- package/node_modules/axios/lib/defaults/transitional.js +1 -0
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +11 -2
- package/node_modules/axios/lib/helpers/Http2Sessions.js +2 -1
- package/node_modules/axios/lib/helpers/composeSignals.js +6 -3
- package/node_modules/axios/lib/helpers/cookies.js +30 -6
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +34 -7
- package/node_modules/axios/lib/helpers/formDataToBlob.js +113 -0
- package/node_modules/axios/lib/helpers/formDataToJSON.js +25 -1
- package/node_modules/axios/lib/helpers/fromDataURI.js +8 -2
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +4 -9
- package/node_modules/axios/lib/helpers/parseHeaders.js +2 -1
- package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/node_modules/axios/lib/helpers/resolveConfig.js +16 -3
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +16 -1
- package/node_modules/axios/lib/utils.js +61 -10
- package/node_modules/axios/package.json +1 -2
- package/node_modules/bare-url/README.md +4 -0
- package/node_modules/bare-url/index.d.ts +3 -0
- package/node_modules/bare-url/index.js +42 -18
- package/node_modules/bare-url/lib/errors.js +4 -0
- package/node_modules/bare-url/package.json +1 -1
- package/node_modules/bare-url/prebuilds/android-arm/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-ia32/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/android-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/darwin-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-arm64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/ios-x64-simulator/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/linux-x64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-arm64/bare-url.bare +0 -0
- package/node_modules/bare-url/prebuilds/win32-x64/bare-url.bare +0 -0
- package/node_modules/follow-redirects/README.md +27 -1
- package/node_modules/follow-redirects/index.js +1 -5
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/shell-quote/README.md +37 -4
- package/node_modules/shell-quote/package.json +10 -6
- package/node_modules/shell-quote/parse.d.ts +1 -1
- package/node_modules/shell-quote/parse.js +63 -11
- package/node_modules/shell-quote/quote.d.ts +2 -1
- package/node_modules/shell-quote/quote.js +23 -3
- package/node_modules/uuid/package.json +17 -17
- package/package.json +6 -7
- package/scripts/setup-accessibility.mjs +175 -0
- package/node_modules/async-lock/AUTHORS +0 -21
- package/node_modules/async-lock/History.md +0 -132
- package/node_modules/async-lock/LICENSE +0 -22
- package/node_modules/async-lock/README.md +0 -177
- package/node_modules/async-lock/index.js +0 -2
- package/node_modules/async-lock/lib/index.js +0 -312
- package/node_modules/async-lock/package.json +0 -48
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts +0 -103
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts.map +0 -1
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.js +0 -311
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.js.map +0 -1
- package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts +0 -103
- package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts.map +0 -1
- package/node_modules/asyncbox/build/esm/lib/asyncbox.js +0 -298
- package/node_modules/asyncbox/build/esm/lib/asyncbox.js.map +0 -1
- package/node_modules/asyncbox/lib/asyncbox.ts +0 -382
- package/node_modules/shell-quote/.nycrc +0 -14
- package/node_modules/shell-quote/eslint.config.mjs +0 -29
- package/node_modules/shell-quote/security.md +0 -11
- package/node_modules/shell-quote/test/comment.js +0 -16
- package/node_modules/shell-quote/test/env.js +0 -52
- package/node_modules/shell-quote/test/env_fn.js +0 -21
- package/node_modules/shell-quote/test/op.js +0 -102
- package/node_modules/shell-quote/test/parse.js +0 -149
- package/node_modules/shell-quote/test/quote.js +0 -145
- package/node_modules/shell-quote/test/set.js +0 -31
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import {PromiseCancellationError} from './errors.js';
|
|
2
|
+
import type {CancellablePromise, SleepArg, SleepOptions} from './types.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* An async/await version of `setTimeout`. The returned promise has a `cancel()` method that clears
|
|
6
|
+
* the timer and usually rejects with {@link PromiseCancellationError} unless you use the object form with
|
|
7
|
+
* `cancelError: null` to resolve on cancel.
|
|
8
|
+
*
|
|
9
|
+
* @param ms - Milliseconds to wait
|
|
10
|
+
* @returns A thenable you can `await`; call `.cancel()` to abort early.
|
|
11
|
+
*/
|
|
12
|
+
export function sleep(ms: number): CancellablePromise<void>;
|
|
13
|
+
/**
|
|
14
|
+
* Object form: `ms` plus optional `cancelError` (non-empty string or `Error`, `null` to resolve on
|
|
15
|
+
* cancel, or omitted / `undefined` / `''` for default {@link PromiseCancellationError}). Any non-array
|
|
16
|
+
* object with a finite `ms` is accepted at runtime (including class instances), matching structural typing.
|
|
17
|
+
*
|
|
18
|
+
* @param options - Duration and optional cancellation behavior
|
|
19
|
+
* @returns A thenable you can `await`; call `.cancel()` to abort early.
|
|
20
|
+
*/
|
|
21
|
+
export function sleep(options: SleepOptions): CancellablePromise<void>;
|
|
22
|
+
export function sleep(arg: SleepArg): CancellablePromise<void> {
|
|
23
|
+
const {ms, cancelError} = parseSleepArg(arg);
|
|
24
|
+
let timeoutId: NodeJS.Timeout | undefined;
|
|
25
|
+
let resolveFn: ((value: void) => void) | undefined;
|
|
26
|
+
let rejectFn: ((error: Error) => void) | undefined;
|
|
27
|
+
|
|
28
|
+
const promise = new Promise<void>((resolve, reject) => {
|
|
29
|
+
resolveFn = resolve;
|
|
30
|
+
rejectFn = reject;
|
|
31
|
+
timeoutId = setTimeout(resolve, ms);
|
|
32
|
+
}) as CancellablePromise<void>;
|
|
33
|
+
|
|
34
|
+
promise.cancel = () => {
|
|
35
|
+
if (timeoutId) {
|
|
36
|
+
clearTimeout(timeoutId);
|
|
37
|
+
timeoutId = undefined;
|
|
38
|
+
}
|
|
39
|
+
if (cancelError === null) {
|
|
40
|
+
resolveFn?.(undefined);
|
|
41
|
+
} else {
|
|
42
|
+
let err: Error;
|
|
43
|
+
if (typeof cancelError === 'string' && cancelError) {
|
|
44
|
+
err = new PromiseCancellationError(cancelError);
|
|
45
|
+
} else if (cancelError instanceof Error) {
|
|
46
|
+
err = cancelError;
|
|
47
|
+
} else {
|
|
48
|
+
err = new PromiseCancellationError();
|
|
49
|
+
}
|
|
50
|
+
rejectFn?.(err);
|
|
51
|
+
}
|
|
52
|
+
resolveFn = undefined;
|
|
53
|
+
rejectFn = undefined;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
return promise;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** Non-array object values (including class instances); excludes `null` and arrays. */
|
|
60
|
+
function isSleepArgObject(value: unknown): value is Record<PropertyKey, unknown> {
|
|
61
|
+
return value !== null && typeof value === 'object' && !Array.isArray(value);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function parseSleepArg(arg: SleepArg): {ms: number; cancelError?: string | Error | null} {
|
|
65
|
+
if (typeof arg === 'number') {
|
|
66
|
+
if (!Number.isFinite(arg)) {
|
|
67
|
+
throw new TypeError('sleep: expected a finite number or an object with ms');
|
|
68
|
+
}
|
|
69
|
+
return {ms: arg};
|
|
70
|
+
}
|
|
71
|
+
if (isSleepArgObject(arg)) {
|
|
72
|
+
const ms = arg.ms;
|
|
73
|
+
if (typeof ms !== 'number' || !Number.isFinite(ms)) {
|
|
74
|
+
throw new TypeError('sleep: options.ms must be a finite number');
|
|
75
|
+
}
|
|
76
|
+
return {ms, cancelError: arg.cancelError as string | Error | null | undefined};
|
|
77
|
+
}
|
|
78
|
+
throw new TypeError('sleep: expected a finite number or an object with ms');
|
|
79
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {sleep} from './sleep.js';
|
|
2
|
+
import type {WaitForConditionOptions} from './types.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Takes a condition (a function returning a boolean or boolean promise), and
|
|
6
|
+
* waits until the condition is true.
|
|
7
|
+
*
|
|
8
|
+
* Throws a `/Condition unmet/` error if the condition has not been satisfied
|
|
9
|
+
* within the allocated time, unless an error is provided in the options, as the
|
|
10
|
+
* `error` property, which is either thrown itself, or used as the message.
|
|
11
|
+
*
|
|
12
|
+
* The condition result is returned if it is not falsy. If the condition throws an
|
|
13
|
+
* error then this exception will be immediately passed through.
|
|
14
|
+
*
|
|
15
|
+
* The default options are: `{ waitMs: 5000, intervalMs: 500 }`
|
|
16
|
+
* @param condFn - The condition function to evaluate
|
|
17
|
+
* @param options - Options for controlling the wait behavior
|
|
18
|
+
*/
|
|
19
|
+
export async function waitForCondition<T>(
|
|
20
|
+
condFn: () => Promise<T> | T,
|
|
21
|
+
options: WaitForConditionOptions = {},
|
|
22
|
+
): Promise<T> {
|
|
23
|
+
const opts: WaitForConditionOptions & {waitMs: number; intervalMs: number} = {
|
|
24
|
+
...options,
|
|
25
|
+
waitMs: typeof options.waitMs === 'number' ? options.waitMs : 5000,
|
|
26
|
+
intervalMs: typeof options.intervalMs === 'number' ? options.intervalMs : 500,
|
|
27
|
+
};
|
|
28
|
+
const debug = opts.logger ? opts.logger.debug.bind(opts.logger) : () => undefined;
|
|
29
|
+
const error = opts.error;
|
|
30
|
+
const begunAt = performance.now();
|
|
31
|
+
const endAt = begunAt + opts.waitMs;
|
|
32
|
+
const spin = async function spin(): Promise<T> {
|
|
33
|
+
const result = await condFn();
|
|
34
|
+
if (result) {
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
const now = performance.now();
|
|
38
|
+
const waited = Math.round(now - begunAt);
|
|
39
|
+
const remainingTime = endAt - now;
|
|
40
|
+
if (now < endAt) {
|
|
41
|
+
debug(`Waited for ${waited} ms so far`);
|
|
42
|
+
await sleep(Math.min(opts.intervalMs, remainingTime));
|
|
43
|
+
return await spin();
|
|
44
|
+
}
|
|
45
|
+
// if there is an error option, it is either a string message or an error itself
|
|
46
|
+
if (error) {
|
|
47
|
+
throw typeof error === 'string' ? new Error(error) : error;
|
|
48
|
+
}
|
|
49
|
+
throw new Error(`Condition unmet after ${waited} ms. Timing out.`);
|
|
50
|
+
};
|
|
51
|
+
return await spin();
|
|
52
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {TimeoutError} from './errors.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Resolves with `promise` or rejects if it does not settle before `timeoutMs`.
|
|
5
|
+
*
|
|
6
|
+
* If the deadline passes first: with no third argument (or a falsy non-error value), rejects
|
|
7
|
+
* with {@link TimeoutError} whose message includes `timeoutMs`; with a non-empty string,
|
|
8
|
+
* rejects with {@link TimeoutError} using that message; with an `Error` instance, rejects
|
|
9
|
+
* with that same instance.
|
|
10
|
+
*
|
|
11
|
+
* @param promise - Promise to race against the timeout.
|
|
12
|
+
* @param timeoutMs - Maximum time in milliseconds before rejecting if `promise` has not settled.
|
|
13
|
+
* @param messageOrError - Optional override for the timeout rejection: custom {@link TimeoutError}
|
|
14
|
+
* message when the string is non-empty, or an existing `Error` to reject with verbatim.
|
|
15
|
+
* Omitted, `undefined`, or other falsy non-error values use the default timeout message (includes `timeoutMs`).
|
|
16
|
+
*/
|
|
17
|
+
export async function withTimeout<T>(
|
|
18
|
+
promise: Promise<T>,
|
|
19
|
+
timeoutMs: number,
|
|
20
|
+
messageOrError?: string | Error,
|
|
21
|
+
): Promise<T> {
|
|
22
|
+
let timer: NodeJS.Timeout | null = null;
|
|
23
|
+
try {
|
|
24
|
+
return await Promise.race([
|
|
25
|
+
promise,
|
|
26
|
+
new Promise<T>((_resolve, reject) => {
|
|
27
|
+
timer = setTimeout(() => {
|
|
28
|
+
if (typeof messageOrError === 'string' && messageOrError) {
|
|
29
|
+
reject(new TimeoutError(messageOrError));
|
|
30
|
+
} else if (!messageOrError) {
|
|
31
|
+
reject(new TimeoutError(`Operation timed out after ${timeoutMs}ms`));
|
|
32
|
+
} else {
|
|
33
|
+
reject(messageOrError);
|
|
34
|
+
}
|
|
35
|
+
}, timeoutMs);
|
|
36
|
+
}),
|
|
37
|
+
]);
|
|
38
|
+
} finally {
|
|
39
|
+
if (timer) {
|
|
40
|
+
clearTimeout(timer);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asyncbox",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "A collection of small async/await utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"async",
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
"build/esm/package.json"
|
|
29
29
|
],
|
|
30
30
|
"type": "module",
|
|
31
|
-
"main": "./build/cjs/lib/
|
|
32
|
-
"module": "./build/esm/lib/
|
|
33
|
-
"types": "./build/cjs/lib/
|
|
31
|
+
"main": "./build/cjs/lib/index.js",
|
|
32
|
+
"module": "./build/esm/lib/index.js",
|
|
33
|
+
"types": "./build/cjs/lib/index.d.ts",
|
|
34
34
|
"exports": {
|
|
35
35
|
".": {
|
|
36
36
|
"import": {
|
|
37
|
-
"types": "./build/esm/lib/
|
|
38
|
-
"default": "./build/esm/lib/
|
|
37
|
+
"types": "./build/esm/lib/index.d.ts",
|
|
38
|
+
"default": "./build/esm/lib/index.js"
|
|
39
39
|
},
|
|
40
40
|
"require": {
|
|
41
|
-
"types": "./build/cjs/lib/
|
|
42
|
-
"default": "./build/cjs/lib/
|
|
41
|
+
"types": "./build/cjs/lib/index.d.ts",
|
|
42
|
+
"default": "./build/cjs/lib/index.js"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"./package.json": "./package.json"
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
> [!IMPORTANT]
|
|
2
|
+
> [**Get Security Updates for Axios v0 →**](https://www.herodevs.com/support/nes-for-axios?utm_source=axios-site&utm_medium=referral&utm_campaign=nes-for-axios_global&utm_content=landing-page_none_20260924_a)
|
|
3
|
+
|
|
1
4
|
<h3 align="center">💎 Platinum sponsors <br /></h3>
|
|
2
5
|
<table align="center">
|
|
3
6
|
<tr>
|
|
@@ -139,32 +142,6 @@
|
|
|
139
142
|
</td>
|
|
140
143
|
</tr>
|
|
141
144
|
<tr width="33.333333333333336%">
|
|
142
|
-
<td align="center" width="33.333333333333336%">
|
|
143
|
-
<a
|
|
144
|
-
href="https://stytch.com/"
|
|
145
|
-
style="padding: 10px; display: inline-block"
|
|
146
|
-
target="_blank"
|
|
147
|
-
>
|
|
148
|
-
<img
|
|
149
|
-
width="90px"
|
|
150
|
-
height="90px"
|
|
151
|
-
src="https://images.opencollective.com/stytch/f84ce43/logo/256.png?height=256"
|
|
152
|
-
alt="Stytch"
|
|
153
|
-
/>
|
|
154
|
-
</a>
|
|
155
|
-
<p
|
|
156
|
-
align="center"
|
|
157
|
-
>
|
|
158
|
-
The identity platform for humans & AI agents
|
|
159
|
-
</p>
|
|
160
|
-
<p align="center">
|
|
161
|
-
<a
|
|
162
|
-
href="https://stytch.com"
|
|
163
|
-
target="_blank"
|
|
164
|
-
><b>stytch.com</b></a
|
|
165
|
-
>
|
|
166
|
-
</p>
|
|
167
|
-
</td>
|
|
168
145
|
<td align="center" width="33.333333333333336%">
|
|
169
146
|
<a
|
|
170
147
|
href="https://rxdb.info/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship&utm_content=logo"
|
|
@@ -215,60 +192,6 @@
|
|
|
215
192
|
>
|
|
216
193
|
</p>
|
|
217
194
|
</td>
|
|
218
|
-
</tr>
|
|
219
|
-
<tr width="33.333333333333336%">
|
|
220
|
-
<td align="center" width="33.333333333333336%">
|
|
221
|
-
<a
|
|
222
|
-
href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
|
|
223
|
-
style="padding: 10px; display: inline-block"
|
|
224
|
-
target="_blank"
|
|
225
|
-
>
|
|
226
|
-
<img
|
|
227
|
-
width="71px"
|
|
228
|
-
height="70px"
|
|
229
|
-
src="https://images.opencollective.com/buzzoid-buy-instagram-followers/56a09fe/logo.png"
|
|
230
|
-
alt="Buzzoid - Buy Instagram Followers"
|
|
231
|
-
/>
|
|
232
|
-
</a>
|
|
233
|
-
<p
|
|
234
|
-
align="center"
|
|
235
|
-
>
|
|
236
|
-
At Buzzoid, you can buy Instagram followers through a short checkout flow with safety controls. Rated world's #1 IG service since 2012.
|
|
237
|
-
</p>
|
|
238
|
-
<p align="center">
|
|
239
|
-
<a
|
|
240
|
-
href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
|
|
241
|
-
target="_blank"
|
|
242
|
-
><b>buzzoid.com</b></a
|
|
243
|
-
>
|
|
244
|
-
</p>
|
|
245
|
-
</td>
|
|
246
|
-
<td align="center" width="33.333333333333336%">
|
|
247
|
-
<a
|
|
248
|
-
href="https://twicsy.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
|
|
249
|
-
style="padding: 10px; display: inline-block"
|
|
250
|
-
target="_blank"
|
|
251
|
-
>
|
|
252
|
-
<img
|
|
253
|
-
width="71px"
|
|
254
|
-
height="70px"
|
|
255
|
-
src="https://images.opencollective.com/buy-instagram-followers-twicsy/b4c5d7f/logo/256.png?height=256"
|
|
256
|
-
alt="Buy Instagram Followers Twicsy"
|
|
257
|
-
/>
|
|
258
|
-
</a>
|
|
259
|
-
<p
|
|
260
|
-
align="center"
|
|
261
|
-
>
|
|
262
|
-
Buy real Instagram followers from Twicsy. Twicsy has been voted the best site to buy followers from the likes of US Magazine.
|
|
263
|
-
</p>
|
|
264
|
-
<p align="center">
|
|
265
|
-
<a
|
|
266
|
-
href="https://twicsy.com/buy-instagram-followers/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
|
|
267
|
-
target="_blank"
|
|
268
|
-
><b>twicsy.com</b></a
|
|
269
|
-
>
|
|
270
|
-
</p>
|
|
271
|
-
</td>
|
|
272
195
|
<td align="center" width="33.333333333333336%">
|
|
273
196
|
<a
|
|
274
197
|
href="https://global.fun88.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
|
|
@@ -351,27 +274,27 @@
|
|
|
351
274
|
</td>
|
|
352
275
|
<td align="center" width="33.333333333333336%">
|
|
353
276
|
<a
|
|
354
|
-
href="https://
|
|
277
|
+
href="https://www.scrapingbee.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
|
|
355
278
|
style="padding: 10px; display: inline-block"
|
|
356
279
|
target="_blank"
|
|
357
280
|
>
|
|
358
281
|
<img
|
|
359
|
-
width="
|
|
360
|
-
height="
|
|
361
|
-
src="https://images.opencollective.com/
|
|
362
|
-
alt="
|
|
282
|
+
width="90px"
|
|
283
|
+
height="90px"
|
|
284
|
+
src="https://images.opencollective.com/scrapingbee/6d5dc95/logo.png"
|
|
285
|
+
alt="ScrapingBee"
|
|
363
286
|
/>
|
|
364
287
|
</a>
|
|
365
288
|
<p
|
|
366
289
|
align="center"
|
|
367
290
|
>
|
|
368
|
-
|
|
291
|
+
Scrape websites with a powerful web scraping API without managing proxies, browsers, or anti-bot defenses.
|
|
369
292
|
</p>
|
|
370
293
|
<p align="center">
|
|
371
294
|
<a
|
|
372
|
-
href="https://
|
|
295
|
+
href="https://www.scrapingbee.com/?utm_source=axios_docs_website&utm_medium=website&utm_campaign=axios_open_collective_sponsorship"
|
|
373
296
|
target="_blank"
|
|
374
|
-
><b>
|
|
297
|
+
><b>scrapingbee.com</b></a
|
|
375
298
|
>
|
|
376
299
|
</p>
|
|
377
300
|
</td>
|
|
@@ -379,43 +302,55 @@
|
|
|
379
302
|
<tr width="33.333333333333336%">
|
|
380
303
|
<td align="center" width="33.333333333333336%">
|
|
381
304
|
<a
|
|
382
|
-
href="https://www.
|
|
305
|
+
href="https://www.herodevs.com/support/nes-for-axios?utm_source=axios-site&utm_medium=referral&utm_campaign=nes-for-axios_global&utm_content=landing-page_none_20260924_a"
|
|
383
306
|
style="padding: 10px; display: inline-block"
|
|
384
307
|
target="_blank"
|
|
385
308
|
>
|
|
386
309
|
<img
|
|
387
|
-
width="
|
|
388
|
-
height="
|
|
389
|
-
src="https://
|
|
390
|
-
alt="
|
|
310
|
+
width="180px"
|
|
311
|
+
height="53px"
|
|
312
|
+
src="https://axios.rest/sponsors/herodevs.svg"
|
|
313
|
+
alt="HeroDevs"
|
|
391
314
|
/>
|
|
392
315
|
</a>
|
|
393
316
|
<p
|
|
394
317
|
align="center"
|
|
395
318
|
>
|
|
396
|
-
|
|
319
|
+
Security and long-term support for end-of-life open source software.
|
|
397
320
|
</p>
|
|
398
321
|
<p align="center">
|
|
399
322
|
<a
|
|
400
|
-
href="https://www.
|
|
323
|
+
href="https://www.herodevs.com/support/nes-for-axios?utm_source=axios-site&utm_medium=referral&utm_campaign=nes-for-axios_global&utm_content=landing-page_none_20260924_a"
|
|
401
324
|
target="_blank"
|
|
402
|
-
><b>
|
|
325
|
+
><b>herodevs.com</b></a
|
|
403
326
|
>
|
|
404
327
|
</p>
|
|
405
328
|
</td>
|
|
406
329
|
<td align="center" width="33.333333333333336%">
|
|
407
330
|
<a
|
|
408
|
-
href="https://opencollective.com/
|
|
331
|
+
href="https://opencollective.com/sweepico-promo-code"
|
|
332
|
+
style="padding: 10px; display: inline-block"
|
|
409
333
|
target="_blank"
|
|
410
|
-
>💜 Become a sponsor</a
|
|
411
334
|
>
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
335
|
+
<img
|
|
336
|
+
width="90px"
|
|
337
|
+
height="90px"
|
|
338
|
+
src="https://images.opencollective.com/sweepico-promo-code/4dd517a/logo.png"
|
|
339
|
+
alt="Sweepico Promo Code"
|
|
340
|
+
/>
|
|
341
|
+
</a>
|
|
342
|
+
<p
|
|
343
|
+
align="center"
|
|
418
344
|
>
|
|
345
|
+
Social Gaming Platform
|
|
346
|
+
</p>
|
|
347
|
+
<p align="center">
|
|
348
|
+
<a
|
|
349
|
+
href="https://opencollective.com/sweepico-promo-code"
|
|
350
|
+
target="_blank"
|
|
351
|
+
><b>Sweepico Promo Code</b></a
|
|
352
|
+
>
|
|
353
|
+
</p>
|
|
419
354
|
</td>
|
|
420
355
|
</tr>
|
|
421
356
|
</table>
|
|
@@ -597,13 +532,13 @@ const axios = require('axios/dist/browser/axios.cjs'); // browser commonJS bundl
|
|
|
597
532
|
Using jsDelivr CDN (ES5 UMD browser module):
|
|
598
533
|
|
|
599
534
|
```html
|
|
600
|
-
<script src="https://cdn.jsdelivr.net/npm/axios@1.
|
|
535
|
+
<script src="https://cdn.jsdelivr.net/npm/axios@1.20.0/dist/axios.min.js"></script>
|
|
601
536
|
```
|
|
602
537
|
|
|
603
538
|
Using unpkg CDN:
|
|
604
539
|
|
|
605
540
|
```html
|
|
606
|
-
<script src="https://unpkg.com/axios@1.
|
|
541
|
+
<script src="https://unpkg.com/axios@1.20.0/dist/axios.min.js"></script>
|
|
607
542
|
```
|
|
608
543
|
|
|
609
544
|
## Example
|