appium-mac2-driver 4.3.4 → 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 +12 -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 +243 -0
- package/node_modules/@appium/logger/LICENSE +18 -0
- package/node_modules/@appium/logger/README.md +31 -0
- package/node_modules/@appium/logger/build/lib/index.d.ts +6 -0
- package/node_modules/@appium/logger/build/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/index.js +12 -0
- package/node_modules/@appium/logger/build/lib/index.js.map +1 -0
- package/node_modules/@appium/logger/build/lib/log.d.ts +93 -0
- package/node_modules/@appium/logger/build/lib/log.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/log.js +399 -0
- package/node_modules/@appium/logger/build/lib/log.js.map +1 -0
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.d.ts +41 -0
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.js +152 -0
- package/node_modules/@appium/logger/build/lib/secure-values-preprocessor.js.map +1 -0
- package/node_modules/@appium/logger/build/lib/types.d.ts +116 -0
- package/node_modules/@appium/logger/build/lib/types.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/types.js +3 -0
- package/node_modules/@appium/logger/build/lib/types.js.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/ansi.d.ts +5 -0
- package/node_modules/@appium/logger/build/lib/utils/ansi.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/ansi.js +43 -0
- package/node_modules/@appium/logger/build/lib/utils/ansi.js.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/index.d.ts +4 -0
- package/node_modules/@appium/logger/build/lib/utils/index.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/index.js +13 -0
- package/node_modules/@appium/logger/build/lib/utils/index.js.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/node.d.ts +24 -0
- package/node_modules/@appium/logger/build/lib/utils/node.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/node.js +39 -0
- package/node_modules/@appium/logger/build/lib/utils/node.js.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/set-blocking.d.ts +13 -0
- package/node_modules/@appium/logger/build/lib/utils/set-blocking.d.ts.map +1 -0
- package/node_modules/@appium/logger/build/lib/utils/set-blocking.js +18 -0
- package/node_modules/@appium/logger/build/lib/utils/set-blocking.js.map +1 -0
- package/node_modules/@appium/logger/lib/index.ts +6 -0
- package/node_modules/@appium/logger/lib/log.ts +436 -0
- package/node_modules/@appium/logger/lib/secure-values-preprocessor.ts +155 -0
- package/node_modules/@appium/logger/lib/types.ts +149 -0
- package/node_modules/@appium/logger/lib/utils/ansi.ts +41 -0
- package/node_modules/@appium/logger/lib/utils/index.ts +3 -0
- package/node_modules/@appium/logger/lib/utils/node.ts +35 -0
- package/node_modules/@appium/logger/lib/utils/set-blocking.ts +19 -0
- package/node_modules/@appium/logger/package.json +53 -0
- package/node_modules/@appium/logger/tsconfig.json +12 -0
- package/node_modules/@appium/schema/LICENSE +201 -0
- package/node_modules/@appium/schema/README.md +50 -0
- package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts +381 -0
- package/node_modules/@appium/schema/build/lib/appium-config-schema.d.ts.map +1 -0
- package/node_modules/@appium/schema/build/lib/appium-config-schema.js +409 -0
- package/node_modules/@appium/schema/build/lib/appium-config-schema.js.map +1 -0
- package/node_modules/@appium/schema/build/lib/index.d.ts +2 -0
- package/node_modules/@appium/schema/build/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/schema/build/lib/index.js +22 -0
- package/node_modules/@appium/schema/build/lib/index.js.map +1 -0
- package/node_modules/@appium/schema/lib/appium-config-schema.ts +424 -0
- package/node_modules/@appium/schema/lib/appium-config.schema.json +434 -0
- package/node_modules/@appium/schema/lib/index.ts +6 -0
- package/node_modules/@appium/schema/package.json +50 -0
- package/node_modules/@appium/schema/tsconfig.json +10 -0
- package/node_modules/@appium/strongbox/LICENSE +201 -0
- package/node_modules/@appium/strongbox/README.md +110 -0
- package/node_modules/@appium/strongbox/build/lib/base-item.d.ts +52 -0
- package/node_modules/@appium/strongbox/build/lib/base-item.d.ts.map +1 -0
- package/node_modules/@appium/strongbox/build/lib/base-item.js +101 -0
- package/node_modules/@appium/strongbox/build/lib/base-item.js.map +1 -0
- package/node_modules/@appium/strongbox/build/lib/index.d.ts +228 -0
- package/node_modules/@appium/strongbox/build/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/strongbox/build/lib/index.js +283 -0
- package/node_modules/@appium/strongbox/build/lib/index.js.map +1 -0
- package/node_modules/@appium/strongbox/build/lib/util.d.ts +6 -0
- package/node_modules/@appium/strongbox/build/lib/util.d.ts.map +1 -0
- package/node_modules/@appium/strongbox/build/lib/util.js +13 -0
- package/node_modules/@appium/strongbox/build/lib/util.js.map +1 -0
- package/node_modules/@appium/strongbox/lib/base-item.ts +107 -0
- package/node_modules/@appium/strongbox/lib/index.ts +430 -0
- package/node_modules/@appium/strongbox/lib/util.ts +12 -0
- package/node_modules/@appium/strongbox/package.json +69 -0
- package/node_modules/@appium/strongbox/tsconfig.json +14 -0
- package/node_modules/@appium/support/LICENSE +201 -0
- package/node_modules/@appium/support/README.md +161 -0
- package/node_modules/@appium/support/build/lib/console.d.ts +68 -0
- package/node_modules/@appium/support/build/lib/console.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/console.js +151 -0
- package/node_modules/@appium/support/build/lib/console.js.map +1 -0
- package/node_modules/@appium/support/build/lib/doctor.d.ts +24 -0
- package/node_modules/@appium/support/build/lib/doctor.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/doctor.js +39 -0
- package/node_modules/@appium/support/build/lib/doctor.js.map +1 -0
- package/node_modules/@appium/support/build/lib/env.d.ts +56 -0
- package/node_modules/@appium/support/build/lib/env.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/env.js +147 -0
- package/node_modules/@appium/support/build/lib/env.js.map +1 -0
- package/node_modules/@appium/support/build/lib/fs.d.ts +195 -0
- package/node_modules/@appium/support/build/lib/fs.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/fs.js +380 -0
- package/node_modules/@appium/support/build/lib/fs.js.map +1 -0
- package/node_modules/@appium/support/build/lib/image-util.d.ts +19 -0
- package/node_modules/@appium/support/build/lib/image-util.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/image-util.js +39 -0
- package/node_modules/@appium/support/build/lib/image-util.js.map +1 -0
- package/node_modules/@appium/support/build/lib/index.d.ts +96 -0
- package/node_modules/@appium/support/build/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/index.js +95 -0
- package/node_modules/@appium/support/build/lib/index.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.d.ts +4 -0
- package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.js +39 -0
- package/node_modules/@appium/support/build/lib/internal/base64-encode-stream.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/index.d.ts +6 -0
- package/node_modules/@appium/support/build/lib/internal/index.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/index.js +13 -0
- package/node_modules/@appium/support/build/lib/internal/index.js.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/read-package.d.ts +30 -0
- package/node_modules/@appium/support/build/lib/internal/read-package.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/internal/read-package.js +48 -0
- package/node_modules/@appium/support/build/lib/internal/read-package.js.map +1 -0
- package/node_modules/@appium/support/build/lib/logger.d.ts +3 -0
- package/node_modules/@appium/support/build/lib/logger.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/logger.js +6 -0
- package/node_modules/@appium/support/build/lib/logger.js.map +1 -0
- package/node_modules/@appium/support/build/lib/logging.d.ts +22 -0
- package/node_modules/@appium/support/build/lib/logging.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/logging.js +139 -0
- package/node_modules/@appium/support/build/lib/logging.js.map +1 -0
- package/node_modules/@appium/support/build/lib/mjpeg.d.ts +32 -0
- package/node_modules/@appium/support/build/lib/mjpeg.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/mjpeg.js +168 -0
- package/node_modules/@appium/support/build/lib/mjpeg.js.map +1 -0
- package/node_modules/@appium/support/build/lib/mkdirp.d.ts +5 -0
- package/node_modules/@appium/support/build/lib/mkdirp.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/mkdirp.js +9 -0
- package/node_modules/@appium/support/build/lib/mkdirp.js.map +1 -0
- package/node_modules/@appium/support/build/lib/net.d.ts +71 -0
- package/node_modules/@appium/support/build/lib/net.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/net.js +218 -0
- package/node_modules/@appium/support/build/lib/net.js.map +1 -0
- package/node_modules/@appium/support/build/lib/node.d.ts +49 -0
- package/node_modules/@appium/support/build/lib/node.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/node.js +218 -0
- package/node_modules/@appium/support/build/lib/node.js.map +1 -0
- package/node_modules/@appium/support/build/lib/npm.d.ts +115 -0
- package/node_modules/@appium/support/build/lib/npm.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/npm.js +292 -0
- package/node_modules/@appium/support/build/lib/npm.js.map +1 -0
- package/node_modules/@appium/support/build/lib/plist.d.ts +51 -0
- package/node_modules/@appium/support/build/lib/plist.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/plist.js +149 -0
- package/node_modules/@appium/support/build/lib/plist.js.map +1 -0
- package/node_modules/@appium/support/build/lib/process.d.ts +20 -0
- package/node_modules/@appium/support/build/lib/process.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/process.js +68 -0
- package/node_modules/@appium/support/build/lib/process.js.map +1 -0
- package/node_modules/@appium/support/build/lib/system.d.ts +42 -0
- package/node_modules/@appium/support/build/lib/system.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/system.js +86 -0
- package/node_modules/@appium/support/build/lib/system.js.map +1 -0
- package/node_modules/@appium/support/build/lib/tempdir.d.ts +41 -0
- package/node_modules/@appium/support/build/lib/tempdir.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/tempdir.js +94 -0
- package/node_modules/@appium/support/build/lib/tempdir.js.map +1 -0
- package/node_modules/@appium/support/build/lib/timing.d.ts +52 -0
- package/node_modules/@appium/support/build/lib/timing.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/timing.js +107 -0
- package/node_modules/@appium/support/build/lib/timing.js.map +1 -0
- package/node_modules/@appium/support/build/lib/util.d.ts +298 -0
- package/node_modules/@appium/support/build/lib/util.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/util.js +651 -0
- package/node_modules/@appium/support/build/lib/util.js.map +1 -0
- package/node_modules/@appium/support/build/lib/zip.d.ts +124 -0
- package/node_modules/@appium/support/build/lib/zip.d.ts.map +1 -0
- package/node_modules/@appium/support/build/lib/zip.js +566 -0
- package/node_modules/@appium/support/build/lib/zip.js.map +1 -0
- package/node_modules/@appium/support/lib/console.ts +223 -0
- package/node_modules/@appium/support/lib/doctor.ts +35 -0
- package/node_modules/@appium/support/lib/env.ts +126 -0
- package/node_modules/@appium/support/lib/fs.ts +482 -0
- package/node_modules/@appium/support/lib/image-util.ts +40 -0
- package/node_modules/@appium/support/lib/index.ts +78 -0
- package/node_modules/@appium/support/lib/internal/base64-encode-stream.ts +33 -0
- package/node_modules/@appium/support/lib/internal/index.ts +13 -0
- package/node_modules/@appium/support/lib/internal/read-package.ts +79 -0
- package/node_modules/@appium/support/lib/logger.ts +5 -0
- package/node_modules/@appium/support/lib/logging.ts +123 -0
- package/node_modules/@appium/support/lib/mjpeg.ts +186 -0
- package/node_modules/@appium/support/lib/mkdirp.ts +6 -0
- package/node_modules/@appium/support/lib/net.ts +340 -0
- package/node_modules/@appium/support/lib/node.ts +225 -0
- package/node_modules/@appium/support/lib/npm.ts +318 -0
- package/node_modules/@appium/support/lib/plist.ts +163 -0
- package/node_modules/@appium/support/lib/process.ts +66 -0
- package/node_modules/@appium/support/lib/system.ts +95 -0
- package/node_modules/@appium/support/lib/tempdir.ts +110 -0
- package/node_modules/@appium/support/lib/timing.ts +109 -0
- package/node_modules/@appium/support/lib/util.ts +691 -0
- package/node_modules/@appium/support/lib/zip.ts +663 -0
- package/node_modules/@appium/support/package.json +82 -0
- package/node_modules/@appium/support/tsconfig.json +12 -0
- package/node_modules/@appium/types/LICENSE +201 -0
- package/node_modules/@appium/types/README.md +21 -0
- package/node_modules/@appium/types/build/lib/action.d.ts +198 -0
- package/node_modules/@appium/types/build/lib/action.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/action.js +85 -0
- package/node_modules/@appium/types/build/lib/action.js.map +1 -0
- package/node_modules/@appium/types/build/lib/appium-config.d.ts +263 -0
- package/node_modules/@appium/types/build/lib/appium-config.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/appium-config.js +9 -0
- package/node_modules/@appium/types/build/lib/appium-config.js.map +1 -0
- package/node_modules/@appium/types/build/lib/capabilities.d.ts +126 -0
- package/node_modules/@appium/types/build/lib/capabilities.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/capabilities.js +3 -0
- package/node_modules/@appium/types/build/lib/capabilities.js.map +1 -0
- package/node_modules/@appium/types/build/lib/command-maps.d.ts +278 -0
- package/node_modules/@appium/types/build/lib/command-maps.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/command-maps.js +3 -0
- package/node_modules/@appium/types/build/lib/command-maps.js.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/appium.d.ts +100 -0
- package/node_modules/@appium/types/build/lib/commands/appium.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/appium.js +3 -0
- package/node_modules/@appium/types/build/lib/commands/appium.js.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts +391 -0
- package/node_modules/@appium/types/build/lib/commands/basedriver.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/basedriver.js +3 -0
- package/node_modules/@appium/types/build/lib/commands/basedriver.js.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/index.d.ts +7 -0
- package/node_modules/@appium/types/build/lib/commands/index.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/index.js +23 -0
- package/node_modules/@appium/types/build/lib/commands/index.js.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/jsonwp.d.ts +37 -0
- package/node_modules/@appium/types/build/lib/commands/jsonwp.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/jsonwp.js +3 -0
- package/node_modules/@appium/types/build/lib/commands/jsonwp.js.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/mjsonwp.d.ts +65 -0
- package/node_modules/@appium/types/build/lib/commands/mjsonwp.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/mjsonwp.js +3 -0
- package/node_modules/@appium/types/build/lib/commands/mjsonwp.js.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/other-protocols.d.ts +329 -0
- package/node_modules/@appium/types/build/lib/commands/other-protocols.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/other-protocols.js +3 -0
- package/node_modules/@appium/types/build/lib/commands/other-protocols.js.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/webdriver.d.ts +443 -0
- package/node_modules/@appium/types/build/lib/commands/webdriver.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/commands/webdriver.js +3 -0
- package/node_modules/@appium/types/build/lib/commands/webdriver.js.map +1 -0
- package/node_modules/@appium/types/build/lib/config.d.ts +69 -0
- package/node_modules/@appium/types/build/lib/config.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/config.js +4 -0
- package/node_modules/@appium/types/build/lib/config.js.map +1 -0
- package/node_modules/@appium/types/build/lib/constraints.d.ts +72 -0
- package/node_modules/@appium/types/build/lib/constraints.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/constraints.js +55 -0
- package/node_modules/@appium/types/build/lib/constraints.js.map +1 -0
- package/node_modules/@appium/types/build/lib/doctor.d.ts +47 -0
- package/node_modules/@appium/types/build/lib/doctor.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/doctor.js +3 -0
- package/node_modules/@appium/types/build/lib/doctor.js.map +1 -0
- package/node_modules/@appium/types/build/lib/driver.d.ts +423 -0
- package/node_modules/@appium/types/build/lib/driver.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/driver.js +3 -0
- package/node_modules/@appium/types/build/lib/driver.js.map +1 -0
- package/node_modules/@appium/types/build/lib/http.d.ts +80 -0
- package/node_modules/@appium/types/build/lib/http.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/http.js +3 -0
- package/node_modules/@appium/types/build/lib/http.js.map +1 -0
- package/node_modules/@appium/types/build/lib/index.d.ts +16 -0
- package/node_modules/@appium/types/build/lib/index.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/index.js +32 -0
- package/node_modules/@appium/types/build/lib/index.js.map +1 -0
- package/node_modules/@appium/types/build/lib/ipc.d.ts +51 -0
- package/node_modules/@appium/types/build/lib/ipc.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/ipc.js +3 -0
- package/node_modules/@appium/types/build/lib/ipc.js.map +1 -0
- package/node_modules/@appium/types/build/lib/logger.d.ts +68 -0
- package/node_modules/@appium/types/build/lib/logger.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/logger.js +3 -0
- package/node_modules/@appium/types/build/lib/logger.js.map +1 -0
- package/node_modules/@appium/types/build/lib/plugin.d.ts +113 -0
- package/node_modules/@appium/types/build/lib/plugin.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/plugin.js +3 -0
- package/node_modules/@appium/types/build/lib/plugin.js.map +1 -0
- package/node_modules/@appium/types/build/lib/server.d.ts +62 -0
- package/node_modules/@appium/types/build/lib/server.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/server.js +3 -0
- package/node_modules/@appium/types/build/lib/server.js.map +1 -0
- package/node_modules/@appium/types/build/lib/standard-caps.d.ts +73 -0
- package/node_modules/@appium/types/build/lib/standard-caps.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/standard-caps.js +3 -0
- package/node_modules/@appium/types/build/lib/standard-caps.js.map +1 -0
- package/node_modules/@appium/types/build/lib/util.d.ts +66 -0
- package/node_modules/@appium/types/build/lib/util.d.ts.map +1 -0
- package/node_modules/@appium/types/build/lib/util.js +3 -0
- package/node_modules/@appium/types/build/lib/util.js.map +1 -0
- package/node_modules/@appium/types/lib/action.ts +216 -0
- package/node_modules/@appium/types/lib/appium-config.ts +285 -0
- package/node_modules/@appium/types/lib/capabilities.ts +159 -0
- package/node_modules/@appium/types/lib/command-maps.ts +322 -0
- package/node_modules/@appium/types/lib/commands/appium.ts +110 -0
- package/node_modules/@appium/types/lib/commands/basedriver.ts +465 -0
- package/node_modules/@appium/types/lib/commands/index.ts +6 -0
- package/node_modules/@appium/types/lib/commands/jsonwp.ts +41 -0
- package/node_modules/@appium/types/lib/commands/mjsonwp.ts +71 -0
- package/node_modules/@appium/types/lib/commands/other-protocols.ts +420 -0
- package/node_modules/@appium/types/lib/commands/webdriver.ts +511 -0
- package/node_modules/@appium/types/lib/config.ts +92 -0
- package/node_modules/@appium/types/lib/constraints.ts +72 -0
- package/node_modules/@appium/types/lib/doctor.ts +49 -0
- package/node_modules/@appium/types/lib/driver.ts +512 -0
- package/node_modules/@appium/types/lib/http.ts +104 -0
- package/node_modules/@appium/types/lib/index.ts +15 -0
- package/node_modules/@appium/types/lib/ipc.ts +69 -0
- package/node_modules/@appium/types/lib/logger.ts +71 -0
- package/node_modules/@appium/types/lib/plugin.ts +128 -0
- package/node_modules/@appium/types/lib/server.ts +71 -0
- package/node_modules/@appium/types/lib/standard-caps.ts +73 -0
- package/node_modules/@appium/types/lib/util.ts +85 -0
- package/node_modules/@appium/types/package.json +58 -0
- package/node_modules/@appium/types/tsconfig.json +15 -0
- package/node_modules/@colors/colors/DISTRIBUTION.md +10 -0
- package/node_modules/@colors/colors/LICENSE +26 -0
- package/node_modules/@colors/colors/README.md +229 -0
- package/node_modules/@colors/colors/examples/normal-usage.js +83 -0
- package/node_modules/@colors/colors/examples/safe-string.js +80 -0
- package/node_modules/@colors/colors/index.d.ts +184 -0
- package/node_modules/@colors/colors/lib/colors.js +211 -0
- package/node_modules/@colors/colors/lib/custom/trap.js +46 -0
- package/node_modules/@colors/colors/lib/custom/zalgo.js +110 -0
- package/node_modules/@colors/colors/lib/extendStringPrototype.js +110 -0
- package/node_modules/@colors/colors/lib/index.js +13 -0
- package/node_modules/@colors/colors/lib/maps/america.js +10 -0
- package/node_modules/@colors/colors/lib/maps/rainbow.js +12 -0
- package/node_modules/@colors/colors/lib/maps/random.js +11 -0
- package/node_modules/@colors/colors/lib/maps/zebra.js +5 -0
- package/node_modules/@colors/colors/lib/styles.js +95 -0
- package/node_modules/@colors/colors/lib/system/has-flag.js +35 -0
- package/node_modules/@colors/colors/lib/system/supports-colors.js +151 -0
- package/node_modules/@colors/colors/package.json +48 -0
- package/node_modules/@colors/colors/safe.d.ts +64 -0
- package/node_modules/@colors/colors/safe.js +10 -0
- package/node_modules/@colors/colors/themes/generic-logging.js +12 -0
- package/node_modules/@img/colour/LICENSE.md +82 -0
- package/node_modules/@img/colour/README.md +15 -0
- package/node_modules/@img/colour/color.cjs +1596 -0
- package/node_modules/@img/colour/index.cjs +1 -0
- package/node_modules/@img/colour/index.d.ts +929 -0
- package/node_modules/@img/colour/package.json +58 -0
- package/node_modules/@img/sharp-darwin-arm64/LICENSE +191 -0
- package/node_modules/@img/sharp-darwin-arm64/README.md +18 -0
- package/node_modules/@img/sharp-darwin-arm64/index.cjs +2 -0
- 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 +41 -0
- package/node_modules/@img/sharp-libvips-darwin-arm64/README.md +46 -0
- package/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +218 -0
- package/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +1 -0
- package/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.18.7.dylib +0 -0
- package/node_modules/@img/sharp-libvips-darwin-arm64/package.json +37 -0
- package/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +30 -0
- package/node_modules/@xmldom/xmldom/CHANGELOG.md +1132 -0
- package/node_modules/@xmldom/xmldom/LICENSE +8 -0
- package/node_modules/@xmldom/xmldom/SECURITY.md +50 -0
- package/node_modules/@xmldom/xmldom/index.d.ts +1843 -0
- package/node_modules/@xmldom/xmldom/lib/.eslintrc.yml +3 -0
- package/node_modules/@xmldom/xmldom/lib/conventions.js +429 -0
- package/node_modules/@xmldom/xmldom/lib/dom-parser.js +591 -0
- package/node_modules/@xmldom/xmldom/lib/dom.js +3759 -0
- package/node_modules/@xmldom/xmldom/lib/entities.js +2171 -0
- package/node_modules/@xmldom/xmldom/lib/errors.js +205 -0
- package/node_modules/@xmldom/xmldom/lib/grammar.js +559 -0
- package/node_modules/@xmldom/xmldom/lib/index.js +41 -0
- package/node_modules/@xmldom/xmldom/lib/sax.js +983 -0
- package/node_modules/@xmldom/xmldom/package.json +77 -0
- package/node_modules/@xmldom/xmldom/readme.md +366 -0
- package/node_modules/abort-controller/LICENSE +21 -0
- package/node_modules/abort-controller/README.md +98 -0
- package/node_modules/abort-controller/browser.js +13 -0
- package/node_modules/abort-controller/browser.mjs +11 -0
- package/node_modules/abort-controller/dist/abort-controller.d.ts +43 -0
- package/node_modules/abort-controller/dist/abort-controller.js +127 -0
- package/node_modules/abort-controller/dist/abort-controller.js.map +1 -0
- package/node_modules/abort-controller/dist/abort-controller.mjs +118 -0
- package/node_modules/abort-controller/dist/abort-controller.mjs.map +1 -0
- package/node_modules/abort-controller/dist/abort-controller.umd.js +5 -0
- package/node_modules/abort-controller/dist/abort-controller.umd.js.map +1 -0
- package/node_modules/abort-controller/package.json +97 -0
- package/node_modules/abort-controller/polyfill.js +21 -0
- package/node_modules/abort-controller/polyfill.mjs +19 -0
- package/node_modules/agent-base/README.md +145 -0
- package/node_modules/agent-base/dist/src/index.d.ts +78 -0
- package/node_modules/agent-base/dist/src/index.js +203 -0
- package/node_modules/agent-base/dist/src/index.js.map +1 -0
- package/node_modules/agent-base/dist/src/promisify.d.ts +4 -0
- package/node_modules/agent-base/dist/src/promisify.js +18 -0
- package/node_modules/agent-base/dist/src/promisify.js.map +1 -0
- package/node_modules/agent-base/package.json +64 -0
- package/node_modules/agent-base/src/index.ts +345 -0
- package/node_modules/agent-base/src/promisify.ts +33 -0
- package/node_modules/appium-xcode/CHANGELOG.md +422 -0
- package/node_modules/appium-xcode/LICENSE +201 -0
- package/node_modules/appium-xcode/README.md +58 -0
- package/node_modules/appium-xcode/build/lib/helpers.d.ts +26 -0
- package/node_modules/appium-xcode/build/lib/helpers.d.ts.map +1 -0
- package/node_modules/appium-xcode/build/lib/helpers.js +68 -0
- package/node_modules/appium-xcode/build/lib/helpers.js.map +1 -0
- package/node_modules/appium-xcode/build/lib/index.d.ts +18 -0
- package/node_modules/appium-xcode/build/lib/index.d.ts.map +1 -0
- package/node_modules/appium-xcode/build/lib/index.js +11 -0
- package/node_modules/appium-xcode/build/lib/index.js.map +1 -0
- package/node_modules/appium-xcode/build/lib/types.d.ts +15 -0
- package/node_modules/appium-xcode/build/lib/types.d.ts.map +1 -0
- package/node_modules/appium-xcode/build/lib/types.js +2 -0
- package/node_modules/appium-xcode/build/lib/types.js.map +1 -0
- package/node_modules/appium-xcode/build/lib/xcode.d.ts +86 -0
- package/node_modules/appium-xcode/build/lib/xcode.d.ts.map +1 -0
- package/node_modules/appium-xcode/build/lib/xcode.js +203 -0
- package/node_modules/appium-xcode/build/lib/xcode.js.map +1 -0
- package/node_modules/appium-xcode/lib/helpers.ts +77 -0
- package/node_modules/appium-xcode/lib/index.ts +14 -0
- package/node_modules/appium-xcode/lib/types.ts +14 -0
- package/node_modules/appium-xcode/lib/xcode.ts +253 -0
- package/node_modules/appium-xcode/package.json +61 -0
- package/node_modules/archiver/LICENSE +22 -0
- package/node_modules/archiver/README.md +89 -0
- package/node_modules/archiver/index.js +39 -0
- package/node_modules/archiver/lib/core.js +851 -0
- package/node_modules/archiver/lib/error.js +37 -0
- package/node_modules/archiver/lib/plugins/json.js +79 -0
- package/node_modules/archiver/lib/plugins/tar.js +118 -0
- package/node_modules/archiver/lib/plugins/zip.js +72 -0
- package/node_modules/archiver/lib/utils.js +66 -0
- package/node_modules/archiver/package.json +64 -0
- package/node_modules/async/CHANGELOG.md +351 -0
- package/node_modules/async/LICENSE +19 -0
- package/node_modules/async/README.md +59 -0
- package/node_modules/async/all.js +119 -0
- package/node_modules/async/allLimit.js +46 -0
- package/node_modules/async/allSeries.js +45 -0
- package/node_modules/async/any.js +122 -0
- package/node_modules/async/anyLimit.js +47 -0
- package/node_modules/async/anySeries.js +46 -0
- package/node_modules/async/apply.js +11 -0
- package/node_modules/async/applyEach.js +57 -0
- package/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/async/asyncify.js +118 -0
- package/node_modules/async/auto.js +333 -0
- package/node_modules/async/autoInject.js +182 -0
- package/node_modules/async/bower.json +17 -0
- package/node_modules/async/cargo.js +63 -0
- package/node_modules/async/cargoQueue.js +71 -0
- package/node_modules/async/compose.js +55 -0
- package/node_modules/async/concat.js +115 -0
- package/node_modules/async/concatLimit.js +60 -0
- package/node_modules/async/concatSeries.js +41 -0
- package/node_modules/async/constant.js +14 -0
- package/node_modules/async/detect.js +96 -0
- package/node_modules/async/detectLimit.js +48 -0
- package/node_modules/async/detectSeries.js +47 -0
- package/node_modules/async/dir.js +43 -0
- package/node_modules/async/dist/async.js +6061 -0
- package/node_modules/async/dist/async.min.js +1 -0
- package/node_modules/async/dist/async.mjs +5948 -0
- package/node_modules/async/doDuring.js +68 -0
- package/node_modules/async/doUntil.js +46 -0
- package/node_modules/async/doWhilst.js +68 -0
- package/node_modules/async/during.js +78 -0
- package/node_modules/async/each.js +129 -0
- package/node_modules/async/eachLimit.js +50 -0
- package/node_modules/async/eachOf.js +185 -0
- package/node_modules/async/eachOfLimit.js +47 -0
- package/node_modules/async/eachOfSeries.js +39 -0
- package/node_modules/async/eachSeries.js +44 -0
- package/node_modules/async/ensureAsync.js +67 -0
- package/node_modules/async/every.js +119 -0
- package/node_modules/async/everyLimit.js +46 -0
- package/node_modules/async/everySeries.js +45 -0
- package/node_modules/async/filter.js +93 -0
- package/node_modules/async/filterLimit.js +45 -0
- package/node_modules/async/filterSeries.js +43 -0
- package/node_modules/async/find.js +96 -0
- package/node_modules/async/findLimit.js +48 -0
- package/node_modules/async/findSeries.js +47 -0
- package/node_modules/async/flatMap.js +115 -0
- package/node_modules/async/flatMapLimit.js +60 -0
- package/node_modules/async/flatMapSeries.js +41 -0
- package/node_modules/async/foldl.js +153 -0
- package/node_modules/async/foldr.js +41 -0
- package/node_modules/async/forEach.js +129 -0
- package/node_modules/async/forEachLimit.js +50 -0
- package/node_modules/async/forEachOf.js +185 -0
- package/node_modules/async/forEachOfLimit.js +47 -0
- package/node_modules/async/forEachOfSeries.js +39 -0
- package/node_modules/async/forEachSeries.js +44 -0
- package/node_modules/async/forever.js +68 -0
- package/node_modules/async/groupBy.js +108 -0
- package/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/async/groupBySeries.js +36 -0
- package/node_modules/async/index.js +588 -0
- package/node_modules/async/inject.js +153 -0
- package/node_modules/async/internal/DoublyLinkedList.js +92 -0
- package/node_modules/async/internal/Heap.js +120 -0
- package/node_modules/async/internal/applyEach.js +29 -0
- package/node_modules/async/internal/asyncEachOfLimit.js +75 -0
- package/node_modules/async/internal/awaitify.js +28 -0
- package/node_modules/async/internal/breakLoop.js +10 -0
- package/node_modules/async/internal/consoleFunc.js +31 -0
- package/node_modules/async/internal/createTester.js +40 -0
- package/node_modules/async/internal/eachOfLimit.js +90 -0
- package/node_modules/async/internal/filter.js +55 -0
- package/node_modules/async/internal/getIterator.js +11 -0
- package/node_modules/async/internal/initialParams.js +14 -0
- package/node_modules/async/internal/isArrayLike.js +10 -0
- package/node_modules/async/internal/iterator.js +57 -0
- package/node_modules/async/internal/map.js +30 -0
- package/node_modules/async/internal/once.js +17 -0
- package/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/async/internal/parallel.js +34 -0
- package/node_modules/async/internal/promiseCallback.js +23 -0
- package/node_modules/async/internal/queue.js +294 -0
- package/node_modules/async/internal/range.js +14 -0
- package/node_modules/async/internal/reject.js +26 -0
- package/node_modules/async/internal/setImmediate.js +34 -0
- package/node_modules/async/internal/withoutIndex.js +10 -0
- package/node_modules/async/internal/wrapAsync.js +34 -0
- package/node_modules/async/log.js +41 -0
- package/node_modules/async/map.js +142 -0
- package/node_modules/async/mapLimit.js +45 -0
- package/node_modules/async/mapSeries.js +44 -0
- package/node_modules/async/mapValues.js +152 -0
- package/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/async/memoize.js +91 -0
- package/node_modules/async/nextTick.js +52 -0
- package/node_modules/async/package.json +75 -0
- package/node_modules/async/parallel.js +180 -0
- package/node_modules/async/parallelLimit.js +41 -0
- package/node_modules/async/priorityQueue.js +60 -0
- package/node_modules/async/queue.js +24 -0
- package/node_modules/async/race.js +67 -0
- package/node_modules/async/reduce.js +153 -0
- package/node_modules/async/reduceRight.js +41 -0
- package/node_modules/async/reflect.js +78 -0
- package/node_modules/async/reflectAll.js +93 -0
- package/node_modules/async/reject.js +87 -0
- package/node_modules/async/rejectLimit.js +45 -0
- package/node_modules/async/rejectSeries.js +43 -0
- package/node_modules/async/retry.js +159 -0
- package/node_modules/async/retryable.js +77 -0
- package/node_modules/async/select.js +93 -0
- package/node_modules/async/selectLimit.js +45 -0
- package/node_modules/async/selectSeries.js +43 -0
- package/node_modules/async/seq.js +79 -0
- package/node_modules/async/series.js +186 -0
- package/node_modules/async/setImmediate.js +45 -0
- package/node_modules/async/some.js +122 -0
- package/node_modules/async/someLimit.js +47 -0
- package/node_modules/async/someSeries.js +46 -0
- package/node_modules/async/sortBy.js +190 -0
- package/node_modules/async/timeout.js +89 -0
- package/node_modules/async/times.js +50 -0
- package/node_modules/async/timesLimit.js +43 -0
- package/node_modules/async/timesSeries.js +32 -0
- package/node_modules/async/transform.js +173 -0
- package/node_modules/async/tryEach.js +78 -0
- package/node_modules/async/unmemoize.js +25 -0
- package/node_modules/async/until.js +61 -0
- package/node_modules/async/waterfall.js +105 -0
- package/node_modules/async/whilst.js +78 -0
- package/node_modules/async/wrapSync.js +118 -0
- package/node_modules/asyncbox/LICENSE +203 -0
- package/node_modules/asyncbox/README.md +215 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts +103 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.js +311 -0
- package/node_modules/asyncbox/build/cjs/lib/asyncbox.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/types.d.ts +84 -0
- package/node_modules/asyncbox/build/cjs/lib/types.d.ts.map +1 -0
- package/node_modules/asyncbox/build/cjs/lib/types.js +3 -0
- package/node_modules/asyncbox/build/cjs/lib/types.js.map +1 -0
- package/node_modules/asyncbox/build/cjs/package.json +3 -0
- package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts +103 -0
- package/node_modules/asyncbox/build/esm/lib/asyncbox.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/asyncbox.js +298 -0
- package/node_modules/asyncbox/build/esm/lib/asyncbox.js.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/types.d.ts +84 -0
- package/node_modules/asyncbox/build/esm/lib/types.d.ts.map +1 -0
- package/node_modules/asyncbox/build/esm/lib/types.js +2 -0
- package/node_modules/asyncbox/build/esm/lib/types.js.map +1 -0
- package/node_modules/asyncbox/build/esm/package.json +3 -0
- package/node_modules/asyncbox/lib/asyncbox.ts +382 -0
- package/node_modules/asyncbox/lib/types.ts +88 -0
- package/node_modules/asyncbox/package.json +74 -0
- package/node_modules/asynckit/LICENSE +21 -0
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +63 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/axios/CHANGELOG.md +1934 -0
- package/node_modules/axios/LICENSE +7 -0
- package/node_modules/axios/MIGRATION_GUIDE.md +877 -0
- package/node_modules/axios/README.md +2851 -0
- package/node_modules/axios/dist/axios.js +5807 -0
- package/node_modules/axios/dist/axios.min.js +5 -0
- package/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/axios/dist/browser/axios.cjs +5829 -0
- package/node_modules/axios/dist/esm/axios.js +5850 -0
- package/node_modules/axios/dist/esm/axios.min.js +3 -0
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/axios/dist/node/axios.cjs +6808 -0
- package/node_modules/axios/index.d.cts +766 -0
- package/node_modules/axios/index.d.ts +787 -0
- package/node_modules/axios/index.js +45 -0
- package/node_modules/axios/lib/adapters/README.md +36 -0
- package/node_modules/axios/lib/adapters/adapters.js +132 -0
- package/node_modules/axios/lib/adapters/fetch.js +696 -0
- package/node_modules/axios/lib/adapters/http.js +1490 -0
- package/node_modules/axios/lib/adapters/xhr.js +277 -0
- package/node_modules/axios/lib/axios.js +89 -0
- package/node_modules/axios/lib/cancel/CancelToken.js +135 -0
- package/node_modules/axios/lib/cancel/CanceledError.js +22 -0
- package/node_modules/axios/lib/cancel/isCancel.js +5 -0
- package/node_modules/axios/lib/core/Axios.js +306 -0
- package/node_modules/axios/lib/core/AxiosError.js +219 -0
- package/node_modules/axios/lib/core/AxiosHeaders.js +474 -0
- package/node_modules/axios/lib/core/InterceptorManager.js +171 -0
- package/node_modules/axios/lib/core/README.md +8 -0
- package/node_modules/axios/lib/core/buildFullPath.js +76 -0
- package/node_modules/axios/lib/core/dispatchRequest.js +95 -0
- package/node_modules/axios/lib/core/mergeConfig.js +174 -0
- package/node_modules/axios/lib/core/methodList.js +17 -0
- package/node_modules/axios/lib/core/setFormDataHeaders.js +27 -0
- package/node_modules/axios/lib/core/settle.js +27 -0
- package/node_modules/axios/lib/core/transformData.js +28 -0
- package/node_modules/axios/lib/defaults/index.js +178 -0
- package/node_modules/axios/lib/defaults/transitional.js +10 -0
- package/node_modules/axios/lib/env/README.md +3 -0
- package/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/axios/lib/env/data.js +1 -0
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +156 -0
- package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +59 -0
- package/node_modules/axios/lib/helpers/Http2Sessions.js +121 -0
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +88 -0
- package/node_modules/axios/lib/helpers/README.md +7 -0
- package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +29 -0
- package/node_modules/axios/lib/helpers/bind.js +14 -0
- package/node_modules/axios/lib/helpers/buildURL.js +69 -0
- package/node_modules/axios/lib/helpers/callbackify.js +18 -0
- package/node_modules/axios/lib/helpers/combineURLs.js +23 -0
- package/node_modules/axios/lib/helpers/composeSignals.js +68 -0
- package/node_modules/axios/lib/helpers/cookies.js +64 -0
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +31 -0
- package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +166 -0
- package/node_modules/axios/lib/helpers/formDataToJSON.js +125 -0
- package/node_modules/axios/lib/helpers/formDataToStream.js +119 -0
- package/node_modules/axios/lib/helpers/fromDataURI.js +69 -0
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +19 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +14 -0
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +16 -0
- package/node_modules/axios/lib/helpers/normalizeURLForProtocolCheck.js +24 -0
- package/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/axios/lib/helpers/parseHeaders.js +71 -0
- package/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/axios/lib/helpers/progressEventReducer.js +54 -0
- package/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/axios/lib/helpers/resolveConfig.js +107 -0
- package/node_modules/axios/lib/helpers/sanitizeHeaderValue.js +60 -0
- package/node_modules/axios/lib/helpers/shouldBypassProxy.js +505 -0
- package/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/axios/lib/helpers/spread.js +28 -0
- package/node_modules/axios/lib/helpers/throttle.js +45 -0
- package/node_modules/axios/lib/helpers/toFormData.js +279 -0
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +19 -0
- package/node_modules/axios/lib/helpers/trackStream.js +89 -0
- package/node_modules/axios/lib/helpers/validator.js +112 -0
- package/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/axios/lib/platform/browser/index.js +13 -0
- package/node_modules/axios/lib/platform/common/utils.js +52 -0
- package/node_modules/axios/lib/platform/index.js +7 -0
- package/node_modules/axios/lib/platform/node/classes/Buffer.js +11 -0
- package/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/axios/lib/platform/node/index.js +37 -0
- package/node_modules/axios/lib/utils.js +1150 -0
- package/node_modules/axios/package.json +203 -0
- package/node_modules/b4a/LICENSE +201 -0
- package/node_modules/b4a/README.md +153 -0
- package/node_modules/b4a/browser.js +546 -0
- package/node_modules/b4a/index.d.ts +144 -0
- package/node_modules/b4a/index.js +193 -0
- package/node_modules/b4a/lib/ascii.js +31 -0
- package/node_modules/b4a/lib/base64.js +64 -0
- package/node_modules/b4a/lib/hex.js +51 -0
- package/node_modules/b4a/lib/latin1.js +31 -0
- package/node_modules/b4a/lib/utf16le.js +40 -0
- package/node_modules/b4a/lib/utf8.js +144 -0
- package/node_modules/b4a/package.json +54 -0
- package/node_modules/b4a/react-native.js +5 -0
- package/node_modules/b4a/runtime.d.ts +14 -0
- package/node_modules/balanced-match/LICENSE.md +23 -0
- package/node_modules/balanced-match/README.md +57 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/index.js +59 -0
- package/node_modules/balanced-match/dist/commonjs/index.js.map +1 -0
- package/node_modules/balanced-match/dist/commonjs/package.json +3 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts +9 -0
- package/node_modules/balanced-match/dist/esm/index.d.ts.map +1 -0
- package/node_modules/balanced-match/dist/esm/index.js +54 -0
- package/node_modules/balanced-match/dist/esm/index.js.map +1 -0
- package/node_modules/balanced-match/dist/esm/package.json +3 -0
- package/node_modules/balanced-match/package.json +68 -0
- package/node_modules/bare-events/LICENSE +201 -0
- package/node_modules/bare-events/README.md +25 -0
- package/node_modules/bare-events/global.d.ts +15 -0
- package/node_modules/bare-events/global.js +5 -0
- package/node_modules/bare-events/index.d.ts +89 -0
- package/node_modules/bare-events/index.js +397 -0
- package/node_modules/bare-events/lib/errors.js +23 -0
- package/node_modules/bare-events/package.json +63 -0
- package/node_modules/bare-events/web.d.ts +79 -0
- package/node_modules/bare-events/web.js +417 -0
- package/node_modules/bare-fs/CMakeLists.txt +13 -0
- package/node_modules/bare-fs/LICENSE +201 -0
- package/node_modules/bare-fs/README.md +33 -0
- package/node_modules/bare-fs/binding.c +2942 -0
- package/node_modules/bare-fs/binding.js +1 -0
- package/node_modules/bare-fs/index.d.ts +1504 -0
- package/node_modules/bare-fs/index.js +2864 -0
- package/node_modules/bare-fs/lib/constants.d.ts +50 -0
- package/node_modules/bare-fs/lib/constants.js +49 -0
- package/node_modules/bare-fs/lib/errors.d.ts +13 -0
- package/node_modules/bare-fs/lib/errors.js +55 -0
- package/node_modules/bare-fs/package.json +75 -0
- 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/bare-fs/promises.d.ts +480 -0
- package/node_modules/bare-fs/promises.js +119 -0
- package/node_modules/bare-path/CMakeLists.txt +13 -0
- package/node_modules/bare-path/LICENSE +201 -0
- package/node_modules/bare-path/NOTICE +28 -0
- package/node_modules/bare-path/README.md +19 -0
- package/node_modules/bare-path/binding.c +106 -0
- package/node_modules/bare-path/binding.js +1 -0
- package/node_modules/bare-path/index.d.ts +27 -0
- package/node_modules/bare-path/index.js +9 -0
- package/node_modules/bare-path/lib/constants.js +11 -0
- package/node_modules/bare-path/lib/posix.js +263 -0
- package/node_modules/bare-path/lib/shared.js +81 -0
- package/node_modules/bare-path/lib/win32.js +564 -0
- package/node_modules/bare-path/package.json +47 -0
- package/node_modules/bare-path/prebuilds/android-arm/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/android-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/android-ia32/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/android-x64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/darwin-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/darwin-x64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/ios-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/ios-arm64-simulator/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/ios-x64-simulator/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/linux-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/linux-x64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/win32-arm64/bare-path.bare +0 -0
- package/node_modules/bare-path/prebuilds/win32-x64/bare-path.bare +0 -0
- package/node_modules/bare-stream/LICENSE +201 -0
- package/node_modules/bare-stream/README.md +354 -0
- package/node_modules/bare-stream/global.d.ts +31 -0
- package/node_modules/bare-stream/global.js +15 -0
- package/node_modules/bare-stream/index.d.ts +235 -0
- package/node_modules/bare-stream/index.js +493 -0
- package/node_modules/bare-stream/package.json +75 -0
- package/node_modules/bare-stream/promises.js +3 -0
- package/node_modules/bare-stream/web.d.ts +152 -0
- package/node_modules/bare-stream/web.js +607 -0
- package/node_modules/bare-url/CMakeLists.txt +36 -0
- package/node_modules/bare-url/LICENSE +201 -0
- package/node_modules/bare-url/README.md +33 -0
- package/node_modules/bare-url/binding.c +422 -0
- package/node_modules/bare-url/binding.js +1 -0
- package/node_modules/bare-url/global.d.ts +24 -0
- package/node_modules/bare-url/global.js +2 -0
- package/node_modules/bare-url/index.d.ts +96 -0
- package/node_modules/bare-url/index.js +676 -0
- package/node_modules/bare-url/lib/errors.d.ts +10 -0
- package/node_modules/bare-url/lib/errors.js +33 -0
- package/node_modules/bare-url/lib/url-search-params.d.ts +66 -0
- package/node_modules/bare-url/lib/url-search-params.js +276 -0
- package/node_modules/bare-url/package.json +54 -0
- 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/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/bluebird/LICENSE +21 -0
- package/node_modules/bluebird/README.md +57 -0
- package/node_modules/bluebird/changelog.md +1 -0
- package/node_modules/bluebird/js/browser/bluebird.core.js +3914 -0
- package/node_modules/bluebird/js/browser/bluebird.core.min.js +31 -0
- package/node_modules/bluebird/js/browser/bluebird.js +5778 -0
- package/node_modules/bluebird/js/browser/bluebird.min.js +31 -0
- package/node_modules/bluebird/js/release/any.js +21 -0
- package/node_modules/bluebird/js/release/assert.js +55 -0
- package/node_modules/bluebird/js/release/async.js +120 -0
- package/node_modules/bluebird/js/release/bind.js +67 -0
- package/node_modules/bluebird/js/release/bluebird.js +11 -0
- package/node_modules/bluebird/js/release/call_get.js +123 -0
- package/node_modules/bluebird/js/release/cancel.js +129 -0
- package/node_modules/bluebird/js/release/catch_filter.js +42 -0
- package/node_modules/bluebird/js/release/context.js +69 -0
- package/node_modules/bluebird/js/release/debuggability.js +1009 -0
- package/node_modules/bluebird/js/release/direct_resolve.js +46 -0
- package/node_modules/bluebird/js/release/each.js +30 -0
- package/node_modules/bluebird/js/release/errors.js +116 -0
- package/node_modules/bluebird/js/release/es5.js +80 -0
- package/node_modules/bluebird/js/release/filter.js +12 -0
- package/node_modules/bluebird/js/release/finally.js +146 -0
- package/node_modules/bluebird/js/release/generators.js +223 -0
- package/node_modules/bluebird/js/release/join.js +165 -0
- package/node_modules/bluebird/js/release/map.js +175 -0
- package/node_modules/bluebird/js/release/method.js +55 -0
- package/node_modules/bluebird/js/release/nodeback.js +51 -0
- package/node_modules/bluebird/js/release/nodeify.js +58 -0
- package/node_modules/bluebird/js/release/promise.js +819 -0
- package/node_modules/bluebird/js/release/promise_array.js +186 -0
- package/node_modules/bluebird/js/release/promisify.js +314 -0
- package/node_modules/bluebird/js/release/props.js +118 -0
- package/node_modules/bluebird/js/release/queue.js +73 -0
- package/node_modules/bluebird/js/release/race.js +49 -0
- package/node_modules/bluebird/js/release/reduce.js +183 -0
- package/node_modules/bluebird/js/release/schedule.js +62 -0
- package/node_modules/bluebird/js/release/settle.js +47 -0
- package/node_modules/bluebird/js/release/some.js +148 -0
- package/node_modules/bluebird/js/release/synchronous_inspection.js +103 -0
- package/node_modules/bluebird/js/release/thenables.js +86 -0
- package/node_modules/bluebird/js/release/timers.js +93 -0
- package/node_modules/bluebird/js/release/using.js +226 -0
- package/node_modules/bluebird/js/release/util.js +421 -0
- package/node_modules/bluebird/package.json +78 -0
- package/node_modules/bplist-creator/LICENSE +18 -0
- package/node_modules/bplist-creator/README.md +84 -0
- 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 +62 -0
- package/node_modules/bplist-parser/README.md +82 -0
- 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/dist/index.mjs +343 -0
- package/node_modules/bplist-parser/dist/index.mjs.map +7 -0
- package/node_modules/bplist-parser/package.json +62 -0
- package/node_modules/brace-expansion/LICENSE +23 -0
- package/node_modules/brace-expansion/README.md +105 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts +12 -0
- package/node_modules/brace-expansion/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js +333 -0
- package/node_modules/brace-expansion/dist/commonjs/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/commonjs/package.json +3 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts +12 -0
- package/node_modules/brace-expansion/dist/esm/index.d.ts.map +1 -0
- package/node_modules/brace-expansion/dist/esm/index.js +329 -0
- package/node_modules/brace-expansion/dist/esm/index.js.map +1 -0
- package/node_modules/brace-expansion/dist/esm/package.json +3 -0
- package/node_modules/brace-expansion/package.json +65 -0
- package/node_modules/buffer-crc32/LICENSE +19 -0
- package/node_modules/buffer-crc32/README.md +55 -0
- package/node_modules/buffer-crc32/dist/index.cjs +306 -0
- package/node_modules/buffer-crc32/dist/index.d.cts +35 -0
- package/node_modules/buffer-crc32/dist/index.d.mts +35 -0
- package/node_modules/buffer-crc32/dist/index.mjs +304 -0
- package/node_modules/buffer-crc32/index.d.ts +35 -0
- package/node_modules/buffer-crc32/package.json +54 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/combined-stream/License +19 -0
- package/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules/combined-stream/package.json +25 -0
- package/node_modules/compress-commons/LICENSE +22 -0
- package/node_modules/compress-commons/README.md +25 -0
- package/node_modules/compress-commons/lib/archivers/archive-entry.js +6 -0
- package/node_modules/compress-commons/lib/archivers/archive-output-stream.js +98 -0
- package/node_modules/compress-commons/lib/archivers/zip/constants.js +100 -0
- package/node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js +79 -0
- package/node_modules/compress-commons/lib/archivers/zip/unix-stat.js +19 -0
- package/node_modules/compress-commons/lib/archivers/zip/util.js +74 -0
- package/node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js +380 -0
- package/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js +371 -0
- package/node_modules/compress-commons/lib/compress-commons.js +18 -0
- package/node_modules/compress-commons/lib/util/index.js +20 -0
- package/node_modules/compress-commons/package.json +48 -0
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/crc-32/LICENSE +201 -0
- package/node_modules/crc-32/README.md +200 -0
- package/node_modules/crc-32/bin/crc32.njs +105 -0
- package/node_modules/crc-32/crc32.js +115 -0
- package/node_modules/crc-32/crc32c.js +115 -0
- package/node_modules/crc-32/package.json +43 -0
- package/node_modules/crc-32/types/index.d.ts +14 -0
- package/node_modules/crc-32/types/tsconfig.json +14 -0
- package/node_modules/crc-32/types/tslint.json +11 -0
- package/node_modules/crc32-stream/LICENSE +22 -0
- package/node_modules/crc32-stream/README.md +79 -0
- package/node_modules/crc32-stream/lib/crc32-stream.js +29 -0
- package/node_modules/crc32-stream/lib/deflate-crc32-stream.js +40 -0
- package/node_modules/crc32-stream/lib/index.js +15 -0
- package/node_modules/crc32-stream/package.json +44 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/delayed-stream/License +19 -0
- package/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/delayed-stream/package.json +27 -0
- package/node_modules/detect-libc/LICENSE +201 -0
- package/node_modules/detect-libc/README.md +163 -0
- package/node_modules/detect-libc/index.d.ts +14 -0
- package/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/node_modules/detect-libc/lib/elf.js +39 -0
- package/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/node_modules/detect-libc/lib/process.js +24 -0
- package/node_modules/detect-libc/package.json +44 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/duplexer/.travis.yml +6 -0
- package/node_modules/duplexer/LICENCE +19 -0
- package/node_modules/duplexer/README.md +49 -0
- package/node_modules/duplexer/index.js +87 -0
- package/node_modules/duplexer/package.json +42 -0
- package/node_modules/duplexer/test/index.js +31 -0
- package/node_modules/env-paths/index.d.ts +90 -0
- package/node_modules/env-paths/index.js +69 -0
- package/node_modules/env-paths/license +9 -0
- package/node_modules/env-paths/package.json +55 -0
- package/node_modules/env-paths/readme.md +100 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +44 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +79 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +7 -0
- package/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/node_modules/es-set-tostringtag/README.md +53 -0
- package/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/node_modules/es-set-tostringtag/index.js +35 -0
- package/node_modules/es-set-tostringtag/package.json +78 -0
- package/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/node_modules/event-target-shim/LICENSE +22 -0
- package/node_modules/event-target-shim/README.md +293 -0
- package/node_modules/event-target-shim/dist/event-target-shim.js +871 -0
- package/node_modules/event-target-shim/dist/event-target-shim.js.map +1 -0
- package/node_modules/event-target-shim/dist/event-target-shim.mjs +862 -0
- package/node_modules/event-target-shim/dist/event-target-shim.mjs.map +1 -0
- package/node_modules/event-target-shim/dist/event-target-shim.umd.js +6 -0
- package/node_modules/event-target-shim/dist/event-target-shim.umd.js.map +1 -0
- package/node_modules/event-target-shim/index.d.ts +399 -0
- package/node_modules/event-target-shim/package.json +82 -0
- package/node_modules/events/.airtap.yml +15 -0
- package/node_modules/events/.github/FUNDING.yml +12 -0
- package/node_modules/events/.travis.yml +18 -0
- package/node_modules/events/History.md +118 -0
- package/node_modules/events/LICENSE +22 -0
- package/node_modules/events/Readme.md +50 -0
- package/node_modules/events/events.js +497 -0
- package/node_modules/events/package.json +37 -0
- package/node_modules/events/security.md +10 -0
- package/node_modules/events/tests/add-listeners.js +111 -0
- package/node_modules/events/tests/check-listener-leaks.js +101 -0
- package/node_modules/events/tests/common.js +104 -0
- package/node_modules/events/tests/errors.js +13 -0
- package/node_modules/events/tests/events-list.js +28 -0
- package/node_modules/events/tests/events-once.js +234 -0
- package/node_modules/events/tests/index.js +64 -0
- package/node_modules/events/tests/legacy-compat.js +16 -0
- package/node_modules/events/tests/listener-count.js +37 -0
- package/node_modules/events/tests/listeners-side-effects.js +56 -0
- package/node_modules/events/tests/listeners.js +168 -0
- package/node_modules/events/tests/max-listeners.js +47 -0
- package/node_modules/events/tests/method-names.js +35 -0
- package/node_modules/events/tests/modify-in-emit.js +90 -0
- package/node_modules/events/tests/num-args.js +60 -0
- package/node_modules/events/tests/once.js +83 -0
- package/node_modules/events/tests/prepend.js +31 -0
- package/node_modules/events/tests/remove-all-listeners.js +133 -0
- package/node_modules/events/tests/remove-listeners.js +212 -0
- package/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
- package/node_modules/events/tests/special-event-names.js +45 -0
- package/node_modules/events/tests/subclass.js +66 -0
- package/node_modules/events/tests/symbols.js +25 -0
- package/node_modules/events-universal/LICENSE +201 -0
- package/node_modules/events-universal/README.md +17 -0
- package/node_modules/events-universal/bare.js +1 -0
- package/node_modules/events-universal/default.js +1 -0
- package/node_modules/events-universal/index.js +1 -0
- package/node_modules/events-universal/package.json +39 -0
- package/node_modules/events-universal/react-native.js +1 -0
- package/node_modules/fast-fifo/LICENSE +21 -0
- package/node_modules/fast-fifo/README.md +78 -0
- package/node_modules/fast-fifo/fixed-size.js +39 -0
- package/node_modules/fast-fifo/index.js +48 -0
- package/node_modules/fast-fifo/package.json +28 -0
- package/node_modules/follow-redirects/LICENSE +18 -0
- package/node_modules/follow-redirects/README.md +157 -0
- package/node_modules/follow-redirects/debug.js +15 -0
- package/node_modules/follow-redirects/http.js +1 -0
- package/node_modules/follow-redirects/https.js +1 -0
- package/node_modules/follow-redirects/index.js +718 -0
- package/node_modules/follow-redirects/package.json +58 -0
- package/node_modules/form-data/CHANGELOG.md +686 -0
- package/node_modules/form-data/License +19 -0
- package/node_modules/form-data/README.md +355 -0
- package/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/form-data/lib/browser.js +4 -0
- package/node_modules/form-data/lib/form_data.js +506 -0
- package/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/form-data/node_modules/mime-db/HISTORY.md +507 -0
- package/node_modules/form-data/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/form-data/node_modules/mime-db/README.md +100 -0
- package/node_modules/form-data/node_modules/mime-db/db.json +8519 -0
- package/node_modules/form-data/node_modules/mime-db/index.js +12 -0
- package/node_modules/form-data/node_modules/mime-db/package.json +60 -0
- package/node_modules/form-data/node_modules/mime-types/HISTORY.md +397 -0
- package/node_modules/form-data/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/form-data/node_modules/mime-types/README.md +113 -0
- package/node_modules/form-data/node_modules/mime-types/index.js +188 -0
- package/node_modules/form-data/node_modules/mime-types/package.json +44 -0
- package/node_modules/form-data/package.json +82 -0
- package/node_modules/ftp-response-parser/.README.md.un~ +0 -0
- package/node_modules/ftp-response-parser/.index.js.un~ +0 -0
- package/node_modules/ftp-response-parser/.package.json.un~ +0 -0
- package/node_modules/ftp-response-parser/.test.js.un~ +0 -0
- package/node_modules/ftp-response-parser/LICENSE +20 -0
- package/node_modules/ftp-response-parser/README.md +104 -0
- package/node_modules/ftp-response-parser/index.js +82 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/README.md +54 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/build/build.js +209 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/component.json +19 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/index.js +3 -0
- package/node_modules/ftp-response-parser/node_modules/isarray/package.json +25 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/.npmignore +5 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/LICENSE +18 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/README.md +15 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/float.patch +923 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_duplex.js +89 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_passthrough.js +46 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_readable.js +951 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_transform.js +209 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/lib/_stream_writable.js +477 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/package.json +32 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/readable.js +10 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/readable-stream/writable.js +1 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/.npmignore +2 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/LICENSE +20 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/README.md +7 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/index.js +221 -0
- package/node_modules/ftp-response-parser/node_modules/string_decoder/package.json +25 -0
- package/node_modules/ftp-response-parser/package.json +35 -0
- package/node_modules/ftp-response-parser/test.js +149 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/glob/LICENSE.md +63 -0
- package/node_modules/glob/README.md +1203 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts +396 -0
- package/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/glob.js +248 -0
- package/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
- package/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/index.js +68 -0
- package/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/node_modules/glob/dist/commonjs/index.min.js +4 -0
- package/node_modules/glob/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/glob/dist/commonjs/package.json +3 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts +79 -0
- package/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/pattern.js +223 -0
- package/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
- package/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/node_modules/glob/dist/esm/glob.d.ts +396 -0
- package/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/glob.js +244 -0
- package/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/node_modules/glob/dist/esm/ignore.d.ts +24 -0
- package/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/ignore.js +115 -0
- package/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/index.js +55 -0
- package/node_modules/glob/dist/esm/index.js.map +1 -0
- package/node_modules/glob/dist/esm/index.min.js +4 -0
- package/node_modules/glob/dist/esm/index.min.js.map +7 -0
- package/node_modules/glob/dist/esm/package.json +3 -0
- package/node_modules/glob/dist/esm/pattern.d.ts +79 -0
- package/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/pattern.js +219 -0
- package/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/processor.js +294 -0
- package/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/node_modules/glob/dist/esm/walker.d.ts +97 -0
- package/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/node_modules/glob/dist/esm/walker.js +381 -0
- package/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/node_modules/glob/package.json +98 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/has-tostringtag/.eslintrc +5 -0
- package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/node_modules/has-tostringtag/LICENSE +21 -0
- package/node_modules/has-tostringtag/README.md +46 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +8 -0
- package/node_modules/has-tostringtag/package.json +108 -0
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +8 -0
- package/node_modules/has-tostringtag/test/index.js +21 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/node_modules/has-tostringtag/test/tests.js +15 -0
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/hosted-git-info/LICENSE +13 -0
- package/node_modules/hosted-git-info/README.md +138 -0
- package/node_modules/hosted-git-info/lib/from-url.js +122 -0
- package/node_modules/hosted-git-info/lib/hosts.js +229 -0
- package/node_modules/hosted-git-info/lib/index.js +227 -0
- package/node_modules/hosted-git-info/lib/parse-url.js +81 -0
- package/node_modules/hosted-git-info/package.json +57 -0
- package/node_modules/https-proxy-agent/README.md +137 -0
- package/node_modules/https-proxy-agent/dist/agent.d.ts +30 -0
- package/node_modules/https-proxy-agent/dist/agent.js +177 -0
- package/node_modules/https-proxy-agent/dist/agent.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts +23 -0
- package/node_modules/https-proxy-agent/dist/index.js +14 -0
- package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +7 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +66 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +56 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +51 -0
- package/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/is-number-like/.editorconfig +12 -0
- package/node_modules/is-number-like/.npmignore +2 -0
- package/node_modules/is-number-like/.travis.yml +16 -0
- package/node_modules/is-number-like/LICENSE +13 -0
- package/node_modules/is-number-like/README.md +27 -0
- package/node_modules/is-number-like/lib/index.js +54 -0
- package/node_modules/is-number-like/package.json +51 -0
- package/node_modules/is-number-like/test/index.js +39 -0
- package/node_modules/is-safe-filename/index.d.ts +59 -0
- package/node_modules/is-safe-filename/index.js +41 -0
- package/node_modules/is-safe-filename/license +9 -0
- package/node_modules/is-safe-filename/package.json +45 -0
- package/node_modules/is-safe-filename/readme.md +62 -0
- package/node_modules/is-stream/index.d.ts +90 -0
- package/node_modules/is-stream/index.js +37 -0
- package/node_modules/is-stream/license +9 -0
- package/node_modules/is-stream/package.json +48 -0
- package/node_modules/is-stream/readme.md +57 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/isexe/LICENSE.md +55 -0
- package/node_modules/isexe/README.md +80 -0
- package/node_modules/isexe/dist/commonjs/index.d.ts +14 -0
- package/node_modules/isexe/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/index.js +56 -0
- package/node_modules/isexe/dist/commonjs/index.js.map +1 -0
- package/node_modules/isexe/dist/commonjs/index.min.js +2 -0
- package/node_modules/isexe/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/isexe/dist/commonjs/options.d.ts +32 -0
- package/node_modules/isexe/dist/commonjs/options.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/options.js +3 -0
- package/node_modules/isexe/dist/commonjs/options.js.map +1 -0
- package/node_modules/isexe/dist/commonjs/package.json +3 -0
- package/node_modules/isexe/dist/commonjs/posix.d.ts +18 -0
- package/node_modules/isexe/dist/commonjs/posix.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/posix.js +67 -0
- package/node_modules/isexe/dist/commonjs/posix.js.map +1 -0
- package/node_modules/isexe/dist/commonjs/win32.d.ts +18 -0
- package/node_modules/isexe/dist/commonjs/win32.d.ts.map +1 -0
- package/node_modules/isexe/dist/commonjs/win32.js +63 -0
- package/node_modules/isexe/dist/commonjs/win32.js.map +1 -0
- package/node_modules/isexe/dist/esm/index.d.ts +14 -0
- package/node_modules/isexe/dist/esm/index.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/index.js +16 -0
- package/node_modules/isexe/dist/esm/index.js.map +1 -0
- package/node_modules/isexe/dist/esm/index.min.js +2 -0
- package/node_modules/isexe/dist/esm/index.min.js.map +7 -0
- package/node_modules/isexe/dist/esm/options.d.ts +32 -0
- package/node_modules/isexe/dist/esm/options.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/options.js +2 -0
- package/node_modules/isexe/dist/esm/options.js.map +1 -0
- package/node_modules/isexe/dist/esm/package.json +3 -0
- package/node_modules/isexe/dist/esm/posix.d.ts +18 -0
- package/node_modules/isexe/dist/esm/posix.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/posix.js +62 -0
- package/node_modules/isexe/dist/esm/posix.js.map +1 -0
- package/node_modules/isexe/dist/esm/win32.d.ts +18 -0
- package/node_modules/isexe/dist/esm/win32.d.ts.map +1 -0
- package/node_modules/isexe/dist/esm/win32.js +58 -0
- package/node_modules/isexe/dist/esm/win32.js.map +1 -0
- package/node_modules/isexe/package.json +78 -0
- package/node_modules/jsftp/LICENSE +22 -0
- package/node_modules/jsftp/README.md +329 -0
- package/node_modules/jsftp/index.js +1 -0
- package/node_modules/jsftp/lib/jsftp.js +772 -0
- package/node_modules/jsftp/node_modules/debug/CHANGELOG.md +395 -0
- package/node_modules/jsftp/node_modules/debug/LICENSE +19 -0
- package/node_modules/jsftp/node_modules/debug/README.md +437 -0
- package/node_modules/jsftp/node_modules/debug/node.js +1 -0
- package/node_modules/jsftp/node_modules/debug/package.json +51 -0
- package/node_modules/jsftp/node_modules/debug/src/browser.js +180 -0
- package/node_modules/jsftp/node_modules/debug/src/common.js +249 -0
- package/node_modules/jsftp/node_modules/debug/src/index.js +12 -0
- package/node_modules/jsftp/node_modules/debug/src/node.js +177 -0
- package/node_modules/jsftp/package.json +43 -0
- package/node_modules/json-schema/LICENSE +195 -0
- package/node_modules/json-schema/README.md +3 -0
- package/node_modules/json-schema/lib/links.js +65 -0
- package/node_modules/json-schema/lib/validate.js +271 -0
- package/node_modules/json-schema/package.json +24 -0
- package/node_modules/klaw/LICENSE +15 -0
- package/node_modules/klaw/README.md +261 -0
- package/node_modules/klaw/package.json +39 -0
- package/node_modules/klaw/src/index.js +76 -0
- package/node_modules/lazystream/LICENSE +23 -0
- package/node_modules/lazystream/README.md +114 -0
- package/node_modules/lazystream/lib/lazystream.js +54 -0
- package/node_modules/lazystream/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/lazystream/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/lazystream/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/lazystream/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/lazystream/node_modules/readable-stream/README.md +58 -0
- package/node_modules/lazystream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/lazystream/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/lazystream/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/lazystream/node_modules/readable-stream/package.json +52 -0
- package/node_modules/lazystream/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/lazystream/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/lazystream/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/lazystream/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/lazystream/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/lazystream/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/lazystream/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/lazystream/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/lazystream/node_modules/string_decoder/README.md +47 -0
- package/node_modules/lazystream/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/lazystream/node_modules/string_decoder/package.json +31 -0
- package/node_modules/lazystream/package.json +46 -0
- package/node_modules/lazystream/test/data.md +13 -0
- package/node_modules/lazystream/test/fs_test.js +69 -0
- package/node_modules/lazystream/test/helper.js +39 -0
- package/node_modules/lazystream/test/pipe_test.js +36 -0
- package/node_modules/lazystream/test/readable_test.js +90 -0
- package/node_modules/lazystream/test/writable_test.js +59 -0
- package/node_modules/lockfile/.travis.yml +11 -0
- package/node_modules/lockfile/CHANGELOG.md +109 -0
- package/node_modules/lockfile/LICENSE +15 -0
- package/node_modules/lockfile/README.md +86 -0
- package/node_modules/lockfile/gen-changelog.sh +9 -0
- package/node_modules/lockfile/lockfile.js +320 -0
- package/node_modules/lockfile/node_modules/signal-exit/LICENSE.txt +16 -0
- package/node_modules/lockfile/node_modules/signal-exit/README.md +39 -0
- package/node_modules/lockfile/node_modules/signal-exit/index.js +202 -0
- package/node_modules/lockfile/node_modules/signal-exit/package.json +38 -0
- package/node_modules/lockfile/node_modules/signal-exit/signals.js +53 -0
- package/node_modules/lockfile/package.json +34 -0
- package/node_modules/lockfile/sockets.md +27 -0
- package/node_modules/lockfile/speedtest.js +63 -0
- package/node_modules/lockfile/test/basic.js +292 -0
- package/node_modules/lockfile/test/fixtures/bad-child.js +5 -0
- package/node_modules/lockfile/test/fixtures/child.js +3 -0
- package/node_modules/lockfile/test/retry-time.js +67 -0
- package/node_modules/lockfile/test/stale-contention.js +85 -0
- package/node_modules/lockfile/test/unlock-no-cb.js +10 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +52 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +30 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +30 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17259 -0
- package/node_modules/lodash/lodash.min.js +136 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +19 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +91 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +284 -0
- package/node_modules/lodash/templateSettings.js +71 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/lodash.isfinite/LICENSE +47 -0
- package/node_modules/lodash.isfinite/README.md +18 -0
- package/node_modules/lodash.isfinite/index.js +53 -0
- package/node_modules/lodash.isfinite/package.json +17 -0
- package/node_modules/lru-cache/LICENSE.md +55 -0
- package/node_modules/lru-cache/README.md +469 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/browser/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.cjs.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel-cjs.d.cts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +7 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/commonjs/node/diagnostics-channel.js +9 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js +1733 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/commonjs/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/commonjs/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js +10 -0
- package/node_modules/lru-cache/dist/commonjs/perf.js.map +1 -0
- 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/browser/diagnostics-channel-browser.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel-browser.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/browser/diagnostics-channel.js +4 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/browser/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/browser/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/browser/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/browser/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.mjs.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +19 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.d.ts +5 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +6 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts +1400 -0
- package/node_modules/lru-cache/dist/esm/node/index.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.js +1729 -0
- package/node_modules/lru-cache/dist/esm/node/index.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js.map +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/node/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/node/perf.js.map +1 -0
- package/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts +12 -0
- package/node_modules/lru-cache/dist/esm/perf.d.ts.map +1 -0
- package/node_modules/lru-cache/dist/esm/perf.js +7 -0
- package/node_modules/lru-cache/dist/esm/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 +180 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/minimatch/LICENSE.md +55 -0
- package/node_modules/minimatch/README.md +528 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/ast.js +845 -0
- package/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js +150 -0
- package/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts +174 -0
- package/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/index.js +1127 -0
- package/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/ast.js +841 -0
- package/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js +146 -0
- package/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/node_modules/minimatch/dist/esm/index.d.ts +174 -0
- package/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/index.js +1114 -0
- package/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/minimatch/dist/esm/package.json +3 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/node_modules/minimatch/package.json +73 -0
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/README.md +825 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +545 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/node_modules/minipass/dist/esm/index.d.ts +545 -0
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/node_modules/minipass/dist/esm/index.js +1020 -0
- package/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/node_modules/minipass/dist/esm/package.json +3 -0
- package/node_modules/minipass/package.json +77 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/normalize-package-data/LICENSE +15 -0
- package/node_modules/normalize-package-data/README.md +108 -0
- package/node_modules/normalize-package-data/lib/extract_description.js +24 -0
- package/node_modules/normalize-package-data/lib/fixer.js +472 -0
- package/node_modules/normalize-package-data/lib/make_warning.js +22 -0
- package/node_modules/normalize-package-data/lib/normalize.js +48 -0
- package/node_modules/normalize-package-data/lib/safe_format.js +11 -0
- package/node_modules/normalize-package-data/lib/typos.json +25 -0
- package/node_modules/normalize-package-data/lib/warning_messages.json +30 -0
- package/node_modules/normalize-package-data/package.json +56 -0
- package/node_modules/normalize-path/LICENSE +21 -0
- package/node_modules/normalize-path/README.md +127 -0
- package/node_modules/normalize-path/index.js +35 -0
- package/node_modules/normalize-path/package.json +77 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/p-limit/index.d.ts +138 -0
- package/node_modules/p-limit/index.js +148 -0
- package/node_modules/p-limit/license +9 -0
- package/node_modules/p-limit/package.json +58 -0
- package/node_modules/p-limit/readme.md +183 -0
- package/node_modules/parse-listing/..gitignore.un~ +0 -0
- package/node_modules/parse-listing/..travis.yml.un~ +0 -0
- package/node_modules/parse-listing/.Makefile.un~ +0 -0
- package/node_modules/parse-listing/.README.md.un~ +0 -0
- package/node_modules/parse-listing/.npmignore +4 -0
- package/node_modules/parse-listing/.package.json.un~ +0 -0
- package/node_modules/parse-listing/.parser.js.un~ +0 -0
- package/node_modules/parse-listing/.parset_test.js.un~ +0 -0
- package/node_modules/parse-listing/.travis.yml +7 -0
- package/node_modules/parse-listing/Makefile +30 -0
- package/node_modules/parse-listing/README.md +115 -0
- package/node_modules/parse-listing/_site/Makefile +30 -0
- package/node_modules/parse-listing/_site/README.md +115 -0
- package/node_modules/parse-listing/_site/package.json +41 -0
- package/node_modules/parse-listing/_site/src/ftp-parser.js +456 -0
- package/node_modules/parse-listing/_site/src/parser.js +338 -0
- package/node_modules/parse-listing/_site/test/parser.test.js +707 -0
- package/node_modules/parse-listing/package.json +41 -0
- package/node_modules/parse-listing/src/.parser.js.un~ +0 -0
- package/node_modules/parse-listing/src/ftp-parser.js +456 -0
- package/node_modules/parse-listing/src/parser.js +339 -0
- package/node_modules/parse-listing/test/.parser.test.js.un~ +0 -0
- package/node_modules/parse-listing/test/.parser_test.js.un~ +0 -0
- package/node_modules/parse-listing/test/parser.test.js +714 -0
- package/node_modules/path-scurry/LICENSE.md +55 -0
- package/node_modules/path-scurry/README.md +636 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/index.js +2018 -0
- package/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts +1115 -0
- package/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/node_modules/path-scurry/dist/esm/index.js +1983 -0
- package/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/node_modules/path-scurry/package.json +72 -0
- package/node_modules/pend/LICENSE +23 -0
- package/node_modules/pend/README.md +41 -0
- package/node_modules/pend/index.js +55 -0
- package/node_modules/pend/package.json +18 -0
- package/node_modules/pend/test.js +137 -0
- package/node_modules/plist/LICENSE +24 -0
- package/node_modules/plist/README.md +151 -0
- package/node_modules/plist/index.js +2 -0
- package/node_modules/plist/lib/build.js +147 -0
- package/node_modules/plist/lib/parse.js +213 -0
- package/node_modules/plist/package.json +42 -0
- package/node_modules/pluralize/LICENSE +21 -0
- package/node_modules/pluralize/Readme.md +100 -0
- package/node_modules/pluralize/package.json +40 -0
- package/node_modules/pluralize/pluralize.js +503 -0
- package/node_modules/portscanner/.circleci/config.yml +39 -0
- package/node_modules/portscanner/CHANGELOG.md +103 -0
- package/node_modules/portscanner/LICENSE +23 -0
- package/node_modules/portscanner/README.md +79 -0
- package/node_modules/portscanner/lib/portscanner.js +251 -0
- package/node_modules/portscanner/lib/promisify.js +19 -0
- package/node_modules/portscanner/node_modules/async/CHANGELOG.md +278 -0
- package/node_modules/portscanner/node_modules/async/LICENSE +19 -0
- package/node_modules/portscanner/node_modules/async/README.md +56 -0
- package/node_modules/portscanner/node_modules/async/all.js +50 -0
- package/node_modules/portscanner/node_modules/async/allLimit.js +42 -0
- package/node_modules/portscanner/node_modules/async/allSeries.js +37 -0
- package/node_modules/portscanner/node_modules/async/any.js +52 -0
- package/node_modules/portscanner/node_modules/async/anyLimit.js +43 -0
- package/node_modules/portscanner/node_modules/async/anySeries.js +38 -0
- package/node_modules/portscanner/node_modules/async/apply.js +68 -0
- package/node_modules/portscanner/node_modules/async/applyEach.js +51 -0
- package/node_modules/portscanner/node_modules/async/applyEachSeries.js +37 -0
- package/node_modules/portscanner/node_modules/async/asyncify.js +110 -0
- package/node_modules/portscanner/node_modules/async/auto.js +289 -0
- package/node_modules/portscanner/node_modules/async/autoInject.js +170 -0
- package/node_modules/portscanner/node_modules/async/bower.json +17 -0
- package/node_modules/portscanner/node_modules/async/cargo.js +94 -0
- package/node_modules/portscanner/node_modules/async/compose.js +58 -0
- package/node_modules/portscanner/node_modules/async/concat.js +43 -0
- package/node_modules/portscanner/node_modules/async/concatLimit.js +65 -0
- package/node_modules/portscanner/node_modules/async/concatSeries.js +36 -0
- package/node_modules/portscanner/node_modules/async/constant.js +66 -0
- package/node_modules/portscanner/node_modules/async/detect.js +61 -0
- package/node_modules/portscanner/node_modules/async/detectLimit.js +48 -0
- package/node_modules/portscanner/node_modules/async/detectSeries.js +38 -0
- package/node_modules/portscanner/node_modules/async/dir.js +43 -0
- package/node_modules/portscanner/node_modules/async/dist/async.js +5612 -0
- package/node_modules/portscanner/node_modules/async/dist/async.min.js +2 -0
- package/node_modules/portscanner/node_modules/async/dist/async.min.map +1 -0
- package/node_modules/portscanner/node_modules/async/doDuring.js +66 -0
- package/node_modules/portscanner/node_modules/async/doUntil.js +39 -0
- package/node_modules/portscanner/node_modules/async/doWhilst.js +59 -0
- package/node_modules/portscanner/node_modules/async/during.js +76 -0
- package/node_modules/portscanner/node_modules/async/each.js +82 -0
- package/node_modules/portscanner/node_modules/async/eachLimit.js +45 -0
- package/node_modules/portscanner/node_modules/async/eachOf.js +111 -0
- package/node_modules/portscanner/node_modules/async/eachOfLimit.js +41 -0
- package/node_modules/portscanner/node_modules/async/eachOfSeries.js +35 -0
- package/node_modules/portscanner/node_modules/async/eachSeries.js +37 -0
- package/node_modules/portscanner/node_modules/async/ensureAsync.js +73 -0
- package/node_modules/portscanner/node_modules/async/every.js +50 -0
- package/node_modules/portscanner/node_modules/async/everyLimit.js +42 -0
- package/node_modules/portscanner/node_modules/async/everySeries.js +37 -0
- package/node_modules/portscanner/node_modules/async/filter.js +45 -0
- package/node_modules/portscanner/node_modules/async/filterLimit.js +37 -0
- package/node_modules/portscanner/node_modules/async/filterSeries.js +35 -0
- package/node_modules/portscanner/node_modules/async/find.js +61 -0
- package/node_modules/portscanner/node_modules/async/findLimit.js +48 -0
- package/node_modules/portscanner/node_modules/async/findSeries.js +38 -0
- package/node_modules/portscanner/node_modules/async/foldl.js +78 -0
- package/node_modules/portscanner/node_modules/async/foldr.js +44 -0
- package/node_modules/portscanner/node_modules/async/forEach.js +82 -0
- package/node_modules/portscanner/node_modules/async/forEachLimit.js +45 -0
- package/node_modules/portscanner/node_modules/async/forEachOf.js +111 -0
- package/node_modules/portscanner/node_modules/async/forEachOfLimit.js +41 -0
- package/node_modules/portscanner/node_modules/async/forEachOfSeries.js +35 -0
- package/node_modules/portscanner/node_modules/async/forEachSeries.js +37 -0
- package/node_modules/portscanner/node_modules/async/forever.js +65 -0
- package/node_modules/portscanner/node_modules/async/groupBy.js +54 -0
- package/node_modules/portscanner/node_modules/async/groupByLimit.js +71 -0
- package/node_modules/portscanner/node_modules/async/groupBySeries.js +37 -0
- package/node_modules/portscanner/node_modules/async/index.js +582 -0
- package/node_modules/portscanner/node_modules/async/inject.js +78 -0
- package/node_modules/portscanner/node_modules/async/internal/DoublyLinkedList.js +88 -0
- package/node_modules/portscanner/node_modules/async/internal/applyEach.js +38 -0
- package/node_modules/portscanner/node_modules/async/internal/breakLoop.js +9 -0
- package/node_modules/portscanner/node_modules/async/internal/consoleFunc.js +42 -0
- package/node_modules/portscanner/node_modules/async/internal/createTester.js +44 -0
- package/node_modules/portscanner/node_modules/async/internal/doLimit.js +12 -0
- package/node_modules/portscanner/node_modules/async/internal/doParallel.js +23 -0
- package/node_modules/portscanner/node_modules/async/internal/doParallelLimit.js +23 -0
- package/node_modules/portscanner/node_modules/async/internal/eachOfLimit.js +74 -0
- package/node_modules/portscanner/node_modules/async/internal/filter.js +75 -0
- package/node_modules/portscanner/node_modules/async/internal/findGetResult.js +10 -0
- package/node_modules/portscanner/node_modules/async/internal/getIterator.js +13 -0
- package/node_modules/portscanner/node_modules/async/internal/initialParams.js +21 -0
- package/node_modules/portscanner/node_modules/async/internal/iterator.js +61 -0
- package/node_modules/portscanner/node_modules/async/internal/map.js +35 -0
- package/node_modules/portscanner/node_modules/async/internal/notId.js +10 -0
- package/node_modules/portscanner/node_modules/async/internal/once.js +15 -0
- package/node_modules/portscanner/node_modules/async/internal/onlyOnce.js +15 -0
- package/node_modules/portscanner/node_modules/async/internal/parallel.js +42 -0
- package/node_modules/portscanner/node_modules/async/internal/queue.js +204 -0
- package/node_modules/portscanner/node_modules/async/internal/reject.js +21 -0
- package/node_modules/portscanner/node_modules/async/internal/setImmediate.js +42 -0
- package/node_modules/portscanner/node_modules/async/internal/slice.js +16 -0
- package/node_modules/portscanner/node_modules/async/internal/withoutIndex.js +12 -0
- package/node_modules/portscanner/node_modules/async/internal/wrapAsync.js +25 -0
- package/node_modules/portscanner/node_modules/async/log.js +41 -0
- package/node_modules/portscanner/node_modules/async/map.js +54 -0
- package/node_modules/portscanner/node_modules/async/mapLimit.js +37 -0
- package/node_modules/portscanner/node_modules/async/mapSeries.js +36 -0
- package/node_modules/portscanner/node_modules/async/mapValues.js +63 -0
- package/node_modules/portscanner/node_modules/async/mapValuesLimit.js +61 -0
- package/node_modules/portscanner/node_modules/async/mapValuesSeries.js +37 -0
- package/node_modules/portscanner/node_modules/async/memoize.js +101 -0
- package/node_modules/portscanner/node_modules/async/nextTick.js +51 -0
- package/node_modules/portscanner/node_modules/async/package.json +80 -0
- package/node_modules/portscanner/node_modules/async/parallel.js +90 -0
- package/node_modules/portscanner/node_modules/async/parallelLimit.js +40 -0
- package/node_modules/portscanner/node_modules/async/priorityQueue.js +98 -0
- package/node_modules/portscanner/node_modules/async/queue.js +130 -0
- package/node_modules/portscanner/node_modules/async/race.js +70 -0
- package/node_modules/portscanner/node_modules/async/reduce.js +78 -0
- package/node_modules/portscanner/node_modules/async/reduceRight.js +44 -0
- package/node_modules/portscanner/node_modules/async/reflect.js +81 -0
- package/node_modules/portscanner/node_modules/async/reflectAll.js +105 -0
- package/node_modules/portscanner/node_modules/async/reject.js +45 -0
- package/node_modules/portscanner/node_modules/async/rejectLimit.js +37 -0
- package/node_modules/portscanner/node_modules/async/rejectSeries.js +35 -0
- package/node_modules/portscanner/node_modules/async/retry.js +156 -0
- package/node_modules/portscanner/node_modules/async/retryable.js +65 -0
- package/node_modules/portscanner/node_modules/async/select.js +45 -0
- package/node_modules/portscanner/node_modules/async/selectLimit.js +37 -0
- package/node_modules/portscanner/node_modules/async/selectSeries.js +35 -0
- package/node_modules/portscanner/node_modules/async/seq.js +91 -0
- package/node_modules/portscanner/node_modules/async/series.js +85 -0
- package/node_modules/portscanner/node_modules/async/setImmediate.js +45 -0
- package/node_modules/portscanner/node_modules/async/some.js +52 -0
- package/node_modules/portscanner/node_modules/async/someLimit.js +43 -0
- package/node_modules/portscanner/node_modules/async/someSeries.js +38 -0
- package/node_modules/portscanner/node_modules/async/sortBy.js +91 -0
- package/node_modules/portscanner/node_modules/async/timeout.js +89 -0
- package/node_modules/portscanner/node_modules/async/times.js +50 -0
- package/node_modules/portscanner/node_modules/async/timesLimit.js +42 -0
- package/node_modules/portscanner/node_modules/async/timesSeries.js +32 -0
- package/node_modules/portscanner/node_modules/async/transform.js +87 -0
- package/node_modules/portscanner/node_modules/async/tryEach.js +81 -0
- package/node_modules/portscanner/node_modules/async/unmemoize.js +25 -0
- package/node_modules/portscanner/node_modules/async/until.js +41 -0
- package/node_modules/portscanner/node_modules/async/waterfall.js +113 -0
- package/node_modules/portscanner/node_modules/async/whilst.js +72 -0
- package/node_modules/portscanner/node_modules/async/wrapSync.js +110 -0
- package/node_modules/portscanner/package.json +50 -0
- package/node_modules/process/.eslintrc +21 -0
- package/node_modules/process/LICENSE +22 -0
- package/node_modules/process/README.md +26 -0
- package/node_modules/process/browser.js +184 -0
- package/node_modules/process/index.js +2 -0
- package/node_modules/process/package.json +27 -0
- package/node_modules/process/test.js +199 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/proxy-from-env/LICENSE +20 -0
- package/node_modules/proxy-from-env/README.md +163 -0
- package/node_modules/proxy-from-env/index.cjs +105 -0
- package/node_modules/proxy-from-env/index.js +103 -0
- package/node_modules/proxy-from-env/package.json +43 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +116 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +4 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +4 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +4 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +4 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +4 -0
- package/node_modules/readable-stream/lib/internal/streams/add-abort-signal.js +52 -0
- package/node_modules/readable-stream/lib/internal/streams/buffer_list.js +157 -0
- package/node_modules/readable-stream/lib/internal/streams/compose.js +194 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +290 -0
- package/node_modules/readable-stream/lib/internal/streams/duplex.js +143 -0
- package/node_modules/readable-stream/lib/internal/streams/duplexify.js +378 -0
- package/node_modules/readable-stream/lib/internal/streams/end-of-stream.js +286 -0
- package/node_modules/readable-stream/lib/internal/streams/from.js +98 -0
- package/node_modules/readable-stream/lib/internal/streams/lazy_transform.js +51 -0
- package/node_modules/readable-stream/lib/internal/streams/legacy.js +89 -0
- package/node_modules/readable-stream/lib/internal/streams/operators.js +457 -0
- package/node_modules/readable-stream/lib/internal/streams/passthrough.js +39 -0
- package/node_modules/readable-stream/lib/internal/streams/pipeline.js +471 -0
- package/node_modules/readable-stream/lib/internal/streams/readable.js +1290 -0
- package/node_modules/readable-stream/lib/internal/streams/state.js +39 -0
- package/node_modules/readable-stream/lib/internal/streams/transform.js +180 -0
- package/node_modules/readable-stream/lib/internal/streams/utils.js +327 -0
- package/node_modules/readable-stream/lib/internal/streams/writable.js +819 -0
- package/node_modules/readable-stream/lib/internal/validators.js +530 -0
- package/node_modules/readable-stream/lib/ours/browser.js +35 -0
- package/node_modules/readable-stream/lib/ours/errors.js +343 -0
- package/node_modules/readable-stream/lib/ours/index.js +65 -0
- package/node_modules/readable-stream/lib/ours/primordials.js +124 -0
- package/node_modules/readable-stream/lib/ours/util/inspect.js +55 -0
- package/node_modules/readable-stream/lib/ours/util.js +148 -0
- package/node_modules/readable-stream/lib/stream/promises.js +43 -0
- package/node_modules/readable-stream/lib/stream.js +143 -0
- package/node_modules/readable-stream/node_modules/buffer/AUTHORS.md +73 -0
- package/node_modules/readable-stream/node_modules/buffer/LICENSE +21 -0
- package/node_modules/readable-stream/node_modules/buffer/README.md +410 -0
- package/node_modules/readable-stream/node_modules/buffer/index.d.ts +194 -0
- package/node_modules/readable-stream/node_modules/buffer/index.js +2106 -0
- package/node_modules/readable-stream/node_modules/buffer/package.json +93 -0
- package/node_modules/readable-stream/package.json +88 -0
- package/node_modules/readdir-glob/LICENSE +201 -0
- package/node_modules/readdir-glob/README.md +92 -0
- package/node_modules/readdir-glob/dist/index.d.mts +106 -0
- package/node_modules/readdir-glob/dist/index.js +226 -0
- package/node_modules/readdir-glob/dist/index.js.map +1 -0
- package/node_modules/readdir-glob/dist/index.mjs +198 -0
- package/node_modules/readdir-glob/dist/index.mjs.map +1 -0
- package/node_modules/readdir-glob/package.json +66 -0
- package/node_modules/readdir-glob/src/cjs.ts +2 -0
- package/node_modules/readdir-glob/src/index.ts +348 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/sanitize-filename/.airtap.yml +16 -0
- package/node_modules/sanitize-filename/.gitmodules +3 -0
- package/node_modules/sanitize-filename/.travis.yml +55 -0
- package/node_modules/sanitize-filename/AUTHORS +2 -0
- package/node_modules/sanitize-filename/Changelog.md +6 -0
- package/node_modules/sanitize-filename/LICENSE.md +34 -0
- package/node_modules/sanitize-filename/README.md +103 -0
- package/node_modules/sanitize-filename/index.d.ts +8 -0
- package/node_modules/sanitize-filename/index.js +69 -0
- package/node_modules/sanitize-filename/package.json +36 -0
- package/node_modules/sanitize-filename/test.js +315 -0
- package/node_modules/semver/LICENSE +15 -0
- package/node_modules/semver/README.md +680 -0
- package/node_modules/semver/bin/semver.js +195 -0
- package/node_modules/semver/classes/comparator.js +143 -0
- package/node_modules/semver/classes/index.js +7 -0
- package/node_modules/semver/classes/range.js +577 -0
- package/node_modules/semver/classes/semver.js +350 -0
- package/node_modules/semver/functions/clean.js +8 -0
- package/node_modules/semver/functions/cmp.js +54 -0
- package/node_modules/semver/functions/coerce.js +62 -0
- package/node_modules/semver/functions/compare-build.js +9 -0
- package/node_modules/semver/functions/compare-loose.js +5 -0
- package/node_modules/semver/functions/compare.js +7 -0
- package/node_modules/semver/functions/diff.js +60 -0
- package/node_modules/semver/functions/eq.js +5 -0
- package/node_modules/semver/functions/gt.js +5 -0
- package/node_modules/semver/functions/gte.js +5 -0
- package/node_modules/semver/functions/inc.js +21 -0
- package/node_modules/semver/functions/lt.js +5 -0
- package/node_modules/semver/functions/lte.js +5 -0
- package/node_modules/semver/functions/major.js +5 -0
- package/node_modules/semver/functions/minor.js +5 -0
- package/node_modules/semver/functions/neq.js +5 -0
- package/node_modules/semver/functions/parse.js +18 -0
- package/node_modules/semver/functions/patch.js +5 -0
- package/node_modules/semver/functions/prerelease.js +8 -0
- package/node_modules/semver/functions/rcompare.js +5 -0
- package/node_modules/semver/functions/rsort.js +5 -0
- package/node_modules/semver/functions/satisfies.js +12 -0
- package/node_modules/semver/functions/sort.js +5 -0
- package/node_modules/semver/functions/truncate.js +48 -0
- package/node_modules/semver/functions/valid.js +8 -0
- package/node_modules/semver/index.js +93 -0
- package/node_modules/semver/internal/constants.js +37 -0
- package/node_modules/semver/internal/debug.js +11 -0
- package/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/semver/internal/lrucache.js +42 -0
- package/node_modules/semver/internal/parse-options.js +17 -0
- package/node_modules/semver/internal/re.js +223 -0
- package/node_modules/semver/package.json +78 -0
- package/node_modules/semver/preload.js +4 -0
- package/node_modules/semver/range.bnf +17 -0
- package/node_modules/semver/ranges/gtr.js +6 -0
- package/node_modules/semver/ranges/intersects.js +9 -0
- package/node_modules/semver/ranges/ltr.js +6 -0
- package/node_modules/semver/ranges/max-satisfying.js +27 -0
- package/node_modules/semver/ranges/min-satisfying.js +26 -0
- package/node_modules/semver/ranges/min-version.js +63 -0
- package/node_modules/semver/ranges/outside.js +82 -0
- package/node_modules/semver/ranges/simplify.js +49 -0
- package/node_modules/semver/ranges/subset.js +249 -0
- package/node_modules/semver/ranges/to-comparators.js +10 -0
- package/node_modules/semver/ranges/valid.js +13 -0
- package/node_modules/sharp/LICENSE +191 -0
- package/node_modules/sharp/README.md +112 -0
- package/node_modules/sharp/dist/channel.cjs +177 -0
- package/node_modules/sharp/dist/channel.mjs +177 -0
- package/node_modules/sharp/dist/colour.cjs +199 -0
- package/node_modules/sharp/dist/colour.mjs +199 -0
- package/node_modules/sharp/dist/composite.cjs +213 -0
- package/node_modules/sharp/dist/composite.mjs +213 -0
- package/node_modules/sharp/dist/constructor.cjs +511 -0
- package/node_modules/sharp/dist/constructor.mjs +511 -0
- package/node_modules/sharp/dist/index.cjs +25 -0
- package/node_modules/sharp/dist/index.d.cts +1999 -0
- package/node_modules/sharp/dist/index.d.mts +2046 -0
- package/node_modules/sharp/dist/index.mjs +25 -0
- package/node_modules/sharp/dist/input.cjs +819 -0
- package/node_modules/sharp/dist/input.mjs +819 -0
- package/node_modules/sharp/dist/is.cjs +149 -0
- package/node_modules/sharp/dist/is.mjs +149 -0
- package/node_modules/sharp/dist/libvips.cjs +212 -0
- package/node_modules/sharp/dist/libvips.mjs +212 -0
- package/node_modules/sharp/dist/operation.cjs +1002 -0
- package/node_modules/sharp/dist/operation.mjs +1002 -0
- package/node_modules/sharp/dist/output.cjs +1786 -0
- package/node_modules/sharp/dist/output.mjs +1786 -0
- package/node_modules/sharp/dist/resize.cjs +617 -0
- package/node_modules/sharp/dist/resize.mjs +617 -0
- package/node_modules/sharp/dist/sharp.cjs +174 -0
- package/node_modules/sharp/dist/sharp.mjs +174 -0
- package/node_modules/sharp/dist/utility.cjs +301 -0
- package/node_modules/sharp/dist/utility.mjs +301 -0
- package/node_modules/sharp/install/build.js +38 -0
- package/node_modules/sharp/lib/index.d.ts +1999 -0
- package/node_modules/sharp/package.json +227 -0
- package/node_modules/sharp/src/binding.gyp +303 -0
- package/node_modules/sharp/src/common.cc +1186 -0
- package/node_modules/sharp/src/common.h +421 -0
- package/node_modules/sharp/src/metadata.cc +404 -0
- package/node_modules/sharp/src/metadata.h +95 -0
- package/node_modules/sharp/src/operations.cc +516 -0
- package/node_modules/sharp/src/operations.h +137 -0
- package/node_modules/sharp/src/pipeline.cc +1973 -0
- package/node_modules/sharp/src/pipeline.h +422 -0
- package/node_modules/sharp/src/sharp.cc +43 -0
- package/node_modules/sharp/src/stats.cc +186 -0
- package/node_modules/sharp/src/stats.h +62 -0
- package/node_modules/sharp/src/utilities.cc +289 -0
- package/node_modules/sharp/src/utilities.h +22 -0
- package/node_modules/shell-quote/.github/FUNDING.yml +12 -0
- package/node_modules/shell-quote/.nycrc +14 -0
- package/node_modules/shell-quote/LICENSE +24 -0
- package/node_modules/shell-quote/README.md +213 -0
- package/node_modules/shell-quote/eslint.config.mjs +29 -0
- package/node_modules/shell-quote/index.d.ts +28 -0
- package/node_modules/shell-quote/index.js +4 -0
- package/node_modules/shell-quote/package.json +76 -0
- package/node_modules/shell-quote/parse.d.ts +48 -0
- package/node_modules/shell-quote/parse.js +330 -0
- package/node_modules/shell-quote/quote.d.ts +15 -0
- package/node_modules/shell-quote/quote.js +65 -0
- package/node_modules/shell-quote/security.md +11 -0
- package/node_modules/shell-quote/test/comment.js +16 -0
- package/node_modules/shell-quote/test/env.js +52 -0
- package/node_modules/shell-quote/test/env_fn.js +21 -0
- package/node_modules/shell-quote/test/op.js +102 -0
- package/node_modules/shell-quote/test/parse.js +149 -0
- package/node_modules/shell-quote/test/quote.js +145 -0
- package/node_modules/shell-quote/test/set.js +31 -0
- package/node_modules/shell-quote/tsconfig.json +10 -0
- package/node_modules/spdx-correct/LICENSE +202 -0
- package/node_modules/spdx-correct/README.md +22 -0
- package/node_modules/spdx-correct/index.js +386 -0
- package/node_modules/spdx-correct/package.json +32 -0
- package/node_modules/spdx-exceptions/README.md +36 -0
- package/node_modules/spdx-exceptions/deprecated.json +3 -0
- package/node_modules/spdx-exceptions/index.json +68 -0
- package/node_modules/spdx-exceptions/package.json +19 -0
- package/node_modules/spdx-expression-parse/AUTHORS +4 -0
- package/node_modules/spdx-expression-parse/LICENSE +22 -0
- package/node_modules/spdx-expression-parse/README.md +91 -0
- package/node_modules/spdx-expression-parse/index.js +8 -0
- package/node_modules/spdx-expression-parse/package.json +39 -0
- package/node_modules/spdx-expression-parse/parse.js +138 -0
- package/node_modules/spdx-expression-parse/scan.js +131 -0
- package/node_modules/spdx-license-ids/README.md +51 -0
- package/node_modules/spdx-license-ids/deprecated.json +28 -0
- package/node_modules/spdx-license-ids/index.json +710 -0
- package/node_modules/spdx-license-ids/package.json +29 -0
- 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 +3 -0
- package/node_modules/stream-buffers/.nvmrc +1 -0
- package/node_modules/stream-buffers/README.md +157 -0
- package/node_modules/stream-buffers/UNLICENSE +24 -0
- package/node_modules/stream-buffers/lib/constants.js +8 -0
- package/node_modules/stream-buffers/lib/readable_streambuffer.js +114 -0
- package/node_modules/stream-buffers/lib/streambuffer.js +5 -0
- package/node_modules/stream-buffers/lib/writable_streambuffer.js +72 -0
- package/node_modules/stream-buffers/package.json +30 -0
- package/node_modules/stream-combiner/.npmignore +3 -0
- package/node_modules/stream-combiner/.travis.yml +4 -0
- package/node_modules/stream-combiner/LICENSE +22 -0
- package/node_modules/stream-combiner/README.md +55 -0
- package/node_modules/stream-combiner/index.js +45 -0
- package/node_modules/stream-combiner/package.json +22 -0
- package/node_modules/stream-combiner/test/index.js +65 -0
- package/node_modules/streamx/LICENSE +21 -0
- package/node_modules/streamx/README.md +550 -0
- package/node_modules/streamx/index.d.ts +198 -0
- package/node_modules/streamx/index.js +1314 -0
- package/node_modules/streamx/lib/errors.d.ts +13 -0
- package/node_modules/streamx/lib/errors.js +47 -0
- package/node_modules/streamx/package.json +51 -0
- package/node_modules/streamx/runtime.d.ts +55 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/string_decoder/node_modules/safe-buffer/index.js +65 -0
- package/node_modules/string_decoder/node_modules/safe-buffer/package.json +51 -0
- package/node_modules/string_decoder/package.json +34 -0
- package/node_modules/tagged-tag/index.d.ts +3 -0
- package/node_modules/tagged-tag/license +9 -0
- package/node_modules/tagged-tag/package.json +36 -0
- package/node_modules/tagged-tag/readme.md +5 -0
- package/node_modules/tar-stream/LICENSE +21 -0
- package/node_modules/tar-stream/README.md +183 -0
- package/node_modules/tar-stream/constants.js +14 -0
- package/node_modules/tar-stream/extract.js +418 -0
- package/node_modules/tar-stream/headers.js +322 -0
- package/node_modules/tar-stream/index.d.ts +60 -0
- package/node_modules/tar-stream/index.js +2 -0
- package/node_modules/tar-stream/pack.js +287 -0
- package/node_modules/tar-stream/package.json +50 -0
- package/node_modules/teen_process/CHANGELOG.md +1116 -0
- package/node_modules/teen_process/LICENSE +201 -0
- package/node_modules/teen_process/README.md +270 -0
- package/node_modules/teen_process/build/cjs/lib/circular-buffer.d.ts +13 -0
- package/node_modules/teen_process/build/cjs/lib/circular-buffer.d.ts.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/circular-buffer.js +57 -0
- package/node_modules/teen_process/build/cjs/lib/circular-buffer.js.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/exec.d.ts +33 -0
- package/node_modules/teen_process/build/cjs/lib/exec.d.ts.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/exec.js +154 -0
- package/node_modules/teen_process/build/cjs/lib/exec.js.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/helpers.d.ts +2 -0
- package/node_modules/teen_process/build/cjs/lib/helpers.d.ts.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/helpers.js +47 -0
- package/node_modules/teen_process/build/cjs/lib/helpers.js.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/index.d.ts +5 -0
- package/node_modules/teen_process/build/cjs/lib/index.d.ts.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/index.js +10 -0
- package/node_modules/teen_process/build/cjs/lib/index.js.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/subprocess.d.ts +125 -0
- package/node_modules/teen_process/build/cjs/lib/subprocess.d.ts.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/subprocess.js +300 -0
- package/node_modules/teen_process/build/cjs/lib/subprocess.js.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/types.d.ts +71 -0
- package/node_modules/teen_process/build/cjs/lib/types.d.ts.map +1 -0
- package/node_modules/teen_process/build/cjs/lib/types.js +3 -0
- package/node_modules/teen_process/build/cjs/lib/types.js.map +1 -0
- package/node_modules/teen_process/build/cjs/package.json +3 -0
- package/node_modules/teen_process/build/esm/lib/circular-buffer.d.ts +13 -0
- package/node_modules/teen_process/build/esm/lib/circular-buffer.d.ts.map +1 -0
- package/node_modules/teen_process/build/esm/lib/circular-buffer.js +53 -0
- package/node_modules/teen_process/build/esm/lib/circular-buffer.js.map +1 -0
- package/node_modules/teen_process/build/esm/lib/exec.d.ts +33 -0
- package/node_modules/teen_process/build/esm/lib/exec.d.ts.map +1 -0
- package/node_modules/teen_process/build/esm/lib/exec.js +151 -0
- package/node_modules/teen_process/build/esm/lib/exec.js.map +1 -0
- package/node_modules/teen_process/build/esm/lib/helpers.d.ts +2 -0
- package/node_modules/teen_process/build/esm/lib/helpers.d.ts.map +1 -0
- package/node_modules/teen_process/build/esm/lib/helpers.js +41 -0
- package/node_modules/teen_process/build/esm/lib/helpers.js.map +1 -0
- package/node_modules/teen_process/build/esm/lib/index.d.ts +5 -0
- package/node_modules/teen_process/build/esm/lib/index.d.ts.map +1 -0
- package/node_modules/teen_process/build/esm/lib/index.js +4 -0
- package/node_modules/teen_process/build/esm/lib/index.js.map +1 -0
- package/node_modules/teen_process/build/esm/lib/subprocess.d.ts +125 -0
- package/node_modules/teen_process/build/esm/lib/subprocess.d.ts.map +1 -0
- package/node_modules/teen_process/build/esm/lib/subprocess.js +296 -0
- package/node_modules/teen_process/build/esm/lib/subprocess.js.map +1 -0
- package/node_modules/teen_process/build/esm/lib/types.d.ts +71 -0
- package/node_modules/teen_process/build/esm/lib/types.d.ts.map +1 -0
- package/node_modules/teen_process/build/esm/lib/types.js +2 -0
- package/node_modules/teen_process/build/esm/lib/types.js.map +1 -0
- package/node_modules/teen_process/build/esm/package.json +3 -0
- package/node_modules/teen_process/lib/circular-buffer.ts +60 -0
- package/node_modules/teen_process/lib/exec.ts +176 -0
- package/node_modules/teen_process/lib/helpers.ts +45 -0
- package/node_modules/teen_process/lib/index.ts +4 -0
- package/node_modules/teen_process/lib/subprocess.ts +346 -0
- package/node_modules/teen_process/lib/types.ts +83 -0
- package/node_modules/teen_process/package.json +81 -0
- package/node_modules/teex/LICENSE +21 -0
- package/node_modules/teex/README.md +31 -0
- package/node_modules/teex/example.js +16 -0
- package/node_modules/teex/index.js +52 -0
- package/node_modules/teex/package.json +26 -0
- package/node_modules/teex/test.js +68 -0
- package/node_modules/text-decoder/LICENSE +201 -0
- package/node_modules/text-decoder/README.md +36 -0
- package/node_modules/text-decoder/index.js +64 -0
- package/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
- package/node_modules/text-decoder/lib/utf8-decoder.js +185 -0
- package/node_modules/text-decoder/package.json +39 -0
- package/node_modules/through/.travis.yml +5 -0
- package/node_modules/through/LICENSE.APACHE2 +15 -0
- package/node_modules/through/LICENSE.MIT +24 -0
- package/node_modules/through/index.js +108 -0
- package/node_modules/through/package.json +36 -0
- package/node_modules/through/readme.markdown +64 -0
- package/node_modules/through/test/async.js +28 -0
- package/node_modules/through/test/auto-destroy.js +30 -0
- package/node_modules/through/test/buffering.js +71 -0
- package/node_modules/through/test/end.js +45 -0
- package/node_modules/through/test/index.js +133 -0
- package/node_modules/truncate-utf8-bytes/.gitmodules +3 -0
- package/node_modules/truncate-utf8-bytes/.npmignore +1 -0
- package/node_modules/truncate-utf8-bytes/.travis.yml +12 -0
- package/node_modules/truncate-utf8-bytes/AUTHORS +2 -0
- package/node_modules/truncate-utf8-bytes/README.md +27 -0
- package/node_modules/truncate-utf8-bytes/browser.js +5 -0
- package/node_modules/truncate-utf8-bytes/index.js +5 -0
- package/node_modules/truncate-utf8-bytes/lib/truncate.js +43 -0
- package/node_modules/truncate-utf8-bytes/package.json +30 -0
- package/node_modules/truncate-utf8-bytes/test.js +75 -0
- package/node_modules/type-fest/index.d.ts +227 -0
- package/node_modules/type-fest/license-cc0 +121 -0
- package/node_modules/type-fest/license-mit +9 -0
- package/node_modules/type-fest/package.json +76 -0
- package/node_modules/type-fest/readme.md +1076 -0
- package/node_modules/type-fest/source/absolute.d.ts +52 -0
- package/node_modules/type-fest/source/all-extend.d.ts +123 -0
- package/node_modules/type-fest/source/all-union-fields.d.ts +91 -0
- package/node_modules/type-fest/source/and-all.d.ts +76 -0
- package/node_modules/type-fest/source/and.d.ts +82 -0
- package/node_modules/type-fest/source/array-element.d.ts +46 -0
- package/node_modules/type-fest/source/array-indices.d.ts +25 -0
- package/node_modules/type-fest/source/array-length.d.ts +36 -0
- package/node_modules/type-fest/source/array-reverse.d.ts +86 -0
- package/node_modules/type-fest/source/array-slice.d.ts +132 -0
- package/node_modules/type-fest/source/array-splice.d.ts +104 -0
- package/node_modules/type-fest/source/array-tail.d.ts +70 -0
- package/node_modules/type-fest/source/array-values.d.ts +24 -0
- package/node_modules/type-fest/source/arrayable.d.ts +31 -0
- package/node_modules/type-fest/source/async-return-type.d.ts +28 -0
- package/node_modules/type-fest/source/asyncify.d.ts +25 -0
- package/node_modules/type-fest/source/basic.d.ts +38 -0
- package/node_modules/type-fest/source/camel-case.d.ts +125 -0
- package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +106 -0
- package/node_modules/type-fest/source/camel-cased-properties.d.ts +49 -0
- package/node_modules/type-fest/source/characters.d.ts +67 -0
- package/node_modules/type-fest/source/conditional-except.d.ts +47 -0
- package/node_modules/type-fest/source/conditional-keys.d.ts +63 -0
- package/node_modules/type-fest/source/conditional-pick-deep.d.ts +122 -0
- package/node_modules/type-fest/source/conditional-pick.d.ts +48 -0
- package/node_modules/type-fest/source/conditional-simplify-deep.d.ts +73 -0
- package/node_modules/type-fest/source/conditional-simplify.d.ts +50 -0
- package/node_modules/type-fest/source/delimiter-case.d.ts +79 -0
- package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +115 -0
- package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +52 -0
- package/node_modules/type-fest/source/distributed-omit.d.ts +96 -0
- package/node_modules/type-fest/source/distributed-pick.d.ts +92 -0
- package/node_modules/type-fest/source/empty-object.d.ts +51 -0
- package/node_modules/type-fest/source/entries.d.ts +64 -0
- package/node_modules/type-fest/source/entry.d.ts +67 -0
- package/node_modules/type-fest/source/exact.d.ts +73 -0
- package/node_modules/type-fest/source/except.d.ts +112 -0
- package/node_modules/type-fest/source/exclude-exactly.d.ts +57 -0
- package/node_modules/type-fest/source/exclude-rest-element.d.ts +40 -0
- package/node_modules/type-fest/source/exclude-strict.d.ts +51 -0
- package/node_modules/type-fest/source/exclusify-union.d.ts +147 -0
- package/node_modules/type-fest/source/extends-strict.d.ts +151 -0
- package/node_modules/type-fest/source/extract-exactly.d.ts +56 -0
- package/node_modules/type-fest/source/extract-rest-element.d.ts +30 -0
- package/node_modules/type-fest/source/extract-strict.d.ts +51 -0
- package/node_modules/type-fest/source/find-global-type.d.ts +68 -0
- package/node_modules/type-fest/source/fixed-length-array.d.ts +97 -0
- package/node_modules/type-fest/source/get.d.ts +227 -0
- package/node_modules/type-fest/source/global-this.d.ts +24 -0
- package/node_modules/type-fest/source/globals/index.d.ts +3 -0
- package/node_modules/type-fest/source/globals/observable-like.d.ts +78 -0
- package/node_modules/type-fest/source/greater-than-or-equal.d.ts +63 -0
- package/node_modules/type-fest/source/greater-than.d.ts +92 -0
- package/node_modules/type-fest/source/has-optional-keys.d.ts +23 -0
- package/node_modules/type-fest/source/has-readonly-keys.d.ts +23 -0
- package/node_modules/type-fest/source/has-required-keys.d.ts +61 -0
- package/node_modules/type-fest/source/has-writable-keys.d.ts +23 -0
- package/node_modules/type-fest/source/if-any.d.ts +28 -0
- package/node_modules/type-fest/source/if-empty-object.d.ts +30 -0
- package/node_modules/type-fest/source/if-never.d.ts +28 -0
- package/node_modules/type-fest/source/if-null.d.ts +28 -0
- package/node_modules/type-fest/source/if-unknown.d.ts +28 -0
- package/node_modules/type-fest/source/if.d.ts +102 -0
- package/node_modules/type-fest/source/includes.d.ts +24 -0
- package/node_modules/type-fest/source/int-closed-range.d.ts +48 -0
- package/node_modules/type-fest/source/int-range.d.ts +114 -0
- package/node_modules/type-fest/source/internal/array.d.ts +145 -0
- package/node_modules/type-fest/source/internal/characters.d.ts +65 -0
- package/node_modules/type-fest/source/internal/enforce-optional.d.ts +49 -0
- package/node_modules/type-fest/source/internal/index.d.ts +11 -0
- package/node_modules/type-fest/source/internal/keys.d.ts +100 -0
- package/node_modules/type-fest/source/internal/numeric.d.ts +105 -0
- package/node_modules/type-fest/source/internal/object.d.ts +330 -0
- package/node_modules/type-fest/source/internal/string.d.ts +127 -0
- package/node_modules/type-fest/source/internal/tuple.d.ts +79 -0
- package/node_modules/type-fest/source/internal/type.d.ts +171 -0
- package/node_modules/type-fest/source/invariant-of.d.ts +85 -0
- package/node_modules/type-fest/source/is-any.d.ts +31 -0
- package/node_modules/type-fest/source/is-boolean-literal.d.ts +39 -0
- package/node_modules/type-fest/source/is-equal.d.ts +41 -0
- package/node_modules/type-fest/source/is-float.d.ts +43 -0
- package/node_modules/type-fest/source/is-integer.d.ts +60 -0
- package/node_modules/type-fest/source/is-literal.d.ts +91 -0
- package/node_modules/type-fest/source/is-lowercase.d.ts +38 -0
- package/node_modules/type-fest/source/is-never.d.ts +56 -0
- package/node_modules/type-fest/source/is-null.d.ts +22 -0
- package/node_modules/type-fest/source/is-nullable.d.ts +30 -0
- package/node_modules/type-fest/source/is-numeric-literal.d.ts +50 -0
- package/node_modules/type-fest/source/is-optional-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/is-optional.d.ts +28 -0
- package/node_modules/type-fest/source/is-readonly-key-of.d.ts +55 -0
- package/node_modules/type-fest/source/is-required-key-of.d.ts +51 -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 +92 -0
- package/node_modules/type-fest/source/is-undefined.d.ts +22 -0
- package/node_modules/type-fest/source/is-union.d.ts +40 -0
- package/node_modules/type-fest/source/is-unknown.d.ts +43 -0
- package/node_modules/type-fest/source/is-uppercase.d.ts +38 -0
- package/node_modules/type-fest/source/is-writable-key-of.d.ts +51 -0
- package/node_modules/type-fest/source/iterable-element.d.ts +66 -0
- package/node_modules/type-fest/source/join.d.ts +79 -0
- package/node_modules/type-fest/source/json-value.d.ts +33 -0
- package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
- package/node_modules/type-fest/source/jsonify.d.ts +123 -0
- package/node_modules/type-fest/source/kebab-case.d.ts +47 -0
- package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +72 -0
- package/node_modules/type-fest/source/kebab-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/key-as-string.d.ts +27 -0
- package/node_modules/type-fest/source/keys-of-union.d.ts +44 -0
- package/node_modules/type-fest/source/last-array-element.d.ts +89 -0
- package/node_modules/type-fest/source/less-than-or-equal.d.ts +60 -0
- package/node_modules/type-fest/source/less-than.d.ts +60 -0
- package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +71 -0
- package/node_modules/type-fest/source/literal-to-primitive.d.ts +38 -0
- package/node_modules/type-fest/source/literal-union.d.ts +39 -0
- package/node_modules/type-fest/source/merge-deep.d.ts +495 -0
- package/node_modules/type-fest/source/merge-exclusive.d.ts +45 -0
- package/node_modules/type-fest/source/merge.d.ts +87 -0
- package/node_modules/type-fest/source/multidimensional-array.d.ts +38 -0
- package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +38 -0
- package/node_modules/type-fest/source/non-empty-object.d.ts +38 -0
- package/node_modules/type-fest/source/non-empty-string.d.ts +32 -0
- package/node_modules/type-fest/source/non-empty-tuple.d.ts +24 -0
- package/node_modules/type-fest/source/non-nullable-deep.d.ts +102 -0
- package/node_modules/type-fest/source/numeric.d.ts +226 -0
- package/node_modules/type-fest/source/object-merge.d.ts +199 -0
- package/node_modules/type-fest/source/omit-deep.d.ts +153 -0
- package/node_modules/type-fest/source/omit-index-signature.d.ts +98 -0
- package/node_modules/type-fest/source/opaque.d.ts +3 -0
- package/node_modules/type-fest/source/optional-keys-of.d.ts +46 -0
- package/node_modules/type-fest/source/optional.d.ts +31 -0
- package/node_modules/type-fest/source/or-all.d.ts +73 -0
- package/node_modules/type-fest/source/or.d.ts +82 -0
- package/node_modules/type-fest/source/override-properties.d.ts +43 -0
- package/node_modules/type-fest/source/package-json.d.ts +710 -0
- package/node_modules/type-fest/source/partial-deep.d.ts +157 -0
- package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +81 -0
- package/node_modules/type-fest/source/pascal-case.d.ts +52 -0
- package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +79 -0
- package/node_modules/type-fest/source/pascal-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/paths.d.ts +241 -0
- package/node_modules/type-fest/source/pick-deep.d.ts +139 -0
- package/node_modules/type-fest/source/pick-index-signature.d.ts +52 -0
- package/node_modules/type-fest/source/primitive.d.ts +15 -0
- package/node_modules/type-fest/source/promisable.d.ts +27 -0
- package/node_modules/type-fest/source/readonly-deep.d.ts +118 -0
- package/node_modules/type-fest/source/readonly-keys-of.d.ts +38 -0
- package/node_modules/type-fest/source/readonly-tuple.d.ts +34 -0
- package/node_modules/type-fest/source/remove-prefix.d.ts +114 -0
- package/node_modules/type-fest/source/remove-suffix.d.ts +114 -0
- package/node_modules/type-fest/source/rename-keys.d.ts +163 -0
- package/node_modules/type-fest/source/replace.d.ts +87 -0
- package/node_modules/type-fest/source/require-all-or-none.d.ts +54 -0
- package/node_modules/type-fest/source/require-at-least-one.d.ts +48 -0
- package/node_modules/type-fest/source/require-exactly-one.d.ts +48 -0
- package/node_modules/type-fest/source/require-one-or-none.d.ts +49 -0
- package/node_modules/type-fest/source/required-deep.d.ts +78 -0
- package/node_modules/type-fest/source/required-keys-of.d.ts +38 -0
- package/node_modules/type-fest/source/schema.d.ts +127 -0
- package/node_modules/type-fest/source/screaming-snake-case.d.ts +31 -0
- package/node_modules/type-fest/source/set-field-type.d.ts +67 -0
- package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +89 -0
- package/node_modules/type-fest/source/set-non-nullable.d.ts +34 -0
- package/node_modules/type-fest/source/set-optional.d.ts +42 -0
- package/node_modules/type-fest/source/set-parameter-type.d.ts +125 -0
- package/node_modules/type-fest/source/set-readonly.d.ts +40 -0
- package/node_modules/type-fest/source/set-required-deep.d.ts +65 -0
- package/node_modules/type-fest/source/set-required.d.ts +76 -0
- package/node_modules/type-fest/source/set-return-type.d.ts +31 -0
- package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +182 -0
- package/node_modules/type-fest/source/shared-union-fields.d.ts +79 -0
- package/node_modules/type-fest/source/simplify-deep.d.ts +117 -0
- package/node_modules/type-fest/source/simplify.d.ts +61 -0
- package/node_modules/type-fest/source/single-key-object.d.ts +28 -0
- package/node_modules/type-fest/source/snake-case.d.ts +48 -0
- package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +72 -0
- package/node_modules/type-fest/source/snake-cased-properties.d.ts +46 -0
- package/node_modules/type-fest/source/some-extend.d.ts +117 -0
- package/node_modules/type-fest/source/split-on-rest-element.d.ts +109 -0
- package/node_modules/type-fest/source/split.d.ts +101 -0
- package/node_modules/type-fest/source/spread.d.ts +78 -0
- package/node_modules/type-fest/source/string-length.d.ts +38 -0
- package/node_modules/type-fest/source/string-repeat.d.ts +76 -0
- package/node_modules/type-fest/source/string-slice.d.ts +39 -0
- package/node_modules/type-fest/source/string-to-array.d.ts +97 -0
- package/node_modules/type-fest/source/string-to-number.d.ts +67 -0
- package/node_modules/type-fest/source/stringified.d.ts +25 -0
- package/node_modules/type-fest/source/structured-cloneable.d.ts +89 -0
- package/node_modules/type-fest/source/subtract.d.ts +87 -0
- package/node_modules/type-fest/source/sum.d.ts +82 -0
- package/node_modules/type-fest/source/tagged-union.d.ts +53 -0
- package/node_modules/type-fest/source/tagged.d.ts +261 -0
- package/node_modules/type-fest/source/trim.d.ts +29 -0
- package/node_modules/type-fest/source/tsconfig-json.d.ts +1356 -0
- package/node_modules/type-fest/source/tuple-of.d.ts +114 -0
- package/node_modules/type-fest/source/tuple-to-object.d.ts +47 -0
- package/node_modules/type-fest/source/tuple-to-union.d.ts +54 -0
- package/node_modules/type-fest/source/typed-array.d.ts +25 -0
- package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +83 -0
- package/node_modules/type-fest/source/union-length.d.ts +27 -0
- package/node_modules/type-fest/source/union-max.d.ts +56 -0
- package/node_modules/type-fest/source/union-member.d.ts +65 -0
- package/node_modules/type-fest/source/union-to-intersection.d.ts +35 -0
- package/node_modules/type-fest/source/union-to-tuple.d.ts +49 -0
- package/node_modules/type-fest/source/unknown-array.d.ts +27 -0
- package/node_modules/type-fest/source/unknown-map.d.ts +26 -0
- package/node_modules/type-fest/source/unknown-record.d.ts +33 -0
- package/node_modules/type-fest/source/unknown-set.d.ts +26 -0
- package/node_modules/type-fest/source/unwrap-partial.d.ts +33 -0
- package/node_modules/type-fest/source/unwrap-required.d.ts +37 -0
- package/node_modules/type-fest/source/value-of.d.ts +24 -0
- package/node_modules/type-fest/source/words.d.ts +148 -0
- package/node_modules/type-fest/source/writable-deep.d.ts +84 -0
- package/node_modules/type-fest/source/writable-keys-of.d.ts +34 -0
- package/node_modules/type-fest/source/writable.d.ts +68 -0
- package/node_modules/type-fest/source/xor.d.ts +83 -0
- package/node_modules/unorm/LICENSE.md +42 -0
- package/node_modules/unorm/README.md +118 -0
- package/node_modules/unorm/lib/unorm.js +452 -0
- package/node_modules/unorm/package.json +31 -0
- package/node_modules/utf8-byte-length/.gitmodules +3 -0
- package/node_modules/utf8-byte-length/.travis.yml +9 -0
- package/node_modules/utf8-byte-length/AUTHORS +2 -0
- package/node_modules/utf8-byte-length/LICENSE.MIT.txt +7 -0
- package/node_modules/utf8-byte-length/LICENSE.WTFPL.txt +13 -0
- package/node_modules/utf8-byte-length/README.md +28 -0
- package/node_modules/utf8-byte-length/browser.js +47 -0
- package/node_modules/utf8-byte-length/index.js +8 -0
- package/node_modules/utf8-byte-length/package.json +26 -0
- package/node_modules/utf8-byte-length/test.js +67 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/node_modules/uuid/LICENSE.md +9 -0
- package/node_modules/uuid/README.md +491 -0
- package/node_modules/uuid/dist/index.d.ts +15 -0
- package/node_modules/uuid/dist/index.js +14 -0
- package/node_modules/uuid/dist/max.d.ts +2 -0
- package/node_modules/uuid/dist/max.js +1 -0
- package/node_modules/uuid/dist/md5.d.ts +2 -0
- package/node_modules/uuid/dist/md5.js +135 -0
- package/node_modules/uuid/dist/nil.d.ts +2 -0
- package/node_modules/uuid/dist/nil.js +1 -0
- package/node_modules/uuid/dist/parse.d.ts +3 -0
- package/node_modules/uuid/dist/parse.js +9 -0
- package/node_modules/uuid/dist/regex.d.ts +2 -0
- package/node_modules/uuid/dist/regex.js +1 -0
- package/node_modules/uuid/dist/rng.d.ts +1 -0
- package/node_modules/uuid/dist/rng.js +4 -0
- package/node_modules/uuid/dist/sha1.d.ts +2 -0
- package/node_modules/uuid/dist/sha1.js +70 -0
- package/node_modules/uuid/dist/stringify.d.ts +3 -0
- package/node_modules/uuid/dist/stringify.js +35 -0
- package/node_modules/uuid/dist/types.d.ts +22 -0
- package/node_modules/uuid/dist/types.js +1 -0
- package/node_modules/uuid/dist/uuid-bin.d.ts +1 -0
- package/node_modules/uuid/dist/uuid-bin.js +70 -0
- package/node_modules/uuid/dist/v1.d.ts +11 -0
- package/node_modules/uuid/dist/v1.js +87 -0
- package/node_modules/uuid/dist/v1ToV6.d.ts +3 -0
- package/node_modules/uuid/dist/v1ToV6.js +10 -0
- package/node_modules/uuid/dist/v3.d.ts +9 -0
- package/node_modules/uuid/dist/v3.js +9 -0
- package/node_modules/uuid/dist/v35.d.ts +7 -0
- package/node_modules/uuid/dist/v35.js +39 -0
- package/node_modules/uuid/dist/v4.d.ts +4 -0
- package/node_modules/uuid/dist/v4.js +29 -0
- package/node_modules/uuid/dist/v5.d.ts +9 -0
- package/node_modules/uuid/dist/v5.js +9 -0
- package/node_modules/uuid/dist/v6.d.ts +4 -0
- package/node_modules/uuid/dist/v6.js +20 -0
- package/node_modules/uuid/dist/v6ToV1.d.ts +2 -0
- package/node_modules/uuid/dist/v6ToV1.js +10 -0
- package/node_modules/uuid/dist/v7.d.ts +9 -0
- package/node_modules/uuid/dist/v7.js +68 -0
- package/node_modules/uuid/dist/validate.d.ts +2 -0
- package/node_modules/uuid/dist/validate.js +5 -0
- package/node_modules/uuid/dist/version.d.ts +2 -0
- package/node_modules/uuid/dist/version.js +8 -0
- package/node_modules/uuid/dist-node/bin/uuid +2 -0
- package/node_modules/uuid/dist-node/index.js +14 -0
- package/node_modules/uuid/dist-node/max.js +1 -0
- package/node_modules/uuid/dist-node/md5.js +11 -0
- package/node_modules/uuid/dist-node/nil.js +1 -0
- package/node_modules/uuid/dist-node/parse.js +9 -0
- package/node_modules/uuid/dist-node/regex.js +1 -0
- package/node_modules/uuid/dist-node/rng.js +4 -0
- package/node_modules/uuid/dist-node/sha1.js +11 -0
- package/node_modules/uuid/dist-node/stringify.js +35 -0
- package/node_modules/uuid/dist-node/types.js +1 -0
- package/node_modules/uuid/dist-node/uuid-bin.js +70 -0
- package/node_modules/uuid/dist-node/v1.js +87 -0
- package/node_modules/uuid/dist-node/v1ToV6.js +10 -0
- package/node_modules/uuid/dist-node/v3.js +9 -0
- package/node_modules/uuid/dist-node/v35.js +39 -0
- package/node_modules/uuid/dist-node/v4.js +29 -0
- package/node_modules/uuid/dist-node/v5.js +9 -0
- package/node_modules/uuid/dist-node/v6.js +20 -0
- package/node_modules/uuid/dist-node/v6ToV1.js +10 -0
- package/node_modules/uuid/dist-node/v7.js +68 -0
- package/node_modules/uuid/dist-node/validate.js +5 -0
- package/node_modules/uuid/dist-node/version.js +8 -0
- package/node_modules/uuid/package.json +115 -0
- package/node_modules/validate-npm-package-license/LICENSE +202 -0
- package/node_modules/validate-npm-package-license/README.md +113 -0
- package/node_modules/validate-npm-package-license/index.js +86 -0
- package/node_modules/validate-npm-package-license/package.json +28 -0
- package/node_modules/which/LICENSE +15 -0
- package/node_modules/which/README.md +51 -0
- package/node_modules/which/bin/which.js +52 -0
- package/node_modules/which/lib/index.js +111 -0
- package/node_modules/which/package.json +52 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/xmlbuilder/.nycrc +6 -0
- package/node_modules/xmlbuilder/.vscode/launch.json +23 -0
- package/node_modules/xmlbuilder/CHANGELOG.md +593 -0
- package/node_modules/xmlbuilder/LICENSE +21 -0
- package/node_modules/xmlbuilder/README.md +103 -0
- package/node_modules/xmlbuilder/lib/Derivation.js +10 -0
- package/node_modules/xmlbuilder/lib/DocumentPosition.js +12 -0
- package/node_modules/xmlbuilder/lib/NodeType.js +25 -0
- package/node_modules/xmlbuilder/lib/OperationType.js +11 -0
- package/node_modules/xmlbuilder/lib/Utility.js +88 -0
- package/node_modules/xmlbuilder/lib/WriterState.js +10 -0
- package/node_modules/xmlbuilder/lib/XMLAttribute.js +130 -0
- package/node_modules/xmlbuilder/lib/XMLCData.js +41 -0
- package/node_modules/xmlbuilder/lib/XMLCharacterData.js +86 -0
- package/node_modules/xmlbuilder/lib/XMLComment.js +41 -0
- package/node_modules/xmlbuilder/lib/XMLDOMConfiguration.js +80 -0
- package/node_modules/xmlbuilder/lib/XMLDOMErrorHandler.js +20 -0
- package/node_modules/xmlbuilder/lib/XMLDOMImplementation.js +55 -0
- package/node_modules/xmlbuilder/lib/XMLDOMStringList.js +44 -0
- package/node_modules/xmlbuilder/lib/XMLDTDAttList.js +66 -0
- package/node_modules/xmlbuilder/lib/XMLDTDElement.js +44 -0
- package/node_modules/xmlbuilder/lib/XMLDTDEntity.js +115 -0
- package/node_modules/xmlbuilder/lib/XMLDTDNotation.js +66 -0
- package/node_modules/xmlbuilder/lib/XMLDeclaration.js +51 -0
- package/node_modules/xmlbuilder/lib/XMLDocType.js +235 -0
- package/node_modules/xmlbuilder/lib/XMLDocument.js +282 -0
- package/node_modules/xmlbuilder/lib/XMLDocumentCB.js +650 -0
- package/node_modules/xmlbuilder/lib/XMLDocumentFragment.js +21 -0
- package/node_modules/xmlbuilder/lib/XMLDummy.js +39 -0
- package/node_modules/xmlbuilder/lib/XMLElement.js +334 -0
- package/node_modules/xmlbuilder/lib/XMLNamedNodeMap.js +77 -0
- package/node_modules/xmlbuilder/lib/XMLNode.js +999 -0
- package/node_modules/xmlbuilder/lib/XMLNodeFilter.js +51 -0
- package/node_modules/xmlbuilder/lib/XMLNodeList.js +45 -0
- package/node_modules/xmlbuilder/lib/XMLProcessingInstruction.js +56 -0
- package/node_modules/xmlbuilder/lib/XMLRaw.js +40 -0
- package/node_modules/xmlbuilder/lib/XMLStreamWriter.js +209 -0
- package/node_modules/xmlbuilder/lib/XMLStringWriter.js +40 -0
- package/node_modules/xmlbuilder/lib/XMLStringifier.js +291 -0
- package/node_modules/xmlbuilder/lib/XMLText.js +82 -0
- package/node_modules/xmlbuilder/lib/XMLTypeInfo.js +23 -0
- package/node_modules/xmlbuilder/lib/XMLUserDataHandler.js +27 -0
- package/node_modules/xmlbuilder/lib/XMLWriterBase.js +485 -0
- package/node_modules/xmlbuilder/lib/index.js +120 -0
- package/node_modules/xmlbuilder/package.json +51 -0
- package/node_modules/xmlbuilder/perf/basic/escaping.coffee +244 -0
- package/node_modules/xmlbuilder/perf/basic/object.coffee +21 -0
- package/node_modules/xmlbuilder/perf/index.coffee +161 -0
- package/node_modules/xmlbuilder/perf/perf.list +11 -0
- package/node_modules/xmlbuilder/typings/index.d.ts +1771 -0
- package/node_modules/yauzl/LICENSE +21 -0
- package/node_modules/yauzl/README.md +1015 -0
- package/node_modules/yauzl/crc32.js +45 -0
- package/node_modules/yauzl/fd-slicer.js +188 -0
- package/node_modules/yauzl/index.js +1096 -0
- package/node_modules/yauzl/package.json +40 -0
- package/node_modules/yocto-queue/index.d.ts +75 -0
- package/node_modules/yocto-queue/index.js +90 -0
- package/node_modules/yocto-queue/license +9 -0
- package/node_modules/yocto-queue/package.json +48 -0
- package/node_modules/yocto-queue/readme.md +80 -0
- package/node_modules/zip-stream/LICENSE +22 -0
- package/node_modules/zip-stream/README.md +45 -0
- package/node_modules/zip-stream/index.js +161 -0
- package/node_modules/zip-stream/package.json +52 -0
- package/node_modules/zip-stream/utils.js +21 -0
- package/package.json +19 -38
- package/npm-shrinkwrap.json +0 -2200
|
@@ -0,0 +1,1973 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
Copyright 2013 Lovell Fuller and others.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
#include <algorithm>
|
|
7
|
+
#include <cmath>
|
|
8
|
+
#include <filesystem> // NOLINT(build/c++17)
|
|
9
|
+
#include <map>
|
|
10
|
+
#include <memory>
|
|
11
|
+
#include <numeric>
|
|
12
|
+
#include <string>
|
|
13
|
+
#include <tuple>
|
|
14
|
+
#include <utility>
|
|
15
|
+
#include <vector>
|
|
16
|
+
#include <sys/types.h>
|
|
17
|
+
#include <sys/stat.h>
|
|
18
|
+
|
|
19
|
+
#include <vips/vips8>
|
|
20
|
+
#include <napi.h>
|
|
21
|
+
|
|
22
|
+
#include "./common.h"
|
|
23
|
+
#include "./operations.h"
|
|
24
|
+
#include "./pipeline.h"
|
|
25
|
+
|
|
26
|
+
class PipelineWorker : public Napi::AsyncWorker {
|
|
27
|
+
public:
|
|
28
|
+
PipelineWorker(Napi::Function callback, PipelineBaton *baton,
|
|
29
|
+
Napi::Function debuglog, Napi::Function queueListener) :
|
|
30
|
+
Napi::AsyncWorker(callback),
|
|
31
|
+
baton(baton),
|
|
32
|
+
debuglog(Napi::Persistent(debuglog)),
|
|
33
|
+
queueListener(Napi::Persistent(queueListener)) {}
|
|
34
|
+
~PipelineWorker() {}
|
|
35
|
+
|
|
36
|
+
// libuv worker
|
|
37
|
+
void Execute() {
|
|
38
|
+
// Decrement queued task counter
|
|
39
|
+
sharp::counterQueue--;
|
|
40
|
+
// Increment processing task counter
|
|
41
|
+
sharp::counterProcess++;
|
|
42
|
+
|
|
43
|
+
try {
|
|
44
|
+
// Open input
|
|
45
|
+
vips::VImage image;
|
|
46
|
+
sharp::ImageType inputImageType;
|
|
47
|
+
if (baton->join.empty()) {
|
|
48
|
+
std::tie(image, inputImageType) = sharp::OpenInput(baton->input);
|
|
49
|
+
} else {
|
|
50
|
+
std::vector<VImage> images;
|
|
51
|
+
bool hasAlpha = false;
|
|
52
|
+
for (auto &join : baton->join) {
|
|
53
|
+
std::tie(image, inputImageType) = sharp::OpenInput(join);
|
|
54
|
+
image = sharp::EnsureColourspace(image, baton->colourspacePipeline);
|
|
55
|
+
images.push_back(image);
|
|
56
|
+
hasAlpha |= image.has_alpha();
|
|
57
|
+
}
|
|
58
|
+
if (hasAlpha) {
|
|
59
|
+
for (size_t i = 0; i < images.size(); i++) {
|
|
60
|
+
if (!images[i].has_alpha()) {
|
|
61
|
+
images[i] = sharp::EnsureAlpha(images[i], 1);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
} else {
|
|
65
|
+
baton->input->joinBackground.pop_back();
|
|
66
|
+
}
|
|
67
|
+
inputImageType = sharp::ImageType::PNG;
|
|
68
|
+
image = VImage::arrayjoin(images, VImage::option()
|
|
69
|
+
->set("across", baton->input->joinAcross)
|
|
70
|
+
->set("shim", baton->input->joinShim)
|
|
71
|
+
->set("background", baton->input->joinBackground)
|
|
72
|
+
->set("halign", baton->input->joinHalign)
|
|
73
|
+
->set("valign", baton->input->joinValign));
|
|
74
|
+
if (baton->input->joinAnimated) {
|
|
75
|
+
image = image.copy();
|
|
76
|
+
image.set(VIPS_META_N_PAGES, static_cast<int>(images.size()));
|
|
77
|
+
image.set(VIPS_META_PAGE_HEIGHT, static_cast<int>(image.height() / images.size()));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
VipsAccess access = baton->input->access;
|
|
81
|
+
image = sharp::EnsureColourspace(image, baton->colourspacePipeline);
|
|
82
|
+
|
|
83
|
+
int nPages = baton->input->pages;
|
|
84
|
+
if (nPages == -1) {
|
|
85
|
+
// Resolve the number of pages if we need to render until the end of the document
|
|
86
|
+
nPages = image.get_typeof(VIPS_META_N_PAGES) != 0
|
|
87
|
+
? image.get_int(VIPS_META_N_PAGES) - std::max(0, baton->input->page)
|
|
88
|
+
: 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Get pre-resize page height
|
|
92
|
+
int pageHeight = sharp::GetPageHeight(image);
|
|
93
|
+
|
|
94
|
+
// Calculate angle of rotation
|
|
95
|
+
VipsAngle rotation = VIPS_ANGLE_D0;
|
|
96
|
+
VipsAngle autoRotation = VIPS_ANGLE_D0;
|
|
97
|
+
VipsAngle gainMapRotation = VIPS_ANGLE_D0;
|
|
98
|
+
bool autoFlop = false;
|
|
99
|
+
bool gainMapFlip = false;
|
|
100
|
+
bool gainMapFlop = false;
|
|
101
|
+
|
|
102
|
+
if (baton->input->autoOrient) {
|
|
103
|
+
// Rotate and flip image according to Exif orientation
|
|
104
|
+
std::tie(autoRotation, autoFlop) = CalculateExifRotationAndFlop(sharp::ExifOrientation(image));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
rotation = CalculateAngleRotation(baton->angle);
|
|
108
|
+
|
|
109
|
+
bool const shouldRotateBefore = baton->rotateBefore &&
|
|
110
|
+
(rotation != VIPS_ANGLE_D0 || baton->flip || baton->flop || baton->rotationAngle != 0.0);
|
|
111
|
+
bool const shouldOrientBefore = (shouldRotateBefore || baton->orientBefore) &&
|
|
112
|
+
(autoRotation != VIPS_ANGLE_D0 || autoFlop);
|
|
113
|
+
|
|
114
|
+
if (shouldOrientBefore) {
|
|
115
|
+
image = sharp::StaySequential(image, autoRotation != VIPS_ANGLE_D0);
|
|
116
|
+
if (autoRotation != VIPS_ANGLE_D0) {
|
|
117
|
+
if (autoRotation != VIPS_ANGLE_D180) {
|
|
118
|
+
MultiPageUnsupported(nPages, "Rotate");
|
|
119
|
+
}
|
|
120
|
+
image = image.rot(autoRotation);
|
|
121
|
+
gainMapRotation = autoRotation;
|
|
122
|
+
autoRotation = VIPS_ANGLE_D0;
|
|
123
|
+
}
|
|
124
|
+
if (autoFlop) {
|
|
125
|
+
image = image.flip(VIPS_DIRECTION_HORIZONTAL);
|
|
126
|
+
autoFlop = false;
|
|
127
|
+
gainMapFlop = true;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (shouldRotateBefore) {
|
|
132
|
+
image = sharp::StaySequential(image, rotation != VIPS_ANGLE_D0 || baton->flip || baton->rotationAngle != 0.0);
|
|
133
|
+
if (baton->flip) {
|
|
134
|
+
image = image.flip(VIPS_DIRECTION_VERTICAL);
|
|
135
|
+
baton->flip = false;
|
|
136
|
+
gainMapFlip = true;
|
|
137
|
+
}
|
|
138
|
+
if (baton->flop) {
|
|
139
|
+
image = image.flip(VIPS_DIRECTION_HORIZONTAL);
|
|
140
|
+
baton->flop = false;
|
|
141
|
+
gainMapFlop = true;
|
|
142
|
+
}
|
|
143
|
+
if (rotation != VIPS_ANGLE_D0) {
|
|
144
|
+
if (rotation != VIPS_ANGLE_D180) {
|
|
145
|
+
MultiPageUnsupported(nPages, "Rotate");
|
|
146
|
+
}
|
|
147
|
+
image = image.rot(rotation);
|
|
148
|
+
gainMapRotation = rotation;
|
|
149
|
+
rotation = VIPS_ANGLE_D0;
|
|
150
|
+
}
|
|
151
|
+
if (baton->rotationAngle != 0.0) {
|
|
152
|
+
MultiPageUnsupported(nPages, "Rotate");
|
|
153
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Rotate");
|
|
154
|
+
std::vector<double> background;
|
|
155
|
+
std::tie(image, background) = sharp::ApplyAlpha(image, baton->rotationBackground, false);
|
|
156
|
+
image = image.rotate(baton->rotationAngle, VImage::option()->set("background", background)).copy_memory();
|
|
157
|
+
baton->rotationAngle = 0.0;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// Trim
|
|
162
|
+
if (baton->trimThreshold >= 0.0) {
|
|
163
|
+
MultiPageUnsupported(nPages, "Trim");
|
|
164
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Trim");
|
|
165
|
+
image = sharp::StaySequential(image);
|
|
166
|
+
image = sharp::Trim(image, baton->trimBackground, baton->trimThreshold, baton->trimLineArt, baton->trimMargin);
|
|
167
|
+
baton->trimOffsetLeft = image.xoffset();
|
|
168
|
+
baton->trimOffsetTop = image.yoffset();
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// Pre extraction
|
|
172
|
+
if (baton->topOffsetPre != -1) {
|
|
173
|
+
image = nPages > 1
|
|
174
|
+
? sharp::CropMultiPage(image,
|
|
175
|
+
baton->leftOffsetPre, baton->topOffsetPre, baton->widthPre, baton->heightPre, nPages, &pageHeight)
|
|
176
|
+
: image.extract_area(baton->leftOffsetPre, baton->topOffsetPre, baton->widthPre, baton->heightPre);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Get pre-resize image width and height
|
|
180
|
+
int inputWidth = image.width();
|
|
181
|
+
int inputHeight = image.height();
|
|
182
|
+
|
|
183
|
+
// Is there just one page? Shrink to inputHeight instead
|
|
184
|
+
if (nPages == 1) {
|
|
185
|
+
pageHeight = inputHeight;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// Scaling calculations
|
|
189
|
+
double hshrink;
|
|
190
|
+
double vshrink;
|
|
191
|
+
int targetResizeWidth = baton->width;
|
|
192
|
+
int targetResizeHeight = baton->height;
|
|
193
|
+
|
|
194
|
+
// When auto-rotating by 90 or 270 degrees, swap the target width and
|
|
195
|
+
// height to ensure the behavior aligns with how it would have been if
|
|
196
|
+
// the rotation had taken place *before* resizing.
|
|
197
|
+
if (autoRotation == VIPS_ANGLE_D90 || autoRotation == VIPS_ANGLE_D270) {
|
|
198
|
+
std::swap(targetResizeWidth, targetResizeHeight);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// Shrink to pageHeight, so we work for multi-page images
|
|
202
|
+
std::tie(hshrink, vshrink) = sharp::ResolveShrink(
|
|
203
|
+
inputWidth, pageHeight, targetResizeWidth, targetResizeHeight,
|
|
204
|
+
baton->canvas, baton->withoutEnlargement, baton->withoutReduction);
|
|
205
|
+
|
|
206
|
+
// The jpeg preload shrink.
|
|
207
|
+
int jpegShrinkOnLoad = 1;
|
|
208
|
+
|
|
209
|
+
// WebP, PDF, SVG scale
|
|
210
|
+
double scale = 1.0;
|
|
211
|
+
|
|
212
|
+
// Try to reload input using shrink-on-load for JPEG, WebP, SVG and PDF, when:
|
|
213
|
+
// - the width or height parameters are specified;
|
|
214
|
+
// - gamma correction doesn't need to be applied;
|
|
215
|
+
// - trimming or pre-resize extract isn't required;
|
|
216
|
+
// - gain map processing is not required;
|
|
217
|
+
// - input colourspace is not specified;
|
|
218
|
+
bool const shouldPreShrink = (targetResizeWidth > 0 || targetResizeHeight > 0) &&
|
|
219
|
+
baton->gamma == 0 && baton->topOffsetPre == -1 && baton->trimThreshold < 0.0 &&
|
|
220
|
+
!baton->keepGainMap && !baton->withGainMap &&
|
|
221
|
+
baton->colourspacePipeline == VIPS_INTERPRETATION_LAST && !(shouldOrientBefore || shouldRotateBefore);
|
|
222
|
+
|
|
223
|
+
if (shouldPreShrink) {
|
|
224
|
+
// The common part of the shrink: the bit by which both axes must be shrunk
|
|
225
|
+
double shrink = std::min(hshrink, vshrink);
|
|
226
|
+
|
|
227
|
+
if (inputImageType == sharp::ImageType::JPEG) {
|
|
228
|
+
// Leave at least a factor of two for the final resize step, when fastShrinkOnLoad: false
|
|
229
|
+
// for more consistent results and to avoid extra sharpness to the image
|
|
230
|
+
int factor = baton->fastShrinkOnLoad ? 1 : 2;
|
|
231
|
+
if (shrink >= 8 * factor) {
|
|
232
|
+
jpegShrinkOnLoad = 8;
|
|
233
|
+
} else if (shrink >= 4 * factor) {
|
|
234
|
+
jpegShrinkOnLoad = 4;
|
|
235
|
+
} else if (shrink >= 2 * factor) {
|
|
236
|
+
jpegShrinkOnLoad = 2;
|
|
237
|
+
}
|
|
238
|
+
// Lower shrink-on-load for known libjpeg rounding errors
|
|
239
|
+
if (jpegShrinkOnLoad > 1 && static_cast<int>(shrink) == jpegShrinkOnLoad) {
|
|
240
|
+
jpegShrinkOnLoad /= 2;
|
|
241
|
+
}
|
|
242
|
+
} else if (inputImageType == sharp::ImageType::WEBP && baton->fastShrinkOnLoad && shrink > 1.0) {
|
|
243
|
+
// Avoid upscaling via webp
|
|
244
|
+
scale = 1.0 / shrink;
|
|
245
|
+
} else if (inputImageType == sharp::ImageType::SVG ||
|
|
246
|
+
inputImageType == sharp::ImageType::PDF) {
|
|
247
|
+
scale = 1.0 / shrink;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// Reload input using shrink-on-load, it'll be an integer shrink
|
|
252
|
+
// factor for jpegload*, a double scale factor for webpload*,
|
|
253
|
+
// pdfload* and svgload*
|
|
254
|
+
if (jpegShrinkOnLoad > 1) {
|
|
255
|
+
vips::VOption *option = GetOptionsForImageType(inputImageType, baton->input)->set("shrink", jpegShrinkOnLoad);
|
|
256
|
+
if (baton->input->buffer != nullptr) {
|
|
257
|
+
// Reload JPEG buffer
|
|
258
|
+
VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
|
|
259
|
+
image = VImage::jpegload_buffer(blob, option);
|
|
260
|
+
vips_area_unref(reinterpret_cast<VipsArea*>(blob));
|
|
261
|
+
} else {
|
|
262
|
+
// Reload JPEG file
|
|
263
|
+
image = VImage::jpegload(const_cast<char*>(baton->input->file.data()), option);
|
|
264
|
+
}
|
|
265
|
+
} else if (scale != 1.0) {
|
|
266
|
+
vips::VOption *option = GetOptionsForImageType(inputImageType, baton->input)->set("scale", scale);
|
|
267
|
+
if (inputImageType == sharp::ImageType::WEBP) {
|
|
268
|
+
if (baton->input->buffer != nullptr) {
|
|
269
|
+
// Reload WebP buffer
|
|
270
|
+
VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
|
|
271
|
+
image = VImage::webpload_buffer(blob, option);
|
|
272
|
+
vips_area_unref(reinterpret_cast<VipsArea*>(blob));
|
|
273
|
+
} else {
|
|
274
|
+
// Reload WebP file
|
|
275
|
+
image = VImage::webpload(const_cast<char*>(baton->input->file.data()), option);
|
|
276
|
+
}
|
|
277
|
+
} else if (inputImageType == sharp::ImageType::SVG) {
|
|
278
|
+
if (baton->input->buffer != nullptr) {
|
|
279
|
+
// Reload SVG buffer
|
|
280
|
+
VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
|
|
281
|
+
image = VImage::svgload_buffer(blob, option);
|
|
282
|
+
vips_area_unref(reinterpret_cast<VipsArea*>(blob));
|
|
283
|
+
} else {
|
|
284
|
+
// Reload SVG file
|
|
285
|
+
image = VImage::svgload(const_cast<char*>(baton->input->file.data()), option);
|
|
286
|
+
}
|
|
287
|
+
sharp::SetDensity(image, baton->input->density);
|
|
288
|
+
if (image.width() > 32767 || image.height() > 32767) {
|
|
289
|
+
throw std::runtime_error("Input SVG image will exceed 32767x32767 pixel limit when scaled");
|
|
290
|
+
}
|
|
291
|
+
} else if (inputImageType == sharp::ImageType::PDF) {
|
|
292
|
+
if (baton->input->buffer != nullptr) {
|
|
293
|
+
// Reload PDF buffer
|
|
294
|
+
VipsBlob *blob = vips_blob_new(nullptr, baton->input->buffer, baton->input->bufferLength);
|
|
295
|
+
image = VImage::pdfload_buffer(blob, option);
|
|
296
|
+
vips_area_unref(reinterpret_cast<VipsArea*>(blob));
|
|
297
|
+
} else {
|
|
298
|
+
// Reload PDF file
|
|
299
|
+
image = VImage::pdfload(const_cast<char*>(baton->input->file.data()), option);
|
|
300
|
+
}
|
|
301
|
+
sharp::SetDensity(image, baton->input->density);
|
|
302
|
+
}
|
|
303
|
+
} else {
|
|
304
|
+
if (inputImageType == sharp::ImageType::SVG && (image.width() > 32767 || image.height() > 32767)) {
|
|
305
|
+
throw std::runtime_error("Input SVG image exceeds 32767x32767 pixel limit");
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
if (baton->input->autoOrient) {
|
|
309
|
+
image = sharp::RemoveExifOrientation(image);
|
|
310
|
+
}
|
|
311
|
+
VImage gainMap;
|
|
312
|
+
int gainMapScaleFactor = 1;
|
|
313
|
+
if (sharp::HasGainMap(image)) {
|
|
314
|
+
if (baton->keepGainMap) {
|
|
315
|
+
gainMap = image.gainmap();
|
|
316
|
+
if (image.get_typeof("gainmap-scale-factor") == G_TYPE_INT) {
|
|
317
|
+
gainMapScaleFactor = image.get_int("gainmap-scale-factor");
|
|
318
|
+
}
|
|
319
|
+
if (gainMapFlip) {
|
|
320
|
+
gainMap = gainMap.flip(VIPS_DIRECTION_VERTICAL);
|
|
321
|
+
}
|
|
322
|
+
if (gainMapFlop) {
|
|
323
|
+
gainMap = gainMap.flip(VIPS_DIRECTION_HORIZONTAL);
|
|
324
|
+
}
|
|
325
|
+
if (gainMapRotation != VIPS_ANGLE_D0) {
|
|
326
|
+
gainMap = gainMap.rot(gainMapRotation);
|
|
327
|
+
}
|
|
328
|
+
if (baton->topOffsetPre != -1) {
|
|
329
|
+
gainMap = gainMap.extract_area(
|
|
330
|
+
baton->leftOffsetPre / gainMapScaleFactor, baton->topOffsetPre / gainMapScaleFactor,
|
|
331
|
+
baton->widthPre / gainMapScaleFactor, baton->heightPre / gainMapScaleFactor);
|
|
332
|
+
}
|
|
333
|
+
} else if (baton->withGainMap) {
|
|
334
|
+
image = image.uhdr2scRGB();
|
|
335
|
+
}
|
|
336
|
+
image = sharp::RemoveGainMap(image);
|
|
337
|
+
} else {
|
|
338
|
+
baton->keepGainMap = false;
|
|
339
|
+
baton->withGainMap = false;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// Any pre-shrinking may already have been done
|
|
343
|
+
inputWidth = image.width();
|
|
344
|
+
inputHeight = image.height();
|
|
345
|
+
|
|
346
|
+
// After pre-shrink, but before the main shrink stage
|
|
347
|
+
// Reuse the initial pageHeight if we didn't pre-shrink
|
|
348
|
+
if (shouldPreShrink) {
|
|
349
|
+
pageHeight = sharp::GetPageHeight(image);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
// Shrink to pageHeight, so we work for multi-page images
|
|
353
|
+
std::tie(hshrink, vshrink) = sharp::ResolveShrink(
|
|
354
|
+
inputWidth, pageHeight, targetResizeWidth, targetResizeHeight,
|
|
355
|
+
baton->canvas, baton->withoutEnlargement, baton->withoutReduction);
|
|
356
|
+
|
|
357
|
+
int targetHeight = static_cast<int>(std::rint(static_cast<double>(pageHeight) / vshrink));
|
|
358
|
+
int targetPageHeight = targetHeight;
|
|
359
|
+
|
|
360
|
+
// In toilet-roll mode, we must adjust vshrink so that we exactly hit
|
|
361
|
+
// pageHeight or we'll have pixels straddling pixel boundaries
|
|
362
|
+
if (inputHeight > pageHeight) {
|
|
363
|
+
targetHeight *= nPages;
|
|
364
|
+
vshrink = static_cast<double>(inputHeight) / targetHeight;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
// Ensure we're using a device-independent colour space
|
|
368
|
+
std::pair<char*, size_t> inputProfile(nullptr, 0);
|
|
369
|
+
if ((baton->keepMetadata & VIPS_FOREIGN_KEEP_ICC) && baton->withIccProfile.empty()) {
|
|
370
|
+
// Cache input profile for use with output
|
|
371
|
+
inputProfile = sharp::GetProfile(image);
|
|
372
|
+
baton->input->ignoreIcc = true;
|
|
373
|
+
}
|
|
374
|
+
char const *processingProfile = image.interpretation() == VIPS_INTERPRETATION_RGB16 ? "p3" : "srgb";
|
|
375
|
+
if (
|
|
376
|
+
sharp::HasProfile(image) &&
|
|
377
|
+
image.interpretation() != VIPS_INTERPRETATION_LABS &&
|
|
378
|
+
image.interpretation() != VIPS_INTERPRETATION_GREY16 &&
|
|
379
|
+
baton->colourspacePipeline != VIPS_INTERPRETATION_CMYK &&
|
|
380
|
+
!baton->input->ignoreIcc && !baton->withGainMap
|
|
381
|
+
) {
|
|
382
|
+
// Convert to sRGB/P3 using embedded profile
|
|
383
|
+
try {
|
|
384
|
+
image = image.icc_transform(processingProfile, VImage::option()
|
|
385
|
+
->set("embedded", true)
|
|
386
|
+
->set("depth", sharp::Is16Bit(image.interpretation()) ? 16 : 8)
|
|
387
|
+
->set("intent", VIPS_INTENT_PERCEPTUAL));
|
|
388
|
+
} catch(...) {
|
|
389
|
+
sharp::VipsWarningCallback(nullptr, G_LOG_LEVEL_WARNING, "Invalid embedded profile", nullptr);
|
|
390
|
+
}
|
|
391
|
+
} else if (
|
|
392
|
+
image.interpretation() == VIPS_INTERPRETATION_CMYK &&
|
|
393
|
+
baton->colourspacePipeline != VIPS_INTERPRETATION_CMYK
|
|
394
|
+
) {
|
|
395
|
+
image = image.icc_transform(processingProfile, VImage::option()
|
|
396
|
+
->set("input_profile", "cmyk")
|
|
397
|
+
->set("intent", VIPS_INTENT_PERCEPTUAL));
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// Flatten image to remove alpha channel
|
|
401
|
+
if (baton->flatten && image.has_alpha()) {
|
|
402
|
+
image = sharp::Flatten(image, baton->flattenBackground);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// Gamma encoding (darken)
|
|
406
|
+
if (baton->gamma >= 1 && baton->gamma <= 3) {
|
|
407
|
+
image = sharp::Gamma(image, 1.0 / baton->gamma);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
// Convert to greyscale (linear, therefore after gamma encoding, if any)
|
|
411
|
+
if (baton->greyscale) {
|
|
412
|
+
image = image.colourspace(VIPS_INTERPRETATION_B_W);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
bool const shouldResize = hshrink != 1.0 || vshrink != 1.0;
|
|
416
|
+
bool const shouldBlur = baton->blurSigma != 0.0;
|
|
417
|
+
bool const shouldConv = baton->convKernelWidth * baton->convKernelHeight > 0;
|
|
418
|
+
bool const shouldSharpen = baton->sharpenSigma != 0.0;
|
|
419
|
+
bool const shouldComposite = !baton->composite.empty();
|
|
420
|
+
|
|
421
|
+
if (shouldComposite && !image.has_alpha()) {
|
|
422
|
+
image = sharp::EnsureAlpha(image, 1);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
VipsBandFormat premultiplyFormat = image.format();
|
|
426
|
+
bool const shouldPremultiplyAlpha = image.has_alpha() &&
|
|
427
|
+
(shouldResize || shouldBlur || shouldConv || shouldSharpen);
|
|
428
|
+
|
|
429
|
+
if (shouldPremultiplyAlpha) {
|
|
430
|
+
image = image.premultiply().cast(premultiplyFormat);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
// Resize
|
|
434
|
+
if (shouldResize) {
|
|
435
|
+
image = image.resize(1.0 / hshrink, VImage::option()
|
|
436
|
+
->set("vscale", 1.0 / vshrink)
|
|
437
|
+
->set("kernel", baton->kernel));
|
|
438
|
+
if (baton->keepGainMap) {
|
|
439
|
+
gainMap = gainMap.resize(1.0 / hshrink, VImage::option()
|
|
440
|
+
->set("vscale", 1.0 / vshrink)
|
|
441
|
+
->set("kernel", baton->kernel));
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
image = sharp::StaySequential(image,
|
|
446
|
+
autoRotation != VIPS_ANGLE_D0 ||
|
|
447
|
+
baton->flip ||
|
|
448
|
+
rotation != VIPS_ANGLE_D0);
|
|
449
|
+
// Auto-rotate post-extract
|
|
450
|
+
if (autoRotation != VIPS_ANGLE_D0) {
|
|
451
|
+
if (autoRotation != VIPS_ANGLE_D180) {
|
|
452
|
+
MultiPageUnsupported(nPages, "Rotate");
|
|
453
|
+
}
|
|
454
|
+
image = image.rot(autoRotation);
|
|
455
|
+
if (baton->keepGainMap) {
|
|
456
|
+
gainMap = sharp::StaySequential(gainMap).rot(autoRotation);
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
// Mirror vertically (up-down) about the x-axis
|
|
460
|
+
if (baton->flip) {
|
|
461
|
+
image = image.flip(VIPS_DIRECTION_VERTICAL);
|
|
462
|
+
if (baton->keepGainMap) {
|
|
463
|
+
gainMap = sharp::StaySequential(gainMap).flip(VIPS_DIRECTION_VERTICAL);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
// Mirror horizontally (left-right) about the y-axis
|
|
467
|
+
if (baton->flop != autoFlop) {
|
|
468
|
+
image = image.flip(VIPS_DIRECTION_HORIZONTAL);
|
|
469
|
+
if (baton->keepGainMap) {
|
|
470
|
+
gainMap = gainMap.flip(VIPS_DIRECTION_HORIZONTAL);
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
// Rotate post-extract 90-angle
|
|
474
|
+
if (rotation != VIPS_ANGLE_D0) {
|
|
475
|
+
if (rotation != VIPS_ANGLE_D180) {
|
|
476
|
+
MultiPageUnsupported(nPages, "Rotate");
|
|
477
|
+
}
|
|
478
|
+
image = image.rot(rotation);
|
|
479
|
+
if (baton->keepGainMap) {
|
|
480
|
+
gainMap = sharp::StaySequential(gainMap).rot(rotation);
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
// Join additional color channels to the image
|
|
485
|
+
if (!baton->joinChannelIn.empty()) {
|
|
486
|
+
VImage joinImage;
|
|
487
|
+
sharp::ImageType joinImageType = sharp::ImageType::UNKNOWN;
|
|
488
|
+
|
|
489
|
+
for (unsigned int i = 0; i < baton->joinChannelIn.size(); i++) {
|
|
490
|
+
baton->joinChannelIn[i]->access = access;
|
|
491
|
+
std::tie(joinImage, joinImageType) = sharp::OpenInput(baton->joinChannelIn[i]);
|
|
492
|
+
joinImage = sharp::EnsureColourspace(joinImage, baton->colourspacePipeline);
|
|
493
|
+
image = image.bandjoin(joinImage);
|
|
494
|
+
}
|
|
495
|
+
image = image.copy(VImage::option()->set("interpretation", baton->colourspace));
|
|
496
|
+
image = sharp::RemoveGifPalette(image);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
inputWidth = image.width();
|
|
500
|
+
inputHeight = nPages > 1 ? targetPageHeight : image.height();
|
|
501
|
+
|
|
502
|
+
// Resolve dimensions
|
|
503
|
+
if (baton->width <= 0) {
|
|
504
|
+
baton->width = inputWidth;
|
|
505
|
+
}
|
|
506
|
+
if (baton->height <= 0) {
|
|
507
|
+
baton->height = inputHeight;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
// Crop/embed
|
|
511
|
+
if (inputWidth != baton->width || inputHeight != baton->height) {
|
|
512
|
+
if (baton->canvas == sharp::Canvas::EMBED) {
|
|
513
|
+
std::vector<double> background;
|
|
514
|
+
std::tie(image, background) = sharp::ApplyAlpha(image, baton->resizeBackground, shouldPremultiplyAlpha);
|
|
515
|
+
|
|
516
|
+
// Embed
|
|
517
|
+
const auto& [left, top] = sharp::CalculateEmbedPosition(
|
|
518
|
+
inputWidth, inputHeight, baton->width, baton->height, baton->position);
|
|
519
|
+
const int width = std::max(inputWidth, baton->width);
|
|
520
|
+
const int height = std::max(inputHeight, baton->height);
|
|
521
|
+
|
|
522
|
+
image = nPages > 1
|
|
523
|
+
? sharp::EmbedMultiPage(image,
|
|
524
|
+
left, top, width, height, VIPS_EXTEND_BACKGROUND, background, nPages, &targetPageHeight)
|
|
525
|
+
: image.embed(left, top, width, height, VImage::option()
|
|
526
|
+
->set("extend", VIPS_EXTEND_BACKGROUND)
|
|
527
|
+
->set("background", background));
|
|
528
|
+
if (baton->keepGainMap) {
|
|
529
|
+
gainMap = gainMap.embed(left / gainMapScaleFactor, top / gainMapScaleFactor,
|
|
530
|
+
width / gainMapScaleFactor, height / gainMapScaleFactor, VImage::option()
|
|
531
|
+
->set("extend", VIPS_EXTEND_BACKGROUND)
|
|
532
|
+
->set("background", 0));
|
|
533
|
+
}
|
|
534
|
+
} else if (baton->canvas == sharp::Canvas::CROP) {
|
|
535
|
+
if (baton->width > inputWidth) {
|
|
536
|
+
baton->width = inputWidth;
|
|
537
|
+
}
|
|
538
|
+
if (baton->height > inputHeight) {
|
|
539
|
+
baton->height = inputHeight;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
// Crop
|
|
543
|
+
if (baton->position < 9) {
|
|
544
|
+
// Gravity-based crop
|
|
545
|
+
const auto& [left, top] = sharp::CalculateCrop(
|
|
546
|
+
inputWidth, inputHeight, baton->width, baton->height, baton->position);
|
|
547
|
+
const int width = std::min(inputWidth, baton->width);
|
|
548
|
+
const int height = std::min(inputHeight, baton->height);
|
|
549
|
+
|
|
550
|
+
image = nPages > 1
|
|
551
|
+
? sharp::CropMultiPage(image,
|
|
552
|
+
left, top, width, height, nPages, &targetPageHeight)
|
|
553
|
+
: image.extract_area(left, top, width, height);
|
|
554
|
+
if (baton->keepGainMap) {
|
|
555
|
+
gainMap = gainMap.extract_area(left / gainMapScaleFactor, top / gainMapScaleFactor,
|
|
556
|
+
width / gainMapScaleFactor, height / gainMapScaleFactor);
|
|
557
|
+
}
|
|
558
|
+
} else {
|
|
559
|
+
int attention_x;
|
|
560
|
+
int attention_y;
|
|
561
|
+
|
|
562
|
+
// Attention-based or Entropy-based crop
|
|
563
|
+
MultiPageUnsupported(nPages, "Resize strategy");
|
|
564
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Resize strategy");
|
|
565
|
+
image = sharp::StaySequential(image);
|
|
566
|
+
image = image.smartcrop(baton->width, baton->height, VImage::option()
|
|
567
|
+
->set("interesting", baton->position == 16 ? VIPS_INTERESTING_ENTROPY : VIPS_INTERESTING_ATTENTION)
|
|
568
|
+
->set("premultiplied", shouldPremultiplyAlpha)
|
|
569
|
+
->set("attention_x", &attention_x)
|
|
570
|
+
->set("attention_y", &attention_y));
|
|
571
|
+
baton->hasCropOffset = true;
|
|
572
|
+
baton->cropOffsetLeft = static_cast<int>(image.xoffset());
|
|
573
|
+
baton->cropOffsetTop = static_cast<int>(image.yoffset());
|
|
574
|
+
baton->hasAttentionCenter = true;
|
|
575
|
+
baton->attentionX = static_cast<int>(attention_x * jpegShrinkOnLoad / scale);
|
|
576
|
+
baton->attentionY = static_cast<int>(attention_y * jpegShrinkOnLoad / scale);
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
// Rotate post-extract non-90 angle
|
|
582
|
+
if (!baton->rotateBefore && baton->rotationAngle != 0.0) {
|
|
583
|
+
MultiPageUnsupported(nPages, "Rotate");
|
|
584
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Rotate");
|
|
585
|
+
image = sharp::StaySequential(image);
|
|
586
|
+
std::vector<double> background;
|
|
587
|
+
std::tie(image, background) = sharp::ApplyAlpha(image, baton->rotationBackground, shouldPremultiplyAlpha);
|
|
588
|
+
image = image.rotate(baton->rotationAngle, VImage::option()->set("background", background));
|
|
589
|
+
if (baton->keepGainMap) {
|
|
590
|
+
gainMap = gainMap.rotate(baton->rotationAngle, VImage::option()->set("background", 0));
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
// Post extraction
|
|
595
|
+
if (baton->topOffsetPost != -1) {
|
|
596
|
+
if (nPages > 1) {
|
|
597
|
+
image = sharp::CropMultiPage(image,
|
|
598
|
+
baton->leftOffsetPost, baton->topOffsetPost, baton->widthPost, baton->heightPost,
|
|
599
|
+
nPages, &targetPageHeight);
|
|
600
|
+
// heightPost is used in the info object, so update to reflect the number of pages
|
|
601
|
+
baton->heightPost *= nPages;
|
|
602
|
+
} else {
|
|
603
|
+
image = image.extract_area(
|
|
604
|
+
baton->leftOffsetPost, baton->topOffsetPost, baton->widthPost, baton->heightPost);
|
|
605
|
+
if (baton->keepGainMap) {
|
|
606
|
+
gainMap = gainMap.extract_area(baton->leftOffsetPost / gainMapScaleFactor,
|
|
607
|
+
baton->topOffsetPost / gainMapScaleFactor, baton->widthPost / gainMapScaleFactor,
|
|
608
|
+
baton->heightPost / gainMapScaleFactor);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
// Affine transform
|
|
614
|
+
if (!baton->affineMatrix.empty()) {
|
|
615
|
+
MultiPageUnsupported(nPages, "Affine");
|
|
616
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Affine");
|
|
617
|
+
image = sharp::StaySequential(image);
|
|
618
|
+
std::vector<double> background;
|
|
619
|
+
std::tie(image, background) = sharp::ApplyAlpha(image, baton->affineBackground, shouldPremultiplyAlpha);
|
|
620
|
+
vips::VInterpolate interp = vips::VInterpolate::new_from_name(
|
|
621
|
+
const_cast<char*>(baton->affineInterpolator.data()));
|
|
622
|
+
image = image.affine(baton->affineMatrix, VImage::option()->set("background", background)
|
|
623
|
+
->set("idx", baton->affineIdx)
|
|
624
|
+
->set("idy", baton->affineIdy)
|
|
625
|
+
->set("odx", baton->affineOdx)
|
|
626
|
+
->set("ody", baton->affineOdy)
|
|
627
|
+
->set("interpolate", interp));
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
// Extend edges
|
|
631
|
+
if (baton->extendTop > 0 || baton->extendBottom > 0 || baton->extendLeft > 0 || baton->extendRight > 0) {
|
|
632
|
+
// Embed
|
|
633
|
+
baton->width = image.width() + baton->extendLeft + baton->extendRight;
|
|
634
|
+
baton->height = (nPages > 1 ? targetPageHeight : image.height()) + baton->extendTop + baton->extendBottom;
|
|
635
|
+
|
|
636
|
+
std::vector<double> background;
|
|
637
|
+
if (baton->extendWith == VIPS_EXTEND_BACKGROUND) {
|
|
638
|
+
std::tie(image, background) = sharp::ApplyAlpha(image, baton->extendBackground, shouldPremultiplyAlpha);
|
|
639
|
+
}
|
|
640
|
+
image = sharp::StaySequential(image, nPages > 1 || baton->extendWith != VIPS_EXTEND_BACKGROUND);
|
|
641
|
+
auto options = VImage::option()->set("extend", baton->extendWith);
|
|
642
|
+
if (baton->extendWith == VIPS_EXTEND_BACKGROUND) {
|
|
643
|
+
options->set("background", background);
|
|
644
|
+
}
|
|
645
|
+
image = nPages > 1
|
|
646
|
+
? sharp::EmbedMultiPage(image,
|
|
647
|
+
baton->extendLeft, baton->extendTop, baton->width, baton->height,
|
|
648
|
+
baton->extendWith, background, nPages, &targetPageHeight)
|
|
649
|
+
: image.embed(baton->extendLeft, baton->extendTop, baton->width, baton->height, options);
|
|
650
|
+
if (baton->keepGainMap) {
|
|
651
|
+
gainMap = gainMap.embed(baton->extendLeft / gainMapScaleFactor, baton->extendTop / gainMapScaleFactor,
|
|
652
|
+
baton->width / gainMapScaleFactor, baton->height / gainMapScaleFactor, VImage::option()
|
|
653
|
+
->set("extend", baton->extendWith)
|
|
654
|
+
->set("background", 0));
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
// Median - must happen before blurring, due to the utility of blurring after thresholding
|
|
658
|
+
if (baton->medianSize > 0) {
|
|
659
|
+
image = image.median(baton->medianSize);
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
// Threshold - must happen before blurring, due to the utility of blurring after thresholding
|
|
663
|
+
// Threshold - must happen before unflatten to enable non-white unflattening
|
|
664
|
+
if (baton->threshold != 0) {
|
|
665
|
+
image = sharp::Threshold(image, baton->threshold, baton->thresholdGrayscale);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
// Dilate - must happen before blurring, due to the utility of dilating after thresholding
|
|
669
|
+
if (baton->dilateWidth != 0) {
|
|
670
|
+
image = sharp::Dilate(image, baton->dilateWidth);
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
// Erode - must happen before blurring, due to the utility of eroding after thresholding
|
|
674
|
+
if (baton->erodeWidth != 0) {
|
|
675
|
+
image = sharp::Erode(image, baton->erodeWidth);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
// Blur
|
|
679
|
+
if (shouldBlur) {
|
|
680
|
+
image = sharp::Blur(image, baton->blurSigma, baton->precision, baton->minAmpl);
|
|
681
|
+
if (baton->keepGainMap) {
|
|
682
|
+
gainMap = sharp::Blur(gainMap, baton->blurSigma, baton->precision, baton->minAmpl);
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
// Unflatten the image
|
|
687
|
+
if (baton->unflatten) {
|
|
688
|
+
image = sharp::Unflatten(image);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
// Convolve
|
|
692
|
+
if (shouldConv) {
|
|
693
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Convolve");
|
|
694
|
+
image = sharp::Convolve(image,
|
|
695
|
+
baton->convKernelWidth, baton->convKernelHeight,
|
|
696
|
+
baton->convKernelScale, baton->convKernelOffset,
|
|
697
|
+
baton->convKernel);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
// Recomb
|
|
701
|
+
if (!baton->recombMatrix.empty()) {
|
|
702
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Recomb");
|
|
703
|
+
image = sharp::Recomb(image, baton->recombMatrix);
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
// Modulate
|
|
707
|
+
if (baton->brightness != 1.0 || baton->saturation != 1.0 || baton->hue != 0.0 || baton->lightness != 0.0) {
|
|
708
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Modulate");
|
|
709
|
+
image = sharp::Modulate(image, baton->brightness, baton->saturation, baton->hue, baton->lightness);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
// Sharpen
|
|
713
|
+
if (shouldSharpen) {
|
|
714
|
+
image = sharp::Sharpen(image, baton->sharpenSigma, baton->sharpenM1, baton->sharpenM2,
|
|
715
|
+
baton->sharpenX1, baton->sharpenY2, baton->sharpenY3);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
// Reverse premultiplication after all transformations
|
|
719
|
+
if (shouldPremultiplyAlpha) {
|
|
720
|
+
image = image.unpremultiply().cast(premultiplyFormat);
|
|
721
|
+
}
|
|
722
|
+
baton->premultiplied = shouldPremultiplyAlpha;
|
|
723
|
+
|
|
724
|
+
// Composite
|
|
725
|
+
if (shouldComposite) {
|
|
726
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Composite");
|
|
727
|
+
std::vector<VImage> images = { image };
|
|
728
|
+
std::vector<int> modes, xs, ys;
|
|
729
|
+
for (Composite *composite : baton->composite) {
|
|
730
|
+
VImage compositeImage;
|
|
731
|
+
sharp::ImageType compositeImageType = sharp::ImageType::UNKNOWN;
|
|
732
|
+
composite->input->access = access;
|
|
733
|
+
std::tie(compositeImage, compositeImageType) = sharp::OpenInput(composite->input);
|
|
734
|
+
|
|
735
|
+
if (composite->input->autoOrient) {
|
|
736
|
+
// Respect EXIF Orientation
|
|
737
|
+
VipsAngle compositeAutoRotation = VIPS_ANGLE_D0;
|
|
738
|
+
bool compositeAutoFlop = false;
|
|
739
|
+
std::tie(compositeAutoRotation, compositeAutoFlop) =
|
|
740
|
+
CalculateExifRotationAndFlop(sharp::ExifOrientation(compositeImage));
|
|
741
|
+
|
|
742
|
+
compositeImage = sharp::RemoveExifOrientation(compositeImage);
|
|
743
|
+
compositeImage = sharp::StaySequential(compositeImage, compositeAutoRotation != VIPS_ANGLE_D0);
|
|
744
|
+
|
|
745
|
+
if (compositeAutoRotation != VIPS_ANGLE_D0) {
|
|
746
|
+
compositeImage = compositeImage.rot(compositeAutoRotation);
|
|
747
|
+
}
|
|
748
|
+
if (compositeAutoFlop) {
|
|
749
|
+
compositeImage = compositeImage.flip(VIPS_DIRECTION_HORIZONTAL);
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
// Verify within current dimensions
|
|
754
|
+
if (compositeImage.width() > image.width() || compositeImage.height() > image.height()) {
|
|
755
|
+
throw std::runtime_error("Image to composite must have same dimensions or smaller");
|
|
756
|
+
}
|
|
757
|
+
// Check if overlay is tiled
|
|
758
|
+
if (composite->tile) {
|
|
759
|
+
int across = 0;
|
|
760
|
+
int down = 0;
|
|
761
|
+
// Use gravity in overlay
|
|
762
|
+
if (compositeImage.width() <= image.width()) {
|
|
763
|
+
across = static_cast<int>(ceil(static_cast<double>(image.width()) / compositeImage.width()));
|
|
764
|
+
// Ensure odd number of tiles across when gravity is centre, north or south
|
|
765
|
+
if (composite->gravity == 0 || composite->gravity == 1 || composite->gravity == 3) {
|
|
766
|
+
across |= 1;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
if (compositeImage.height() <= image.height()) {
|
|
770
|
+
down = static_cast<int>(ceil(static_cast<double>(image.height()) / compositeImage.height()));
|
|
771
|
+
// Ensure odd number of tiles down when gravity is centre, east or west
|
|
772
|
+
if (composite->gravity == 0 || composite->gravity == 2 || composite->gravity == 4) {
|
|
773
|
+
down |= 1;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
if (across != 0 || down != 0) {
|
|
777
|
+
int left;
|
|
778
|
+
int top;
|
|
779
|
+
compositeImage = sharp::StaySequential(compositeImage).replicate(across, down);
|
|
780
|
+
if (composite->hasOffset) {
|
|
781
|
+
std::tie(left, top) = sharp::CalculateCrop(
|
|
782
|
+
compositeImage.width(), compositeImage.height(), image.width(), image.height(),
|
|
783
|
+
composite->left, composite->top);
|
|
784
|
+
} else {
|
|
785
|
+
std::tie(left, top) = sharp::CalculateCrop(
|
|
786
|
+
compositeImage.width(), compositeImage.height(), image.width(), image.height(), composite->gravity);
|
|
787
|
+
}
|
|
788
|
+
compositeImage = compositeImage.extract_area(left, top, image.width(), image.height());
|
|
789
|
+
}
|
|
790
|
+
// gravity was used for extract_area, set it back to its default value of 0
|
|
791
|
+
composite->gravity = 0;
|
|
792
|
+
}
|
|
793
|
+
// Ensure image to composite is with unpremultiplied alpha
|
|
794
|
+
compositeImage = sharp::EnsureAlpha(compositeImage, 1);
|
|
795
|
+
if (composite->premultiplied) compositeImage = compositeImage.unpremultiply();
|
|
796
|
+
// Calculate position
|
|
797
|
+
int left;
|
|
798
|
+
int top;
|
|
799
|
+
if (composite->hasOffset) {
|
|
800
|
+
// Composite image at given offsets
|
|
801
|
+
if (composite->tile) {
|
|
802
|
+
std::tie(left, top) = sharp::CalculateCrop(image.width(), image.height(),
|
|
803
|
+
compositeImage.width(), compositeImage.height(), composite->left, composite->top);
|
|
804
|
+
} else {
|
|
805
|
+
left = composite->left;
|
|
806
|
+
top = composite->top;
|
|
807
|
+
}
|
|
808
|
+
} else {
|
|
809
|
+
// Composite image with given gravity
|
|
810
|
+
std::tie(left, top) = sharp::CalculateCrop(image.width(), image.height(),
|
|
811
|
+
compositeImage.width(), compositeImage.height(), composite->gravity);
|
|
812
|
+
}
|
|
813
|
+
images.push_back(compositeImage);
|
|
814
|
+
modes.push_back(composite->mode);
|
|
815
|
+
xs.push_back(left);
|
|
816
|
+
ys.push_back(top);
|
|
817
|
+
}
|
|
818
|
+
image = VImage::composite(images, modes, VImage::option()
|
|
819
|
+
->set("compositing_space", baton->colourspacePipeline == VIPS_INTERPRETATION_LAST
|
|
820
|
+
? VIPS_INTERPRETATION_sRGB
|
|
821
|
+
: baton->colourspacePipeline)
|
|
822
|
+
->set("x", xs)
|
|
823
|
+
->set("y", ys));
|
|
824
|
+
image = sharp::RemoveGifPalette(image);
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
// Gamma decoding (brighten)
|
|
828
|
+
if (baton->gammaOut >= 1 && baton->gammaOut <= 3) {
|
|
829
|
+
image = sharp::Gamma(image, baton->gammaOut);
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
// Linear adjustment (a * in + b)
|
|
833
|
+
if (!baton->linearA.empty()) {
|
|
834
|
+
image = sharp::Linear(image, baton->linearA, baton->linearB);
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
// Apply normalisation - stretch luminance to cover full dynamic range
|
|
838
|
+
if (baton->normalise) {
|
|
839
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Normalise");
|
|
840
|
+
image = sharp::StaySequential(image);
|
|
841
|
+
image = sharp::Normalise(image, baton->normaliseLower, baton->normaliseUpper);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
// Apply contrast limiting adaptive histogram equalization (CLAHE)
|
|
845
|
+
if (baton->claheWidth != 0 && baton->claheHeight != 0) {
|
|
846
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Clahe");
|
|
847
|
+
image = sharp::StaySequential(image);
|
|
848
|
+
image = sharp::Clahe(image, baton->claheWidth, baton->claheHeight, baton->claheMaxSlope);
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
// Apply bitwise boolean operation between images
|
|
852
|
+
if (baton->boolean != nullptr) {
|
|
853
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Boolean");
|
|
854
|
+
VImage booleanImage;
|
|
855
|
+
sharp::ImageType booleanImageType = sharp::ImageType::UNKNOWN;
|
|
856
|
+
baton->boolean->access = access;
|
|
857
|
+
std::tie(booleanImage, booleanImageType) = sharp::OpenInput(baton->boolean);
|
|
858
|
+
booleanImage = sharp::EnsureColourspace(booleanImage, baton->colourspacePipeline);
|
|
859
|
+
image = sharp::Boolean(image, booleanImage, baton->booleanOp);
|
|
860
|
+
image = sharp::RemoveGifPalette(image);
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
// Apply per-channel Bandbool bitwise operations after all other operations
|
|
864
|
+
if (baton->bandBoolOp >= VIPS_OPERATION_BOOLEAN_AND && baton->bandBoolOp < VIPS_OPERATION_BOOLEAN_LAST) {
|
|
865
|
+
image = sharp::Bandbool(image, baton->bandBoolOp);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
// Tint the image
|
|
869
|
+
if (baton->tint[0] >= 0.0) {
|
|
870
|
+
image = sharp::Tint(image, baton->tint);
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
// Remove alpha channel, if any
|
|
874
|
+
if (baton->removeAlpha) {
|
|
875
|
+
image = sharp::RemoveAlpha(image);
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
// Ensure alpha channel, if missing
|
|
879
|
+
if (baton->ensureAlpha != -1) {
|
|
880
|
+
image = sharp::EnsureAlpha(image, baton->ensureAlpha);
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
// Ensure output colour space
|
|
884
|
+
if (sharp::Is16Bit(image.interpretation())) {
|
|
885
|
+
image = image.cast(VIPS_FORMAT_USHORT);
|
|
886
|
+
}
|
|
887
|
+
if (image.interpretation() != baton->colourspace) {
|
|
888
|
+
image = image.colourspace(baton->colourspace, VImage::option()->set("source_space", image.interpretation()));
|
|
889
|
+
if (inputProfile.first != nullptr && baton->withIccProfile.empty()) {
|
|
890
|
+
image = sharp::SetProfile(image, inputProfile);
|
|
891
|
+
}
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
// Extract channel
|
|
895
|
+
if (baton->extractChannel > -1) {
|
|
896
|
+
KeepGainMapUnsupported(baton->keepGainMap, "Extract channel");
|
|
897
|
+
if (baton->extractChannel >= image.bands()) {
|
|
898
|
+
if (baton->extractChannel == 3 && image.has_alpha()) {
|
|
899
|
+
baton->extractChannel = image.bands() - 1;
|
|
900
|
+
} else {
|
|
901
|
+
(baton->err)
|
|
902
|
+
.append("Cannot extract channel ").append(std::to_string(baton->extractChannel))
|
|
903
|
+
.append(" from image with channels 0-").append(std::to_string(image.bands() - 1));
|
|
904
|
+
return Error();
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
VipsInterpretation colourspace = sharp::Is16Bit(image.interpretation())
|
|
908
|
+
? VIPS_INTERPRETATION_GREY16
|
|
909
|
+
: VIPS_INTERPRETATION_B_W;
|
|
910
|
+
image = image
|
|
911
|
+
.extract_band(baton->extractChannel)
|
|
912
|
+
.copy(VImage::option()->set("interpretation", colourspace));
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
// Apply output ICC profile
|
|
916
|
+
if (!baton->withIccProfile.empty()) {
|
|
917
|
+
try {
|
|
918
|
+
image = image.icc_transform(const_cast<char*>(baton->withIccProfile.data()), VImage::option()
|
|
919
|
+
->set("input_profile", processingProfile)
|
|
920
|
+
->set("embedded", true)
|
|
921
|
+
->set("depth", sharp::Is16Bit(image.interpretation()) ? 16 : 8)
|
|
922
|
+
->set("intent", VIPS_INTENT_PERCEPTUAL));
|
|
923
|
+
} catch(...) {
|
|
924
|
+
sharp::VipsWarningCallback(nullptr, G_LOG_LEVEL_WARNING, "Invalid profile", nullptr);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
// Negate the colours in the image
|
|
929
|
+
if (baton->negate) {
|
|
930
|
+
image = sharp::Negate(image, baton->negateAlpha);
|
|
931
|
+
if (baton->keepGainMap) {
|
|
932
|
+
gainMap = sharp::Negate(gainMap, false);
|
|
933
|
+
}
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
// Override EXIF Orientation tag
|
|
937
|
+
if (baton->withMetadataOrientation != -1) {
|
|
938
|
+
image = sharp::SetExifOrientation(image, baton->withMetadataOrientation);
|
|
939
|
+
}
|
|
940
|
+
// Override pixel density
|
|
941
|
+
if (baton->withMetadataDensity > 0) {
|
|
942
|
+
image = sharp::SetDensity(image, baton->withMetadataDensity);
|
|
943
|
+
}
|
|
944
|
+
// EXIF key/value pairs
|
|
945
|
+
if (baton->keepMetadata & VIPS_FOREIGN_KEEP_EXIF) {
|
|
946
|
+
image = image.copy();
|
|
947
|
+
if (!baton->withExifMerge) {
|
|
948
|
+
image = sharp::RemoveExif(image);
|
|
949
|
+
}
|
|
950
|
+
for (const auto& [key, value] : baton->withExif) {
|
|
951
|
+
image.set(key.c_str(), value.c_str());
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
// XMP buffer
|
|
955
|
+
if ((baton->keepMetadata & VIPS_FOREIGN_KEEP_XMP) && !baton->withXmp.empty()) {
|
|
956
|
+
image = image.copy();
|
|
957
|
+
image.set(VIPS_META_XMP_NAME, nullptr,
|
|
958
|
+
const_cast<void*>(static_cast<void const*>(baton->withXmp.c_str())), baton->withXmp.size());
|
|
959
|
+
}
|
|
960
|
+
// Number of channels used in output image
|
|
961
|
+
baton->channels = image.bands();
|
|
962
|
+
baton->width = image.width();
|
|
963
|
+
baton->height = image.height();
|
|
964
|
+
|
|
965
|
+
image = sharp::SetAnimationProperties(
|
|
966
|
+
image, nPages, targetPageHeight, baton->delay, baton->loop);
|
|
967
|
+
|
|
968
|
+
if (image.get_typeof(VIPS_META_PAGE_HEIGHT) == G_TYPE_INT) {
|
|
969
|
+
baton->pageHeightOut = image.get_int(VIPS_META_PAGE_HEIGHT);
|
|
970
|
+
baton->pagesOut = image.get_int(VIPS_META_N_PAGES);
|
|
971
|
+
}
|
|
972
|
+
baton->hasAlphaOut = image.has_alpha();
|
|
973
|
+
|
|
974
|
+
// Output
|
|
975
|
+
sharp::SetTimeout(image, baton->timeoutSeconds);
|
|
976
|
+
if (baton->fileOut.empty()) {
|
|
977
|
+
// Buffer output
|
|
978
|
+
if (baton->formatOut == "jpeg" || (baton->formatOut == "input" && inputImageType == sharp::ImageType::JPEG)) {
|
|
979
|
+
// Write JPEG to buffer
|
|
980
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
|
|
981
|
+
VipsArea *area;
|
|
982
|
+
if (baton->keepGainMap) {
|
|
983
|
+
image = ReattachGainMap(image, gainMap, baton);
|
|
984
|
+
area = reinterpret_cast<VipsArea*>(image.uhdrsave_buffer(VImage::option()
|
|
985
|
+
->set("keep", baton->keepMetadata)
|
|
986
|
+
->set("Q", baton->jpegQuality)
|
|
987
|
+
->set("gainmap_scale_factor", gainMapScaleFactor)));
|
|
988
|
+
} else {
|
|
989
|
+
area = reinterpret_cast<VipsArea*>(image.jpegsave_buffer(VImage::option()
|
|
990
|
+
->set("keep", baton->keepMetadata)
|
|
991
|
+
->set("Q", baton->jpegQuality)
|
|
992
|
+
->set("interlace", baton->jpegProgressive)
|
|
993
|
+
->set("subsample_mode", baton->jpegChromaSubsampling == "4:4:4"
|
|
994
|
+
? VIPS_FOREIGN_SUBSAMPLE_OFF
|
|
995
|
+
: VIPS_FOREIGN_SUBSAMPLE_ON)
|
|
996
|
+
->set("trellis_quant", baton->jpegTrellisQuantisation)
|
|
997
|
+
->set("quant_table", baton->jpegQuantisationTable)
|
|
998
|
+
->set("overshoot_deringing", baton->jpegOvershootDeringing)
|
|
999
|
+
->set("optimize_scans", baton->jpegOptimiseScans)
|
|
1000
|
+
->set("optimize_coding", baton->jpegOptimiseCoding)));
|
|
1001
|
+
}
|
|
1002
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1003
|
+
baton->bufferOutLength = area->length;
|
|
1004
|
+
area->free_fn = nullptr;
|
|
1005
|
+
vips_area_unref(area);
|
|
1006
|
+
baton->formatOut = "jpeg";
|
|
1007
|
+
if (baton->colourspace == VIPS_INTERPRETATION_CMYK) {
|
|
1008
|
+
baton->channels = std::min(baton->channels, 4);
|
|
1009
|
+
} else {
|
|
1010
|
+
baton->channels = std::min(baton->channels, 3);
|
|
1011
|
+
}
|
|
1012
|
+
baton->hasAlphaOut = false;
|
|
1013
|
+
} else if (baton->formatOut == "jp2" || (baton->formatOut == "input"
|
|
1014
|
+
&& inputImageType == sharp::ImageType::JP2)) {
|
|
1015
|
+
// Write JP2 to Buffer
|
|
1016
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::JP2);
|
|
1017
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.jp2ksave_buffer(VImage::option()
|
|
1018
|
+
->set("Q", baton->jp2Quality)
|
|
1019
|
+
->set("lossless", baton->jp2Lossless)
|
|
1020
|
+
->set("subsample_mode", baton->jp2ChromaSubsampling == "4:4:4"
|
|
1021
|
+
? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
|
|
1022
|
+
->set("tile_height", baton->jp2TileHeight)
|
|
1023
|
+
->set("tile_width", baton->jp2TileWidth)));
|
|
1024
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1025
|
+
baton->bufferOutLength = area->length;
|
|
1026
|
+
area->free_fn = nullptr;
|
|
1027
|
+
vips_area_unref(area);
|
|
1028
|
+
baton->formatOut = "jp2";
|
|
1029
|
+
} else if (baton->formatOut == "png" || (baton->formatOut == "input" &&
|
|
1030
|
+
(inputImageType == sharp::ImageType::PNG || inputImageType == sharp::ImageType::SVG))) {
|
|
1031
|
+
// Write PNG to buffer
|
|
1032
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::PNG);
|
|
1033
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.pngsave_buffer(VImage::option()
|
|
1034
|
+
->set("keep", baton->keepMetadata)
|
|
1035
|
+
->set("interlace", baton->pngProgressive)
|
|
1036
|
+
->set("compression", baton->pngCompressionLevel)
|
|
1037
|
+
->set("filter", baton->pngAdaptiveFiltering ? VIPS_FOREIGN_PNG_FILTER_ALL : VIPS_FOREIGN_PNG_FILTER_NONE)
|
|
1038
|
+
->set("palette", baton->pngPalette)
|
|
1039
|
+
->set("Q", baton->pngQuality)
|
|
1040
|
+
->set("effort", baton->pngEffort)
|
|
1041
|
+
->set("bitdepth", sharp::Is16Bit(image.interpretation()) ? 16 : baton->pngBitdepth)
|
|
1042
|
+
->set("dither", baton->pngDither)));
|
|
1043
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1044
|
+
baton->bufferOutLength = area->length;
|
|
1045
|
+
area->free_fn = nullptr;
|
|
1046
|
+
vips_area_unref(area);
|
|
1047
|
+
baton->formatOut = "png";
|
|
1048
|
+
} else if (baton->formatOut == "webp" ||
|
|
1049
|
+
(baton->formatOut == "input" && inputImageType == sharp::ImageType::WEBP)) {
|
|
1050
|
+
// Write WEBP to buffer
|
|
1051
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::WEBP);
|
|
1052
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.webpsave_buffer(VImage::option()
|
|
1053
|
+
->set("keep", baton->keepMetadata)
|
|
1054
|
+
->set("Q", baton->webpQuality)
|
|
1055
|
+
->set("lossless", baton->webpLossless)
|
|
1056
|
+
->set("near_lossless", baton->webpNearLossless)
|
|
1057
|
+
->set("smart_subsample", baton->webpSmartSubsample)
|
|
1058
|
+
->set("smart_deblock", baton->webpSmartDeblock)
|
|
1059
|
+
->set("preset", baton->webpPreset)
|
|
1060
|
+
->set("effort", baton->webpEffort)
|
|
1061
|
+
->set("min_size", baton->webpMinSize)
|
|
1062
|
+
->set("mixed", baton->webpMixed)
|
|
1063
|
+
->set("exact", baton->webpExact)
|
|
1064
|
+
->set("alpha_q", baton->webpAlphaQuality)));
|
|
1065
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1066
|
+
baton->bufferOutLength = area->length;
|
|
1067
|
+
area->free_fn = nullptr;
|
|
1068
|
+
vips_area_unref(area);
|
|
1069
|
+
baton->formatOut = "webp";
|
|
1070
|
+
} else if (baton->formatOut == "gif" ||
|
|
1071
|
+
(baton->formatOut == "input" && inputImageType == sharp::ImageType::GIF)) {
|
|
1072
|
+
// Write GIF to buffer
|
|
1073
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::GIF);
|
|
1074
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.gifsave_buffer(VImage::option()
|
|
1075
|
+
->set("keep", baton->keepMetadata)
|
|
1076
|
+
->set("bitdepth", baton->gifBitdepth)
|
|
1077
|
+
->set("effort", baton->gifEffort)
|
|
1078
|
+
->set("reuse", baton->gifReuse)
|
|
1079
|
+
->set("interlace", baton->gifProgressive)
|
|
1080
|
+
->set("interframe_maxerror", baton->gifInterFrameMaxError)
|
|
1081
|
+
->set("interpalette_maxerror", baton->gifInterPaletteMaxError)
|
|
1082
|
+
->set("keep_duplicate_frames", baton->gifKeepDuplicateFrames)
|
|
1083
|
+
->set("dither", baton->gifDither)));
|
|
1084
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1085
|
+
baton->bufferOutLength = area->length;
|
|
1086
|
+
area->free_fn = nullptr;
|
|
1087
|
+
vips_area_unref(area);
|
|
1088
|
+
baton->formatOut = "gif";
|
|
1089
|
+
} else if (baton->formatOut == "tiff" ||
|
|
1090
|
+
(baton->formatOut == "input" && inputImageType == sharp::ImageType::TIFF)) {
|
|
1091
|
+
// Write TIFF to buffer
|
|
1092
|
+
if (baton->tiffCompression == VIPS_FOREIGN_TIFF_COMPRESSION_JPEG) {
|
|
1093
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
|
|
1094
|
+
baton->channels = std::min(baton->channels, 3);
|
|
1095
|
+
baton->hasAlphaOut = false;
|
|
1096
|
+
}
|
|
1097
|
+
// Cast pixel values to float, if required
|
|
1098
|
+
if (baton->tiffPredictor == VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT) {
|
|
1099
|
+
image = image.cast(VIPS_FORMAT_FLOAT);
|
|
1100
|
+
}
|
|
1101
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.tiffsave_buffer(VImage::option()
|
|
1102
|
+
->set("keep", baton->keepMetadata)
|
|
1103
|
+
->set("Q", baton->tiffQuality)
|
|
1104
|
+
->set("bitdepth", baton->tiffBitdepth)
|
|
1105
|
+
->set("compression", baton->tiffCompression)
|
|
1106
|
+
->set("bigtiff", baton->tiffBigtiff)
|
|
1107
|
+
->set("miniswhite", baton->tiffMiniswhite)
|
|
1108
|
+
->set("predictor", baton->tiffPredictor)
|
|
1109
|
+
->set("pyramid", baton->tiffPyramid)
|
|
1110
|
+
->set("tile", baton->tiffTile)
|
|
1111
|
+
->set("tile_height", baton->tiffTileHeight)
|
|
1112
|
+
->set("tile_width", baton->tiffTileWidth)
|
|
1113
|
+
->set("xres", baton->tiffXres)
|
|
1114
|
+
->set("yres", baton->tiffYres)
|
|
1115
|
+
->set("resunit", baton->tiffResolutionUnit)));
|
|
1116
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1117
|
+
baton->bufferOutLength = area->length;
|
|
1118
|
+
area->free_fn = nullptr;
|
|
1119
|
+
vips_area_unref(area);
|
|
1120
|
+
baton->formatOut = "tiff";
|
|
1121
|
+
} else if (baton->formatOut == "heif" ||
|
|
1122
|
+
(baton->formatOut == "input" && inputImageType == sharp::ImageType::HEIF)) {
|
|
1123
|
+
// Write HEIF to buffer
|
|
1124
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::HEIF);
|
|
1125
|
+
image = sharp::RemoveAnimationProperties(image);
|
|
1126
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.heifsave_buffer(VImage::option()
|
|
1127
|
+
->set("keep", baton->keepMetadata)
|
|
1128
|
+
->set("Q", baton->heifQuality)
|
|
1129
|
+
->set("compression", baton->heifCompression)
|
|
1130
|
+
->set("effort", baton->heifEffort)
|
|
1131
|
+
->set("bitdepth", baton->heifBitdepth)
|
|
1132
|
+
->set("tune", baton->heifTune.c_str())
|
|
1133
|
+
->set("subsample_mode", baton->heifChromaSubsampling == "4:4:4"
|
|
1134
|
+
? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
|
|
1135
|
+
->set("lossless", baton->heifLossless)));
|
|
1136
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1137
|
+
baton->bufferOutLength = area->length;
|
|
1138
|
+
area->free_fn = nullptr;
|
|
1139
|
+
vips_area_unref(area);
|
|
1140
|
+
baton->formatOut = "heif";
|
|
1141
|
+
} else if (baton->formatOut == "dz") {
|
|
1142
|
+
// Write DZ to buffer
|
|
1143
|
+
baton->tileContainer = VIPS_FOREIGN_DZ_CONTAINER_ZIP;
|
|
1144
|
+
if (!image.has_alpha()) {
|
|
1145
|
+
baton->tileBackground.pop_back();
|
|
1146
|
+
}
|
|
1147
|
+
image = sharp::StaySequential(image, baton->tileAngle != 0);
|
|
1148
|
+
vips::VOption *options = BuildOptionsDZ(baton);
|
|
1149
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.dzsave_buffer(options));
|
|
1150
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1151
|
+
baton->bufferOutLength = area->length;
|
|
1152
|
+
area->free_fn = nullptr;
|
|
1153
|
+
vips_area_unref(area);
|
|
1154
|
+
baton->formatOut = "dz";
|
|
1155
|
+
if (baton->tileFormat == "jpeg") {
|
|
1156
|
+
baton->hasAlphaOut = false;
|
|
1157
|
+
}
|
|
1158
|
+
} else if (baton->formatOut == "jxl" ||
|
|
1159
|
+
(baton->formatOut == "input" && inputImageType == sharp::ImageType::JXL)) {
|
|
1160
|
+
// Write JXL to buffer
|
|
1161
|
+
image = sharp::RemoveAnimationProperties(image);
|
|
1162
|
+
VipsArea *area = reinterpret_cast<VipsArea*>(image.jxlsave_buffer(VImage::option()
|
|
1163
|
+
->set("keep", baton->keepMetadata)
|
|
1164
|
+
->set("distance", baton->jxlDistance)
|
|
1165
|
+
->set("tier", baton->jxlDecodingTier)
|
|
1166
|
+
->set("effort", baton->jxlEffort)
|
|
1167
|
+
->set("lossless", baton->jxlLossless)));
|
|
1168
|
+
baton->bufferOut = static_cast<char*>(area->data);
|
|
1169
|
+
baton->bufferOutLength = area->length;
|
|
1170
|
+
area->free_fn = nullptr;
|
|
1171
|
+
vips_area_unref(area);
|
|
1172
|
+
baton->formatOut = "jxl";
|
|
1173
|
+
} else if (baton->formatOut == "raw" ||
|
|
1174
|
+
(baton->formatOut == "input" && inputImageType == sharp::ImageType::RAW)) {
|
|
1175
|
+
// Write raw, uncompressed image data to buffer
|
|
1176
|
+
if (baton->greyscale || image.interpretation() == VIPS_INTERPRETATION_B_W) {
|
|
1177
|
+
// Extract first band for greyscale image
|
|
1178
|
+
image = image[0];
|
|
1179
|
+
baton->channels = 1;
|
|
1180
|
+
}
|
|
1181
|
+
if (image.format() != baton->rawDepth) {
|
|
1182
|
+
// Cast pixels to requested format
|
|
1183
|
+
image = image.cast(baton->rawDepth);
|
|
1184
|
+
}
|
|
1185
|
+
// Get raw image data
|
|
1186
|
+
baton->bufferOut = static_cast<char*>(image.write_to_memory(&baton->bufferOutLength));
|
|
1187
|
+
if (baton->bufferOut == nullptr) {
|
|
1188
|
+
throw std::runtime_error("Could not allocate enough memory for raw output");
|
|
1189
|
+
}
|
|
1190
|
+
baton->formatOut = "raw";
|
|
1191
|
+
} else {
|
|
1192
|
+
// Unsupported output format
|
|
1193
|
+
auto unsupported = std::string("Unsupported output format ");
|
|
1194
|
+
if (baton->formatOut == "input") {
|
|
1195
|
+
unsupported.append("when trying to match input format of ");
|
|
1196
|
+
unsupported.append(ImageTypeId(inputImageType));
|
|
1197
|
+
} else {
|
|
1198
|
+
unsupported.append(baton->formatOut);
|
|
1199
|
+
}
|
|
1200
|
+
throw std::runtime_error(unsupported);
|
|
1201
|
+
}
|
|
1202
|
+
} else {
|
|
1203
|
+
// File output
|
|
1204
|
+
bool const isJpeg = sharp::IsJpeg(baton->fileOut);
|
|
1205
|
+
bool const isPng = sharp::IsPng(baton->fileOut);
|
|
1206
|
+
bool const isWebp = sharp::IsWebp(baton->fileOut);
|
|
1207
|
+
bool const isGif = sharp::IsGif(baton->fileOut);
|
|
1208
|
+
bool const isTiff = sharp::IsTiff(baton->fileOut);
|
|
1209
|
+
bool const isJp2 = sharp::IsJp2(baton->fileOut);
|
|
1210
|
+
bool const isHeif = sharp::IsHeif(baton->fileOut);
|
|
1211
|
+
bool const isJxl = sharp::IsJxl(baton->fileOut);
|
|
1212
|
+
bool const isDz = sharp::IsDz(baton->fileOut);
|
|
1213
|
+
bool const isDzZip = sharp::IsDzZip(baton->fileOut);
|
|
1214
|
+
bool const isV = sharp::IsV(baton->fileOut);
|
|
1215
|
+
bool const mightMatchInput = baton->formatOut == "input";
|
|
1216
|
+
bool const willMatchInput = mightMatchInput &&
|
|
1217
|
+
!(isJpeg || isPng || isWebp || isGif || isTiff || isJp2 || isHeif || isDz || isDzZip || isV);
|
|
1218
|
+
|
|
1219
|
+
if (baton->formatOut == "jpeg" || (mightMatchInput && isJpeg) ||
|
|
1220
|
+
(willMatchInput && inputImageType == sharp::ImageType::JPEG)) {
|
|
1221
|
+
// Write JPEG to file
|
|
1222
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
|
|
1223
|
+
if (baton->keepGainMap) {
|
|
1224
|
+
image = ReattachGainMap(image, gainMap, baton);
|
|
1225
|
+
image.uhdrsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1226
|
+
->set("keep", baton->keepMetadata)
|
|
1227
|
+
->set("Q", baton->jpegQuality)
|
|
1228
|
+
->set("gainmap_scale_factor", gainMapScaleFactor));
|
|
1229
|
+
} else {
|
|
1230
|
+
image.jpegsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1231
|
+
->set("keep", baton->keepMetadata)
|
|
1232
|
+
->set("Q", baton->jpegQuality)
|
|
1233
|
+
->set("interlace", baton->jpegProgressive)
|
|
1234
|
+
->set("subsample_mode", baton->jpegChromaSubsampling == "4:4:4"
|
|
1235
|
+
? VIPS_FOREIGN_SUBSAMPLE_OFF
|
|
1236
|
+
: VIPS_FOREIGN_SUBSAMPLE_ON)
|
|
1237
|
+
->set("trellis_quant", baton->jpegTrellisQuantisation)
|
|
1238
|
+
->set("quant_table", baton->jpegQuantisationTable)
|
|
1239
|
+
->set("overshoot_deringing", baton->jpegOvershootDeringing)
|
|
1240
|
+
->set("optimize_scans", baton->jpegOptimiseScans)
|
|
1241
|
+
->set("optimize_coding", baton->jpegOptimiseCoding));
|
|
1242
|
+
}
|
|
1243
|
+
baton->formatOut = "jpeg";
|
|
1244
|
+
baton->channels = std::min(baton->channels, 3);
|
|
1245
|
+
baton->hasAlphaOut = false;
|
|
1246
|
+
} else if (baton->formatOut == "jp2" || (mightMatchInput && isJp2) ||
|
|
1247
|
+
(willMatchInput && (inputImageType == sharp::ImageType::JP2))) {
|
|
1248
|
+
// Write JP2 to file
|
|
1249
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::JP2);
|
|
1250
|
+
image.jp2ksave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1251
|
+
->set("Q", baton->jp2Quality)
|
|
1252
|
+
->set("lossless", baton->jp2Lossless)
|
|
1253
|
+
->set("subsample_mode", baton->jp2ChromaSubsampling == "4:4:4"
|
|
1254
|
+
? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
|
|
1255
|
+
->set("tile_height", baton->jp2TileHeight)
|
|
1256
|
+
->set("tile_width", baton->jp2TileWidth));
|
|
1257
|
+
baton->formatOut = "jp2";
|
|
1258
|
+
} else if (baton->formatOut == "png" || (mightMatchInput && isPng) || (willMatchInput &&
|
|
1259
|
+
(inputImageType == sharp::ImageType::PNG || inputImageType == sharp::ImageType::SVG))) {
|
|
1260
|
+
// Write PNG to file
|
|
1261
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::PNG);
|
|
1262
|
+
image.pngsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1263
|
+
->set("keep", baton->keepMetadata)
|
|
1264
|
+
->set("interlace", baton->pngProgressive)
|
|
1265
|
+
->set("compression", baton->pngCompressionLevel)
|
|
1266
|
+
->set("filter", baton->pngAdaptiveFiltering ? VIPS_FOREIGN_PNG_FILTER_ALL : VIPS_FOREIGN_PNG_FILTER_NONE)
|
|
1267
|
+
->set("palette", baton->pngPalette)
|
|
1268
|
+
->set("Q", baton->pngQuality)
|
|
1269
|
+
->set("bitdepth", sharp::Is16Bit(image.interpretation()) ? 16 : baton->pngBitdepth)
|
|
1270
|
+
->set("effort", baton->pngEffort)
|
|
1271
|
+
->set("dither", baton->pngDither));
|
|
1272
|
+
baton->formatOut = "png";
|
|
1273
|
+
} else if (baton->formatOut == "webp" || (mightMatchInput && isWebp) ||
|
|
1274
|
+
(willMatchInput && inputImageType == sharp::ImageType::WEBP)) {
|
|
1275
|
+
// Write WEBP to file
|
|
1276
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::WEBP);
|
|
1277
|
+
image.webpsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1278
|
+
->set("keep", baton->keepMetadata)
|
|
1279
|
+
->set("Q", baton->webpQuality)
|
|
1280
|
+
->set("lossless", baton->webpLossless)
|
|
1281
|
+
->set("near_lossless", baton->webpNearLossless)
|
|
1282
|
+
->set("smart_subsample", baton->webpSmartSubsample)
|
|
1283
|
+
->set("smart_deblock", baton->webpSmartDeblock)
|
|
1284
|
+
->set("preset", baton->webpPreset)
|
|
1285
|
+
->set("effort", baton->webpEffort)
|
|
1286
|
+
->set("min_size", baton->webpMinSize)
|
|
1287
|
+
->set("mixed", baton->webpMixed)
|
|
1288
|
+
->set("exact", baton->webpExact)
|
|
1289
|
+
->set("alpha_q", baton->webpAlphaQuality));
|
|
1290
|
+
baton->formatOut = "webp";
|
|
1291
|
+
} else if (baton->formatOut == "gif" || (mightMatchInput && isGif) ||
|
|
1292
|
+
(willMatchInput && inputImageType == sharp::ImageType::GIF)) {
|
|
1293
|
+
// Write GIF to file
|
|
1294
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::GIF);
|
|
1295
|
+
image.gifsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1296
|
+
->set("keep", baton->keepMetadata)
|
|
1297
|
+
->set("bitdepth", baton->gifBitdepth)
|
|
1298
|
+
->set("effort", baton->gifEffort)
|
|
1299
|
+
->set("reuse", baton->gifReuse)
|
|
1300
|
+
->set("interlace", baton->gifProgressive)
|
|
1301
|
+
->set("interframe_maxerror", baton->gifInterFrameMaxError)
|
|
1302
|
+
->set("interpalette_maxerror", baton->gifInterPaletteMaxError)
|
|
1303
|
+
->set("keep_duplicate_frames", baton->gifKeepDuplicateFrames)
|
|
1304
|
+
->set("dither", baton->gifDither));
|
|
1305
|
+
baton->formatOut = "gif";
|
|
1306
|
+
} else if (baton->formatOut == "tiff" || (mightMatchInput && isTiff) ||
|
|
1307
|
+
(willMatchInput && inputImageType == sharp::ImageType::TIFF)) {
|
|
1308
|
+
// Write TIFF to file
|
|
1309
|
+
if (baton->tiffCompression == VIPS_FOREIGN_TIFF_COMPRESSION_JPEG) {
|
|
1310
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::JPEG);
|
|
1311
|
+
baton->channels = std::min(baton->channels, 3);
|
|
1312
|
+
baton->hasAlphaOut = false;
|
|
1313
|
+
}
|
|
1314
|
+
// Cast pixel values to float, if required
|
|
1315
|
+
if (baton->tiffPredictor == VIPS_FOREIGN_TIFF_PREDICTOR_FLOAT) {
|
|
1316
|
+
image = image.cast(VIPS_FORMAT_FLOAT);
|
|
1317
|
+
}
|
|
1318
|
+
image.tiffsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1319
|
+
->set("keep", baton->keepMetadata)
|
|
1320
|
+
->set("Q", baton->tiffQuality)
|
|
1321
|
+
->set("bitdepth", baton->tiffBitdepth)
|
|
1322
|
+
->set("compression", baton->tiffCompression)
|
|
1323
|
+
->set("bigtiff", baton->tiffBigtiff)
|
|
1324
|
+
->set("miniswhite", baton->tiffMiniswhite)
|
|
1325
|
+
->set("predictor", baton->tiffPredictor)
|
|
1326
|
+
->set("pyramid", baton->tiffPyramid)
|
|
1327
|
+
->set("tile", baton->tiffTile)
|
|
1328
|
+
->set("tile_height", baton->tiffTileHeight)
|
|
1329
|
+
->set("tile_width", baton->tiffTileWidth)
|
|
1330
|
+
->set("xres", baton->tiffXres)
|
|
1331
|
+
->set("yres", baton->tiffYres)
|
|
1332
|
+
->set("resunit", baton->tiffResolutionUnit));
|
|
1333
|
+
baton->formatOut = "tiff";
|
|
1334
|
+
} else if (baton->formatOut == "heif" || (mightMatchInput && isHeif) ||
|
|
1335
|
+
(willMatchInput && inputImageType == sharp::ImageType::HEIF)) {
|
|
1336
|
+
// Write HEIF to file
|
|
1337
|
+
sharp::AssertImageTypeDimensions(image, sharp::ImageType::HEIF);
|
|
1338
|
+
image = sharp::RemoveAnimationProperties(image);
|
|
1339
|
+
image.heifsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1340
|
+
->set("keep", baton->keepMetadata)
|
|
1341
|
+
->set("Q", baton->heifQuality)
|
|
1342
|
+
->set("compression", baton->heifCompression)
|
|
1343
|
+
->set("effort", baton->heifEffort)
|
|
1344
|
+
->set("bitdepth", baton->heifBitdepth)
|
|
1345
|
+
->set("tune", baton->heifTune.c_str())
|
|
1346
|
+
->set("subsample_mode", baton->heifChromaSubsampling == "4:4:4"
|
|
1347
|
+
? VIPS_FOREIGN_SUBSAMPLE_OFF : VIPS_FOREIGN_SUBSAMPLE_ON)
|
|
1348
|
+
->set("lossless", baton->heifLossless));
|
|
1349
|
+
baton->formatOut = "heif";
|
|
1350
|
+
} else if (baton->formatOut == "jxl" || (mightMatchInput && isJxl) ||
|
|
1351
|
+
(willMatchInput && inputImageType == sharp::ImageType::JXL)) {
|
|
1352
|
+
// Write JXL to file
|
|
1353
|
+
image = sharp::RemoveAnimationProperties(image);
|
|
1354
|
+
image.jxlsave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1355
|
+
->set("keep", baton->keepMetadata)
|
|
1356
|
+
->set("distance", baton->jxlDistance)
|
|
1357
|
+
->set("tier", baton->jxlDecodingTier)
|
|
1358
|
+
->set("effort", baton->jxlEffort)
|
|
1359
|
+
->set("lossless", baton->jxlLossless));
|
|
1360
|
+
baton->formatOut = "jxl";
|
|
1361
|
+
} else if (baton->formatOut == "dz" || isDz || isDzZip) {
|
|
1362
|
+
// Write DZ to file
|
|
1363
|
+
if (isDzZip) {
|
|
1364
|
+
baton->tileContainer = VIPS_FOREIGN_DZ_CONTAINER_ZIP;
|
|
1365
|
+
}
|
|
1366
|
+
if (!image.has_alpha()) {
|
|
1367
|
+
baton->tileBackground.pop_back();
|
|
1368
|
+
}
|
|
1369
|
+
image = sharp::StaySequential(image, baton->tileAngle != 0);
|
|
1370
|
+
vips::VOption *options = BuildOptionsDZ(baton);
|
|
1371
|
+
image.dzsave(const_cast<char*>(baton->fileOut.data()), options);
|
|
1372
|
+
baton->formatOut = "dz";
|
|
1373
|
+
if (baton->tileFormat == "jpeg") {
|
|
1374
|
+
baton->hasAlphaOut = false;
|
|
1375
|
+
}
|
|
1376
|
+
} else if (baton->formatOut == "v" || (mightMatchInput && isV) ||
|
|
1377
|
+
(willMatchInput && inputImageType == sharp::ImageType::VIPS)) {
|
|
1378
|
+
// Write V to file
|
|
1379
|
+
image.vipssave(const_cast<char*>(baton->fileOut.data()), VImage::option()
|
|
1380
|
+
->set("keep", baton->keepMetadata));
|
|
1381
|
+
baton->formatOut = "v";
|
|
1382
|
+
} else {
|
|
1383
|
+
// Unsupported output format
|
|
1384
|
+
(baton->err).append("Unsupported output format " + baton->fileOut);
|
|
1385
|
+
return Error();
|
|
1386
|
+
}
|
|
1387
|
+
}
|
|
1388
|
+
} catch (std::runtime_error const &err) {
|
|
1389
|
+
char const *what = err.what();
|
|
1390
|
+
if (what && what[0]) {
|
|
1391
|
+
(baton->err).append(what);
|
|
1392
|
+
} else {
|
|
1393
|
+
if (baton->input->failOn == VIPS_FAIL_ON_WARNING) {
|
|
1394
|
+
(baton->err).append("Warning treated as error due to failOn setting");
|
|
1395
|
+
baton->errUseWarning = true;
|
|
1396
|
+
} else {
|
|
1397
|
+
(baton->err).append("Unknown error");
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
// Clean up libvips' per-request data and threads
|
|
1402
|
+
vips_error_clear();
|
|
1403
|
+
vips_thread_shutdown();
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
void OnOK() {
|
|
1407
|
+
Napi::Env env = Env();
|
|
1408
|
+
Napi::HandleScope scope(env);
|
|
1409
|
+
|
|
1410
|
+
// Handle warnings
|
|
1411
|
+
std::string warning = sharp::VipsWarningPop();
|
|
1412
|
+
while (!warning.empty()) {
|
|
1413
|
+
if (baton->errUseWarning) {
|
|
1414
|
+
(baton->err).append("\n").append(warning);
|
|
1415
|
+
} else {
|
|
1416
|
+
debuglog.SHARP_CALLBACK_FN_NAME(Receiver().Value(), { Napi::String::New(env, warning) });
|
|
1417
|
+
}
|
|
1418
|
+
warning = sharp::VipsWarningPop();
|
|
1419
|
+
}
|
|
1420
|
+
if (baton->err.empty()) {
|
|
1421
|
+
int width = baton->width;
|
|
1422
|
+
int height = baton->height;
|
|
1423
|
+
if (baton->topOffsetPre != -1 && (baton->width == -1 || baton->height == -1)) {
|
|
1424
|
+
width = baton->widthPre;
|
|
1425
|
+
height = baton->heightPre;
|
|
1426
|
+
}
|
|
1427
|
+
if (baton->topOffsetPost != -1) {
|
|
1428
|
+
width = baton->widthPost;
|
|
1429
|
+
height = baton->heightPost;
|
|
1430
|
+
}
|
|
1431
|
+
// Info Object
|
|
1432
|
+
Napi::Object info = Napi::Object::New(env);
|
|
1433
|
+
info.Set("format", baton->formatOut);
|
|
1434
|
+
info.Set("width", static_cast<uint32_t>(width));
|
|
1435
|
+
info.Set("height", static_cast<uint32_t>(height));
|
|
1436
|
+
info.Set("channels", static_cast<uint32_t>(baton->channels));
|
|
1437
|
+
if (baton->formatOut == "raw") {
|
|
1438
|
+
info.Set("depth", vips_enum_nick(VIPS_TYPE_BAND_FORMAT, baton->rawDepth));
|
|
1439
|
+
}
|
|
1440
|
+
info.Set("premultiplied", baton->premultiplied);
|
|
1441
|
+
if (baton->hasCropOffset) {
|
|
1442
|
+
info.Set("cropOffsetLeft", static_cast<int32_t>(baton->cropOffsetLeft));
|
|
1443
|
+
info.Set("cropOffsetTop", static_cast<int32_t>(baton->cropOffsetTop));
|
|
1444
|
+
}
|
|
1445
|
+
if (baton->hasAttentionCenter) {
|
|
1446
|
+
info.Set("attentionX", static_cast<int32_t>(baton->attentionX));
|
|
1447
|
+
info.Set("attentionY", static_cast<int32_t>(baton->attentionY));
|
|
1448
|
+
}
|
|
1449
|
+
if (baton->trimThreshold >= 0.0) {
|
|
1450
|
+
info.Set("trimOffsetLeft", static_cast<int32_t>(baton->trimOffsetLeft));
|
|
1451
|
+
info.Set("trimOffsetTop", static_cast<int32_t>(baton->trimOffsetTop));
|
|
1452
|
+
}
|
|
1453
|
+
if (baton->input->textAutofitDpi) {
|
|
1454
|
+
info.Set("textAutofitDpi", static_cast<uint32_t>(baton->input->textAutofitDpi));
|
|
1455
|
+
}
|
|
1456
|
+
if (baton->pageHeightOut) {
|
|
1457
|
+
info.Set("pageHeight", static_cast<int32_t>(baton->pageHeightOut));
|
|
1458
|
+
info.Set("pages", static_cast<int32_t>(baton->pagesOut));
|
|
1459
|
+
}
|
|
1460
|
+
info.Set("hasAlpha", baton->hasAlphaOut);
|
|
1461
|
+
|
|
1462
|
+
if (baton->bufferOutLength > 0) {
|
|
1463
|
+
info.Set("size", static_cast<uint32_t>(baton->bufferOutLength));
|
|
1464
|
+
if (baton->typedArrayOut) {
|
|
1465
|
+
// ECMAScript ArrayBuffer with Uint8Array view
|
|
1466
|
+
Napi::TypedArrayOf<uint8_t> data = Napi::Buffer<char>::Copy(env,
|
|
1467
|
+
static_cast<char*>(baton->bufferOut), baton->bufferOutLength);
|
|
1468
|
+
sharp::FreeCallback(static_cast<char*>(baton->bufferOut), nullptr);
|
|
1469
|
+
Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(), { env.Null(), data, info });
|
|
1470
|
+
} else {
|
|
1471
|
+
// Node.js Buffer
|
|
1472
|
+
Napi::Buffer<char> data = Napi::Buffer<char>::NewOrCopy(env, static_cast<char*>(baton->bufferOut),
|
|
1473
|
+
baton->bufferOutLength, sharp::FreeCallback);
|
|
1474
|
+
Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(), { env.Null(), data, info });
|
|
1475
|
+
}
|
|
1476
|
+
} else {
|
|
1477
|
+
// Add file size to info
|
|
1478
|
+
if (baton->formatOut != "dz" || sharp::IsDzZip(baton->fileOut)) {
|
|
1479
|
+
try {
|
|
1480
|
+
uint32_t const size = static_cast<uint32_t>(
|
|
1481
|
+
std::filesystem::file_size(std::filesystem::u8path(baton->fileOut)));
|
|
1482
|
+
info.Set("size", size);
|
|
1483
|
+
} catch (...) {}
|
|
1484
|
+
}
|
|
1485
|
+
Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(), { env.Null(), info });
|
|
1486
|
+
}
|
|
1487
|
+
} else {
|
|
1488
|
+
Callback().SHARP_CALLBACK_FN_NAME(Receiver().Value(),
|
|
1489
|
+
{ Napi::Error::New(env, sharp::TrimEnd(baton->err)).Value() });
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
// Delete baton
|
|
1493
|
+
delete baton->input;
|
|
1494
|
+
delete baton->boolean;
|
|
1495
|
+
for (Composite *composite : baton->composite) {
|
|
1496
|
+
delete composite->input;
|
|
1497
|
+
delete composite;
|
|
1498
|
+
}
|
|
1499
|
+
for (sharp::InputDescriptor *input : baton->joinChannelIn) {
|
|
1500
|
+
delete input;
|
|
1501
|
+
}
|
|
1502
|
+
for (sharp::InputDescriptor *input : baton->join) {
|
|
1503
|
+
delete input;
|
|
1504
|
+
}
|
|
1505
|
+
delete baton;
|
|
1506
|
+
|
|
1507
|
+
// Decrement processing task counter
|
|
1508
|
+
sharp::counterProcess--;
|
|
1509
|
+
Napi::Number queueLength = Napi::Number::New(env, static_cast<int>(sharp::counterQueue));
|
|
1510
|
+
queueListener.SHARP_CALLBACK_FN_NAME(Receiver().Value(), { queueLength });
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
private:
|
|
1514
|
+
PipelineBaton *baton;
|
|
1515
|
+
Napi::FunctionReference debuglog;
|
|
1516
|
+
Napi::FunctionReference queueListener;
|
|
1517
|
+
|
|
1518
|
+
void MultiPageUnsupported(int const pages, std::string op) {
|
|
1519
|
+
if (pages > 1) {
|
|
1520
|
+
throw std::runtime_error(op + " is not supported for multi-page images");
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
void KeepGainMapUnsupported(bool const keepGainMap, std::string op) {
|
|
1525
|
+
if (keepGainMap) {
|
|
1526
|
+
throw std::runtime_error(op + " is not supported when keeping gain maps");
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/*
|
|
1531
|
+
Calculate the angle of rotation and need-to-flip for the given Exif orientation
|
|
1532
|
+
By default, returns zero, i.e. no rotation.
|
|
1533
|
+
*/
|
|
1534
|
+
std::tuple<VipsAngle, bool>
|
|
1535
|
+
CalculateExifRotationAndFlop(int const exifOrientation) {
|
|
1536
|
+
VipsAngle rotate = VIPS_ANGLE_D0;
|
|
1537
|
+
bool flop = false;
|
|
1538
|
+
switch (exifOrientation) {
|
|
1539
|
+
case 6: rotate = VIPS_ANGLE_D90; break;
|
|
1540
|
+
case 3: rotate = VIPS_ANGLE_D180; break;
|
|
1541
|
+
case 8: rotate = VIPS_ANGLE_D270; break;
|
|
1542
|
+
case 2: flop = true; break;
|
|
1543
|
+
case 7: flop = true; rotate = VIPS_ANGLE_D270; break;
|
|
1544
|
+
case 4: flop = true; rotate = VIPS_ANGLE_D180; break;
|
|
1545
|
+
case 5: flop = true; rotate = VIPS_ANGLE_D90; break;
|
|
1546
|
+
}
|
|
1547
|
+
return std::make_tuple(rotate, flop);
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
/*
|
|
1551
|
+
Calculate the rotation for the given angle.
|
|
1552
|
+
Supports any positive or negative angle that is a multiple of 90.
|
|
1553
|
+
*/
|
|
1554
|
+
VipsAngle
|
|
1555
|
+
CalculateAngleRotation(int angle) {
|
|
1556
|
+
angle = angle % 360;
|
|
1557
|
+
if (angle < 0)
|
|
1558
|
+
angle = 360 + angle;
|
|
1559
|
+
switch (angle) {
|
|
1560
|
+
case 90: return VIPS_ANGLE_D90;
|
|
1561
|
+
case 180: return VIPS_ANGLE_D180;
|
|
1562
|
+
case 270: return VIPS_ANGLE_D270;
|
|
1563
|
+
}
|
|
1564
|
+
return VIPS_ANGLE_D0;
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
/*
|
|
1568
|
+
Assemble the suffix argument to dzsave, which is the format (by extname)
|
|
1569
|
+
alongside comma-separated arguments to the corresponding `formatsave` vips
|
|
1570
|
+
action.
|
|
1571
|
+
*/
|
|
1572
|
+
std::string
|
|
1573
|
+
AssembleSuffixString(std::string extname, std::vector<std::pair<std::string, std::string>> options) {
|
|
1574
|
+
std::string argument;
|
|
1575
|
+
for (const auto& [key, value] : options) {
|
|
1576
|
+
if (!argument.empty()) {
|
|
1577
|
+
argument += ",";
|
|
1578
|
+
}
|
|
1579
|
+
argument += key + "=" + value;
|
|
1580
|
+
}
|
|
1581
|
+
return extname + "[" + argument + "]";
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
/*
|
|
1585
|
+
Build VOption for dzsave
|
|
1586
|
+
*/
|
|
1587
|
+
vips::VOption*
|
|
1588
|
+
BuildOptionsDZ(PipelineBaton *baton) {
|
|
1589
|
+
// Forward format options through suffix
|
|
1590
|
+
std::string suffix;
|
|
1591
|
+
if (baton->tileFormat == "png") {
|
|
1592
|
+
std::vector<std::pair<std::string, std::string>> options {
|
|
1593
|
+
{"interlace", baton->pngProgressive ? "true" : "false"},
|
|
1594
|
+
{"compression", std::to_string(baton->pngCompressionLevel)},
|
|
1595
|
+
{"filter", baton->pngAdaptiveFiltering ? "all" : "none"}
|
|
1596
|
+
};
|
|
1597
|
+
suffix = AssembleSuffixString(".png", options);
|
|
1598
|
+
} else if (baton->tileFormat == "webp") {
|
|
1599
|
+
std::vector<std::pair<std::string, std::string>> options {
|
|
1600
|
+
{"Q", std::to_string(baton->webpQuality)},
|
|
1601
|
+
{"alpha_q", std::to_string(baton->webpAlphaQuality)},
|
|
1602
|
+
{"lossless", baton->webpLossless ? "true" : "false"},
|
|
1603
|
+
{"near_lossless", baton->webpNearLossless ? "true" : "false"},
|
|
1604
|
+
{"smart_subsample", baton->webpSmartSubsample ? "true" : "false"},
|
|
1605
|
+
{"smart_deblock", baton->webpSmartDeblock ? "true" : "false"},
|
|
1606
|
+
{"preset", vips_enum_nick(VIPS_TYPE_FOREIGN_WEBP_PRESET, baton->webpPreset)},
|
|
1607
|
+
{"min_size", baton->webpMinSize ? "true" : "false"},
|
|
1608
|
+
{"mixed", baton->webpMixed ? "true" : "false"},
|
|
1609
|
+
{"exact", baton->webpExact ? "true" : "false"},
|
|
1610
|
+
{"effort", std::to_string(baton->webpEffort)}
|
|
1611
|
+
};
|
|
1612
|
+
suffix = AssembleSuffixString(".webp", options);
|
|
1613
|
+
} else {
|
|
1614
|
+
std::vector<std::pair<std::string, std::string>> options {
|
|
1615
|
+
{"Q", std::to_string(baton->jpegQuality)},
|
|
1616
|
+
{"interlace", baton->jpegProgressive ? "true" : "false"},
|
|
1617
|
+
{"subsample_mode", baton->jpegChromaSubsampling == "4:4:4" ? "off" : "on"},
|
|
1618
|
+
{"trellis_quant", baton->jpegTrellisQuantisation ? "true" : "false"},
|
|
1619
|
+
{"quant_table", std::to_string(baton->jpegQuantisationTable)},
|
|
1620
|
+
{"overshoot_deringing", baton->jpegOvershootDeringing ? "true": "false"},
|
|
1621
|
+
{"optimize_scans", baton->jpegOptimiseScans ? "true": "false"},
|
|
1622
|
+
{"optimize_coding", baton->jpegOptimiseCoding ? "true": "false"}
|
|
1623
|
+
};
|
|
1624
|
+
std::string extname = baton->tileLayout == VIPS_FOREIGN_DZ_LAYOUT_DZ ? ".jpeg" : ".jpg";
|
|
1625
|
+
suffix = AssembleSuffixString(extname, options);
|
|
1626
|
+
}
|
|
1627
|
+
vips::VOption *options = VImage::option()
|
|
1628
|
+
->set("keep", baton->keepMetadata)
|
|
1629
|
+
->set("tile_size", baton->tileSize)
|
|
1630
|
+
->set("overlap", baton->tileOverlap)
|
|
1631
|
+
->set("container", baton->tileContainer)
|
|
1632
|
+
->set("layout", baton->tileLayout)
|
|
1633
|
+
->set("suffix", const_cast<char*>(suffix.data()))
|
|
1634
|
+
->set("angle", CalculateAngleRotation(baton->tileAngle))
|
|
1635
|
+
->set("background", baton->tileBackground)
|
|
1636
|
+
->set("centre", baton->tileCentre)
|
|
1637
|
+
->set("id", const_cast<char*>(baton->tileId.data()))
|
|
1638
|
+
->set("skip_blanks", baton->tileSkipBlanks);
|
|
1639
|
+
if (baton->tileDepth < VIPS_FOREIGN_DZ_DEPTH_LAST) {
|
|
1640
|
+
options->set("depth", baton->tileDepth);
|
|
1641
|
+
}
|
|
1642
|
+
if (!baton->tileBasename.empty()) {
|
|
1643
|
+
options->set("basename", const_cast<char*>(baton->tileBasename.data()));
|
|
1644
|
+
}
|
|
1645
|
+
return options;
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
VImage ReattachGainMap(VImage image, VImage gainMap, PipelineBaton *baton) {
|
|
1649
|
+
VipsArea *gainMapJpeg = reinterpret_cast<VipsArea*>(gainMap.jpegsave_buffer(VImage::option()
|
|
1650
|
+
->set("keep", FALSE)
|
|
1651
|
+
->set("Q", baton->jpegQuality)
|
|
1652
|
+
->set("subsample_mode", VIPS_FOREIGN_SUBSAMPLE_OFF)
|
|
1653
|
+
->set("trellis_quant", baton->jpegTrellisQuantisation)
|
|
1654
|
+
->set("quant_table", baton->jpegQuantisationTable)
|
|
1655
|
+
->set("overshoot_deringing", baton->jpegOvershootDeringing)
|
|
1656
|
+
->set("optimize_coding", baton->jpegOptimiseCoding)));
|
|
1657
|
+
image = image.copy();
|
|
1658
|
+
image.set("gainmap-data", reinterpret_cast<VipsCallbackFn>(vips_area_free_cb),
|
|
1659
|
+
gainMapJpeg->data, gainMapJpeg->length);
|
|
1660
|
+
return image;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
/*
|
|
1664
|
+
Clear all thread-local data.
|
|
1665
|
+
*/
|
|
1666
|
+
void Error() {
|
|
1667
|
+
// Clean up libvips' per-request data and threads
|
|
1668
|
+
vips_error_clear();
|
|
1669
|
+
vips_thread_shutdown();
|
|
1670
|
+
}
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
/*
|
|
1674
|
+
pipeline(options, output, callback)
|
|
1675
|
+
*/
|
|
1676
|
+
Napi::Value pipeline(const Napi::CallbackInfo& info) {
|
|
1677
|
+
// V8 objects are converted to non-V8 types held in the baton struct
|
|
1678
|
+
PipelineBaton *baton = new PipelineBaton;
|
|
1679
|
+
Napi::Object options = info[size_t(0)].As<Napi::Object>();
|
|
1680
|
+
|
|
1681
|
+
// Input
|
|
1682
|
+
baton->input = sharp::CreateInputDescriptor(options.Get("input").As<Napi::Object>());
|
|
1683
|
+
// Join images together
|
|
1684
|
+
if (sharp::HasAttr(options, "join")) {
|
|
1685
|
+
Napi::Array join = options.Get("join").As<Napi::Array>();
|
|
1686
|
+
for (unsigned int i = 0; i < join.Length(); i++) {
|
|
1687
|
+
baton->join.push_back(
|
|
1688
|
+
sharp::CreateInputDescriptor(join.Get(i).As<Napi::Object>()));
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
// Extract image options
|
|
1692
|
+
baton->topOffsetPre = sharp::AttrAsInt32(options, "topOffsetPre");
|
|
1693
|
+
baton->leftOffsetPre = sharp::AttrAsInt32(options, "leftOffsetPre");
|
|
1694
|
+
baton->widthPre = sharp::AttrAsInt32(options, "widthPre");
|
|
1695
|
+
baton->heightPre = sharp::AttrAsInt32(options, "heightPre");
|
|
1696
|
+
baton->topOffsetPost = sharp::AttrAsInt32(options, "topOffsetPost");
|
|
1697
|
+
baton->leftOffsetPost = sharp::AttrAsInt32(options, "leftOffsetPost");
|
|
1698
|
+
baton->widthPost = sharp::AttrAsInt32(options, "widthPost");
|
|
1699
|
+
baton->heightPost = sharp::AttrAsInt32(options, "heightPost");
|
|
1700
|
+
// Output image dimensions
|
|
1701
|
+
baton->width = sharp::AttrAsInt32(options, "width");
|
|
1702
|
+
baton->height = sharp::AttrAsInt32(options, "height");
|
|
1703
|
+
// Canvas option
|
|
1704
|
+
std::string canvas = sharp::AttrAsStr(options, "canvas");
|
|
1705
|
+
if (canvas == "crop") {
|
|
1706
|
+
baton->canvas = sharp::Canvas::CROP;
|
|
1707
|
+
} else if (canvas == "embed") {
|
|
1708
|
+
baton->canvas = sharp::Canvas::EMBED;
|
|
1709
|
+
} else if (canvas == "max") {
|
|
1710
|
+
baton->canvas = sharp::Canvas::MAX;
|
|
1711
|
+
} else if (canvas == "min") {
|
|
1712
|
+
baton->canvas = sharp::Canvas::MIN;
|
|
1713
|
+
} else if (canvas == "ignore_aspect") {
|
|
1714
|
+
baton->canvas = sharp::Canvas::IGNORE_ASPECT;
|
|
1715
|
+
}
|
|
1716
|
+
// Composite
|
|
1717
|
+
Napi::Array compositeArray = options.Get("composite").As<Napi::Array>();
|
|
1718
|
+
for (unsigned int i = 0; i < compositeArray.Length(); i++) {
|
|
1719
|
+
Napi::Object compositeObject = compositeArray.Get(i).As<Napi::Object>();
|
|
1720
|
+
Composite *composite = new Composite;
|
|
1721
|
+
composite->input = sharp::CreateInputDescriptor(compositeObject.Get("input").As<Napi::Object>());
|
|
1722
|
+
composite->mode = sharp::AttrAsEnum<VipsBlendMode>(compositeObject, "blend", VIPS_TYPE_BLEND_MODE);
|
|
1723
|
+
composite->gravity = sharp::AttrAsUint32(compositeObject, "gravity");
|
|
1724
|
+
composite->left = sharp::AttrAsInt32(compositeObject, "left");
|
|
1725
|
+
composite->top = sharp::AttrAsInt32(compositeObject, "top");
|
|
1726
|
+
composite->hasOffset = sharp::AttrAsBool(compositeObject, "hasOffset");
|
|
1727
|
+
composite->tile = sharp::AttrAsBool(compositeObject, "tile");
|
|
1728
|
+
composite->premultiplied = sharp::AttrAsBool(compositeObject, "premultiplied");
|
|
1729
|
+
baton->composite.push_back(composite);
|
|
1730
|
+
}
|
|
1731
|
+
// Resize options
|
|
1732
|
+
baton->withoutEnlargement = sharp::AttrAsBool(options, "withoutEnlargement");
|
|
1733
|
+
baton->withoutReduction = sharp::AttrAsBool(options, "withoutReduction");
|
|
1734
|
+
baton->position = sharp::AttrAsInt32(options, "position");
|
|
1735
|
+
baton->resizeBackground = sharp::AttrAsVectorOfDouble(options, "resizeBackground");
|
|
1736
|
+
baton->kernel = sharp::AttrAsEnum<VipsKernel>(options, "kernel", VIPS_TYPE_KERNEL);
|
|
1737
|
+
baton->fastShrinkOnLoad = sharp::AttrAsBool(options, "fastShrinkOnLoad");
|
|
1738
|
+
// Join Channel Options
|
|
1739
|
+
if (options.Has("joinChannelIn")) {
|
|
1740
|
+
Napi::Array joinChannelArray = options.Get("joinChannelIn").As<Napi::Array>();
|
|
1741
|
+
for (unsigned int i = 0; i < joinChannelArray.Length(); i++) {
|
|
1742
|
+
baton->joinChannelIn.push_back(
|
|
1743
|
+
sharp::CreateInputDescriptor(joinChannelArray.Get(i).As<Napi::Object>()));
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
// Operators
|
|
1747
|
+
baton->flatten = sharp::AttrAsBool(options, "flatten");
|
|
1748
|
+
baton->flattenBackground = sharp::AttrAsVectorOfDouble(options, "flattenBackground");
|
|
1749
|
+
baton->unflatten = sharp::AttrAsBool(options, "unflatten");
|
|
1750
|
+
baton->negate = sharp::AttrAsBool(options, "negate");
|
|
1751
|
+
baton->negateAlpha = sharp::AttrAsBool(options, "negateAlpha");
|
|
1752
|
+
baton->blurSigma = sharp::AttrAsDouble(options, "blurSigma");
|
|
1753
|
+
baton->precision = sharp::AttrAsEnum<VipsPrecision>(options, "precision", VIPS_TYPE_PRECISION);
|
|
1754
|
+
baton->minAmpl = sharp::AttrAsDouble(options, "minAmpl");
|
|
1755
|
+
baton->brightness = sharp::AttrAsDouble(options, "brightness");
|
|
1756
|
+
baton->saturation = sharp::AttrAsDouble(options, "saturation");
|
|
1757
|
+
baton->hue = sharp::AttrAsInt32(options, "hue");
|
|
1758
|
+
baton->lightness = sharp::AttrAsDouble(options, "lightness");
|
|
1759
|
+
baton->medianSize = sharp::AttrAsUint32(options, "medianSize");
|
|
1760
|
+
baton->sharpenSigma = sharp::AttrAsDouble(options, "sharpenSigma");
|
|
1761
|
+
baton->sharpenM1 = sharp::AttrAsDouble(options, "sharpenM1");
|
|
1762
|
+
baton->sharpenM2 = sharp::AttrAsDouble(options, "sharpenM2");
|
|
1763
|
+
baton->sharpenX1 = sharp::AttrAsDouble(options, "sharpenX1");
|
|
1764
|
+
baton->sharpenY2 = sharp::AttrAsDouble(options, "sharpenY2");
|
|
1765
|
+
baton->sharpenY3 = sharp::AttrAsDouble(options, "sharpenY3");
|
|
1766
|
+
baton->threshold = sharp::AttrAsInt32(options, "threshold");
|
|
1767
|
+
baton->thresholdGrayscale = sharp::AttrAsBool(options, "thresholdGrayscale");
|
|
1768
|
+
baton->trimBackground = sharp::AttrAsVectorOfDouble(options, "trimBackground");
|
|
1769
|
+
baton->trimThreshold = sharp::AttrAsDouble(options, "trimThreshold");
|
|
1770
|
+
baton->trimLineArt = sharp::AttrAsBool(options, "trimLineArt");
|
|
1771
|
+
baton->trimMargin = sharp::AttrAsUint32(options, "trimMargin");
|
|
1772
|
+
baton->gamma = sharp::AttrAsDouble(options, "gamma");
|
|
1773
|
+
baton->gammaOut = sharp::AttrAsDouble(options, "gammaOut");
|
|
1774
|
+
baton->linearA = sharp::AttrAsVectorOfDouble(options, "linearA");
|
|
1775
|
+
baton->linearB = sharp::AttrAsVectorOfDouble(options, "linearB");
|
|
1776
|
+
baton->dilateWidth = sharp::AttrAsUint32(options, "dilateWidth");
|
|
1777
|
+
baton->erodeWidth = sharp::AttrAsUint32(options, "erodeWidth");
|
|
1778
|
+
baton->greyscale = sharp::AttrAsBool(options, "greyscale");
|
|
1779
|
+
baton->normalise = sharp::AttrAsBool(options, "normalise");
|
|
1780
|
+
baton->normaliseLower = sharp::AttrAsUint32(options, "normaliseLower");
|
|
1781
|
+
baton->normaliseUpper = sharp::AttrAsUint32(options, "normaliseUpper");
|
|
1782
|
+
baton->tint = sharp::AttrAsVectorOfDouble(options, "tint");
|
|
1783
|
+
baton->claheWidth = sharp::AttrAsUint32(options, "claheWidth");
|
|
1784
|
+
baton->claheHeight = sharp::AttrAsUint32(options, "claheHeight");
|
|
1785
|
+
baton->claheMaxSlope = sharp::AttrAsUint32(options, "claheMaxSlope");
|
|
1786
|
+
baton->angle = sharp::AttrAsInt32(options, "angle");
|
|
1787
|
+
baton->rotationAngle = sharp::AttrAsDouble(options, "rotationAngle");
|
|
1788
|
+
baton->rotationBackground = sharp::AttrAsVectorOfDouble(options, "rotationBackground");
|
|
1789
|
+
baton->rotateBefore = sharp::AttrAsBool(options, "rotateBefore");
|
|
1790
|
+
baton->orientBefore = sharp::AttrAsBool(options, "orientBefore");
|
|
1791
|
+
baton->flip = sharp::AttrAsBool(options, "flip");
|
|
1792
|
+
baton->flop = sharp::AttrAsBool(options, "flop");
|
|
1793
|
+
baton->extendTop = sharp::AttrAsInt32(options, "extendTop");
|
|
1794
|
+
baton->extendBottom = sharp::AttrAsInt32(options, "extendBottom");
|
|
1795
|
+
baton->extendLeft = sharp::AttrAsInt32(options, "extendLeft");
|
|
1796
|
+
baton->extendRight = sharp::AttrAsInt32(options, "extendRight");
|
|
1797
|
+
baton->extendBackground = sharp::AttrAsVectorOfDouble(options, "extendBackground");
|
|
1798
|
+
baton->extendWith = sharp::AttrAsEnum<VipsExtend>(options, "extendWith", VIPS_TYPE_EXTEND);
|
|
1799
|
+
baton->extractChannel = sharp::AttrAsInt32(options, "extractChannel");
|
|
1800
|
+
baton->affineMatrix = sharp::AttrAsVectorOfDouble(options, "affineMatrix");
|
|
1801
|
+
baton->affineBackground = sharp::AttrAsVectorOfDouble(options, "affineBackground");
|
|
1802
|
+
baton->affineIdx = sharp::AttrAsDouble(options, "affineIdx");
|
|
1803
|
+
baton->affineIdy = sharp::AttrAsDouble(options, "affineIdy");
|
|
1804
|
+
baton->affineOdx = sharp::AttrAsDouble(options, "affineOdx");
|
|
1805
|
+
baton->affineOdy = sharp::AttrAsDouble(options, "affineOdy");
|
|
1806
|
+
baton->affineInterpolator = sharp::AttrAsStr(options, "affineInterpolator");
|
|
1807
|
+
baton->removeAlpha = sharp::AttrAsBool(options, "removeAlpha");
|
|
1808
|
+
baton->ensureAlpha = sharp::AttrAsDouble(options, "ensureAlpha");
|
|
1809
|
+
if (options.Has("boolean")) {
|
|
1810
|
+
baton->boolean = sharp::CreateInputDescriptor(options.Get("boolean").As<Napi::Object>());
|
|
1811
|
+
baton->booleanOp = sharp::AttrAsEnum<VipsOperationBoolean>(options, "booleanOp", VIPS_TYPE_OPERATION_BOOLEAN);
|
|
1812
|
+
}
|
|
1813
|
+
if (options.Has("bandBoolOp")) {
|
|
1814
|
+
baton->bandBoolOp = sharp::AttrAsEnum<VipsOperationBoolean>(options, "bandBoolOp", VIPS_TYPE_OPERATION_BOOLEAN);
|
|
1815
|
+
}
|
|
1816
|
+
if (options.Has("convKernel")) {
|
|
1817
|
+
Napi::Object kernel = options.Get("convKernel").As<Napi::Object>();
|
|
1818
|
+
baton->convKernelWidth = sharp::AttrAsUint32(kernel, "width");
|
|
1819
|
+
baton->convKernelHeight = sharp::AttrAsUint32(kernel, "height");
|
|
1820
|
+
baton->convKernelScale = sharp::AttrAsDouble(kernel, "scale");
|
|
1821
|
+
baton->convKernelOffset = sharp::AttrAsDouble(kernel, "offset");
|
|
1822
|
+
size_t const kernelSize = static_cast<size_t>(baton->convKernelWidth * baton->convKernelHeight);
|
|
1823
|
+
baton->convKernel.resize(kernelSize);
|
|
1824
|
+
Napi::Array kdata = kernel.Get("kernel").As<Napi::Array>();
|
|
1825
|
+
for (unsigned int i = 0; i < kernelSize; i++) {
|
|
1826
|
+
baton->convKernel[i] = sharp::AttrAsDouble(kdata, i);
|
|
1827
|
+
}
|
|
1828
|
+
}
|
|
1829
|
+
if (options.Has("recombMatrix")) {
|
|
1830
|
+
Napi::Array recombMatrix = options.Get("recombMatrix").As<Napi::Array>();
|
|
1831
|
+
unsigned int matrixElements = recombMatrix.Length();
|
|
1832
|
+
baton->recombMatrix.resize(matrixElements);
|
|
1833
|
+
for (unsigned int i = 0; i < matrixElements; i++) {
|
|
1834
|
+
baton->recombMatrix[i] = sharp::AttrAsDouble(recombMatrix, i);
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
baton->colourspacePipeline = sharp::AttrAsEnum<VipsInterpretation>(
|
|
1838
|
+
options, "colourspacePipeline", VIPS_TYPE_INTERPRETATION);
|
|
1839
|
+
if (baton->colourspacePipeline == VIPS_INTERPRETATION_ERROR) {
|
|
1840
|
+
baton->colourspacePipeline = VIPS_INTERPRETATION_LAST;
|
|
1841
|
+
}
|
|
1842
|
+
baton->colourspace = sharp::AttrAsEnum<VipsInterpretation>(options, "colourspace", VIPS_TYPE_INTERPRETATION);
|
|
1843
|
+
if (baton->colourspace == VIPS_INTERPRETATION_ERROR) {
|
|
1844
|
+
baton->colourspace = VIPS_INTERPRETATION_sRGB;
|
|
1845
|
+
}
|
|
1846
|
+
// Output
|
|
1847
|
+
baton->formatOut = sharp::AttrAsStr(options, "formatOut");
|
|
1848
|
+
baton->fileOut = sharp::AttrAsStr(options, "fileOut");
|
|
1849
|
+
baton->typedArrayOut = sharp::AttrAsBool(options, "typedArrayOut");
|
|
1850
|
+
baton->keepMetadata = sharp::AttrAsUint32(options, "keepMetadata");
|
|
1851
|
+
baton->withMetadataOrientation = sharp::AttrAsUint32(options, "withMetadataOrientation");
|
|
1852
|
+
baton->withMetadataDensity = sharp::AttrAsDouble(options, "withMetadataDensity");
|
|
1853
|
+
baton->withIccProfile = sharp::AttrAsStr(options, "withIccProfile");
|
|
1854
|
+
Napi::Object withExif = options.Get("withExif").As<Napi::Object>();
|
|
1855
|
+
Napi::Array withExifKeys = withExif.GetPropertyNames();
|
|
1856
|
+
for (unsigned int i = 0; i < withExifKeys.Length(); i++) {
|
|
1857
|
+
std::string k = sharp::AttrAsStr(withExifKeys, i);
|
|
1858
|
+
if (withExif.HasOwnProperty(k)) {
|
|
1859
|
+
baton->withExif.insert(std::make_pair(k, sharp::AttrAsStr(withExif, k)));
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
baton->withExifMerge = sharp::AttrAsBool(options, "withExifMerge");
|
|
1863
|
+
baton->withXmp = sharp::AttrAsStr(options, "withXmp");
|
|
1864
|
+
baton->keepGainMap = sharp::AttrAsBool(options, "keepGainMap");
|
|
1865
|
+
baton->withGainMap = sharp::AttrAsBool(options, "withGainMap");
|
|
1866
|
+
baton->timeoutSeconds = sharp::AttrAsUint32(options, "timeoutSeconds");
|
|
1867
|
+
baton->loop = sharp::AttrAsUint32(options, "loop");
|
|
1868
|
+
baton->delay = sharp::AttrAsInt32Vector(options, "delay");
|
|
1869
|
+
// Format-specific
|
|
1870
|
+
baton->jpegQuality = sharp::AttrAsUint32(options, "jpegQuality");
|
|
1871
|
+
baton->jpegProgressive = sharp::AttrAsBool(options, "jpegProgressive");
|
|
1872
|
+
baton->jpegChromaSubsampling = sharp::AttrAsStr(options, "jpegChromaSubsampling");
|
|
1873
|
+
baton->jpegTrellisQuantisation = sharp::AttrAsBool(options, "jpegTrellisQuantisation");
|
|
1874
|
+
baton->jpegQuantisationTable = sharp::AttrAsUint32(options, "jpegQuantisationTable");
|
|
1875
|
+
baton->jpegOvershootDeringing = sharp::AttrAsBool(options, "jpegOvershootDeringing");
|
|
1876
|
+
baton->jpegOptimiseScans = sharp::AttrAsBool(options, "jpegOptimiseScans");
|
|
1877
|
+
baton->jpegOptimiseCoding = sharp::AttrAsBool(options, "jpegOptimiseCoding");
|
|
1878
|
+
baton->pngProgressive = sharp::AttrAsBool(options, "pngProgressive");
|
|
1879
|
+
baton->pngCompressionLevel = sharp::AttrAsUint32(options, "pngCompressionLevel");
|
|
1880
|
+
baton->pngAdaptiveFiltering = sharp::AttrAsBool(options, "pngAdaptiveFiltering");
|
|
1881
|
+
baton->pngPalette = sharp::AttrAsBool(options, "pngPalette");
|
|
1882
|
+
baton->pngQuality = sharp::AttrAsUint32(options, "pngQuality");
|
|
1883
|
+
baton->pngEffort = sharp::AttrAsUint32(options, "pngEffort");
|
|
1884
|
+
baton->pngBitdepth = sharp::AttrAsUint32(options, "pngBitdepth");
|
|
1885
|
+
baton->pngDither = sharp::AttrAsDouble(options, "pngDither");
|
|
1886
|
+
baton->jp2Quality = sharp::AttrAsUint32(options, "jp2Quality");
|
|
1887
|
+
baton->jp2Lossless = sharp::AttrAsBool(options, "jp2Lossless");
|
|
1888
|
+
baton->jp2TileHeight = sharp::AttrAsUint32(options, "jp2TileHeight");
|
|
1889
|
+
baton->jp2TileWidth = sharp::AttrAsUint32(options, "jp2TileWidth");
|
|
1890
|
+
baton->jp2ChromaSubsampling = sharp::AttrAsStr(options, "jp2ChromaSubsampling");
|
|
1891
|
+
baton->webpQuality = sharp::AttrAsUint32(options, "webpQuality");
|
|
1892
|
+
baton->webpAlphaQuality = sharp::AttrAsUint32(options, "webpAlphaQuality");
|
|
1893
|
+
baton->webpLossless = sharp::AttrAsBool(options, "webpLossless");
|
|
1894
|
+
baton->webpNearLossless = sharp::AttrAsBool(options, "webpNearLossless");
|
|
1895
|
+
baton->webpSmartSubsample = sharp::AttrAsBool(options, "webpSmartSubsample");
|
|
1896
|
+
baton->webpSmartDeblock = sharp::AttrAsBool(options, "webpSmartDeblock");
|
|
1897
|
+
baton->webpPreset = sharp::AttrAsEnum<VipsForeignWebpPreset>(options, "webpPreset", VIPS_TYPE_FOREIGN_WEBP_PRESET);
|
|
1898
|
+
baton->webpEffort = sharp::AttrAsUint32(options, "webpEffort");
|
|
1899
|
+
baton->webpMinSize = sharp::AttrAsBool(options, "webpMinSize");
|
|
1900
|
+
baton->webpMixed = sharp::AttrAsBool(options, "webpMixed");
|
|
1901
|
+
baton->webpExact = sharp::AttrAsBool(options, "webpExact");
|
|
1902
|
+
baton->gifBitdepth = sharp::AttrAsUint32(options, "gifBitdepth");
|
|
1903
|
+
baton->gifEffort = sharp::AttrAsUint32(options, "gifEffort");
|
|
1904
|
+
baton->gifDither = sharp::AttrAsDouble(options, "gifDither");
|
|
1905
|
+
baton->gifInterFrameMaxError = sharp::AttrAsDouble(options, "gifInterFrameMaxError");
|
|
1906
|
+
baton->gifInterPaletteMaxError = sharp::AttrAsDouble(options, "gifInterPaletteMaxError");
|
|
1907
|
+
baton->gifKeepDuplicateFrames = sharp::AttrAsBool(options, "gifKeepDuplicateFrames");
|
|
1908
|
+
baton->gifReuse = sharp::AttrAsBool(options, "gifReuse");
|
|
1909
|
+
baton->gifProgressive = sharp::AttrAsBool(options, "gifProgressive");
|
|
1910
|
+
baton->tiffQuality = sharp::AttrAsUint32(options, "tiffQuality");
|
|
1911
|
+
baton->tiffBigtiff = sharp::AttrAsBool(options, "tiffBigtiff");
|
|
1912
|
+
baton->tiffPyramid = sharp::AttrAsBool(options, "tiffPyramid");
|
|
1913
|
+
baton->tiffMiniswhite = sharp::AttrAsBool(options, "tiffMiniswhite");
|
|
1914
|
+
baton->tiffBitdepth = sharp::AttrAsUint32(options, "tiffBitdepth");
|
|
1915
|
+
baton->tiffTile = sharp::AttrAsBool(options, "tiffTile");
|
|
1916
|
+
baton->tiffTileWidth = sharp::AttrAsUint32(options, "tiffTileWidth");
|
|
1917
|
+
baton->tiffTileHeight = sharp::AttrAsUint32(options, "tiffTileHeight");
|
|
1918
|
+
baton->tiffXres = sharp::AttrAsDouble(options, "tiffXres");
|
|
1919
|
+
baton->tiffYres = sharp::AttrAsDouble(options, "tiffYres");
|
|
1920
|
+
if (baton->tiffXres == 1.0 && baton->tiffYres == 1.0 && baton->withMetadataDensity > 0) {
|
|
1921
|
+
baton->tiffXres = baton->tiffYres = baton->withMetadataDensity / 25.4;
|
|
1922
|
+
}
|
|
1923
|
+
baton->tiffCompression = sharp::AttrAsEnum<VipsForeignTiffCompression>(
|
|
1924
|
+
options, "tiffCompression", VIPS_TYPE_FOREIGN_TIFF_COMPRESSION);
|
|
1925
|
+
baton->tiffPredictor = sharp::AttrAsEnum<VipsForeignTiffPredictor>(
|
|
1926
|
+
options, "tiffPredictor", VIPS_TYPE_FOREIGN_TIFF_PREDICTOR);
|
|
1927
|
+
baton->tiffResolutionUnit = sharp::AttrAsEnum<VipsForeignTiffResunit>(
|
|
1928
|
+
options, "tiffResolutionUnit", VIPS_TYPE_FOREIGN_TIFF_RESUNIT);
|
|
1929
|
+
baton->heifQuality = sharp::AttrAsUint32(options, "heifQuality");
|
|
1930
|
+
baton->heifLossless = sharp::AttrAsBool(options, "heifLossless");
|
|
1931
|
+
baton->heifCompression = sharp::AttrAsEnum<VipsForeignHeifCompression>(
|
|
1932
|
+
options, "heifCompression", VIPS_TYPE_FOREIGN_HEIF_COMPRESSION);
|
|
1933
|
+
baton->heifEffort = sharp::AttrAsUint32(options, "heifEffort");
|
|
1934
|
+
baton->heifChromaSubsampling = sharp::AttrAsStr(options, "heifChromaSubsampling");
|
|
1935
|
+
baton->heifBitdepth = sharp::AttrAsUint32(options, "heifBitdepth");
|
|
1936
|
+
baton->heifTune = sharp::AttrAsStr(options, "heifTune");
|
|
1937
|
+
baton->jxlDistance = sharp::AttrAsDouble(options, "jxlDistance");
|
|
1938
|
+
baton->jxlDecodingTier = sharp::AttrAsUint32(options, "jxlDecodingTier");
|
|
1939
|
+
baton->jxlEffort = sharp::AttrAsUint32(options, "jxlEffort");
|
|
1940
|
+
baton->jxlLossless = sharp::AttrAsBool(options, "jxlLossless");
|
|
1941
|
+
baton->rawDepth = sharp::AttrAsEnum<VipsBandFormat>(options, "rawDepth", VIPS_TYPE_BAND_FORMAT);
|
|
1942
|
+
baton->tileSize = sharp::AttrAsUint32(options, "tileSize");
|
|
1943
|
+
baton->tileOverlap = sharp::AttrAsUint32(options, "tileOverlap");
|
|
1944
|
+
baton->tileAngle = sharp::AttrAsInt32(options, "tileAngle");
|
|
1945
|
+
baton->tileBackground = sharp::AttrAsVectorOfDouble(options, "tileBackground");
|
|
1946
|
+
baton->tileSkipBlanks = sharp::AttrAsInt32(options, "tileSkipBlanks");
|
|
1947
|
+
baton->tileContainer = sharp::AttrAsEnum<VipsForeignDzContainer>(
|
|
1948
|
+
options, "tileContainer", VIPS_TYPE_FOREIGN_DZ_CONTAINER);
|
|
1949
|
+
baton->tileLayout = sharp::AttrAsEnum<VipsForeignDzLayout>(options, "tileLayout", VIPS_TYPE_FOREIGN_DZ_LAYOUT);
|
|
1950
|
+
baton->tileFormat = sharp::AttrAsStr(options, "tileFormat");
|
|
1951
|
+
baton->tileDepth = sharp::AttrAsEnum<VipsForeignDzDepth>(options, "tileDepth", VIPS_TYPE_FOREIGN_DZ_DEPTH);
|
|
1952
|
+
baton->tileCentre = sharp::AttrAsBool(options, "tileCentre");
|
|
1953
|
+
baton->tileId = sharp::AttrAsStr(options, "tileId");
|
|
1954
|
+
baton->tileBasename = sharp::AttrAsStr(options, "tileBasename");
|
|
1955
|
+
|
|
1956
|
+
// Function to notify of libvips warnings
|
|
1957
|
+
Napi::Function debuglog = options.Get("debuglog").As<Napi::Function>();
|
|
1958
|
+
|
|
1959
|
+
// Function to notify of queue length changes
|
|
1960
|
+
Napi::Function queueListener = options.Get("queueListener").As<Napi::Function>();
|
|
1961
|
+
|
|
1962
|
+
// Join queue for worker thread
|
|
1963
|
+
Napi::Function callback = info[size_t(1)].As<Napi::Function>();
|
|
1964
|
+
PipelineWorker *worker = new PipelineWorker(callback, baton, debuglog, queueListener);
|
|
1965
|
+
worker->Receiver().Set("options", options);
|
|
1966
|
+
worker->Queue();
|
|
1967
|
+
|
|
1968
|
+
// Increment queued task counter
|
|
1969
|
+
Napi::Number queueLength = Napi::Number::New(info.Env(), static_cast<int>(++sharp::counterQueue));
|
|
1970
|
+
queueListener.SHARP_CALLBACK_FN_NAME(info.This(), { queueLength });
|
|
1971
|
+
|
|
1972
|
+
return info.Env().Undefined();
|
|
1973
|
+
}
|