appium-mac2-driver 4.3.5 → 4.3.6
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 +6 -0
- package/WebDriverAgentMac/WebDriverAgentLib/Utilities/FBXPath.m +48 -2
- package/WebDriverAgentMac/WebDriverAgentMac.xcodeproj/project.pbxproj +4 -0
- package/build/lib/wda-mac.d.ts.map +1 -1
- package/build/lib/wda-mac.js +4 -5
- package/build/lib/wda-mac.js.map +1 -1
- package/lib/wda-mac.ts +4 -5
- package/node_modules/@appium/logger/CHANGELOG.md +8 -0
- package/node_modules/@appium/logger/package.json +3 -3
- package/node_modules/@appium/strongbox/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/strongbox/build/lib/index.js +6 -1
- package/node_modules/@appium/strongbox/build/lib/index.js.map +1 -1
- package/node_modules/@appium/strongbox/lib/index.ts +6 -1
- package/node_modules/@appium/strongbox/package.json +2 -2
- package/node_modules/@appium/support/build/lib/fs.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/fs.js +7 -0
- package/node_modules/@appium/support/build/lib/fs.js.map +1 -1
- package/node_modules/@appium/support/build/lib/index.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/net.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/net.js +6 -2
- package/node_modules/@appium/support/build/lib/net.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 +10 -4
- package/node_modules/@appium/support/build/lib/util.js.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -1
- package/node_modules/@appium/support/build/lib/zip.js +2 -7
- package/node_modules/@appium/support/build/lib/zip.js.map +1 -1
- package/node_modules/@appium/support/lib/fs.ts +8 -1
- package/node_modules/@appium/support/lib/net.ts +7 -2
- package/node_modules/@appium/support/lib/util.ts +9 -3
- package/node_modules/@appium/support/lib/zip.ts +3 -9
- package/node_modules/@appium/support/package.json +9 -9
- package/node_modules/@appium/types/package.json +4 -4
- package/node_modules/@img/sharp-darwin-arm64/index.cjs +1 -1
- package/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64-0.35.5.node +0 -0
- package/node_modules/@img/sharp-darwin-arm64/package.json +2 -2
- package/node_modules/@img/sharp-libvips-darwin-arm64/README.md +1 -1
- package/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +2 -2
- package/node_modules/@img/sharp-libvips-darwin-arm64/lib/{libvips-cpp.8.18.6.dylib → libvips-cpp.8.18.7.dylib} +0 -0
- package/node_modules/@img/sharp-libvips-darwin-arm64/package.json +2 -2
- package/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +11 -11
- package/node_modules/appium-xcode/CHANGELOG.md +28 -0
- package/node_modules/appium-xcode/README.md +1 -1
- package/node_modules/appium-xcode/package.json +14 -18
- package/node_modules/b4a/browser.js +5 -0
- package/node_modules/b4a/index.d.ts +144 -0
- package/node_modules/b4a/index.js +5 -0
- package/node_modules/b4a/package.json +4 -1
- package/node_modules/b4a/runtime.d.ts +14 -0
- package/node_modules/bare-fs/binding.c +53 -24
- package/node_modules/bare-fs/index.d.ts +12 -10
- package/node_modules/bare-fs/index.js +13 -4
- package/node_modules/bare-fs/package.json +2 -1
- package/node_modules/bare-fs/prebuilds/android-arm/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-ia32/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/android-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/darwin-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-arm64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/ios-x64-simulator/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/linux-x64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-arm64/bare-fs.bare +0 -0
- package/node_modules/bare-fs/prebuilds/win32-x64/bare-fs.bare +0 -0
- package/node_modules/bplist-creator/README.md +26 -6
- package/node_modules/bplist-creator/dist/index.cjs +508 -0
- package/node_modules/bplist-creator/dist/index.cjs.map +7 -0
- package/node_modules/bplist-creator/dist/index.d.cts +12 -0
- package/node_modules/bplist-creator/dist/index.d.ts +12 -0
- package/node_modules/bplist-creator/dist/index.mjs +472 -0
- package/node_modules/bplist-creator/dist/index.mjs.map +7 -0
- package/node_modules/bplist-creator/package.json +43 -9
- package/node_modules/bplist-parser/README.md +37 -3
- package/node_modules/bplist-parser/dist/index.cjs +385 -0
- package/node_modules/bplist-parser/dist/index.cjs.map +7 -0
- package/node_modules/bplist-parser/dist/index.d.cts +13 -0
- package/node_modules/bplist-parser/dist/index.d.ts +13 -0
- package/node_modules/bplist-parser/{bplistParser.js → dist/index.mjs} +141 -171
- package/node_modules/bplist-parser/dist/index.mjs.map +7 -0
- package/node_modules/bplist-parser/package.json +39 -12
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +4 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/brace-expansion/dist/commonjs/index.js +69 -25
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -1
- package/node_modules/brace-expansion/dist/esm/index.d.ts +4 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -1
- package/node_modules/brace-expansion/dist/esm/index.js +68 -24
- package/node_modules/brace-expansion/dist/esm/index.js.map +1 -1
- package/node_modules/brace-expansion/package.json +2 -1
- package/node_modules/follow-redirects/index.js +10 -1
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/react-native/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel-react-native.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/react-native/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/react-native/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/react-native/perf.js.map +1 -0
- package/node_modules/lru-cache/package.json +27 -1
- package/node_modules/p-limit/index.d.ts +2 -0
- package/node_modules/p-limit/index.js +17 -1
- package/node_modules/p-limit/package.json +1 -1
- package/node_modules/p-limit/readme.md +2 -0
- package/node_modules/sharp/dist/index.d.cts +2 -2
- package/node_modules/sharp/dist/index.d.mts +3 -3
- package/node_modules/sharp/dist/is.cjs +8 -2
- package/node_modules/sharp/dist/is.mjs +8 -2
- package/node_modules/sharp/dist/operation.cjs +2 -2
- package/node_modules/sharp/dist/operation.mjs +2 -2
- package/node_modules/sharp/dist/output.cjs +1 -0
- package/node_modules/sharp/dist/output.mjs +1 -0
- package/node_modules/sharp/dist/resize.cjs +14 -14
- package/node_modules/sharp/dist/resize.mjs +14 -14
- package/node_modules/sharp/dist/sharp.cjs +3 -3
- package/node_modules/sharp/dist/sharp.mjs +3 -3
- package/node_modules/sharp/lib/index.d.ts +2 -2
- package/node_modules/sharp/package.json +35 -35
- package/node_modules/sharp/src/binding.gyp +1 -1
- package/node_modules/sharp/src/common.cc +4 -4
- package/node_modules/sharp/src/common.h +2 -2
- package/node_modules/sharp/src/pipeline.cc +31 -6
- package/node_modules/sharp/src/utilities.cc +1 -1
- package/node_modules/spdx-license-ids/index.json +13 -0
- package/node_modules/spdx-license-ids/package.json +1 -1
- package/node_modules/stream-buffers/.codeclimate.yml +12 -0
- package/node_modules/stream-buffers/.eslintignore +1 -0
- package/node_modules/stream-buffers/.eslintrc +25 -0
- package/node_modules/stream-buffers/.github/workflows/codeql-analysis.yml +71 -0
- package/node_modules/stream-buffers/.github/workflows/node.js.yml +31 -0
- package/node_modules/stream-buffers/.mailmap +1 -0
- package/node_modules/stream-buffers/.nvmrc +1 -0
- package/node_modules/stream-buffers/README.md +65 -65
- package/node_modules/stream-buffers/lib/constants.js +8 -6
- package/node_modules/stream-buffers/lib/readable_streambuffer.js +114 -136
- package/node_modules/stream-buffers/lib/streambuffer.js +5 -3
- package/node_modules/stream-buffers/lib/writable_streambuffer.js +72 -97
- package/node_modules/stream-buffers/package.json +7 -5
- package/node_modules/type-fest/index.d.ts +7 -7
- package/node_modules/type-fest/package.json +2 -1
- package/node_modules/type-fest/readme.md +7 -16
- package/node_modules/type-fest/source/all-extend.d.ts +9 -7
- package/node_modules/type-fest/source/array-reverse.d.ts +13 -12
- package/node_modules/type-fest/source/array-tail.d.ts +3 -3
- package/node_modules/type-fest/source/delimiter-case.d.ts +1 -1
- package/node_modules/type-fest/source/get.d.ts +1 -1
- package/node_modules/type-fest/source/int-closed-range.d.ts +4 -1
- package/node_modules/type-fest/source/int-range.d.ts +56 -9
- package/node_modules/type-fest/source/internal/array.d.ts +14 -13
- package/node_modules/type-fest/source/internal/numeric.d.ts +0 -38
- package/node_modules/type-fest/source/internal/object.d.ts +30 -1
- package/node_modules/type-fest/source/is-boolean-literal.d.ts +39 -0
- package/node_modules/type-fest/source/is-literal.d.ts +43 -269
- package/node_modules/type-fest/source/is-numeric-literal.d.ts +50 -0
- package/node_modules/type-fest/source/is-string-literal.d.ts +72 -0
- package/node_modules/type-fest/source/is-symbol-literal.d.ts +39 -0
- package/node_modules/type-fest/source/is-tuple.d.ts +3 -3
- package/node_modules/type-fest/source/jsonify.d.ts +1 -5
- package/node_modules/type-fest/source/merge-deep.d.ts +3 -3
- package/node_modules/type-fest/source/remove-prefix.d.ts +1 -1
- package/node_modules/type-fest/source/remove-suffix.d.ts +1 -1
- package/node_modules/type-fest/source/rename-keys.d.ts +163 -0
- package/node_modules/type-fest/source/set-required.d.ts +10 -9
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +6 -4
- package/node_modules/type-fest/source/some-extend.d.ts +9 -7
- package/node_modules/type-fest/source/split-on-rest-element.d.ts +14 -13
- package/node_modules/type-fest/source/split.d.ts +22 -11
- package/node_modules/type-fest/source/string-repeat.d.ts +1 -1
- package/node_modules/type-fest/source/string-to-array.d.ts +1 -1
- package/node_modules/type-fest/source/tsconfig-json.d.ts +1 -1
- package/node_modules/type-fest/source/typed-array.d.ts +6 -0
- package/node_modules/type-fest/source/union-max.d.ts +56 -0
- package/node_modules/type-fest/source/writable.d.ts +2 -2
- package/package.json +3 -3
- package/node_modules/@appium/support/node_modules/asyncbox/LICENSE +0 -203
- package/node_modules/@appium/support/node_modules/asyncbox/README.md +0 -215
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts +0 -103
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.js +0 -301
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/asyncbox.js.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.d.ts +0 -84
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.d.ts.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.js +0 -3
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/lib/types.js.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/cjs/package.json +0 -3
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts +0 -103
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.js +0 -288
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/asyncbox.js.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.d.ts +0 -84
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.d.ts.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.js +0 -2
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/lib/types.js.map +0 -1
- package/node_modules/@appium/support/node_modules/asyncbox/build/esm/package.json +0 -3
- package/node_modules/@appium/support/node_modules/asyncbox/lib/asyncbox.ts +0 -365
- package/node_modules/@appium/support/node_modules/asyncbox/lib/types.ts +0 -88
- package/node_modules/@appium/support/node_modules/asyncbox/package.json +0 -74
- package/node_modules/@appium/support/node_modules/axios/CHANGELOG.md +0 -1872
- package/node_modules/@appium/support/node_modules/axios/LICENSE +0 -7
- package/node_modules/@appium/support/node_modules/axios/MIGRATION_GUIDE.md +0 -877
- package/node_modules/@appium/support/node_modules/axios/README.md +0 -2623
- package/node_modules/@appium/support/node_modules/axios/dist/axios.js +0 -5509
- package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js +0 -5
- package/node_modules/@appium/support/node_modules/axios/dist/axios.min.js.map +0 -1
- package/node_modules/@appium/support/node_modules/axios/dist/browser/axios.cjs +0 -5469
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.js +0 -5490
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/dist/esm/axios.min.js.map +0 -1
- package/node_modules/@appium/support/node_modules/axios/dist/node/axios.cjs +0 -6356
- package/node_modules/@appium/support/node_modules/axios/index.d.cts +0 -762
- package/node_modules/@appium/support/node_modules/axios/index.d.ts +0 -783
- package/node_modules/@appium/support/node_modules/axios/index.js +0 -45
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/README.md +0 -36
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/adapters.js +0 -132
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/fetch.js +0 -643
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/http.js +0 -1406
- package/node_modules/@appium/support/node_modules/axios/lib/adapters/xhr.js +0 -228
- package/node_modules/@appium/support/node_modules/axios/lib/axios.js +0 -89
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/CancelToken.js +0 -135
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/CanceledError.js +0 -22
- package/node_modules/@appium/support/node_modules/axios/lib/cancel/isCancel.js +0 -5
- package/node_modules/@appium/support/node_modules/axios/lib/core/Axios.js +0 -301
- package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosError.js +0 -219
- package/node_modules/@appium/support/node_modules/axios/lib/core/AxiosHeaders.js +0 -474
- package/node_modules/@appium/support/node_modules/axios/lib/core/InterceptorManager.js +0 -72
- package/node_modules/@appium/support/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/@appium/support/node_modules/axios/lib/core/buildFullPath.js +0 -88
- package/node_modules/@appium/support/node_modules/axios/lib/core/dispatchRequest.js +0 -89
- package/node_modules/@appium/support/node_modules/axios/lib/core/mergeConfig.js +0 -174
- package/node_modules/@appium/support/node_modules/axios/lib/core/setFormDataHeaders.js +0 -27
- package/node_modules/@appium/support/node_modules/axios/lib/core/settle.js +0 -27
- package/node_modules/@appium/support/node_modules/axios/lib/core/transformData.js +0 -28
- package/node_modules/@appium/support/node_modules/axios/lib/defaults/index.js +0 -177
- package/node_modules/@appium/support/node_modules/axios/lib/defaults/transitional.js +0 -10
- package/node_modules/@appium/support/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/env/classes/FormData.js +0 -2
- package/node_modules/@appium/support/node_modules/axios/lib/env/data.js +0 -1
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosTransformStream.js +0 -156
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -59
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/Http2Sessions.js +0 -119
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -78
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +0 -29
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/bind.js +0 -14
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/buildURL.js +0 -69
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/callbackify.js +0 -18
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/combineURLs.js +0 -23
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/composeSignals.js +0 -68
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/cookies.js +0 -64
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/deprecatedMethod.js +0 -31
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +0 -166
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToJSON.js +0 -125
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/formDataToStream.js +0 -119
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/fromDataURI.js +0 -68
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -19
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isAxiosError.js +0 -14
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -16
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/null.js +0 -2
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseHeaders.js +0 -71
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/parseProtocol.js +0 -6
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/progressEventReducer.js +0 -54
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/readBlob.js +0 -15
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/resolveConfig.js +0 -105
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +0 -60
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/shouldBypassProxy.js +0 -329
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/speedometer.js +0 -55
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/spread.js +0 -28
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/throttle.js +0 -44
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/toFormData.js +0 -286
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -19
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/trackStream.js +0 -89
- package/node_modules/@appium/support/node_modules/axios/lib/helpers/validator.js +0 -112
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -4
- package/node_modules/@appium/support/node_modules/axios/lib/platform/browser/index.js +0 -13
- package/node_modules/@appium/support/node_modules/axios/lib/platform/common/utils.js +0 -52
- package/node_modules/@appium/support/node_modules/axios/lib/platform/index.js +0 -7
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/Buffer.js +0 -11
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/FormData.js +0 -3
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +0 -4
- package/node_modules/@appium/support/node_modules/axios/lib/platform/node/index.js +0 -37
- package/node_modules/@appium/support/node_modules/axios/lib/utils.js +0 -1029
- package/node_modules/@appium/support/node_modules/axios/package.json +0 -203
- package/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64-0.35.4.node +0 -0
- package/node_modules/big-integer/BigInteger.d.ts +0 -2393
- package/node_modules/big-integer/BigInteger.js +0 -1453
- package/node_modules/big-integer/BigInteger.min.js +0 -1
- package/node_modules/big-integer/LICENSE +0 -24
- package/node_modules/big-integer/README.md +0 -589
- package/node_modules/big-integer/bower.json +0 -29
- package/node_modules/big-integer/package.json +0 -48
- package/node_modules/big-integer/tsconfig.json +0 -24
- package/node_modules/bplist-creator/bplistCreator.d.ts +0 -8
- package/node_modules/bplist-creator/bplistCreator.js +0 -460
- package/node_modules/bplist-creator/test/airplay.bplist +0 -0
- package/node_modules/bplist-creator/test/binaryData.bplist +0 -0
- package/node_modules/bplist-creator/test/creatorTest.js +0 -211
- package/node_modules/bplist-creator/test/iTunes-small.bplist +0 -0
- package/node_modules/bplist-creator/test/integers.bplist +0 -0
- package/node_modules/bplist-creator/test/sample1.bplist +0 -0
- package/node_modules/bplist-creator/test/sample2.bplist +0 -0
- package/node_modules/bplist-creator/test/uid.bplist +0 -0
- package/node_modules/bplist-creator/test/utf16.bplist +0 -0
- package/node_modules/bplist-parser/.editorconfig +0 -12
- package/node_modules/bplist-parser/.eslintignore +0 -1
- package/node_modules/bplist-parser/.eslintrc.js +0 -296
- package/node_modules/bplist-parser/bplistParser.d.ts +0 -8
- package/node_modules/stream-buffers/.travis.yml +0 -28
- package/node_modules/stream-buffers/coverage/coverage.json +0 -1
- package/node_modules/stream-buffers/coverage/lcov-report/base.css +0 -182
- package/node_modules/stream-buffers/coverage/lcov-report/index.html +0 -73
- package/node_modules/stream-buffers/coverage/lcov-report/lib/constants.js.html +0 -63
- package/node_modules/stream-buffers/coverage/lcov-report/lib/index.html +0 -112
- package/node_modules/stream-buffers/coverage/lcov-report/lib/readable_streambuffer.js.html +0 -453
- package/node_modules/stream-buffers/coverage/lcov-report/lib/streambuffer.js.html +0 -54
- package/node_modules/stream-buffers/coverage/lcov-report/lib/writable_streambuffer.js.html +0 -336
- package/node_modules/stream-buffers/coverage/lcov-report/prettify.css +0 -1
- package/node_modules/stream-buffers/coverage/lcov-report/prettify.js +0 -1
- package/node_modules/stream-buffers/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/node_modules/stream-buffers/coverage/lcov-report/sorter.js +0 -156
- package/node_modules/stream-buffers/coverage/lcov.info +0 -305
|
@@ -1,453 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>Code coverage report for lib/readable_streambuffer.js</title>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<link rel="stylesheet" href="../prettify.css">
|
|
7
|
-
<link rel="stylesheet" href="../base.css">
|
|
8
|
-
<style type='text/css'>
|
|
9
|
-
div.coverage-summary .sorter {
|
|
10
|
-
background-image: url(../sort-arrow-sprite.png);
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div class="header high">
|
|
16
|
-
<h1>Code coverage report for <span class="entity">lib/readable_streambuffer.js</span></h1>
|
|
17
|
-
<h2>
|
|
18
|
-
Statements: <span class="metric">98.82% <small>(84 / 85)</small></span>
|
|
19
|
-
Branches: <span class="metric">94.34% <small>(50 / 53)</small></span>
|
|
20
|
-
Functions: <span class="metric">100% <small>(11 / 11)</small></span>
|
|
21
|
-
Lines: <span class="metric">100% <small>(83 / 83)</small></span>
|
|
22
|
-
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
|
|
23
|
-
</h2>
|
|
24
|
-
<div class="path"><a href="../index.html">All files</a> » <a href="index.html">lib/</a> » readable_streambuffer.js</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="body">
|
|
27
|
-
<pre><table class="coverage">
|
|
28
|
-
<tr><td class="line-count">1
|
|
29
|
-
2
|
|
30
|
-
3
|
|
31
|
-
4
|
|
32
|
-
5
|
|
33
|
-
6
|
|
34
|
-
7
|
|
35
|
-
8
|
|
36
|
-
9
|
|
37
|
-
10
|
|
38
|
-
11
|
|
39
|
-
12
|
|
40
|
-
13
|
|
41
|
-
14
|
|
42
|
-
15
|
|
43
|
-
16
|
|
44
|
-
17
|
|
45
|
-
18
|
|
46
|
-
19
|
|
47
|
-
20
|
|
48
|
-
21
|
|
49
|
-
22
|
|
50
|
-
23
|
|
51
|
-
24
|
|
52
|
-
25
|
|
53
|
-
26
|
|
54
|
-
27
|
|
55
|
-
28
|
|
56
|
-
29
|
|
57
|
-
30
|
|
58
|
-
31
|
|
59
|
-
32
|
|
60
|
-
33
|
|
61
|
-
34
|
|
62
|
-
35
|
|
63
|
-
36
|
|
64
|
-
37
|
|
65
|
-
38
|
|
66
|
-
39
|
|
67
|
-
40
|
|
68
|
-
41
|
|
69
|
-
42
|
|
70
|
-
43
|
|
71
|
-
44
|
|
72
|
-
45
|
|
73
|
-
46
|
|
74
|
-
47
|
|
75
|
-
48
|
|
76
|
-
49
|
|
77
|
-
50
|
|
78
|
-
51
|
|
79
|
-
52
|
|
80
|
-
53
|
|
81
|
-
54
|
|
82
|
-
55
|
|
83
|
-
56
|
|
84
|
-
57
|
|
85
|
-
58
|
|
86
|
-
59
|
|
87
|
-
60
|
|
88
|
-
61
|
|
89
|
-
62
|
|
90
|
-
63
|
|
91
|
-
64
|
|
92
|
-
65
|
|
93
|
-
66
|
|
94
|
-
67
|
|
95
|
-
68
|
|
96
|
-
69
|
|
97
|
-
70
|
|
98
|
-
71
|
|
99
|
-
72
|
|
100
|
-
73
|
|
101
|
-
74
|
|
102
|
-
75
|
|
103
|
-
76
|
|
104
|
-
77
|
|
105
|
-
78
|
|
106
|
-
79
|
|
107
|
-
80
|
|
108
|
-
81
|
|
109
|
-
82
|
|
110
|
-
83
|
|
111
|
-
84
|
|
112
|
-
85
|
|
113
|
-
86
|
|
114
|
-
87
|
|
115
|
-
88
|
|
116
|
-
89
|
|
117
|
-
90
|
|
118
|
-
91
|
|
119
|
-
92
|
|
120
|
-
93
|
|
121
|
-
94
|
|
122
|
-
95
|
|
123
|
-
96
|
|
124
|
-
97
|
|
125
|
-
98
|
|
126
|
-
99
|
|
127
|
-
100
|
|
128
|
-
101
|
|
129
|
-
102
|
|
130
|
-
103
|
|
131
|
-
104
|
|
132
|
-
105
|
|
133
|
-
106
|
|
134
|
-
107
|
|
135
|
-
108
|
|
136
|
-
109
|
|
137
|
-
110
|
|
138
|
-
111
|
|
139
|
-
112
|
|
140
|
-
113
|
|
141
|
-
114
|
|
142
|
-
115
|
|
143
|
-
116
|
|
144
|
-
117
|
|
145
|
-
118
|
|
146
|
-
119
|
|
147
|
-
120
|
|
148
|
-
121
|
|
149
|
-
122
|
|
150
|
-
123
|
|
151
|
-
124
|
|
152
|
-
125
|
|
153
|
-
126
|
|
154
|
-
127
|
|
155
|
-
128
|
|
156
|
-
129
|
|
157
|
-
130
|
|
158
|
-
131
|
|
159
|
-
132
|
|
160
|
-
133
|
|
161
|
-
134
|
|
162
|
-
135
|
|
163
|
-
136
|
|
164
|
-
137</td><td class="line-coverage"><span class="cline-any cline-yes">1</span>
|
|
165
|
-
<span class="cline-any cline-neutral"> </span>
|
|
166
|
-
<span class="cline-any cline-neutral"> </span>
|
|
167
|
-
<span class="cline-any cline-neutral"> </span>
|
|
168
|
-
<span class="cline-any cline-yes">1</span>
|
|
169
|
-
<span class="cline-any cline-yes">12</span>
|
|
170
|
-
<span class="cline-any cline-neutral"> </span>
|
|
171
|
-
<span class="cline-any cline-yes">12</span>
|
|
172
|
-
<span class="cline-any cline-neutral"> </span>
|
|
173
|
-
<span class="cline-any cline-yes">12</span>
|
|
174
|
-
<span class="cline-any cline-yes">12</span>
|
|
175
|
-
<span class="cline-any cline-yes">12</span>
|
|
176
|
-
<span class="cline-any cline-yes">12</span>
|
|
177
|
-
<span class="cline-any cline-yes">12</span>
|
|
178
|
-
<span class="cline-any cline-neutral"> </span>
|
|
179
|
-
<span class="cline-any cline-yes">12</span>
|
|
180
|
-
<span class="cline-any cline-yes">12</span>
|
|
181
|
-
<span class="cline-any cline-yes">12</span>
|
|
182
|
-
<span class="cline-any cline-neutral"> </span>
|
|
183
|
-
<span class="cline-any cline-yes">12</span>
|
|
184
|
-
<span class="cline-any cline-yes">12</span>
|
|
185
|
-
<span class="cline-any cline-neutral"> </span>
|
|
186
|
-
<span class="cline-any cline-yes">12</span>
|
|
187
|
-
<span class="cline-any cline-yes">268</span>
|
|
188
|
-
<span class="cline-any cline-neutral"> </span>
|
|
189
|
-
<span class="cline-any cline-yes">268</span>
|
|
190
|
-
<span class="cline-any cline-yes">44</span>
|
|
191
|
-
<span class="cline-any cline-yes">44</span>
|
|
192
|
-
<span class="cline-any cline-yes">9</span>
|
|
193
|
-
<span class="cline-any cline-neutral"> </span>
|
|
194
|
-
<span class="cline-any cline-neutral"> </span>
|
|
195
|
-
<span class="cline-any cline-yes">35</span>
|
|
196
|
-
<span class="cline-any cline-yes">35</span>
|
|
197
|
-
<span class="cline-any cline-neutral"> </span>
|
|
198
|
-
<span class="cline-any cline-neutral"> </span>
|
|
199
|
-
<span class="cline-any cline-yes">44</span>
|
|
200
|
-
<span class="cline-any cline-neutral"> </span>
|
|
201
|
-
<span class="cline-any cline-yes">44</span>
|
|
202
|
-
<span class="cline-any cline-yes">44</span>
|
|
203
|
-
<span class="cline-any cline-yes">44</span>
|
|
204
|
-
<span class="cline-any cline-neutral"> </span>
|
|
205
|
-
<span class="cline-any cline-neutral"> </span>
|
|
206
|
-
<span class="cline-any cline-yes">268</span>
|
|
207
|
-
<span class="cline-any cline-yes">7</span>
|
|
208
|
-
<span class="cline-any cline-yes">7</span>
|
|
209
|
-
<span class="cline-any cline-yes">7</span>
|
|
210
|
-
<span class="cline-any cline-yes">6</span>
|
|
211
|
-
<span class="cline-any cline-yes">6</span>
|
|
212
|
-
<span class="cline-any cline-neutral"> </span>
|
|
213
|
-
<span class="cline-any cline-neutral"> </span>
|
|
214
|
-
<span class="cline-any cline-neutral"> </span>
|
|
215
|
-
<span class="cline-any cline-neutral"> </span>
|
|
216
|
-
<span class="cline-any cline-yes">12</span>
|
|
217
|
-
<span class="cline-any cline-yes">3</span>
|
|
218
|
-
<span class="cline-any cline-neutral"> </span>
|
|
219
|
-
<span class="cline-any cline-neutral"> </span>
|
|
220
|
-
<span class="cline-any cline-yes">12</span>
|
|
221
|
-
<span class="cline-any cline-yes">5</span>
|
|
222
|
-
<span class="cline-any cline-neutral"> </span>
|
|
223
|
-
<span class="cline-any cline-neutral"> </span>
|
|
224
|
-
<span class="cline-any cline-yes">12</span>
|
|
225
|
-
<span class="cline-any cline-yes">13</span>
|
|
226
|
-
<span class="cline-any cline-yes">2</span>
|
|
227
|
-
<span class="cline-any cline-neutral"> </span>
|
|
228
|
-
<span class="cline-any cline-yes">2</span>
|
|
229
|
-
<span class="cline-any cline-yes">2</span>
|
|
230
|
-
<span class="cline-any cline-yes">2</span>
|
|
231
|
-
<span class="cline-any cline-neutral"> </span>
|
|
232
|
-
<span class="cline-any cline-neutral"> </span>
|
|
233
|
-
<span class="cline-any cline-neutral"> </span>
|
|
234
|
-
<span class="cline-any cline-yes">12</span>
|
|
235
|
-
<span class="cline-any cline-yes">13</span>
|
|
236
|
-
<span class="cline-any cline-neutral"> </span>
|
|
237
|
-
<span class="cline-any cline-yes">13</span>
|
|
238
|
-
<span class="cline-any cline-yes">13</span>
|
|
239
|
-
<span class="cline-any cline-yes">4</span>
|
|
240
|
-
<span class="cline-any cline-yes">4</span>
|
|
241
|
-
<span class="cline-any cline-yes">4</span>
|
|
242
|
-
<span class="cline-any cline-neutral"> </span>
|
|
243
|
-
<span class="cline-any cline-neutral"> </span>
|
|
244
|
-
<span class="cline-any cline-yes">9</span>
|
|
245
|
-
<span class="cline-any cline-yes">9</span>
|
|
246
|
-
<span class="cline-any cline-yes">9</span>
|
|
247
|
-
<span class="cline-any cline-yes">9</span>
|
|
248
|
-
<span class="cline-any cline-yes">9</span>
|
|
249
|
-
<span class="cline-any cline-neutral"> </span>
|
|
250
|
-
<span class="cline-any cline-neutral"> </span>
|
|
251
|
-
<span class="cline-any cline-yes">13</span>
|
|
252
|
-
<span class="cline-any cline-yes">12</span>
|
|
253
|
-
<span class="cline-any cline-neutral"> </span>
|
|
254
|
-
<span class="cline-any cline-neutral"> </span>
|
|
255
|
-
<span class="cline-any cline-yes">13</span>
|
|
256
|
-
<span class="cline-any cline-yes">2</span>
|
|
257
|
-
<span class="cline-any cline-yes">3</span>
|
|
258
|
-
<span class="cline-any cline-neutral"> </span>
|
|
259
|
-
<span class="cline-any cline-neutral"> </span>
|
|
260
|
-
<span class="cline-any cline-neutral"> </span>
|
|
261
|
-
<span class="cline-any cline-neutral"> </span>
|
|
262
|
-
<span class="cline-any cline-yes">12</span>
|
|
263
|
-
<span class="cline-any cline-yes">4</span>
|
|
264
|
-
<span class="cline-any cline-yes">4</span>
|
|
265
|
-
<span class="cline-any cline-yes">4</span>
|
|
266
|
-
<span class="cline-any cline-yes">4</span>
|
|
267
|
-
<span class="cline-any cline-neutral"> </span>
|
|
268
|
-
<span class="cline-any cline-neutral"> </span>
|
|
269
|
-
<span class="cline-any cline-neutral"> </span>
|
|
270
|
-
<span class="cline-any cline-yes">12</span>
|
|
271
|
-
<span class="cline-any cline-yes">15</span>
|
|
272
|
-
<span class="cline-any cline-yes">15</span>
|
|
273
|
-
<span class="cline-any cline-yes">14</span>
|
|
274
|
-
<span class="cline-any cline-neutral"> </span>
|
|
275
|
-
<span class="cline-any cline-neutral"> </span>
|
|
276
|
-
<span class="cline-any cline-neutral"> </span>
|
|
277
|
-
<span class="cline-any cline-yes">12</span>
|
|
278
|
-
<span class="cline-any cline-yes">6</span>
|
|
279
|
-
<span class="cline-any cline-yes">6</span>
|
|
280
|
-
<span class="cline-any cline-yes">6</span>
|
|
281
|
-
<span class="cline-any cline-yes">6</span>
|
|
282
|
-
<span class="cline-any cline-yes">6</span>
|
|
283
|
-
<span class="cline-any cline-neutral"> </span>
|
|
284
|
-
<span class="cline-any cline-neutral"> </span>
|
|
285
|
-
<span class="cline-any cline-yes">12</span>
|
|
286
|
-
<span class="cline-any cline-yes">7</span>
|
|
287
|
-
<span class="cline-any cline-yes">7</span>
|
|
288
|
-
<span class="cline-any cline-yes">1</span>
|
|
289
|
-
<span class="cline-any cline-yes">1</span>
|
|
290
|
-
<span class="cline-any cline-neutral"> </span>
|
|
291
|
-
<span class="cline-any cline-neutral"> </span>
|
|
292
|
-
<span class="cline-any cline-neutral"> </span>
|
|
293
|
-
<span class="cline-any cline-yes">12</span>
|
|
294
|
-
<span class="cline-any cline-yes">5</span>
|
|
295
|
-
<span class="cline-any cline-neutral"> </span>
|
|
296
|
-
<span class="cline-any cline-neutral"> </span>
|
|
297
|
-
<span class="cline-any cline-yes">12</span>
|
|
298
|
-
<span class="cline-any cline-neutral"> </span>
|
|
299
|
-
<span class="cline-any cline-yes">1</span>
|
|
300
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">var stream = require("stream"),
|
|
301
|
-
constants = require("./constants"),
|
|
302
|
-
util = require("util");
|
|
303
|
-
|
|
304
|
-
var ReadableStreamBuffer = module.exports = function(opts) {
|
|
305
|
-
var that = this;
|
|
306
|
-
|
|
307
|
-
stream.Stream.call(this);
|
|
308
|
-
|
|
309
|
-
opts = opts || {};
|
|
310
|
-
var frequency = opts.hasOwnProperty("frequency") ? opts.frequency : constants.DEFAULT_FREQUENCY;
|
|
311
|
-
var chunkSize = opts.chunkSize || constants.DEFAULT_CHUNK_SIZE;
|
|
312
|
-
var initialSize = opts.initialSize || constants.DEFAULT_INITIAL_SIZE;
|
|
313
|
-
var incrementAmount = opts.incrementAmount || constants.DEFAULT_INCREMENT_AMOUNT;
|
|
314
|
-
|
|
315
|
-
var size = 0;
|
|
316
|
-
var buffer = new Buffer(initialSize);
|
|
317
|
-
var encoding = null;
|
|
318
|
-
|
|
319
|
-
this.readable = true;
|
|
320
|
-
this.writable = false;
|
|
321
|
-
|
|
322
|
-
var sendData = function() {
|
|
323
|
-
var amount = Math.min(chunkSize, size);
|
|
324
|
-
|
|
325
|
-
if (amount > 0) {
|
|
326
|
-
var chunk = null;
|
|
327
|
-
if(encoding) {
|
|
328
|
-
chunk = buffer.toString(encoding, 0, amount);
|
|
329
|
-
}
|
|
330
|
-
else {
|
|
331
|
-
chunk = new Buffer(amount);
|
|
332
|
-
buffer.copy(chunk, 0, 0, amount);
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
that.emit("data", chunk);
|
|
336
|
-
|
|
337
|
-
<span class="missing-if-branch" title="else path not taken" >E</span>if(amount < buffer.length)
|
|
338
|
-
buffer.copy(buffer, 0, amount, size);
|
|
339
|
-
size -= amount;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
if(size === 0 && !that.readable) {
|
|
343
|
-
that.emit("end");
|
|
344
|
-
that.emit("close");
|
|
345
|
-
if (sendData && sendData.interval) {
|
|
346
|
-
clearInterval(sendData.interval);
|
|
347
|
-
sendData.interval = null;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
};
|
|
351
|
-
|
|
352
|
-
this.size = function() {
|
|
353
|
-
return size;
|
|
354
|
-
};
|
|
355
|
-
|
|
356
|
-
this.maxSize = function() {
|
|
357
|
-
return buffer.length;
|
|
358
|
-
};
|
|
359
|
-
|
|
360
|
-
var increaseBufferIfNecessary = function(incomingDataSize) {
|
|
361
|
-
if((buffer.length - size) < incomingDataSize) {
|
|
362
|
-
var factor = Math.ceil((incomingDataSize - (buffer.length - size)) / incrementAmount);
|
|
363
|
-
|
|
364
|
-
var newBuffer = new Buffer(buffer.length + (incrementAmount * factor));
|
|
365
|
-
buffer.copy(newBuffer, 0, 0, size);
|
|
366
|
-
buffer = newBuffer;
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
|
|
370
|
-
this.put = function(data, encoding) {
|
|
371
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if(!that.readable) <span class="cstat-no" title="statement not covered" >return;</span>
|
|
372
|
-
|
|
373
|
-
var wasEmpty = size === 0;
|
|
374
|
-
if(Buffer.isBuffer(data)) {
|
|
375
|
-
increaseBufferIfNecessary(data.length);
|
|
376
|
-
data.copy(buffer, size, 0);
|
|
377
|
-
size += data.length;
|
|
378
|
-
}
|
|
379
|
-
else {
|
|
380
|
-
data = data + "";
|
|
381
|
-
var dataSizeInBytes = Buffer.byteLength(data);
|
|
382
|
-
increaseBufferIfNecessary(dataSizeInBytes);
|
|
383
|
-
buffer.write(data, size, encoding || "utf8");
|
|
384
|
-
size += dataSizeInBytes;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
if (wasEmpty && size > 0) {
|
|
388
|
-
this.emit('readable')
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
if (!this.isPaused && !frequency) {
|
|
392
|
-
while (size > 0) {
|
|
393
|
-
sendData();
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
this.pause = function() {
|
|
399
|
-
this.isPaused = true;
|
|
400
|
-
<span class="missing-if-branch" title="else path not taken" >E</span>if(sendData && sendData.interval) {
|
|
401
|
-
clearInterval(sendData.interval);
|
|
402
|
-
delete sendData.interval;
|
|
403
|
-
}
|
|
404
|
-
};
|
|
405
|
-
|
|
406
|
-
this.resume = function() {
|
|
407
|
-
this.isPaused = false;
|
|
408
|
-
if(sendData && !sendData.interval && frequency > 0) {
|
|
409
|
-
sendData.interval = setInterval(sendData, frequency);
|
|
410
|
-
}
|
|
411
|
-
};
|
|
412
|
-
|
|
413
|
-
this.destroy = function() {
|
|
414
|
-
that.emit("end");
|
|
415
|
-
if(sendData.interval) clearInterval(sendData.interval);
|
|
416
|
-
sendData = null;
|
|
417
|
-
that.readable = false;
|
|
418
|
-
that.emit("close");
|
|
419
|
-
};
|
|
420
|
-
|
|
421
|
-
this.destroySoon = function() {
|
|
422
|
-
that.readable = false;
|
|
423
|
-
if (!sendData.interval) {
|
|
424
|
-
that.emit("end");
|
|
425
|
-
that.emit("close");
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
|
|
429
|
-
this.setEncoding = function(_encoding) {
|
|
430
|
-
encoding = _encoding;
|
|
431
|
-
};
|
|
432
|
-
|
|
433
|
-
this.resume();
|
|
434
|
-
};
|
|
435
|
-
util.inherits(ReadableStreamBuffer, stream.Stream);
|
|
436
|
-
</pre></td></tr>
|
|
437
|
-
</table></pre>
|
|
438
|
-
|
|
439
|
-
</div>
|
|
440
|
-
<div class="footer">
|
|
441
|
-
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Jul 01 2015 04:16:19 GMT+0000 (UTC)</div>
|
|
442
|
-
</div>
|
|
443
|
-
<script src="../prettify.js"></script>
|
|
444
|
-
<script>
|
|
445
|
-
window.onload = function () {
|
|
446
|
-
if (typeof prettyPrint === 'function') {
|
|
447
|
-
prettyPrint();
|
|
448
|
-
}
|
|
449
|
-
};
|
|
450
|
-
</script>
|
|
451
|
-
<script src="../sorter.js"></script>
|
|
452
|
-
</body>
|
|
453
|
-
</html>
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<title>Code coverage report for lib/streambuffer.js</title>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<link rel="stylesheet" href="../prettify.css">
|
|
7
|
-
<link rel="stylesheet" href="../base.css">
|
|
8
|
-
<style type='text/css'>
|
|
9
|
-
div.coverage-summary .sorter {
|
|
10
|
-
background-image: url(../sort-arrow-sprite.png);
|
|
11
|
-
}
|
|
12
|
-
</style>
|
|
13
|
-
</head>
|
|
14
|
-
<body>
|
|
15
|
-
<div class="header high">
|
|
16
|
-
<h1>Code coverage report for <span class="entity">lib/streambuffer.js</span></h1>
|
|
17
|
-
<h2>
|
|
18
|
-
Statements: <span class="metric">100% <small>(3 / 3)</small></span>
|
|
19
|
-
Branches: <span class="metric">100% <small>(0 / 0)</small></span>
|
|
20
|
-
Functions: <span class="metric">100% <small>(0 / 0)</small></span>
|
|
21
|
-
Lines: <span class="metric">100% <small>(3 / 3)</small></span>
|
|
22
|
-
Ignored: <span class="metric"><span class="ignore-none">none</span></span>
|
|
23
|
-
</h2>
|
|
24
|
-
<div class="path"><a href="../index.html">All files</a> » <a href="index.html">lib/</a> » streambuffer.js</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="body">
|
|
27
|
-
<pre><table class="coverage">
|
|
28
|
-
<tr><td class="line-count">1
|
|
29
|
-
2
|
|
30
|
-
3
|
|
31
|
-
4</td><td class="line-coverage"><span class="cline-any cline-yes">1</span>
|
|
32
|
-
<span class="cline-any cline-yes">1</span>
|
|
33
|
-
<span class="cline-any cline-yes">1</span>
|
|
34
|
-
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">module.exports = require("./constants");
|
|
35
|
-
module.exports.ReadableStreamBuffer = require("./readable_streambuffer");
|
|
36
|
-
module.exports.WritableStreamBuffer = require("./writable_streambuffer");
|
|
37
|
-
</pre></td></tr>
|
|
38
|
-
</table></pre>
|
|
39
|
-
|
|
40
|
-
</div>
|
|
41
|
-
<div class="footer">
|
|
42
|
-
<div class="meta">Generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Jul 01 2015 04:16:19 GMT+0000 (UTC)</div>
|
|
43
|
-
</div>
|
|
44
|
-
<script src="../prettify.js"></script>
|
|
45
|
-
<script>
|
|
46
|
-
window.onload = function () {
|
|
47
|
-
if (typeof prettyPrint === 'function') {
|
|
48
|
-
prettyPrint();
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
</script>
|
|
52
|
-
<script src="../sorter.js"></script>
|
|
53
|
-
</body>
|
|
54
|
-
</html>
|