From 988698460cc8fee2b33859c10224039f2b6ee881 Mon Sep 17 00:00:00 2001 From: Raj Palkar Date: Tue, 7 Sep 2021 14:02:39 -0700 Subject: [PATCH] Version 2.8.0 alexa-smart-screen-sdk *** Breaking Changes *** * APL Client Library has been extracted into separate GitHub repo [https://github.com/alexa/apl-client-library/tree/v1.7.2]. Users will need to pull the APL Client Library to build the Smart Screen SDK. *** Enhancements *** * Upgraded dependency to Device SDK 1.25.0 [https://github.com/alexa/avs-device-sdk/tree/v1.25.0] * Added support for APL 1.7 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-latest-version.html] * Captions support for right-to-left languages * Upgraded node version requirement to 14.17.4 * Upgraded typescript version to 3.4 and refreshed the package-lock.json with new dependencies. Note that users upgrading to this version will need to remove the existing node modules from modules/GUI/js/node_modules before the build. --- CHANGELOG.md | 17 +- CMakeLists.txt | 2 +- README.md | 15 +- modules/Alexa/APLClientLibrary/.gitignore | 4 - .../APLClientLibrary/APLClient/CMakeLists.txt | 5 - .../include/APLClient/AplClientBinding.h | 77 - .../include/APLClient/AplClientRenderer.h | 205 - .../include/APLClient/AplConfiguration.h | 69 - .../APLClient/AplCoreConnectionManager.h | 555 - .../APLClient/AplCoreEngineLogBridge.h | 43 - .../include/APLClient/AplCoreGuiRenderer.h | 101 - .../include/APLClient/AplCoreLocaleMethods.h | 47 - .../include/APLClient/AplCoreMetrics.h | 73 - .../APLClient/AplCoreTextMeasurement.h | 76 - .../APLClient/AplCoreViewhostMessage.h | 115 - .../include/APLClient/AplOptionsInterface.h | 191 - .../include/APLClient/AplRenderingEvent.h | 39 - .../APLClient/AplRenderingEventObserver.h | 69 - .../AplCoreExtensionEventCallbackInterface.h | 54 - ...oreExtensionEventCallbackResultInterface.h | 41 - .../AplCoreExtensionEventHandlerInterface.h | 49 - .../Extensions/AplCoreExtensionInterface.h | 175 - .../Extensions/AplCoreExtensionManager.h | 93 - .../APLClient/Extensions/AplDocumentState.h | 79 - .../AplAudioPlayerAlarmsExtension.h | 78 - ...ioPlayerAlarmsExtensionObserverInterface.h | 54 - .../AudioPlayer/AplAudioPlayerExtension.h | 221 - ...AplAudioPlayerExtensionObserverInterface.h | 109 - .../Backstack/AplBackstackExtension.h | 342 - .../Backstack/AplBackstackExtensionObserver.h | 48 - .../APLClient/Telemetry/AplMetricsRecorder.h | 95 - .../Telemetry/AplMetricsRecorderInterface.h | 257 - .../Telemetry/AplMetricsSinkInterface.h | 47 - .../Telemetry/DownloadMetricsEmitter.h | 76 - .../Telemetry/NullAplMetricsRecorder.h | 88 - .../APLClient/src/AplClientBinding.cpp | 47 - .../APLClient/src/AplClientRenderer.cpp | 321 - .../APLClient/src/AplConfiguration.cpp | 44 - .../src/AplCoreConnectionManager.cpp | 1667 -- .../APLClient/src/AplCoreEngineLogBridge.cpp | 50 - .../APLClient/src/AplCoreGuiRenderer.cpp | 175 - .../APLClient/src/AplCoreLocaleMethods.cpp | 67 - .../APLClient/src/AplCoreMetrics.cpp | 42 - .../APLClient/src/AplCoreTextMeasurement.cpp | 170 - .../APLClient/src/CMakeLists.txt | 70 - .../Extensions/AplCoreExtensionManager.cpp | 80 - .../AplAudioPlayerAlarmsExtension.cpp | 98 - .../AudioPlayer/AplAudioPlayerExtension.cpp | 279 - .../Backstack/AplBackstackExtension.cpp | 198 - .../src/Telemetry/AplMetricsRecorder.cpp | 490 - .../Telemetry/AplMetricsRecorderInterface.cpp | 26 - .../src/Telemetry/DownloadMetricsEmitter.cpp | 61 - .../src/Telemetry/NullAplMetricsRecorder.cpp | 92 - .../test/AplCoreConnectionManagerTest.cpp | 964 - .../APLClient/test/AplCoreGuiRendererTest.cpp | 203 - .../APLClient/test/CMakeLists.txt | 8 - .../Extensions/AplBackstackExtensionTest.cpp | 242 - .../AplAudioPlayerAlarmsExtensionTest.cpp | 138 - .../AplAudioPlayerExtensionTest.cpp | 358 - .../test/MockAplCoreConnectionManager.h | 33 - .../APLClient/test/MockAplOptionsInterface.h | 60 - .../test/Telemetry/AplMetricsRecorderTest.cpp | 275 - .../Alexa/APLClientLibrary/BuildOptions.cmake | 97 - modules/Alexa/APLClientLibrary/CMakeLists.txt | 18 - .../@types/apl-html/lib/APLRenderer.d.ts | 341 - .../apl-html/lib/AudioPlayerWrapper.d.ts | 5 - .../@types/apl-html/lib/CommandFactory.d.ts | 5 - .../@types/apl-html/lib/ComponentFactory.d.ts | 8 - .../@types/apl-html/lib/Content.d.ts | 78 - .../apl-html/lib/assets/css/fonts.css.d.ts | 4 - .../lib/components/ActionableComponent.d.ts | 14 - .../apl-html/lib/components/Component.d.ts | 150 - .../apl-html/lib/components/Container.d.ts | 13 - .../apl-html/lib/components/EditText.d.ts | 75 - .../@types/apl-html/lib/components/Frame.d.ts | 27 - .../apl-html/lib/components/GridSequence.d.ts | 14 - .../@types/apl-html/lib/components/Image.d.ts | 88 - .../lib/components/MultiChildScrollable.d.ts | 43 - .../apl-html/lib/components/ScrollView.d.ts | 29 - .../apl-html/lib/components/Scrollable.d.ts | 47 - .../apl-html/lib/components/Sequence.d.ts | 13 - .../apl-html/lib/components/TouchWrapper.d.ts | 22 - .../apl-html/lib/components/avg/AVG.d.ts | 30 - .../apl-html/lib/components/avg/AVGText.d.ts | 11 - .../apl-html/lib/components/avg/Filter.d.ts | 21 - .../apl-html/lib/components/avg/Group.d.ts | 12 - .../apl-html/lib/components/avg/Path.d.ts | 10 - .../lib/components/avg/VectorGraphic.d.ts | 30 - .../avg/VectorGraphicElementUpdater.d.ts | 21 - .../lib/components/filters/Blend.d.ts | 21 - .../apl-html/lib/components/filters/Blur.d.ts | 14 - .../lib/components/filters/Color.d.ts | 13 - .../lib/components/filters/Gradient.d.ts | 20 - .../lib/components/filters/Grayscale.d.ts | 20 - .../lib/components/filters/ImageFilter.d.ts | 53 - .../lib/components/filters/Noise.d.ts | 40 - .../lib/components/filters/Saturate.d.ts | 14 - .../lib/components/pager/PagerComponent.d.ts | 61 - .../lib/components/text/MeasureMode.d.ts | 12 - .../apl-html/lib/components/text/Text.d.ts | 74 - .../video/AbstractVideoComponent.d.ts | 50 - .../lib/components/video/IVideoFactory.d.ts | 10 - .../apl-html/lib/components/video/Video.d.ts | 66 - .../lib/components/video/VideoFactory.d.ts | 11 - .../lib/components/video/VideoHolder.d.ts | 33 - .../@types/apl-html/lib/dts/Action.d.ts | 16 - .../@types/apl-html/lib/dts/Component.d.ts | 39 - .../apl-html/lib/dts/ConfigurationChange.d.ts | 16 - .../@types/apl-html/lib/dts/Content.d.ts | 27 - .../@types/apl-html/lib/dts/Context.d.ts | 60 - .../@types/apl-html/lib/dts/Event.d.ts | 18 - .../@types/apl-html/lib/dts/Extension.d.ts | 29 - .../apl-html/lib/dts/ExtensionClient.d.ts | 12 - .../@types/apl-html/lib/dts/Graphic.d.ts | 18 - .../apl-html/lib/dts/GraphicElement.d.ts | 14 - .../apl-html/lib/dts/GraphicPattern.d.ts | 14 - .../@types/apl-html/lib/dts/Keyboard.d.ts | 16 - .../@types/apl-html/lib/dts/LiveArray.d.ts | 20 - .../@types/apl-html/lib/dts/LiveMap.d.ts | 17 - .../@types/apl-html/lib/dts/Logger.d.ts | 10 - .../@types/apl-html/lib/dts/Metrics.d.ts | 14 - .../@types/apl-html/lib/dts/Module.d.ts | 84 - .../@types/apl-html/lib/dts/Radii.d.ts | 12 - .../@types/apl-html/lib/dts/Rect.d.ts | 13 - .../@types/apl-html/lib/dts/RootConfig.d.ts | 19 - .../@types/apl-html/lib/dts/StyledText.d.ts | 16 - .../apl-html/lib/enums/AnimationQuality.d.ts | 9 - .../@types/apl-html/lib/enums/AudioTrack.d.ts | 9 - .../@types/apl-html/lib/enums/BlendMode.d.ts | 22 - .../apl-html/lib/enums/CommandAudioTrack.d.ts | 9 - .../lib/enums/CommandControlMedia.d.ts | 13 - .../lib/enums/CommandHighlightMode.d.ts | 8 - .../apl-html/lib/enums/CommandPosition.d.ts | 8 - .../lib/enums/CommandScrollAlign.d.ts | 10 - .../apl-html/lib/enums/CommandType.d.ts | 30 - .../apl-html/lib/enums/ComponentType.d.ts | 18 - .../lib/enums/ContainerDirection.d.ts | 10 - .../apl-html/lib/enums/EventProperty.d.ts | 21 - .../@types/apl-html/lib/enums/EventType.d.ts | 36 - .../@types/apl-html/lib/enums/FilterType.d.ts | 14 - .../apl-html/lib/enums/FlexboxAlign.d.ts | 12 - .../lib/enums/FlexboxJustifyContent.d.ts | 11 - .../@types/apl-html/lib/enums/FontStyle.d.ts | 8 - .../lib/enums/GradientSpreadMethod.d.ts | 9 - .../apl-html/lib/enums/GradientType.d.ts | 10 - .../apl-html/lib/enums/GradientUnits.d.ts | 8 - .../lib/enums/GraphicElementType.d.ts | 10 - .../apl-html/lib/enums/GraphicFilterType.d.ts | 7 - .../lib/enums/GraphicPropertyKey.d.ts | 54 - .../@types/apl-html/lib/enums/ImageAlign.d.ts | 15 - .../@types/apl-html/lib/enums/ImageScale.d.ts | 11 - .../apl-html/lib/enums/KeyboardType.d.ts | 12 - .../@types/apl-html/lib/enums/LogLevel.d.ts | 20 - .../@types/apl-html/lib/enums/Navigation.d.ts | 10 - .../apl-html/lib/enums/NoiseFilterKind.d.ts | 8 - .../apl-html/lib/enums/PointerEventType.d.ts | 18 - .../apl-html/lib/enums/PointerType.d.ts | 8 - .../@types/apl-html/lib/enums/Position.d.ts | 8 - .../apl-html/lib/enums/PropertyKey.d.ts | 160 - .../apl-html/lib/enums/ScrollDirection.d.ts | 8 - .../@types/apl-html/lib/enums/TextAlign.d.ts | 10 - .../apl-html/lib/enums/TextAlignVertical.d.ts | 10 - .../@types/apl-html/lib/enums/UpdateType.d.ts | 22 - .../lib/enums/VectorGraphicAlign.d.ts | 15 - .../lib/enums/VectorGraphicScale.d.ts | 10 - .../@types/apl-html/lib/enums/VideoScale.d.ts | 8 - .../IExtensionEventCallbackResult.d.ts | 10 - .../lib/extensions/IExtensionManager.d.ts | 16 - .../@types/apl-html/lib/index.d.ts | 89 - .../@types/apl-html/lib/logging/ILogger.d.ts | 43 - .../@types/apl-html/lib/logging/LogLevel.d.ts | 5 - .../apl-html/lib/logging/LogTransport.d.ts | 17 - .../apl-html/lib/logging/LoggerFactory.d.ts | 28 - .../lib/media/IMediaEventListener.d.ts | 11 - .../apl-html/lib/media/IMediaSource.d.ts | 30 - .../@types/apl-html/lib/media/IPlayer.d.ts | 43 - .../apl-html/lib/media/PlaybackManager.d.ts | 38 - .../@types/apl-html/lib/media/Resource.d.ts | 56 - .../lib/media/audio/AudioContextProvider.d.ts | 27 - .../apl-html/lib/media/audio/AudioPlayer.d.ts | 21 - .../lib/media/audio/DefaultAudioPlayer.d.ts | 12 - .../lib/media/audio/IAudioEventListener.d.ts | 42 - .../apl-html/lib/media/audio/SpeechMarks.d.ts | 41 - .../lib/media/video/HLSVideoPlayer.d.ts | 16 - .../apl-html/lib/media/video/VideoPlayer.d.ts | 34 - .../apl-html/lib/utils/FilterUtils.d.ts | 46 - .../@types/apl-html/lib/utils/FontUtils.d.ts | 16 - .../apl-html/lib/utils/LocaleMethods.d.ts | 8 - .../@types/apl-html/lib/utils/SoftRandom.d.ts | 21 - .../@types/eventemitter3/index.d.ts | 56 - .../apl-client-js/APLAction.d.ts | 5 - .../apl-client-js/APLClient.d.ts | 208 - .../apl-client-js/APLComponent.d.ts | 5 - .../apl-client-js/APLConfigurationChange.d.ts | 23 - .../apl-client-js/APLContext.d.ts | 5 - .../apl-client-js/APLEvent.d.ts | 5 - .../apl-client-js/APLRadii.d.ts | 5 - .../apl-client-js/APLRect.d.ts | 5 - .../apl-client-js/APLWSRenderer.d.ts | 32 - .../APLClientLibrary/apl-client-js/Bimap.d.ts | 5 - .../apl-client-js/Transforms.d.ts | 34 - .../apl-client-js/WebSocketClient.d.ts | 20 - .../apl-client-js/apl-client-attribution.txt | 17557 ---------------- .../apl-client-js/apl-client-packages.json | 3466 --- .../apl-client-js/avg/APLGraphic.d.ts | 36 - .../apl-client-js/avg/APLGraphicElement.d.ts | 31 - .../apl-client-js/avg/APLGraphicPattern.d.ts | 27 - .../apl-client-js/avg/GraphicProperties.d.ts | 7 - .../APLClientLibrary/apl-client-js/index.d.ts | 10 - .../APLClientLibrary/apl-client-js/index.js | 154 - .../apl-client-js/package.json | 8 - .../Alexa/APLClientLibrary/apl-release.json | 19 - .../APLClientLibrary/tools/Testing.cmake | 48 - modules/Alexa/CMakeLists.txt | 2 +- .../include/SampleApp/AplClientBridge.h | 16 + .../include/SampleApp/GUI/GUIManager.h | 3 + .../include/SampleApp/JsonUIManager.h | 11 +- .../SampleApp/Messages/GUIClientMessage.h | 26 +- .../include/SampleApp/SampleApplication.h | 13 + .../Alexa/SampleApp/src/AplClientBridge.cpp | 35 +- modules/Alexa/SampleApp/src/CMakeLists.txt | 7 +- modules/Alexa/SampleApp/src/GUI/GUIClient.cpp | 4 +- .../Alexa/SampleApp/src/GUI/GUIManager.cpp | 31 + modules/Alexa/SampleApp/src/JsonUIManager.cpp | 9 + .../Alexa/SampleApp/src/KeywordObserver.cpp | 67 +- .../src/PortAudioMicrophoneWrapper.cpp | 6 +- .../Alexa/SampleApp/src/SampleApplication.cpp | 123 +- modules/Alexa/SampleApp/src/main.cpp | 2 +- .../AlexaPresentation/AlexaPresentation.h | 16 +- .../src/AlexaPresentation.cpp | 35 +- .../GUIServerInterface.h | 5 + .../include/Utils/SmartScreenSDKVersion.h | 4 +- modules/Alexa/build/BuildDefaults.cmake | 3 + .../build/cmake/AuthorizationManager.cmake | 15 + modules/Alexa/build/cmake/BuildOptions.cmake | 8 +- .../Alexa/build/cmake/KeywordDetector.cmake | 21 +- modules/Alexa/build/cmake/Logger.cmake | 31 + modules/GUI/SDK-GUI-API.md | 15 +- modules/GUI/config/SmartScreenSDKConfig.md | 28 +- ...onfigSample_SmartScreenLargeLandscape.json | 3 +- .../GuiConfigSample_SmartScreenRound.json | 3 +- .../GuiConfigSample_TvFullscreen.json | 3 +- .../GuiConfigSample_TvOverlayLandscape.json | 3 +- modules/GUI/js/package-lock.json | 3932 +--- modules/GUI/js/package.json | 6 +- modules/GUI/js/src/app.tsx | 53 +- .../js/src/components/APLRendererWindow.tsx | 2 +- .../GUI/js/src/components/CaptionsView.tsx | 26 +- modules/GUI/js/src/lib/messages/messages.ts | 28 +- modules/GUI/js/src/lib/utils/localeManager.ts | 66 + 250 files changed, 639 insertions(+), 39251 deletions(-) delete mode 100644 modules/Alexa/APLClientLibrary/.gitignore delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/CMakeLists.txt delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientBinding.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientRenderer.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplConfiguration.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreConnectionManager.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreEngineLogBridge.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreGuiRenderer.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreLocaleMethods.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreMetrics.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreTextMeasurement.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreViewhostMessage.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplOptionsInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEvent.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEventObserver.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackResultInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventHandlerInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionManager.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplDocumentState.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionObserverInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtension.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtensionObserverInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtension.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtensionObserver.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorder.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorderInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsSinkInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/DownloadMetricsEmitter.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/NullAplMetricsRecorder.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplClientBinding.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplClientRenderer.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplConfiguration.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplCoreConnectionManager.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplCoreEngineLogBridge.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplCoreGuiRenderer.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplCoreLocaleMethods.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplCoreMetrics.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/AplCoreTextMeasurement.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/CMakeLists.txt delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AplCoreExtensionManager.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerExtension.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Extensions/Backstack/AplBackstackExtension.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorder.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorderInterface.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/DownloadMetricsEmitter.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/NullAplMetricsRecorder.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/AplCoreConnectionManagerTest.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/AplCoreGuiRendererTest.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/CMakeLists.txt delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AplBackstackExtensionTest.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionTest.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerExtensionTest.cpp delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/MockAplCoreConnectionManager.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/MockAplOptionsInterface.h delete mode 100644 modules/Alexa/APLClientLibrary/APLClient/test/Telemetry/AplMetricsRecorderTest.cpp delete mode 100644 modules/Alexa/APLClientLibrary/BuildOptions.cmake delete mode 100644 modules/Alexa/APLClientLibrary/CMakeLists.txt delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/APLRenderer.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/AudioPlayerWrapper.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/CommandFactory.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/ComponentFactory.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/Content.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/assets/css/fonts.css.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ActionableComponent.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Component.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Container.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/EditText.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Frame.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/GridSequence.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Image.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/MultiChildScrollable.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ScrollView.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Scrollable.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Sequence.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/TouchWrapper.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVG.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVGText.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Filter.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Group.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Path.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphic.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphicElementUpdater.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blend.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blur.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Color.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Gradient.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Grayscale.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/ImageFilter.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Noise.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Saturate.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/pager/PagerComponent.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/MeasureMode.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/Text.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/AbstractVideoComponent.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/IVideoFactory.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/Video.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoFactory.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoHolder.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Action.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Component.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ConfigurationChange.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Content.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Context.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Event.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Extension.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ExtensionClient.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Graphic.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicElement.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicPattern.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Keyboard.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveArray.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveMap.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Logger.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Metrics.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Module.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Radii.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Rect.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/RootConfig.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/StyledText.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AnimationQuality.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AudioTrack.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/BlendMode.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandAudioTrack.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandControlMedia.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandHighlightMode.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandPosition.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandScrollAlign.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ComponentType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ContainerDirection.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventProperty.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FilterType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxAlign.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxJustifyContent.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FontStyle.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientSpreadMethod.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientUnits.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicElementType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicFilterType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicPropertyKey.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageAlign.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageScale.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/KeyboardType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/LogLevel.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Navigation.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/NoiseFilterKind.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerEventType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Position.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PropertyKey.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ScrollDirection.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlign.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlignVertical.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/UpdateType.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicAlign.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicScale.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VideoScale.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionEventCallbackResult.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionManager.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/index.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/ILogger.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogLevel.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogTransport.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LoggerFactory.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaEventListener.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaSource.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IPlayer.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/PlaybackManager.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/Resource.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioContextProvider.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioPlayer.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/DefaultAudioPlayer.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/IAudioEventListener.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/SpeechMarks.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/HLSVideoPlayer.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/VideoPlayer.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FilterUtils.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FontUtils.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/LocaleMethods.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/SoftRandom.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/@types/eventemitter3/index.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLAction.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLClient.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLComponent.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLConfigurationChange.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLContext.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLEvent.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLRadii.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLRect.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/APLWSRenderer.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/Bimap.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/Transforms.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/WebSocketClient.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/apl-client-attribution.txt delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/apl-client-packages.json delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphic.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicElement.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicPattern.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/avg/GraphicProperties.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/index.d.ts delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/index.js delete mode 100644 modules/Alexa/APLClientLibrary/apl-client-js/package.json delete mode 100644 modules/Alexa/APLClientLibrary/apl-release.json delete mode 100644 modules/Alexa/APLClientLibrary/tools/Testing.cmake create mode 100644 modules/Alexa/build/cmake/AuthorizationManager.cmake create mode 100644 modules/GUI/js/src/lib/utils/localeManager.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index a2a275c..e59bbe0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### v2.8.0 released 09/07/2021: +#### Breaking Changes +* APL Client Library has been extracted into separate GitHub repo [https://github.com/alexa/apl-client-library/tree/v1.7.2]. Users will need to pull the APL Client Library to build the Smart Screen SDK. + +#### Enhancements +* Upgraded dependency to Device SDK 1.25.0 [https://github.com/alexa/avs-device-sdk/tree/v1.25.0] +* Added support for APL 1.7 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-latest-version.html] +* Captions support for right-to-left languages +* Upgraded node version requirement to 14.17.4 +* Upgraded typescript version to 3.4 and refreshed the package-lock.json with new dependencies. Note that users upgrading to this version will need to remove the existing node modules from modules/GUI/js/node_modules before the build. + ### v2.7.1 released 07/23/2021: #### Bug fixes * Upgraded dependency to APL Core Library 1.6.2 Release [https://github.com/alexa/apl-core-library/releases/tag/v1.6.2] @@ -8,7 +19,7 @@ ### v2.7.0 released 06/01/2021: #### Enhancements * Upgraded dependency to Device SDK 1.24.0 [https://github.com/alexa/avs-device-sdk/tree/v1.24.0] -* Added support for APL 1.6 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-latest-version.html] +* Added support for APL 1.6 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-changes-1-6.html] * Added support for Alexa.Presentation.APL 1.3 [https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/presentation-apl.html#version-changes] * Added support for timeoutType from Alexa.Presentation.APL RenderDocument directives [https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/presentation-apl.html#renderdocument] * Moved metric payload handling logic into APLClientLibrary @@ -41,7 +52,7 @@ #### Enhancements * Upgraded dependency to Device SDK 1.22.0 [https://github.com/alexa/avs-device-sdk/tree/v1.22.0] * Added support for multiple concurrent APL clients -* Added support for APL 1.5 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-latest-version.html] +* Added support for APL 1.5 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-changes-1-5.html] * Ported DISABLE_DUCKING cmake configuration from Alexa-device-sdk * Music playback now ducks instead of pauses when APL TTS is executed * Updated ini patch version to 1.3.6 @@ -72,7 +83,7 @@ * Support for APL 1.4 [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-changes-1-4.html] * Added APL Telemetry Support * TV Overlay Portrait is no longer supported -* Added support for APL Extensions [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-latest-version.html#apl-extensions-and-the-backstack] +* Added support for APL Extensions [https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-extensions-v1-4.html] #### Bug fixes * Correctly handle GUI state when presenting content over attenuated PlayerInfo card diff --git a/CMakeLists.txt b/CMakeLists.txt index ca0fd59..d9b4805 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR) -project(AlexaSmartScreenSDK VERSION 2.7.1 LANGUAGES CXX) +project(AlexaSmartScreenSDK VERSION 2.8.0 LANGUAGES CXX) set(PROJECT_BRIEF "A cross-platform, modular SDK for multi modal interaction with the Alexa Voice Service") configure_file ( "${PROJECT_SOURCE_DIR}/modules/Alexa/Utils/include/Utils/SmartScreenSDKVersion.h.in" diff --git a/README.md b/README.md index 972f6d4..ee7212d 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ # Alexa Smart Screen SDK

- - - - - - + + + + + + + +

@@ -21,6 +23,7 @@ The Alexa Smart Screen SDK package in this GitHub repo includes: The Alexa Smart Screen SDK depends on the following additional GitHub repos: * [AVS Device SDK](https://github.com/alexa/avs-device-sdk/wiki) * [APL Core Library](https://github.com/alexa/apl-core-library) +* [APL Client Library](https://github.com/alexa/apl-client-library) ## Get Started diff --git a/modules/Alexa/APLClientLibrary/.gitignore b/modules/Alexa/APLClientLibrary/.gitignore deleted file mode 100644 index 0a1535c..0000000 --- a/modules/Alexa/APLClientLibrary/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.idea -.vscode/ -cmake-build-debug/ -*.DS_Store \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/CMakeLists.txt b/modules/Alexa/APLClientLibrary/APLClient/CMakeLists.txt deleted file mode 100644 index be79935..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/CMakeLists.txt +++ /dev/null @@ -1,5 +0,0 @@ -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) -project(APLClient LANGUAGES CXX) - -add_subdirectory("src") -add_subdirectory("test") diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientBinding.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientBinding.h deleted file mode 100644 index 19e8194..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientBinding.h +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_APL_CLIENT_BINDING_H_ -#define APL_CLIENT_LIBRARY_APL_CLIENT_BINDING_H_ - -#include -#include -#include -#include - -#include "AplConfiguration.h" -#include "AplCoreConnectionManager.h" -#include "AplCoreGuiRenderer.h" -#include "AplOptionsInterface.h" -#include "AplClientRenderer.h" -#include "Extensions/AplCoreExtensionInterface.h" -#include "Extensions/AplCoreExtensionEventCallbackResultInterface.h" -#include "Telemetry/DownloadMetricsEmitter.h" - -namespace APLClient { - -/** - * AplClientBinding abstracts away many of the implementation details of integrating with the APLCoreEngine and exposes - * a smaller interface to allow rendering of APL documents on a remote view host through a client provided IPC layer. - */ -class AplClientBinding { -public: - /** - * Constructor - */ - AplClientBinding(AplOptionsInterfacePtr options); - - virtual ~AplClientBinding() = default; - - /** - * Creates a new APL Client renderer object - * @note Client Renderer is responsible for abstracting the interactions with APL Core Engine and must be - * maintained per active window - * - * @param windowId unique id targeting for rendering APL from this context - * @return a shared pointer of @c AplClientRenderer - */ - std::shared_ptr createRenderer(const std::string& windowId); - - /** - * Creates a new @c DownloadMetricsEmitter instance to monitor resource downloads. - * - * @return a shared pointer of @c DownloadMetricsEmitter already configured for telemetry. - */ - Telemetry::DownloadMetricsEmitterPtr createDownloadMetricsEmitter(); - - /** - * Set an instance @c AplMetricsSinkInterface to the @c AplConfiguration - * - * @param a shared pointer of @c AplMetricsSinkInterface to be used. - */ - void onTelemetrySinkUpdated(APLClient::Telemetry::AplMetricsSinkInterfacePtr sink); - -private: - AplConfigurationPtr m_aplConfiguration; -}; -} // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_APL_CLIENT_BINDING_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientRenderer.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientRenderer.h deleted file mode 100644 index a86ee81..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplClientRenderer.h +++ /dev/null @@ -1,205 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_APL_CLIENT_RENDERER_H_ -#define APL_CLIENT_LIBRARY_APL_CLIENT_RENDERER_H_ - -#include - -#include -#include -#include - -#include "AplConfiguration.h" -#include "AplCoreConnectionManager.h" -#include "AplCoreGuiRenderer.h" -#include "AplRenderingEventObserver.h" -#include "AplRenderingEvent.h" -#include "Telemetry/AplMetricsRecorderInterface.h" -#include "APLClient/Extensions/Backstack/AplBackstackExtension.h" - -namespace APLClient { -/** - * @c AplClientRenderer abstracts away many of the implementation details of integrating with the @c APLCoreEngine and - * exposes a smaller interface to allow rendering of APL documents on a remote view host through a client provided IPC - * layer. The instance of this class represent a renderer targeting a single window. Therefore, the lifecycle of - * instance of this class will be managed for every active render. - */ -class AplClientRenderer - : public AplRenderingEventObserver - , public std::enable_shared_from_this { -public: - /** - * Constructor - */ - AplClientRenderer(AplConfigurationPtr config, std::string windowId); - - ~AplClientRenderer() override = default; - - /** - * Pass a message received from the viewhost to the @c AplClientBinding, this should be called before - * @c handleMessage and on a different thread to @c renderDocument. - * @note This is a workaround to allow support for devices which do not support synchronous sends - * - * @param message - * @return true if the message should be passed onwards to handleMessage, false if handling is complete - */ - bool shouldHandleMessage(const std::string& message); - - /** - * Pass a message received from the viewhost to the @c AplClientBinding, should only be called if - * @c shouldHandleMessage returns true and must be run on the same thread as @c renderDocument - * @param message The message from the viewhost - */ - void handleMessage(const std::string& message); - - /** - * Render an APL document - * @param document The document json payload - * @param data The document data - * @param viewports The supported viewports - * @param token The APL document token - */ - void renderDocument( - const std::string& document, - const std::string& data, - const std::string& viewports, - const std::string& token); - - /** - * Clears the current APL document - */ - void clearDocument(); - - /** - * Execute an APL command sequence - * @param jsonPayload The JSON APL command payload - * @param token The APL document token - */ - void executeCommands(const std::string& jsonPayload, const std::string& token); - - /** - * Interrupts the currently executing command sequence - */ - void interruptCommandSequence(); - - /** - * Requests the visual context - */ - void requestVisualContext(unsigned int stateRequestToken); - - /** - * Updates the data source - * @param sourceType The source type - * @param jsonPayload The json payload containing the new data - * @param token The APL token - */ - void dataSourceUpdate(const std::string& sourceType, const std::string& jsonPayload, const std::string& token); - - /** - * Updates the rendered document - * @note Ideally this function should should be called once for each screen refresh (e.g. 60 times per second) - */ - void onUpdateTick(); - - /** - * Returns the target window Id for this renderer - */ - const std::string getWindowId(); - - /** - * Returns the APL token currently served by this renderer - */ - const std::string getCurrentAPLToken(); - - /** - * Adds Extensions to the client - * @param extensions Set of Shared Pointers to AplCoreExtensionInterfaces - */ - void addExtensions(std::unordered_set> extensions); - - /** - * Extension Event Callback function - * @param uri Extension uri - * @param name Extension event name - * @param source Map of the source object that raised the event - * @param params Map of the user-specified properties - * @param event Event number - * @param resultCallback Pointer to result callback interface - */ - void onExtensionEvent( - const std::string& uri, - const std::string& name, - const std::string& source, - const std::string& params, - unsigned int event, - std::shared_ptr resultCallback); - - /** - * Retrieve the active @c AplDocumentState. - * @return The active @c AplDocumentState. - */ - AplDocumentStatePtr getActiveDocumentState(); - - /** - * Restore content from provided @c AplDocumentState - * @param documentState the @c AplDocumentState to restore. - */ - void restoreDocumentState(AplDocumentStatePtr documentState); - - /// @name AplRenderingEventObserver Functions - /// @{ - void onRenderDirectiveReceived(const std::chrono::steady_clock::time_point &receiveTime) override; - void onRenderingEvent(AplRenderingEvent event) override; - void onMetricsReported(const std::string& jsonPayload) override; - void onTelemetrySinkUpdated(APLClient::Telemetry::AplMetricsSinkInterfacePtr sink) override; - /// @} - - /** - * Gets the instance of extension if supported - * - * @param uri URI of the extension requested - * @return Pointer to the @c AplCoreExtensionInterface for extension if supported, else nullptr - */ - std::shared_ptr getExtension(const std::string& uri); - -private: - AplConfigurationPtr m_aplConfiguration; - - std::string m_windowId; - - std::string m_aplToken; - - AplCoreConnectionManagerPtr m_aplConnectionManager; - - std::unique_ptr m_aplGuiRenderer; - - uint64_t m_lastReportedComplexity; - - std::unique_ptr m_renderTimer; - - /** - * Validates the content from the metrics payload - * - * @param jsonMetric The metric item to validate - * @return bool Indicates whether the metric content is valid - */ - bool validateJsonMetric(const rapidjson::Value& jsonMetric); -}; - -using AplClientRendererPtr = std::shared_ptr; - -} // namespace APLClient -#endif // APL_CLIENT_LIBRARY_APL_CLIENT_RENDERER_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplConfiguration.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplConfiguration.h deleted file mode 100644 index 9fdec9f..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplConfiguration.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_APL_CONFIGURATION_H_ -#define APL_CLIENT_LIBRARY_APL_CONFIGURATION_H_ - -#include - -#include "AplOptionsInterface.h" -#include "Telemetry/AplMetricsRecorderInterface.h" - -namespace APLClient { - -/** - * Contains the set of configurable options for APL. - */ -class AplConfiguration final { -public: - AplConfiguration( - AplOptionsInterfacePtr options, - Telemetry::AplMetricsRecorderInterfacePtr metricsRecorder = nullptr); - - ~AplConfiguration() = default; - - /** - * Returns the current @c AplOptionsInterface instance. - * - * @return the current @c AplOptionsInterface instance - */ - AplOptionsInterfacePtr getAplOptions() const; - - - /** - * Returns the currently configured metrics recorder. This is never null. - * - * @return the current metrics recorder to use for telemetry - */ - Telemetry::AplMetricsRecorderInterfacePtr getMetricsRecorder() const; - - /** - * Updates the currently configured metrics recoder. This has no effect - * if @c nullptr is passed as a param. - * - * @param metricsRecorder the new metrics recorder to use - */ - void setMetricsRecorder(Telemetry::AplMetricsRecorderInterfacePtr metricsRecorder); - -private: - AplOptionsInterfacePtr m_aplOptions; - Telemetry::AplMetricsRecorderInterfacePtr m_metricsRecorder; -}; - -/// Convenience typedef -using AplConfigurationPtr = std::shared_ptr; - -} // namespace APLClient -#endif // APL_CLIENT_LIBRARY_APL_CONFIGURATION_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreConnectionManager.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreConnectionManager.h deleted file mode 100644 index 50296ea..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreConnectionManager.h +++ /dev/null @@ -1,555 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_APL_CORE_CONNECTION_MANAGER_H_ -#define APL_CLIENT_LIBRARY_APL_CORE_CONNECTION_MANAGER_H_ - -#include -#include -#include -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wreorder" -#pragma push_macro("DEBUG") -#pragma push_macro("TRUE") -#pragma push_macro("FALSE") -#undef DEBUG -#undef TRUE -#undef FALSE -#include -#pragma pop_macro("DEBUG") -#pragma pop_macro("TRUE") -#pragma pop_macro("FALSE") -#pragma GCC diagnostic pop - -#include "AplConfiguration.h" -#include "AplCoreViewhostMessage.h" -#include "AplCoreMetrics.h" -#include "Extensions/AplCoreExtensionEventCallbackResultInterface.h" -#include "Extensions/AplCoreExtensionEventHandlerInterface.h" -#include "Extensions/AplCoreExtensionInterface.h" -#include "Extensions/AplCoreExtensionManager.h" -#include "Extensions/AplDocumentState.h" -#include "Telemetry/AplMetricsRecorderInterface.h" - -namespace APLClient { - -using namespace APLClient::Extensions; - -/** - * Interacts with the APL Core Engine handling the event loop, updates etc. and passes messages between the core - * and the viewhost. - */ -class AplCoreConnectionManager - : public AplCoreExtensionEventHandlerInterface - , public AplCoreExtensionEventCallbackResultInterface - , public std::enable_shared_from_this { -public: - AplCoreConnectionManager(AplConfigurationPtr config); - - virtual ~AplCoreConnectionManager() = default; - -public: - /// @name AplCoreExtensionEventHandlerInterface Functions - /// @{ - void invokeExtensionEventHandler( - const std::string& uri, - const std::string& name, - const apl::ObjectMap& data, - bool fastMode) override; - /// @} - - /// @name AplCoreExtensionEventCallbackResultInterface Functions - /// @{ - void onExtensionEventResult(unsigned int event, bool succeeded) override; - /// @} - - /** - * Sets the APL Content to be rendered by the APL Core - * @param content - * @param token APL Presentation token for this content - */ - virtual void setContent(const apl::ContentPtr content, const std::string& token); - - /** - * Sets the APL ScalingOptions - * @param supportedViewports The JSON Payload - */ - virtual void setSupportedViewports(const std::string& jsonPayload); - - /** - * Receives messages from the APL view host and identifies if it will require further handling - * @note This function does not need to be handled on the same execution thread as other function calls - * @param message The JSON Payload - * @return true if the message should be passed to @c handleMessage, false if message - */ - bool shouldHandleMessage(const std::string& message); - - /** - * Receives messages from the APL view host - * @param message The JSON Payload - */ - void handleMessage(const std::string& message); - - /** - * Executes an APL command - * @param command The command to execute - * @param token Directive token to bind result processing - */ - void executeCommands(const std::string& command, const std::string& token); - - /** - * Execute DataSource updates. - * @param sourceType DataSource type. - * @param jsonPayload The payload of the directive in structured JSON format. - * @param token Directive token used to bind result processing. - */ - void dataSourceUpdate(const std::string& sourceType, const std::string& jsonPayload, const std::string& token); - - /** - * Interrupts the currently executing APL command sequence - */ - void interruptCommandSequence(); - - /** - * Send a message to the view host and block until you get a reply - * @param message The message to send - * @return The resultant message or a NULL object if a response was not received. - */ - rapidjson::Document blockingSend( - AplCoreViewhostMessage& message, - const std::chrono::milliseconds& timeout = std::chrono::milliseconds(2000)); - - void provideState(unsigned int stateRequestToken); - - AplCoreMetricsPtr aplCoreMetrics() const { - return m_AplCoreMetrics; - } - - /** - * Schedules an update on the root context and runs the update loop - this may result in the viewhost being - * updated and any events currently pending will be processed. If nothing is currently being displayed calling - * this method will result in no action being taken. For the best rendering experience it is recommended that this - * method is scheduled to be called at a rate which matches the refresh rate of the users display. - */ - void onUpdateTick(); - - /** - * Resets the connection manager to remove the current document - */ - void reset(); - - const std::string getAPLToken(); - - /** - * Adds Extensions to the client - * @param extensions Set of Shared Pointers to AplCoreExtensionInterfaces - */ - void addExtensions(std::unordered_set> extensions); - - /** - * Gets the requested extension from the client - * @param uri Extension Uri - * @return Shared pointer to @c AplCoreExtensionInterface - */ - std::shared_ptr getExtension(const std::string& uri); - - /** - * Extension Event Callback function to invoke an extension event registered with @c AplCoreExtensionManager - * @param uri Extension uri - * @param name Extension event name - * @param source Map of the source object that raised the event - * @param params Map of the user-specified properties - * @param event Event number - * @param resultCallback Pointer to result callback interface - */ - void onExtensionEvent( - const std::string& uri, - const std::string& name, - const std::string& source, - const std::string& params, - unsigned int event, - std::shared_ptr resultCallback); - - /** - * Retrieve the active @c AplDocumentState. - * @return The active @c AplDocumentState. - */ - AplDocumentStatePtr getActiveDocumentState(); - - /** - * Restore content from provided @c AplDocumentState - * @param documentState the @c AplDocumentState to restore. - */ - void restoreDocumentState(AplDocumentStatePtr documentState); - - /** - * Called when a document has finished rendering. - * - * @param renderTime the timestamp at which rendering ended - * @param complexityScore the complexity score received from the viewhost, or 0 if unknown. - */ - void onDocumentRendered(const std::chrono::steady_clock::time_point &renderTime, uint64_t complexityScore); - -private: - /** - * Sends viewport scaling information to the client - */ - void sendViewhostScalingMessage(); - - /** - * Sends document theme information to the client - */ - void sendDocumentThemeMessage(); - - /** - * Sends document background information to the client - * @param background - */ - void sendDocumentBackgroundMessage(const apl::Object& background); - - /** - * Sends screenLock state to the client - * @param screenLock - */ - void sendScreenLockMessage(bool screenLock); - - /** - * Sends supportsResizing state to the client - * @param screenLock - */ - void sendSupportsResizingMessage(bool supportsResizing); - - /** - * Handles the build message received from the view host, builds the component hierarchy. - * @param message - */ - void handleBuild(const rapidjson::Value& message); - - /** - * Handles the configuration change message from the view host and send to Core. - * @param message - */ - void handleConfigurationChange(const rapidjson::Value& message); - - /** - * Handle an update message from the view host of the form: - * - * { "id": COMPONENT_ID, "type": EventType(int), "value": Integer } - * - * @param update - */ - void handleUpdate(const rapidjson::Value& update); - - /** - * Handle an media update message from the view host of the form: - * - * { "id": COMPONENT_ID, "mediaState": apl::MediaState, "fromEvent": boolean } - * - * @param update - */ - void handleMediaUpdate(const rapidjson::Value& update); - - /** - * Handle an graphic update message from the view host of the form: - * - * { "id": COMPONENT_ID, "avg": json } - * - * @param update - */ - void handleGraphicUpdate(const rapidjson::Value& update); - - /** - * Handles the ensureLayout message received from the viewhost - * @param payload - */ - void handleEnsureLayout(const rapidjson::Value& payload); - - /** - * Handle the scrollToRectInComponent message received from the viewhost - * @param payload - */ - void handleScrollToRectInComponent(const rapidjson::Value& payload); - - /** - * Handle the handleKeyboard message received from the viewhost - * @param payload - */ - void handleHandleKeyboard(const rapidjson::Value& payload); - - /** - * Handle the setFocus message received from the viewhost - * @param payload - */ - void setFocus(const rapidjson::Value& payload); - - /** - * Handle the getFocusableAreas message received from the viewhost - * @param payload - */ - void getFocusableAreas(const rapidjson::Value& payload); - - /** - * Handle the getFocused message received from the viewhost - * @param payload - */ - void getFocused(const rapidjson::Value& payload); - - /** - * Handle the getDisplayedChildCount message received from the viewhost - * @param payload - */ - void handleGetDisplayedChildCount(const rapidjson::Value& payload); - - /** - * Handle the getDisplayedChildId message received from the viewhost - * @param payload - */ - void handleGetDisplayedChildId(const rapidjson::Value& payload); - - /** - * Handle the updateCursorPosition message received from the viewhost - * @param payload - */ - void handleUpdateCursorPosition(const rapidjson::Value& payload); - - /** - * Handle the handle handlePointerEvent message received from the viewhost - * @param payload - */ - void handleHandlePointerEvent(const rapidjson::Value& payload); - - /** - * Process responses to events with action references. The payload should be of the form: - * - * { "event": EVENT_NUMBER, "argument": VALUE } - * - * @param response - */ - void handleEventResponse(const rapidjson::Value& response); - - /** - * Check for screenLock condition and process it accordingly. - */ - void handleScreenLock(); - - /** - * Handle the isCharacterValid message received from ViewHost. - * @param payload - */ - void handleIsCharacterValid(const rapidjson::Value& payload); - - /** - * Handle the reInflate message received from ViewHost. - * @param payload - */ - void handleReInflate(const rapidjson::Value& payload); - - /** - * Handle the reHierarchy message received from ViewHost. - * @param payload - */ - void handleReHierarchy(const rapidjson::Value& payload); - - /** - * Execute the event. - * ActionRefs have to be stored while we are waiting for a response. - * Terminates have to be sent up if the action is cancelled. - * Resolves/Rejects sent down have to be acted up. - * @param event requested core event. - */ - void processEvent(const apl::Event& event); - - /** - * Adds events with @c ActionRefs to the pending event stack - * @param token event number. - * @param event the apl core event. - * @param isViewhostEvent is this a viewhost handled event. - */ - bool addPendingEvent(unsigned int token, const apl::Event& event, bool isViewhostEvent = true); - - /** - * Process set of dirty components and send out dirty properties as required. - * @param dirty dirty components set. - */ - void processDirty(const std::set& dirty); - - /** - * APL Core relies on operations to be performed in particular way. - * Order and set of operations in this method should be preserved. - * Order is the following: - * * Update time and adjust TimeZone if required. - * * Call **clearPending** method on RootConfig to give Core possibility to execute all pending actions and updates. - * * Process requested events. * * Process dirty properties. - * * Check and set screenlock if required. - */ - void coreFrameUpdate(); - - /** - * Send a message to the view host - * @param message The message to send - * @return The sequence number of this message - */ - unsigned int send(AplCoreViewhostMessage& message); - - /** - * Sends an error message to the view host - * @param message The message to send to the view hsot - */ - void sendError(const std::string& message); - - /** - * Retrieves the current time - * @return The time - */ - std::chrono::milliseconds getCurrentTime() { - return std::chrono::duration_cast( - std::chrono::system_clock::now().time_since_epoch()); - } - - /** - * Get optional value from Json. - * @param jsonNode json data - * @param key Member name - * @param defaultValue Default value - * @return Value from json or default if not found. - */ - double getOptionalValue(const rapidjson::Value& jsonNode, const std::string& key, double defaultValue); - - /** - * Get optional value from Json. - * @param jsonNode json data - * @param key Member name - * @param defaultValue Default value - * @return Value from json or default if not found. - */ - std::string getOptionalValue( - const rapidjson::Value& jsonNode, - const std::string& key, - const std::string& defaultValue); - - /** - * Get optional bool value from Json. - * @param jsonNode json data - * @param key Member name - * @param defaultValue Default value - * @return Value from json or default if not found. - */ - bool getOptionalBool(const rapidjson::Value& jsonNode, const std::string& key, bool defaultValue); - - /** - * Get optional integer value from Json. - * @param jsonNode json data - * @param key Member name - * @param defaultValue Default value - * @return Value from json or default if not found. - */ - int getOptionalInt(const rapidjson::Value& jsonNode, const std::string& key, int defaultValue); - - /** - * Gets a rect from Json and converts it to an apl::Rect - * @param jsonNode json data - * @return An apl rect with the values from the json - */ - apl::Rect convertJsonToScaledRect(const rapidjson::Value& jsonNode); - - /** - * Check if any errors returned from any of loaded datasources and report them. - */ - void checkAndSendDataSourceErrors(); - - /** - * Serialize a rapidjson document node into a string. - * - * @param documentNode A logical node within a parsed JSON document which rapidjson understands. - * @param[out] value The output parameter where the converted string will be assigned. - */ - void serializeJSONValueToString(const rapidjson::Value& documentNode, std::string* value); - - /** - * Update the latest configurationChange which is maintained at device runtime. - * - * @param configurationChange the new reported configurationChange. - */ - void updateConfigurationChange(const apl::ConfigurationChange& configurationChange); - - AplConfigurationPtr m_aplConfiguration; - - /// View host message type to handler map - std::map> m_messageHandlers; - - /// Shared pointer to the APL Content - apl::ContentPtr m_Content; - - /// The APL presentation token for the currently rendered document - std::string m_aplToken; - - /// The APL Metrics object - received from the view host and used for generating the apl root context - apl::Metrics m_Metrics; - - /** - * The Viewport Size Specifications object - created on directive processing and passed to core in - * order to calculate scaling. - */ - std::vector m_ViewportSizeSpecifications; - - /** - * Scaling calculation object. - */ - AplCoreMetricsPtr m_AplCoreMetrics; - - /// Pointer to the latest configuration change object. - apl::ConfigurationChange m_ConfigurationChange = apl::ConfigurationChange(); - - /// Pointer to the APL Root Context - apl::RootContextPtr m_Root; - - /// Map of pending APL Core events - std::map m_PendingEvents; - - /// The start time used to calculate the update time used by APL Core - std::chrono::milliseconds m_StartTime; - - /// Screen lock flag - bool m_ScreenLock; - - /// Next packet sequence number - unsigned int m_SequenceNumber; - - /// The sequence number which a blockingSend is waiting for - unsigned int m_replyExpectedSequenceNumber; - - /// Whether we are expecting a reply to a blockingSend - bool m_blockingSendReplyExpected; - - /// The pending promise from a call to blockingSend - std::promise m_replyPromise; - - /// The mutex protecting blockingSend - std::mutex m_blockingSendMutex; - - /// Pointer to ExtensionManager - AplCoreExtensionManagerPtr m_extensionManager; - - /// Pointer to the active @c AplDocumentState to restore. - AplDocumentStatePtr m_documentStateToRestore; - - std::chrono::steady_clock::time_point m_renderingStart; -}; - -using AplCoreConnectionManagerPtr = std::shared_ptr; - -} // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_APL_CORE_CONNECTION_MANAGER_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreEngineLogBridge.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreEngineLogBridge.h deleted file mode 100644 index bd3a4b2..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreEngineLogBridge.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREENGINELOGBRIDGE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREENGINELOGBRIDGE_H - -#include - -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wreorder" -#pragma push_macro("DEBUG") -#undef DEBUG -#include -#pragma pop_macro("DEBUG") -#pragma GCC diagnostic pop -#include "AplOptionsInterface.h" - -namespace APLClient { -/// Wrapper around the Alexa Client SDK logger for use by APLCoreEngine -class AplCoreEngineLogBridge : public apl::LogBridge { -public: - AplCoreEngineLogBridge(AplOptionsInterfacePtr aplOptions); - - void transport(apl::LogLevel level, const std::string& log) override; - -private: - AplOptionsInterfacePtr m_aplOptions; -}; -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREENGINELOGBRIDGE_H \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreGuiRenderer.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreGuiRenderer.h deleted file mode 100644 index ea062c3..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreGuiRenderer.h +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_APL_CORE_GUI_RENDERER_H_ -#define APL_CLIENT_LIBRARY_APL_CORE_GUI_RENDERER_H_ - -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wreorder" -#pragma push_macro("DEBUG") -#pragma push_macro("TRUE") -#pragma push_macro("FALSE") -#undef DEBUG -#undef TRUE -#undef FALSE -#include -#pragma pop_macro("DEBUG") -#pragma pop_macro("TRUE") -#pragma pop_macro("FALSE") -#pragma GCC diagnostic pop - -#include "AplConfiguration.h" -#include "AplCoreConnectionManager.h" - -namespace APLClient { - -/** - * Handles the initial creation of the APL content and retrieves package dependencies, also handles interaction with - * the @c AplCoreConnectionManager - */ -class AplCoreGuiRenderer { -public: - AplCoreGuiRenderer(AplConfigurationPtr config, AplCoreConnectionManagerPtr aplCoreConnectionManager); - - /** - * Renders the given template document and data payload through Apl Core - * @param document Template - * @param data Payload - * @param supportedViewports SupportedViewports - * @param token The token for APL payload, empty string otherwise - */ - void renderDocument( - const std::string& document, - const std::string& data, - const std::string& supportedViewports, - const std::string& token); - - /** - * Clears the currently rendered document - * - */ - void clearDocument(); - - /** - * Executes the given sequence of APL commands - * @param jsonPayload The APL commands to execute - * @param token The APL token - */ - void executeCommands(const std::string& jsonPayload, const std::string& token); - - /** - * For lazy loading - updates the data source which is used by the currently rendered document - * @param sourceType The data source type - * @param jsonPayload The new data source payload - * @param token The APL token - */ - void dataSourceUpdate(const std::string& sourceType, const std::string& jsonPayload, const std::string& token); - - /** - * Interrupts the currently executing command sequence - */ - void interruptCommandSequence(); - -private: - AplConfigurationPtr m_aplConfiguration; - - /** - * A reference to the APL Core connection manager to forward APL messages to - */ - AplCoreConnectionManagerPtr m_aplCoreConnectionManager; - - /** - * A flag indicating if the document has been cleared. - * Used to cover the gap in time between request to render and any incoming clear events. - */ - bool m_isDocumentCleared; -}; -} // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_APL_CORE_GUI_RENDERER_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreLocaleMethods.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreLocaleMethods.h deleted file mode 100644 index e5e8737..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreLocaleMethods.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APLCLIENTLIBRARY_APLCORELOCALEMETHODS_H -#define APLCLIENTLIBRARY_APLCORELOCALEMETHODS_H - -#include "AplConfiguration.h" -#include "AplCoreConnectionManager.h" -#include "Telemetry/AplMetricsRecorderInterface.h" - -namespace APLClient { - - class AplCoreLocaleMethods : public apl::LocaleMethods { - public: - /** - * Constructor - * - * @param aplCoreConnectionManager Pointer to the APL Core connection manager - */ - AplCoreLocaleMethods( - AplCoreConnectionManagerPtr aplCoreConnectionManager, - AplConfigurationPtr config); - - std::string toLowerCase(const std::string &value, const std::string &locale) override; - std::string toUpperCase(const std::string &value, const std::string &locale) override; - - private: - std::string toCase(const std::string &value, const std::string &locale, const std::string key); - std::weak_ptr m_aplCoreConnectionManager; - - AplConfigurationPtr m_aplConfiguration; - }; - -} // namespace APLClient -#endif //APLCLIENTLIBRARY_APLCORELOCALEMETHODS_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreMetrics.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreMetrics.h deleted file mode 100644 index 60092f2..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreMetrics.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREMETRICS_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREMETRICS_H - -#include - -namespace APLClient { - -/** - * Extends apl MetricsTransform to transform units between viewhost and core dimensions - */ -class AplCoreMetrics : public apl::MetricsTransform { -public: - explicit AplCoreMetrics(apl::Metrics& metrics) : MetricsTransform(metrics) { - } - AplCoreMetrics(apl::Metrics& metrics, apl::ScalingOptions& options) : MetricsTransform(metrics, options) { - } - - virtual ~AplCoreMetrics() = default; - - /** - * Converts dp units into px units - * @param value dp unit - * @return px unit - */ - float toViewhost(float value) const override; - - /** - * Converts px units into dp units - * @param value px unit - * @return dp unit - */ - float toCore(float value) const override; - - /** - * Return the viewport width in pixels - * @return pixel width - */ - float getViewhostWidth() const override; - - /** - * Return the viewport height in pixels - * @return pixel height - */ - float getViewhostHeight() const override; - - /** - * Converts px from VH to Core based on Scale. - * @param value - * @return - */ - float toCorePixel(float value); -}; - -using AplCoreMetricsPtr = std::shared_ptr; - -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREMETRICS_H \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreTextMeasurement.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreTextMeasurement.h deleted file mode 100644 index 37318eb..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreTextMeasurement.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCORETEXTMEASUREMENT_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCORETEXTMEASUREMENT_H - -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wreorder" -#pragma push_macro("DEBUG") -#pragma push_macro("TRUE") -#pragma push_macro("FALSE") -#undef DEBUG -#undef TRUE -#undef FALSE -#include -#pragma pop_macro("DEBUG") -#pragma pop_macro("TRUE") -#pragma pop_macro("FALSE") -#pragma GCC diagnostic pop - -#include "AplConfiguration.h" -#include "AplCoreConnectionManager.h" -#include "Telemetry/AplMetricsRecorderInterface.h" - -namespace APLClient { - -/** - * Provides the ability to retrieve text measurements from a remote viewhost - */ -class AplCoreTextMeasurement : public apl::TextMeasurement { -public: - /** - * Constructor - * - * @param aplCoreConnectionManager Pointer to the APL Core connection manager - */ - AplCoreTextMeasurement( - AplCoreConnectionManagerPtr aplCoreConnectionManager, - AplConfigurationPtr config); - - /// @name apl::TextMeasurement Functions - /// @{ - virtual apl::LayoutSize measure( - apl::Component* component, - float width, - apl::MeasureMode widthMode, - float height, - apl::MeasureMode heightMode) override; - - virtual float baseline(apl::Component* component, float width, float height) override; - /// @} - -private: - std::weak_ptr m_aplCoreConnectionManager; - - AplConfigurationPtr m_aplConfiguration; - std::unique_ptr m_textMeasureCounter; - apl::LayoutSize GetValidMeasureResult(rapidjson::Document& result, AplCoreMetrics* aplCoreMetrics ); - -}; - -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCORETEXTMEASUREMENT_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreViewhostMessage.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreViewhostMessage.h deleted file mode 100644 index 6a9e73c..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplCoreViewhostMessage.h +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREVIEWHOSTMESSAGE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREVIEWHOSTMESSAGE_H - -#include -#include -#include -#include - -namespace APLClient { - -/// The root GUI message type -const char MSG_TYPE_TAG[] = "type"; - -/// The seqno json key in the message. -const char MSG_SEQNO_TAG[] = "seqno"; - -/// The payload json key in the message. -const char MSG_PAYLOAD_TAG[] = "payload"; - -/** - * The @c AplCoreViewhostMessage base class for messages sent to AplViewHost. - * - * { "type": STRING, "seqno": NUMBER, "payload": ANY } - */ -class AplCoreViewhostMessage { -private: - rapidjson::Document mDocument; - -public: - /** - * Constructor - * @param type The type from this message - */ - AplCoreViewhostMessage(const std::string& type) : mDocument(rapidjson::kObjectType) { - auto& alloc = mDocument.GetAllocator(); - mDocument.AddMember(MSG_TYPE_TAG, rapidjson::Value(type.c_str(), alloc).Move(), alloc); - } - - /** - * Sets the sequence number for this message - * @param sequenceNumber - * @return this - */ - AplCoreViewhostMessage& setSequenceNumber(unsigned sequenceNumber) { - mDocument.AddMember(MSG_SEQNO_TAG, sequenceNumber, mDocument.GetAllocator()); - return *this; - } - - /** - * Sets the json payload for this message - * @param payload The payload to send - * @return this - */ - AplCoreViewhostMessage& setPayload(rapidjson::Value&& payload) { - mDocument.AddMember(MSG_PAYLOAD_TAG, std::move(payload), mDocument.GetAllocator()); - return *this; - } - - /** - * Sets the json payload for this message - * @param payload The payload to send - * @return this - */ - AplCoreViewhostMessage& setPayload(const std::string& payload) { - mDocument.AddMember( - MSG_PAYLOAD_TAG, - rapidjson::Value(payload.c_str(), mDocument.GetAllocator()).Move(), - mDocument.GetAllocator()); - return *this; - } - - /** - * Retrieves the json string representing this message - * @return json string representation of message - */ - std::string get() { - rapidjson::StringBuffer buffer; - buffer.Clear(); - rapidjson::Writer< - rapidjson::StringBuffer, - rapidjson::UTF8<>, - rapidjson::UTF8<>, - rapidjson::CrtAllocator, - rapidjson::kWriteNanAndInfFlag> - writer(buffer); - mDocument.Accept(writer); - return std::string(buffer.GetString(), buffer.GetSize()); - } - - /** - * Retrieves the rapidjson allocator - * @return The allocator - */ - auto alloc() -> decltype(mDocument.GetAllocator()) { - return mDocument.GetAllocator(); - }; -}; -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLCOREVIEWHOSTMESSAGE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplOptionsInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplOptionsInterface.h deleted file mode 100644 index dcfcb23..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplOptionsInterface.h +++ /dev/null @@ -1,191 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLOPTIONSINTERFACE_H_ -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLOPTIONSINTERFACE_H_ - -#include -#include -#include - -#include "AplRenderingEvent.h" -#include "Extensions/AplCoreExtensionEventCallbackResultInterface.h" - -namespace APLClient { -using namespace APLClient::Extensions; -/// Enumeration of log levels sent by the APL client binding (DBG used to avoid conflicts with compiler defined macros) -enum class LogLevel { CRITICAL, ERROR, WARN, INFO, DBG, TRACE }; - -/** - * The @c AplOptionsInterface defines the set of callbacks which users of the APL client library must provide, it will - * be used to inform the consumer of certain state changes as well as requests for data or to pass messages to the - * APL Viewhost. - * @note This class is named "Options" to match the implementation of other APLCore integration methods, it does not - * imply that this is only used for settings, or that it is an optional interface. - */ -class AplOptionsInterface { -public: - /** - * Virtual destructor - */ - virtual ~AplOptionsInterface() = default; - - /** - * Send the given payload to the APL Viewhost - * @param token The APL token - * @param payload - */ - virtual void sendMessage(const std::string& token, const std::string& payload) = 0; - - /** - * Requests that the APL viewhost is reset to render a new APL document - * @param token The APL token - */ - virtual void resetViewhost(const std::string& token) = 0; - - /** - * Download the given resource - * @param source The URI for the resource - * @return The content of the resource - */ - virtual std::string downloadResource(const std::string& source) = 0; - - /** - * Retrieve the current timezone offset - * @return The offset in milliseconds - */ - virtual std::chrono::milliseconds getTimezoneOffset() = 0; - - /** - * The given activity has started - * @param token The APL token - * @param source The activity type - */ - virtual void onActivityStarted(const std::string& token, const std::string& source) = 0; - - /** - * The given activity has ended - * @param token The APL token - * @param source The activity type - */ - virtual void onActivityEnded(const std::string& token, const std::string& source) = 0; - - /** - * An APL send event command was executed - * @param token The APL token - * @param event The event - */ - virtual void onSendEvent(const std::string& token, const std::string& event) = 0; - - /** - * Command execution has completed - * @param token The APL token - * @param result Whether the command executed to completion successfully - */ - virtual void onCommandExecutionComplete(const std::string& token, bool result) = 0; - - /** - * Rendering the APL document has completed - * @param token The APL token - * @param result The result of the rendering - * @param error The error message if a failure occurred - */ - virtual void onRenderDocumentComplete(const std::string& token, bool result, const std::string& error) = 0; - - /** - * Called as a response to a @c requestVisualContext request - * @param token The APL token - * @param stateRequestToken The token which was passed during the call to @c requestVisualContext - * @param context The visual context - */ - virtual void onVisualContextAvailable( - const std::string& token, - unsigned int stateRequestToken, - const std::string& context) = 0; - - /** - * Called when the document idle timeout is set - * @param timeout The timeout value - */ - virtual void onSetDocumentIdleTimeout(const std::string& token, const std::chrono::milliseconds& timeout) = 0; - - /** - * Called when an event occurs during APL rendering, generally used for metrics - * @param token The APL token - * @param event The event - */ - virtual void onRenderingEvent(const std::string& token, AplRenderingEvent event) = 0; - - /** - * A finish event occurred, the APL document should be removed - * @param token The APL token - */ - virtual void onFinish(const std::string& token) = 0; - - /** - * A data source fetch request for lazy loading - * @param token The APL token - * @param type The type of the fetch request - * @param payload The payload for the fetch request - */ - virtual void onDataSourceFetchRequestEvent( - const std::string& token, - const std::string& type, - const std::string& payload) = 0; - - /** - * Extension Event Callback function - * @param uri Extension uri - * @param name Extension event name - * @param source Map of the source object that raised the event - * @param params Map of the user-specified properties - * @param event Event number - * @param resultCallback Pointer to result callback interface - */ - virtual void onExtensionEvent( - const std::string& aplToken, - const std::string& uri, - const std::string& name, - const std::string& source, - const std::string& params, - unsigned int event, - std::shared_ptr resultCallback) = 0; - - /** - * Handles a RuntimeError event - * @param token The APL token - * @param payload The payload for the error event - */ - virtual void onRuntimeErrorEvent(const std::string& token, const std::string& payload) = 0; - - /** - * Called when a message should be logged - * @param level The log level - * @param source The source of the message - * @param message - */ - virtual void logMessage(LogLevel level, const std::string& source, const std::string& message) = 0; - - /** - * Returns the maximum number of concurrent downloads from the configs. - */ - virtual int getMaxNumberOfConcurrentDownloads() = 0; -}; - -/// Convenience typedef -using AplOptionsInterfacePtr = std::shared_ptr; - -} // namespace APLClient -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLOPTIONSINTERFACE_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEvent.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEvent.h deleted file mode 100644 index 213034b..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEvent.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_SMARTSCREENSDKINTERFACES_INCLUDE_SMARTSCREENSDKINTERFACES_APLEVENT_H_ -#define ALEXA_SMART_SCREEN_SDK_SMARTSCREENSDKINTERFACES_INCLUDE_SMARTSCREENSDKINTERFACES_APLEVENT_H_ - -namespace APLClient { - -/// Enumeration of APL events that could be sent from GUI to @c AlexaPresentation. -enum class AplRenderingEvent { - /// APL Core Engine started document inflation - INFLATE_BEGIN, - - /// APL Core Engine started document inflation - INFLATE_END, - - /// Text measure event was called - TEXT_MEASURE, - - DOCUMENT_RENDERED, - - RENDER_ABORTED -}; - -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_SMARTSCREENSDKINTERFACES_INCLUDE_SMARTSCREENSDKINTERFACES_APLEVENT_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEventObserver.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEventObserver.h deleted file mode 100644 index 31fcc37..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/AplRenderingEventObserver.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_APL_RENDERING_EVENT_OBSERVER_H_ -#define APL_CLIENT_LIBRARY_APL_RENDERING_EVENT_OBSERVER_H_ - -#include -#include -#include -#include - -#include "AplRenderingEvent.h" -#include "Telemetry/AplMetricsSinkInterface.h" - -namespace APLClient { - -class AplRenderingEventObserver { -public: - AplRenderingEventObserver() = default; - virtual ~AplRenderingEventObserver() = default; - - /** - * Called when a RenderDocument directive is received - * - * @param receiveTime The earliest timestamp that the application became able to access the - * directive. - */ - virtual void onRenderDirectiveReceived( - const std::chrono::steady_clock::time_point &receiveTime) = 0; - - /** - * Called when a rendering event happened. - * - * @param event The rendering event - */ - virtual void onRenderingEvent(AplRenderingEvent event) = 0; - - /** - * Called when display metrics are reported by the viewhost. - * - * @param jsonPayload the reported metrics payload - */ - virtual void onMetricsReported(const std::string& jsonPayload) = 0; - - /** - * Called when the telemetry sink is updated. - * - * @param sink the new sink to use for telemetry. - */ - virtual void onTelemetrySinkUpdated(APLClient::Telemetry::AplMetricsSinkInterfacePtr sink) = 0; -}; - -using AplRenderingEventObserverPtr = std::shared_ptr; - -} // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_APL_RENDERING_EVENT_OBSERVER_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackInterface.h deleted file mode 100644 index f7216a1..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackInterface.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENTIONEVENTCALLBACKINTERFACE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENTIONEVENTCALLBACKINTERFACE_H - -#include -#include "AplCoreExtensionEventCallbackResultInterface.h" - -namespace APLClient { -namespace Extensions { - -/** - * An interface for handling APL Extension events registered as ExtensionCommandDefinitions - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/extensioncommanddefinition.h - */ -class AplCoreExtensionEventCallbackInterface { -public: - virtual ~AplCoreExtensionEventCallbackInterface() = default; - - /** - * Extension Event Callback function - * @param uri Extension uri - * @param name Extension event name - * @param source Map of the source object that raised the event - * @param params Map of the user-specified properties - * @param event Event number - * @param resultCallback Pointer to result callback interface - */ - virtual void onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback) = 0; -}; - -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENTIONEVENTCALLBACKINTERFACE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackResultInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackResultInterface.h deleted file mode 100644 index 87b4046..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventCallbackResultInterface.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONEVENTCALLBACKRESULTINTERFACE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONEVENTCALLBACKRESULTINTERFACE_H - -namespace APLClient { -namespace Extensions { - -/** - * An interface for handling extension event results for ExtensionCommandDefinitions registered as requiring resolution. - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/extensioncommanddefinition.h - */ -class AplCoreExtensionEventCallbackResultInterface { -public: - virtual ~AplCoreExtensionEventCallbackResultInterface() = default; - - /** - * Callback function for the resolution of an @c AplCoreExtensionEvent - * @param event Event id number. - * @param succeeded Whether the event resolved successfully - */ - virtual void onExtensionEventResult(unsigned int event, bool succeeded) = 0; -}; - -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONEVENTCALLBACKRESULTINTERFACE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventHandlerInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventHandlerInterface.h deleted file mode 100644 index 25d0db4..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionEventHandlerInterface.h +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONEVENTHANDLERINTERFACE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONEVENTHANDLERINTERFACE_H - -namespace APLClient { -namespace Extensions { - -/** - * The implementor of this interface should handle the call to invokeExtensionHandler on @c apl::RootContext - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/engine/rootcontext.h - */ -class AplCoreExtensionEventHandlerInterface { -public: - virtual ~AplCoreExtensionEventHandlerInterface() = default; - - /** - * Invoke an extension event handler handler - * @param uri The URI of the custom document handler - * @param name The name of the handler to invoke - * @param data The data to associate with the handler - * @param fastMode If true, this handler will be invoked in fast mode - */ - virtual void invokeExtensionEventHandler( - const std::string& uri, - const std::string& name, - const apl::ObjectMap& data, - bool fastMode) = 0; -}; - -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONEVENTHANDLERINTERFACE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionInterface.h deleted file mode 100644 index 98f1068..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionInterface.h +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONINTERFACE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONINTERFACE_H - -#include -#include -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wreorder" -#pragma push_macro("DEBUG") -#pragma push_macro("TRUE") -#pragma push_macro("FALSE") -#undef DEBUG -#undef TRUE -#undef FALSE -#include -#include -#include -#pragma pop_macro("DEBUG") -#pragma pop_macro("TRUE") -#pragma pop_macro("FALSE") -#pragma GCC diagnostic pop -#include "AplCoreExtensionEventCallbackInterface.h" -#include "AplCoreExtensionEventHandlerInterface.h" - -namespace APLClient { -namespace Extensions { - -/// Static cast of apl::LogLevel::DEBUG -static apl::LogLevel LOGLEVEL_DEBUG = static_cast(1); - -/** - * Log message through APL Core Logger - * @param logLevel The @c apl::LogLevel. - * @param file The source file of the message. - * @param source The source name of the message. - * @param message The message to log. - */ -static inline void logMessage( - apl::LogLevel logLevel, - const std::string& file, - const std::string& source, - const std::string& message) { - apl::LoggerFactory::instance().getLogger(logLevel, file, source).log(message.c_str()); -} - -/** - * Interface for an APL Extension that can be registered with AplCore and exposed to a runtime client. - * Extensions are optional enhancements to an APL runtime that provide additional sources of data, commands, - * and event handlers. - * - * https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-extensions.html - */ -class AplCoreExtensionInterface : public virtual AplCoreExtensionEventCallbackInterface { -public: - virtual ~AplCoreExtensionInterface() = default; - - /** - * Gets the Uri of the Extension - */ - virtual std::string getUri() = 0; - - /** - * Gets the environment configuration of the Extension to be registered with @c apl::RootConfig - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/rootconfig.h - */ - virtual apl::Object getEnvironment() = 0; - - /** - * Get the list of Extension Command Definitions for the Extension - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/extensioncommanddefinition.h - * @return list of Extension Command Definitions - */ - virtual std::list getCommandDefinitions() = 0; - - /** - * Get the list of Event Handlers for the Extension - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/extensioneventhandler.h - * @return list of Event Handlers of the Extension - */ - virtual std::list getEventHandlers() = 0; - - /** - * Get the map of @c apl::LiveObjects that the extension provides to the APL data-binding context - * https://github.com/alexa/apl-core-library/blob/master/aplcore/src/livedata/livedataobject.cpp - * @return map of LiveObject Pointers and their associated data-binding name. - */ - virtual std::unordered_map getLiveDataObjects() = 0; - - /** - * Apply extension settings retrieved from @c apl::Content - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/content.h#L161 - * @param settings the settings object - */ - virtual void applySettings(const apl::Object& settings) = 0; - - /** - * Set Event Handler for the extension. - * This handler should handle invoking the Extension Event Handler on @c apl::RootContext - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/engine/rootcontext.h - * @param eventHandler The @c AplCoreExtensionEventHandlerInterface - */ - virtual void setEventHandler(std::shared_ptr eventHandler) { - m_eventHandler = eventHandler; - }; - -protected: - /** - * Internal utility function for generating event debug string. - * @param uri Event uri. - * @param name Event name. - * @param params Event params. - * @return Composite debug string of event values. - */ - virtual std::string getEventDebugString( - const std::string& uri, - const std::string& name, - const apl::Object& params) { - return "< " + uri + "::" + name + "::" + params.toDebugString() + " >"; - }; - - /** - * Internal utility function for event param validation. - * @param tag The file tag for the event params. - * @param expectedParams The list if expected params. - * @param params The received params. - * @return True if the expected params are found. - */ - virtual bool confirmEventParams( - const std::string& tag, - const std::list& expectedParams, - const apl::Object& params) { - std::list missingParams; - if (params.isMap()) { - for (auto& param : expectedParams) { - if (!params.has(param)) { - missingParams.push_back(param); - } - } - } else { - missingParams = expectedParams; - } - - if (!missingParams.empty()) { - std::string missingParamsString = "Missing Params"; - for (auto& param : missingParams) { - missingParamsString += (" : " + param); - } - logMessage(apl::LogLevel::kError, tag, __func__, missingParamsString); - return false; - } - return true; - }; - - /// The pointer to the @c AplCoreExtensionEventHandlerInterface - std::shared_ptr m_eventHandler; -}; - -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONINTERFACE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionManager.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionManager.h deleted file mode 100644 index 295e736..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplCoreExtensionManager.h +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONMANAGER_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONMANAGER_H - -#include -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wreorder" -#pragma push_macro("DEBUG") -#pragma push_macro("TRUE") -#pragma push_macro("FALSE") -#undef DEBUG -#undef TRUE -#undef FALSE -#include -#pragma pop_macro("DEBUG") -#pragma pop_macro("TRUE") -#pragma pop_macro("FALSE") -#pragma GCC diagnostic pop -#include "AplCoreExtensionInterface.h" - -namespace APLClient { -namespace Extensions { - -/** - * A utility manager for tracking and registering supported @c AplCoreExtensionInterfaces with - * instances of @c apl::RootConfig. - * - * https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-extensions.html - */ -class AplCoreExtensionManager : public AplCoreExtensionEventCallbackInterface { -public: - /** - * Constructor - */ - ~AplCoreExtensionManager() override = default; - - /** - * Gets an Extension by its uri - * @param uri Extension Uri - * @return Shared Pointer to @c AplCoreExtensionInterface - */ - std::shared_ptr getExtension(const std::string& uri); - - /** - * Adds an Extension to the manager - * @param extension Shared Pointer to @c AplCoreExtensionInterface - */ - void addExtension(std::shared_ptr extension); - - /** - * Registers a managed extension with the provided @c RootConfig - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/rootconfig.h - * @param uri Uri of Extension to register - * @param config RootConfig of the APL Document - */ - void registerRequestedExtension(const std::string& uri, apl::RootConfig& config); - - /// @name AplCoreExtensionEventCallbackInterface Functions - /// @{ - void onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback = nullptr) override; - /// @} - -private: - /// Map of @c AplCoreExtensionInterfaces by uri - std::unordered_map> m_Extensions; -}; - -using AplCoreExtensionManagerPtr = std::shared_ptr; - -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_APLCOREEXTENSIONMANAGER_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplDocumentState.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplDocumentState.h deleted file mode 100644 index f0a1a80..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AplDocumentState.h +++ /dev/null @@ -1,79 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLDOCUMENTSTATE_H_ -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLDOCUMENTSTATE_H_ - -#include -#include - -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wreorder" -#pragma push_macro("DEBUG") -#pragma push_macro("TRUE") -#pragma push_macro("FALSE") -#undef DEBUG -#undef TRUE -#undef FALSE -#include -#pragma pop_macro("DEBUG") -#pragma pop_macro("TRUE") -#pragma pop_macro("FALSE") -#pragma GCC diagnostic pop - -namespace APLClient { -namespace Extensions { - -/** - * The @c AplDocumentState is an object designed to cache the state of an active APL document such that it can - * be re-inflated and restored. i.e. as when used in Backstack navigation. - */ -struct AplDocumentState { - /** - * Default Constructor. - */ - AplDocumentState() = default; - - /** - * Constructor. - * @param token The presentation token for the document. - * @param rootContext The @c RootContext pointer for the document. - * @param metrics The derived @c AplCoreMetrics for the document. - */ - AplDocumentState( - std::string token, - apl::RootContextPtr rootContext, - std::shared_ptr metrics) : - token{std::move(token)}, - rootContext{std::move(rootContext)}, - metrics{std::move(metrics)} {}; - - /// The id for the document state, as defined by the client or assigned in back navigation. - std::string id; - /// The presentationToken for the document as provided by the original APL document directive. - std::string token; - /// The pointer for the derived @c RootContext which maintains all state information about the document. - apl::RootContextPtr rootContext; - /// The pointer for the derived @c MetricsTransform for the document. - std::shared_ptr metrics; - /// The configuration change that needs to be applied to the restoring documentState. - apl::ConfigurationChange configurationChange; -}; - -using AplDocumentStatePtr = std::shared_ptr; - -} // namespace Extensions -} // namespace APLClient -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_APLDOCUMENTSTATE_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.h deleted file mode 100644 index 988d435..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.h +++ /dev/null @@ -1,78 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYERALARMSEXTENSION_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYERALARMSEXTENSION_H - -#include "APLClient/Extensions/AplCoreExtensionInterface.h" -#include "AplAudioPlayerAlarmsExtensionObserverInterface.h" - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { - -/** - * An APL Extension designed for control of an @c AudioPlayer playing an Alarm from an APL document. - */ -class AplAudioPlayerAlarmsExtension - : public AplCoreExtensionInterface - , public std::enable_shared_from_this { -public: - /** - * Constructor - */ - AplAudioPlayerAlarmsExtension(std::shared_ptr observer); - - virtual ~AplAudioPlayerAlarmsExtension() = default; - - /// @name AplCoreExtensionInterface Functions - /// @{ - std::string getUri() override; - - apl::Object getEnvironment() override; - - std::list getCommandDefinitions() override; - - std::list getEventHandlers() override; - - std::unordered_map getLiveDataObjects() override; - - void applySettings(const apl::Object& settings) override; - /// @} - - /// @name AplCoreExtensionEventCallbackInterface Functions - /// @{ - void onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback = nullptr) override; - /// @} - -private: - - /// The @c AplAudioPlayerAlarmsExtensionObserverInterface observer - std::shared_ptr m_observer; -}; - -using AplAudioPlayerAlarmsExtensionPtr = std::shared_ptr; - -} // namespace AudioPlayer -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYERALARMSEXTENSION_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionObserverInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionObserverInterface.h deleted file mode 100644 index f18e51d..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionObserverInterface.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYERALARMSEXTENSIONOBSERVERINTERFACE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYERALARMSEXTENSIONOBSERVERINTERFACE_H - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { - -/** - * This class allows a @c AplAudioPlayerAlarmsExtensionObserverInterface observer to be notified of changes in the - * @c AplAudioPlayerAlarmsExtension. - * The observer should control the state of the corresponding @c AudioPlayer and/or @c Alerts API's - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/audioplayer.html - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/alerts.html - */ -class AplAudioPlayerAlarmsExtensionObserverInterface { -public: - /** - * Destructor - */ - virtual ~AplAudioPlayerAlarmsExtensionObserverInterface() = default; - - /** - * Used to notify the observer when the extension has issued a Dismiss event. - * The observer should Dismiss/Stop the active @c AudioPlayer alarm. - */ - virtual void onAudioPlayerAlarmDismiss() = 0; - - /** - * Used to notify the observer when the extension has issued a Snooze event. - * The observer should snooze the @c AudioPlayer alarm. - */ - virtual void onAudioPlayerAlarmSnooze() = 0; -}; - -} // namespace AudioPlayer -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYERALARMSEXTENSIONOBSERVERINTERFACE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtension.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtension.h deleted file mode 100644 index 0d8a235..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtension.h +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYEREXTENSION_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYEREXTENSION_H - -#include - -#include "APLClient/Extensions/AplCoreExtensionInterface.h" -#include "AplAudioPlayerExtensionObserverInterface.h" - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { - -static const std::string URI = "aplext:audioplayer:10"; - -/** - * An APL Extension designed for bi-directional communication between an @c AudioPlayer and APL document - * to allow for control and command of audio stream and APL UI. - */ -class AplAudioPlayerExtension - : public AplCoreExtensionInterface - , public std::enable_shared_from_this { -public: - /** - * Constructor - */ - AplAudioPlayerExtension(std::shared_ptr observer); - - virtual ~AplAudioPlayerExtension() = default; - - /// @name AplCoreExtensionInterface Functions - /// @{ - std::string getUri() override; - - apl::Object getEnvironment() override; - - std::list getCommandDefinitions() override; - - std::list getEventHandlers() override; - - std::unordered_map getLiveDataObjects() override; - - void applySettings(const apl::Object& settings) override; - /// @} - - /// @name AplCoreExtensionEventCallbackInterface Functions - /// @{ - void onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback = nullptr) override; - /// @} - - /** - * Call to invoke the OnPlayerActivityUpdated ExtensionEventHandler and update the playbackState apl::LiveMap. - * It is expected that this is called on every change in the AudioPlayer's PlayerActivity state. - * - * @param state The player activity state as defined in - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/audioplayer.html#context - * @param offset The current offsetInMilliseconds for the active audioItem received from - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/audioplayer.html#play - */ - void updatePlayerActivity(const std::string& state, int offset); - - /** - * Call to update the audioItem offset property of the playbackState apl::LiveMap. - * It is expected that this is called on every offset change (tick) from the AudioPlayer's audioItem to consistently - * update playback progress. - * - * @param offset The current offsetInMilliseconds for the active audioItem received from - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/audioplayer.html#play - */ - void updatePlaybackProgress(int offset); - - /** - * Used to inform the extension of the active @c AudioPlayer.Presentation.APL presentationSession. - * @param id The identifier of the active presentation session. - * @param skillId The identifier of the active Skill / Speechlet who owns the session. - */ - void setActivePresentationSession(const std::string& id, const std::string& skillId); - -private: - - /** - * Utility object for tracking lyrics viewed data. - */ - struct LyricsViewedData { - /** - * Default Constructor. - */ - LyricsViewedData() = default; - - /** - * Constructor. - * - * @param token the identifier of the track displaying lyrics. - */ - explicit LyricsViewedData(std::string token) : token{std::move(token)} { - lyricData = std::make_shared(); - }; - - /// The identifier of the track displaying lyrics. - std::string token; - - /// The total time in milliseconds that lyrics were viewed. - long durationInMilliseconds{}; - - /// The lyrics viewed data array. - apl::ObjectArrayPtr lyricData; - - /** - * Add Lyric lines to the data array. - * @param lines The lines of lyrics to append. - */ - void addLyricLinesData(const apl::ObjectArray& lines) const { - /// List of valid lyrics property. - const std::vector validLyricPropertyName = { - "text", - "startTime", - "endTime" - }; - for (const auto & line : lines) { - apl::ObjectMapPtr m = std::make_shared(); - for (const auto & it : line.getMap()) { - if (std::find(validLyricPropertyName.begin(), validLyricPropertyName.end(), it.first) != validLyricPropertyName.end()) { - m->emplace(it.first, it.second); - } else { - logMessage(apl::LogLevel::kWarn, "LyricsViewedData", __func__, "Ignoring invalid lyric property: " + it.first); - } - } - lyricData->emplace_back(apl::Object(m)); - } - } - - /** - * Resets the LyricsData object - */ - void reset() { - token = ""; - durationInMilliseconds = 0; - lyricData->clear(); - } - - /** - * Returns string payload of the lyricData object. - * @return the lyricData object payload. - */ - std::string getLyricDataPayload() const { - rapidjson::Document lyricDataJsonDoc(rapidjson::kObjectType); - auto& allocator = lyricDataJsonDoc.GetAllocator(); - auto lyricsObject = apl::Object(lyricData).serialize(allocator); - for (rapidjson::Value::ValueIterator itr = lyricsObject.Begin(); itr != lyricsObject.End(); ++itr) { // Ok - if (itr->HasMember("startTime")) { - (*itr)["startTime"].SetInt((int) (*itr)["startTime"].GetDouble()); - } - if (itr->HasMember("endTime")) { - (*itr)["endTime"].SetInt((int) (*itr)["endTime"].GetDouble()); - } - } - - rapidjson::StringBuffer buffer; - rapidjson::Writer writer(buffer); - lyricsObject.Accept(writer); - return buffer.GetString(); - } - }; - - /** - * An internal function to retrieve the active @c LyricsViewedData object from the m_lyricsViewedData map - * based on the m_activeSkillId; - * @param initIfNull If true this will initialize a @c LyricsViewedData object for the m_activeSkillId if none exists. - * @param token - The token for the track actively displaying lyrics. - */ - std::shared_ptr getActiveLyricsViewedData(bool initIfNull = false, const std::string& token = ""); - - /** - * Flushes the provided @c LyricsViewedData and notifies the observer. - * @param lyricsViewedData The @c LyricsViewedData to flush. - */ - void flushLyricData(const std::shared_ptr& lyricsViewedData); - - /// The @c AplAudioPlayerExtensionObserverInterface observer - std::shared_ptr m_observer; - - /// The document settings defined 'name' for the playbackState data object - std::string m_playbackStateName; - - /// The @c apl::LiveMap for AudioPlayer playbackState data. - apl::LiveMapPtr m_playbackState; - - /// The id of the active skill in session. - std::string m_activeSkillId; - - /// The map of @c LyricsViewedData objects per skill Id. - std::unordered_map> m_lyricsViewedData; -}; - -using AplAudioPlayerExtensionPtr = std::shared_ptr; - -} // namespace AudioPlayer -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYEREXTENSION_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtensionObserverInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtensionObserverInterface.h deleted file mode 100644 index 53b9c3b..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/AudioPlayer/AplAudioPlayerExtensionObserverInterface.h +++ /dev/null @@ -1,109 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYEREXTENSIONOBSERVERINTERFACE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYEREXTENSIONOBSERVERINTERFACE_H - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { - -/** - * This class allows a @c AplAudioPlayerExtensionObserverInterface observer to be notified of changes in the - * @c AplAudioPlayerExtension. - * The observer should control the state of the corresponding @c AudioPlayer: - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/audioplayer.html - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/playbackcontroller.html - */ -class AplAudioPlayerExtensionObserverInterface { -public: - /** - * Destructor - */ - virtual ~AplAudioPlayerExtensionObserverInterface() = default; - - /** - * Used to notify the observer when the extension has issued a Play event. - * The observer should change @c AudioPlayer state to PLAYING. - */ - virtual void onAudioPlayerPlay() = 0; - - /** - * Used to notify the observer when the extension has issued a Pause event. - * The observer should change @c AudioPlayer state to PAUSED. - */ - virtual void onAudioPlayerPause() = 0; - - /** - * Used to notify the observer when the extension has issued a Next event. - * The observer should advance @c AudioPlayer to the NEXT item in the queue. - */ - virtual void onAudioPlayerNext() = 0; - - /** - * Used to notify the observer when the extension has issued a Previous event. - * The observer should set @c AudioPlayer to the PREVIOUS item in the queue. - */ - virtual void onAudioPlayerPrevious() = 0; - - /** - * Used to notify the observer when the extension has issued a SkipToPosition event. - * The observer should seek the @c AudioPlayer offset to the provided value. - * @param offsetInMilliseconds Offset to skip to. - */ - virtual void onAudioPlayerSeekToPosition(int offsetInMilliseconds) = 0; - - /** - * Used to notify the observer when the extension has issued a Toggle event. - * The observer should report the provided TOGGLE control state for the @c AudioPlayer. - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/playbackcontroller.html#togglecommandissued - * @param name The name of the toggle. - * @param checked The checked state of the toggle. - */ - virtual void onAudioPlayerToggle(const std::string& name, bool checked) = 0; - - /** - * Used to notify the observer when the extension has flushed lyrics viewed data. - * The observer should report the provided LyricsViewed data for the @c AudioPlayer.Presentation - * @param token Meta-information about the track that displayed lyrics. - * @param durationInMilliseconds The time in milliseconds that lyrics were displayed. - * @param lyricData Opaque serialized data object for reporting lyrics viewed. - */ - virtual void onAudioPlayerLyricDataFlushed(const std::string& token, - long durationInMilliseconds, - const std::string& lyricData) = 0; - - /** - * ADDITIONAL API - Supports Full AVS PlaybackController API usage. - * Used to notify the observer when the extension has issued a SkipForward event. - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/playbackcontroller.html#buttoncommandissued - * The observer should SKIPFORWARD in the @c AudioPlayer. - */ - virtual void onAudioPlayerSkipForward() = 0; - - /** - * ADDITIONAL API - Supports Full AVS PlaybackController API usage. - * Used to notify the observer when the extension has issued a SkipBackward event. - * The observer should SKIPBACKWARD in the @c AudioPlayer. - * https://developer.amazon.com/en-US/docs/alexa/alexa-voice-service/playbackcontroller.html#buttoncommandissued - */ - virtual void onAudioPlayerSkipBackward() = 0; -}; - -} // namespace AudioPlayer -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_AUDIOPLAYER_APLAUDIOPLAYEREXTENSIONOBSERVERINTERFACE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtension.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtension.h deleted file mode 100644 index 149fe93..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtension.h +++ /dev/null @@ -1,342 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_BACKSTACK_APLBACKSTACKEXTENSION_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_BACKSTACK_APLBACKSTACKEXTENSION_H - -#include "APLClient/Extensions/AplCoreExtensionInterface.h" -#include "AplBackstackExtensionObserver.h" - -namespace APLClient { -namespace Extensions { -namespace Backstack { - -static const std::string URI = "aplext:backstack:10"; -static const std::string PROPERTY_BACK_TYPE_INDEX = "index"; -static const std::string PROPERTY_BACK_TYPE_ID = "id"; - -/** - * The APL Backstack extension is an optional-use feature available for APL clients which allows - * APL developers to provide users the ability to navigate back to previously viewed documents using - * common device inputs and APL extension commands. - * - * https://developer.amazon.com/docs/alexa/alexa-presentation-language/apl-ext-backstack.html - */ -class AplBackstackExtension - : public AplCoreExtensionInterface - , public std::enable_shared_from_this { -public: - /** - * Constructor - */ - AplBackstackExtension(std::shared_ptr observer); - - ~AplBackstackExtension() override = default; - - /// @name AplCoreExtensionInterface Functions - /// @{ - std::string getUri() override; - - apl::Object getEnvironment() override; - - std::list getCommandDefinitions() override; - - std::list getEventHandlers() override; - - std::unordered_map getLiveDataObjects() override; - - void applySettings(const apl::Object& settings) override; - /// @} - - /// @name AplCoreExtensionEventCallbackInterface Functions - /// @{ - void onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback = nullptr) override; - /// @} - - /** - * Tells the @c AplBackstack if it should @c handleBack as invoked by a system event, - * or if the document is responsible. - * - * Example: - * A device that allows the AplClient and Apl documents to use the AplBackstack extension, but does not allow - * any invocation of the backstack from it's system inputs (physical button or otherwise) would set this property - * to be TRUE. - * - * @param isResponsibleForBackButton True if the device does not allow, or has no mechanism for, system invocation - * of back (making the APL document "responsible"). - */ - void setResponsibleForBackButton(bool isResponsibleForBackButton); - - /** - * @return True if there is an active document id to use for caching @c AplDocumentState. - */ - bool shouldCacheActiveDocument(); - - /** - * Add the provided @c AplDocumentState to the @c AplBackstack - * @param documentState The @c AplDocumentState to add to the backstack. - */ - void addDocumentStateToBackstack(const AplDocumentStatePtr& documentState); - - /** - * Clear the @c AplBackstack, and clear the active document id. - */ - void reset(); - - /** - * Attempt to handle a system-invoked back event. - * Gated by the value provided with @c setResponsibleForBackButton. - * @return True if the extension allows system back and the back event succeeded in issuing a restoreDocumentState - * callback to the observer. - */ - bool handleBack(); - -private: - /** - * Enumerated back types - */ - enum class AplBackType { COUNT, INDEX, ID }; - - /** - * Convert string to @c AplBackType - * @param type The string value of the back type. - * @return @c AplBackType (Defaults to COUNT). - */ - static inline AplBackType backTypeFromString(const std::string& type) { - AplBackType backType = AplBackType::COUNT; - if (type == PROPERTY_BACK_TYPE_INDEX) { - backType = AplBackType::INDEX; - } else if (type == PROPERTY_BACK_TYPE_ID) { - backType = AplBackType::ID; - } - return backType; - } - - /** - * Contains @c AplDocumentState objects and methods to support the APL Backstack. - * - * Note: - * The top of the stack is {@c AplBackstack.length()} - 1. - */ - struct AplBackstack { - /** - * Default Constructor. - */ - AplBackstack() = default; - - std::string id; - std::vector> m_documentStateCache; - - /// The @c apl::LiveArray data for the backstack id's. - apl::LiveArrayPtr m_backstackIds = apl::LiveArray::create(); - - /** - * Adds a document to the Backstack. - * @param documentState the @c AplDocumentState to add. - */ - void addDocumentState(const AplDocumentStatePtr& documentState) { - m_documentStateCache.emplace_back(documentState); - m_backstackIds->push_back(documentState->id); - } - - /** - * @return the length of the Backstack. - */ - unsigned int length() const { - return m_documentStateCache.size(); - } - - /** - * @return the @c LiveArray of document ids in the backstack. - */ - apl::LiveArrayPtr getBackstackIds() const { - return m_backstackIds; - } - - /** - * @return the list of document ids in the backstack. - */ - apl::ObjectArray getBackstackIdsArray() const { - apl::ObjectArray backstackIds; - for (const auto & it : m_backstackIds->getArray()) { - backstackIds.emplace_back(it); - } - return backstackIds; - } - - /** - * Gets the index of the most recent document with the id backstackId. - * - * Note: documents are stored in ascending-recency order. That is, the order ['A','B','C'] means - * that 'C' is the most recent document. - * - * @param backstackId the id to search for. - * @return the index of the most recent document in the stack matching backstackId, - * or -1 if not found. - */ - int indexOf(const std::string& backstackId) { - auto index = length() - 1; - - for (auto rit = m_documentStateCache.rbegin(); rit != m_documentStateCache.rend(); rit++) { - if (backstackId == rit->get()->id) { - break; - } - index--; - } - - return index; - } - - /** - * Removes all documents in the stack more recent than the most recent document with matching - * backstackId and removes and returns that document. - * - * For example, if the stack is ['A','B','B','C'], then popDocuments('B') would return the document - * at index 2 and the stack would be ['A','B']. - * - * @param backstackId the id of the document to return - * @return the most recent document in the stack whose document id matches the parameter. - */ - AplDocumentStatePtr popDocuments(const std::string& backstackId) { - auto indexOfDocument = indexOf(backstackId); - if (indexOfDocument == -1) { - return nullptr; - } - return popDocumentsAtIndex(indexOfDocument); - } - - /** - * Removes count documents from the stack and returns the last one removed. - * - * For example, if the stack has documents ['A', 'B', 'C'], then popDocuments(2) would return 'B', - * and the stack would be: ['A']. - * - * @param count the number of documents to remove - * @return the count document in the stack - */ - AplDocumentStatePtr popDocuments(unsigned int count) { - if (count < 0 || count > length()) { - return nullptr; - } - - m_documentStateCache.erase(m_documentStateCache.end() - (count - 1), m_documentStateCache.end()); - m_backstackIds->remove(m_backstackIds->size() - count, count); - auto documentState = m_documentStateCache.back(); - m_documentStateCache.pop_back(); - - return documentState; - } - - /** - * Removes all documents more recent than and including index and returns the document at index. - * - * For example, if the stack has ['A','B','C'], then both popDocumentsAtIndex(0) and - * popDocumentsAtIndex(-3) would return 'A' and the stack would be []. - * - * @param index the index of the document to return (can be negative to count backwards) - * @return the document at index. - */ - AplDocumentStatePtr popDocumentsAtIndex(unsigned int index) { - // Convert negative indexes to positive - if (index < 0) { - index = index + length(); - } - - if (index < 0 || index >= length()) { - return nullptr; - } - - return popDocuments(length() - index); - } - - /** - * Clears the backstack of all @c AplDocumentState's - */ - void clear() { - m_documentStateCache.clear(); - m_backstackIds->clear(); - } - }; - - /** - * Handle the GoBack Extension Command - * @param params The command params. - * @return True if the command was successful. - */ - bool handleGoBack(const apl::Object& params); - - /** - * Go Back by Count. - * @param count The number of documents in the stack by which to go back. - * @return True if the command was successful. - */ - bool goBackCount(unsigned int count); - - /** - * Go Back by Index. - * @param index The index of the document to return to in the stack. - * @return True if the command was successful. - */ - bool goBackIndex(unsigned int index); - - /** - * Go Back by Id. - * @param id The id of the document to return to in the stack. - * @return True if the command was successful. - */ - bool goBackId(const std::string& id); - - /** - * Notify the observer to restore the @c AplDocumentState popped by the backstack. - * @param documentState The @c AplDocumentState to restore. - * @return True if @c AplDocumentState can be restored and the observer was notified. - */ - bool restoreDocumentState(const AplDocumentStatePtr& documentState); - - /** - * Clear the active document id tracked by the extension. - */ - void clearActiveDocumentId(); - - /// Indicates if the extension allows external back input, - /// or if the document is responsible for drawing a back button. - bool m_responsibleForBackButton; - - /// The active backstack id as provided by the last requesting document in settings. - std::string m_activeDocumentId; - - /// The document settings defined 'name' for the backstack array data object. - std::string m_backstackArrayName; - - /// The @c AplBackstack used for tracking @c AplDocumentStates. - AplBackstack m_backstack; - - /// The @c AplBackstackExtensionObserverInterface observer. - std::shared_ptr m_observer; -}; - -using AplBackstackExtensionPtr = std::shared_ptr; - -} // namespace Backstack -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_BACKSTACK_APLBACKSTACKEXTENSION_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtensionObserver.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtensionObserver.h deleted file mode 100644 index 59a53f5..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Extensions/Backstack/AplBackstackExtensionObserver.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_BACKSTACK_APLBACKSTACKEXTENSIONOBSERVERINTERFACE_H -#define ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_BACKSTACK_APLBACKSTACKEXTENSIONOBSERVERINTERFACE_H - -#include "APLClient/Extensions/AplDocumentState.h" - -namespace APLClient { -namespace Extensions { -namespace Backstack { - -/** - * This class allows a @c AplBackstackExtensionObserverInterface observer to be notified of changes in the - * @c AplBackstackExtension. - */ -class AplBackstackExtensionObserverInterface { -public: - /** - * Destructor - */ - virtual ~AplBackstackExtensionObserverInterface() = default; - - /** - * Used to notify the observer when the extension has successfully popped a @c AplDocumentState to be restored - * from the @c AplBackstack. - * @param documentState The popped @c AplDocumentState to restore. - */ - virtual void onRestoreDocumentState(AplDocumentStatePtr documentState) = 0; -}; - -} // namespace Backstack -} // namespace Extensions -} // namespace APLClient - -#endif // ALEXA_SMART_SCREEN_SDK_APPLICATIONUTILITIES_APL_EXTENSIONS_BACKSTACK_APLBACKSTACKEXTENSIONOBSERVERINTERFACE_H diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorder.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorder.h deleted file mode 100644 index 88a22fc..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorder.h +++ /dev/null @@ -1,95 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_TELEMETRY_APL_METRICS_RECORDER -#define APL_CLIENT_LIBRARY_TELEMETRY_APL_METRICS_RECORDER - -#include -#include -#include -#include -#include - -#include "AplMetricsRecorderInterface.h" -#include "AplMetricsSinkInterface.h" - -namespace APLClient { -namespace Telemetry { - -class AplMetricsRecorder : public AplMetricsRecorderInterface, - public std::enable_shared_from_this { - -private: - AplMetricsRecorder(AplMetricsSinkInterfacePtr sink); - -public: - ~AplMetricsRecorder() override = default; - -private: - struct MetricRecord; - struct DocumentRecord; - class TimerHandle; - class CounterHandle; - -public: - static AplMetricsRecorderInterfacePtr create(AplMetricsSinkInterfacePtr sink); - - DocumentId registerDocument() override; - bool addMetadata(DocumentId document, - const std::string& key, - const std::string& value) override; - void invalidateDocument(DocumentId documentId) override; - DocumentId currentDisplayedDocument() const override; - DocumentId latestDocument() const override; - void flush() override; - - std::unique_ptr createTimer(DocumentId document, - AplRenderingSegment segment, - bool reportZeroFailures = false) override; - std::unique_ptr createTimer(DocumentId document, - const std::string &name, - bool reportZeroFailures = false) override; - std::unique_ptr createCounter(DocumentId document, - AplRenderingSegment segment, - bool reportZeroValues = true) override; - std::unique_ptr createCounter(DocumentId document, - const std::string &name, - bool reportZeroValues = true) override; - - void onRenderingStarted(DocumentId document) override; - void onRenderingEnded(DocumentId document) override; - -private: - bool updateTimer(DocumentId document, int id, std::function updater); - bool updateCounter(DocumentId document, int id, std::function updater); - void invalidateInactiveDocuments(); - bool isActive(DocumentId document); - DocumentId resolveDocument(DocumentId document); - void reportTimerIfNecessary(const DocumentRecord &documentRecord, MetricRecord &metricRecord); - void reportCounterIfNecessary(const DocumentRecord &documentRecord, MetricRecord &metricRecord); - -private: - std::shared_ptr mSink; - std::map mDocuments; - unsigned int mCurrentDocument; - unsigned int mLatestDocument; - unsigned int mNextDocument; - std::mutex mDocumentMutex; -}; - -} // namespace Telemetry -} // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_TELEMETRY_APL_METRICS_RECORDER diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorderInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorderInterface.h deleted file mode 100644 index ab8a91a..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsRecorderInterface.h +++ /dev/null @@ -1,257 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_METRICS_RECORDER_INTERFACE -#define APL_CLIENT_LIBRARY_METRICS_RECORDER_INTERFACE - -#include - -#include -#include -#include - -namespace APLClient { -namespace Telemetry { - -/** - * A handle to a registered timer. Each timer is associated with an APL document. If the APL document gets - * invalidated while a handle is still active, the handle essentially becomes a no-op. - */ -class AplTimerHandle { -public: - AplTimerHandle() = default; - virtual ~AplTimerHandle() = default; - - /** - * Starts the timer at the current time. - * - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool start() { - auto startTime = std::chrono::steady_clock::now(); - return startedAt(startTime); - } - - /** - * Stops the timer at the current time. - * - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool stop() { - auto stopTime = std::chrono::steady_clock::now(); - return stoppedAt(stopTime); - } - - /** - * Starts the timer at the specified time. - * - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool startedAt(const std::chrono::steady_clock::time_point& startTime) = 0; - - /** - * Stops the timer at the specified time. - * - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool stoppedAt(const std::chrono::steady_clock::time_point& stopTime) = 0; - - /** - * Records the specified duration for this timer without the need to explicitly start/stop. - * - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool elapsed(const std::chrono::nanoseconds& duration) = 0; - - /** - * Records a failure for the specified timer. The timer will be deactivated without stopping, i.e. no duration - * will be recorded for it. A failure counter will be emitted instead. - * - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool fail() = 0; -}; - -/** - * A handle to a registered counter. Each counter is associated with an APL document. If the APL document gets - * invalidated while a handle is still active, the handle essentially becomes a no-op. - */ -class AplCounterHandle { -public: - AplCounterHandle() = default; - virtual ~AplCounterHandle() = default; - - /** - * Increments the counter by 1. - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool increment() { return incrementBy(1u); } - - /** - * Increments the counter by the specified amount. - * - * @param value the amount of increment by - * @return @c true if successful, @c false otherwise (e.g. handle refers to an invalidated document) - */ - virtual bool incrementBy(uint64_t value) = 0; -}; - -enum class AplRenderingSegment { - /** Corresponds to the overall rendering of an APL document */ - kRenderDocument, - /** Corresponds to the creation of the APL @c Content object, including downloading imports */ - kContentCreation, - /** Corresponds to inflating the APL @c RootContext object */ - kRootContextInflation, - /** Corresponds to performing a text measuring requested by APL during layout */ - kTextMeasure -}; - -/** - * The contract for metrics recording from APL code. Implementations are allowed to buffer recorded metrics - * in order to limit possibly expensive reporting. - */ -class AplMetricsRecorderInterface { -public: - /** Opaque type for document IDs. Clients should not rely on DocumentId being a specific type. */ - using DocumentId = unsigned int; - - /** Special document ID that identifies an unknown (e.g. previously invalidated) document. */ - static const DocumentId UNKNOWN_DOCUMENT; - - /** Special document ID that is internally mapped to the document ID of the currently displayed document, if any. */ - static const DocumentId CURRENT_DOCUMENT; - - /** Special document ID that is internally mapped to the document ID of the document ID from the last - * RenderDocument directive. */ - static const DocumentId LATEST_DOCUMENT; - - virtual ~AplMetricsRecorderInterface() = default; - - /** - * Registers a new document, typically in response to starting to process a RenderDocument directive. - */ - virtual DocumentId registerDocument() = 0; - - /** - * Adds metadata (key-value pair) to a previously registered document. - * - * @param document The document to modify, or one of the special document IDs (@c CURRENT_DOCUMENT or @c - * LATEST_DOCUMENT). - * @param key The key in the key-value pair - * @param value The value in the key-value pair - */ - virtual bool addMetadata(DocumentId document, - const std::string &key, - const std::string &value) = 0; - - /** - * Invalidates the specified document, if active. - * - * @param documentId The document to invalidate, or one of the special document IDs (@c CURRENT_DOCUMENT or @c - * LATEST_DOCUMENT). - */ - virtual void invalidateDocument(DocumentId documentId) = 0; - - /** - * Returns the currently displayed document. - * - * @return The ID of the currently displayed document, or @c UNKNOWN_DOCUMENT if no such document exists. - */ - virtual DocumentId currentDisplayedDocument() const = 0; - - /** - * Returns the latest registered document. - * - * @return The ID of the latest registered document, or @c UNKNOWN_DOCUMENT if no such document exists. - */ - virtual DocumentId latestDocument() const = 0; - - /** - * Causes all pending telemetry to be emitted to the sink, if any buffered telemetry is present. - */ - virtual void flush() = 0; - - /** - * Creates a timer for the specified rendering segment. - * - * @param document The document associated with this timer (special document IDs are allowed) - * @param segment The rendering segment to time - * @param reportZeroFailures Whether a failure counter should be emitted even if no failure is registered for - * this segment - * @return A pointer to the newly created timer handle, or @c nullptr if an error is encountered. - */ - virtual std::unique_ptr createTimer(DocumentId document, - AplRenderingSegment segment, - bool reportZeroFailures = false) = 0; - - /** - * Creates a timer for with the specified name. - * - * @param document The document associated with this timer (special document IDs are allowed) - * @param segment The name of the timer - * @param reportZeroFailures Whether a failure counter should be emitted even if no failure is registered for - * this segment - * @return A pointer to the newly created timer handle, or @c nullptr if an error is encountered. - */ - virtual std::unique_ptr createTimer(DocumentId document, - const std::string &name, - bool reportZeroFailures = false) = 0; - - /** - * Creates a counter for the specified rendering segment. - * - * @param document The document associated with this counter (special document IDs are allowed) - * @param segment The rendering segment to count - * @param reportZero Whether the counter should be emitted even if it is never explicitly incremented. - * @return A pointer to the newly created counter handle, or @c nullptr if an error is encountered. - */ - virtual std::unique_ptr createCounter(DocumentId document, - AplRenderingSegment segment, - bool reportZero = true) = 0; - - /** - * Creates a counter with the specified name. - * - * @param document The document associated with this counter (special document IDs are allowed) - * @param name The name of the counter - * @param reportZero Whether the counter should be emitted even if it is never explicitly incremented. - * @return A pointer to the newly created counter handle, or @c nullptr if an error is encountered. - */ - virtual std::unique_ptr createCounter(DocumentId document, - const std::string &name, - bool reportZero = true) = 0; - - /** - * Invoked when rendering starts for the specified document. Used to maintain internal state. - * - * @param document The document is being rendered. Special document IDs should not be used. - */ - virtual void onRenderingStarted(DocumentId document) = 0; - - /** - * Invoked when rendering stops for the specified document. Used to maintain internal state. - * - * @param document The document that was rendered. Special document IDs should not be used. - */ - virtual void onRenderingEnded(DocumentId document) = 0; -}; - -using AplMetricsRecorderInterfacePtr = std::shared_ptr; - -}; // namespace Telemetry -}; // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_METRICS_RECORDER_INTERFACE diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsSinkInterface.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsSinkInterface.h deleted file mode 100644 index 40518a4..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/AplMetricsSinkInterface.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_TELEMETRY_APL_METRICS_SINK_INTERFACE -#define APL_CLIENT_LIBRARY_TELEMETRY_APL_METRICS_SINK_INTERFACE - -#include - -#include -#include -#include -#include - -namespace APLClient { -namespace Telemetry { - -class AplMetricsSinkInterface { -public: - AplMetricsSinkInterface() = default; - virtual ~AplMetricsSinkInterface() = default; - - virtual void reportTimer(const std::map &metadata, - const std::string& name, - const std::chrono::nanoseconds& value) = 0; - virtual void reportCounter(const std::map &metadata, - const std::string& name, - uint64_t value) = 0; -}; - -using AplMetricsSinkInterfacePtr = std::shared_ptr; - -} // namespace Telemetry -} // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_TELEMETRY_APL_METRICS_SINK_INTERFACE diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/DownloadMetricsEmitter.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/DownloadMetricsEmitter.h deleted file mode 100644 index 43a405f..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/DownloadMetricsEmitter.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_TELEMETRY_DOWNLOAD_METRICS_EMITTER_H_ -#define APL_CLIENT_LIBRARY_TELEMETRY_DOWNLOAD_METRICS_EMITTER_H_ - -#include -#include - -#include "AplMetricsRecorderInterface.h" - -namespace APLClient { -namespace Telemetry { - -/** - * Emits APL telemetry in response to download manager events. - */ -class DownloadMetricsEmitter final { -public: - explicit DownloadMetricsEmitter(AplMetricsRecorderInterfacePtr metricsRecorder); - - ~DownloadMetricsEmitter() = default; - - /** - * Called at the start of a download, when a resource is not found in the cache. - */ - void onDownloadStarted(); - - /** - * Called when a resource was not found in the cache and has successfully been downloaded. - */ - void onDownloadComplete(); - - /** - * Called when a resource was not found in the cache and the attempt to download it has failed. - */ - void onDownloadFailed(); - - /** - * Called when a resource was found in the cache and downloading is not attempted. - */ - void onCacheHit(); - - /** - * Called during the download of a resource. Observers should expect multiple calls - * to this method for a single download. - * - * @param numberOfBytes The number of bytes that have been downloaded. - */ - void onBytesRead(std::uint64_t numberOfBytes); - -private: - AplMetricsRecorderInterfacePtr m_metricsRecorder; - std::unique_ptr m_downloadTimer; - std::unique_ptr m_cacheCounter; - std::unique_ptr m_sizeCounter; -}; - -using DownloadMetricsEmitterPtr = std::shared_ptr; - -} // namespace Telemetry -} // namespace APLClient - -#endif // APL_CLIENT_LIBRARY_TELEMETRY_DOWNLOAD_METRICS_EMITTER_H_ diff --git a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/NullAplMetricsRecorder.h b/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/NullAplMetricsRecorder.h deleted file mode 100644 index 030cb93..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/include/APLClient/Telemetry/NullAplMetricsRecorder.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#ifndef APL_CLIENT_LIBRARY_TELEMETRY_NULL_APL_METRICS_RECORDER -#define APL_CLIENT_LIBRARY_TELEMETRY_NULL_APL_METRICS_RECORDER - -#include "AplMetricsRecorderInterface.h" - -namespace APLClient { -namespace Telemetry { - -class NullCounterHandle: public AplCounterHandle { -public: - bool incrementBy(uint64_t value) override { - return false; - } -}; - -class NullTimerHandle : public AplTimerHandle { - bool startedAt(const std::chrono::steady_clock::time_point& startTime) override { - return false; - }; - - bool stoppedAt(const std::chrono::steady_clock::time_point& stopTime) override { - return false; - } - - bool elapsed(const std::chrono::nanoseconds& duration) override { - return false; - } - - bool fail() override { - return false; - } -}; - -class NullAplMetricsRecorder : public AplMetricsRecorderInterface { -public: - NullAplMetricsRecorder() = default; - ~NullAplMetricsRecorder() override = default; - - DocumentId registerDocument() override; - bool addMetadata(DocumentId document, - const std::string &key, - const std::string &value) override; - void invalidateDocument(DocumentId documentId) override; - DocumentId currentDisplayedDocument() const override; - DocumentId latestDocument() const override; - void flush() override; - - std::unique_ptr createTimer(DocumentId document, - AplRenderingSegment segment, - bool reportZeroFailures = false) override; - - std::unique_ptr createTimer(DocumentId document, - const std::string &name, - bool reportZeroFailures = false) override; - - std::unique_ptr createCounter(DocumentId document, - AplRenderingSegment segment, - bool reportZero = true) override; - - virtual std::unique_ptr createCounter(DocumentId document, - const std::string &name, - bool reportZero = true) override; - - void onRenderingStarted(DocumentId document) override; - void onRenderingEnded(DocumentId document) override; -}; - - -} // namespace Telemetry -} // namespace APLClient - - -#endif // ALEXASMARTSCREENSDK_NULLMETRICSRECORDER_H \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplClientBinding.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplClientBinding.cpp deleted file mode 100644 index 26a84e1..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplClientBinding.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/AplClientBinding.h" -#include "APLClient/AplClientRenderer.h" -#include "APLClient/AplCoreEngineLogBridge.h" -#include "APLClient/Telemetry/AplMetricsRecorder.h" -#include "APLClient/Telemetry/NullAplMetricsRecorder.h" - -namespace APLClient { - -AplClientBinding::AplClientBinding(AplOptionsInterfacePtr options) : - m_aplConfiguration{std::make_shared(options)} { - apl::LoggerFactory::instance().initialize(std::make_shared(options)); -} - -std::shared_ptr AplClientBinding::createRenderer(const std::string& windowId) { - return std::make_shared(m_aplConfiguration, windowId); -} - -Telemetry::DownloadMetricsEmitterPtr AplClientBinding::createDownloadMetricsEmitter() { - return std::make_shared(m_aplConfiguration->getMetricsRecorder()); -} - -void AplClientBinding::onTelemetrySinkUpdated(APLClient::Telemetry::AplMetricsSinkInterfacePtr sink) { - Telemetry::AplMetricsRecorderInterfacePtr recorder; - if (sink) { - recorder = Telemetry::AplMetricsRecorder::create(sink); - } else { - recorder = std::make_shared(); - } - m_aplConfiguration->setMetricsRecorder(recorder); -} - -} // namespace APLClient \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplClientRenderer.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplClientRenderer.cpp deleted file mode 100644 index d5ebdfb..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplClientRenderer.cpp +++ /dev/null @@ -1,321 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include - -#include "APLClient/AplClientRenderer.h" -#include "APLClient/AplCoreEngineLogBridge.h" -#include "APLClient/Telemetry/AplMetricsRecorder.h" -#include "APLClient/Telemetry/NullAplMetricsRecorder.h" -#include "APLClient/Extensions/Backstack/AplBackstackExtension.h" - -namespace { - -static std::string TID_DELIMITER = "#TID#"; -static std::string UNKNOWN_CLIENT_ID = ""; -static std::string UNKNOWN_SKILL_ID = ""; -static std::string METRIC_KIND_TIMER = "timer"; -static std::string METRIC_KIND_COUNTER = "counter"; - -/* - * The presentationToken format is as follows: - * amzn{Amazon Common Id version}.{namespace}.{templateToken version}.{clientId}#TID#{SkillId}:{Skill-Sent-Token}:{Random-Number}. - */ - -std::string extractClientId(const std::string& token) { - if (token.empty()) { - return UNKNOWN_CLIENT_ID; - } - - auto delimiterPosition = token.find(TID_DELIMITER); - if (delimiterPosition == std::string::npos) { - return UNKNOWN_CLIENT_ID; - } - - auto dotPosition = token.rfind(".", delimiterPosition); - if (dotPosition == std::string::npos) { - return UNKNOWN_CLIENT_ID; - } - - auto clientIdPosition = dotPosition + 1; - return token.substr(clientIdPosition, delimiterPosition - dotPosition); -} - -std::string extractSkillId(const std::string& token) { - if (token.empty()) { - return UNKNOWN_CLIENT_ID; - } - - auto delimiterPosition = token.find(TID_DELIMITER); - if (delimiterPosition == std::string::npos) { - return UNKNOWN_SKILL_ID; - } - - auto skillIdPosition = delimiterPosition + TID_DELIMITER.length(); - auto colonPosition = token.find(":", skillIdPosition); - if (colonPosition == std::string::npos) { - return token.substr(skillIdPosition); - } else { - return token.substr(skillIdPosition, colonPosition - skillIdPosition); - } -} - -} // namespace - -namespace APLClient { - -using namespace APLClient::Telemetry; - -AplClientRenderer::AplClientRenderer(AplConfigurationPtr config, std::string windowId) - : m_aplConfiguration{config}, - m_windowId{windowId}, - m_aplConnectionManager{std::make_shared(config)}, - m_aplGuiRenderer{new AplCoreGuiRenderer(config, m_aplConnectionManager)}, - m_lastReportedComplexity{0} { - -} - -bool AplClientRenderer::shouldHandleMessage(const std::string& message) { - return m_aplConnectionManager->shouldHandleMessage(message); -} - -void AplClientRenderer::handleMessage(const std::string& message) { - m_aplConnectionManager->handleMessage(message); -} - -void AplClientRenderer::renderDocument( - const std::string& document, - const std::string& data, - const std::string& viewports, - const std::string& token) { - auto metricsRecorder = m_aplConfiguration->getMetricsRecorder(); - metricsRecorder->addMetadata(AplMetricsRecorderInterface::LATEST_DOCUMENT, "APL_TOKEN", token); - - std::string clientId = extractClientId(token); - if (!clientId.empty()) { - metricsRecorder->addMetadata(AplMetricsRecorderInterface::LATEST_DOCUMENT, "CLIENT_ID", clientId); - } - - std::string skillId = extractSkillId(token); - if (!skillId.empty()) { - metricsRecorder->addMetadata(AplMetricsRecorderInterface::LATEST_DOCUMENT, "SKILL_ID", skillId); - } - - m_aplToken = token; - m_aplGuiRenderer->renderDocument(document, data, viewports, token); -} - -void AplClientRenderer::clearDocument() { - m_aplGuiRenderer->clearDocument(); -} - -void AplClientRenderer::executeCommands(const std::string& jsonPayload, const std::string& token) { - m_aplConnectionManager->executeCommands(jsonPayload, token); -} - -void AplClientRenderer::interruptCommandSequence() { - m_aplGuiRenderer->interruptCommandSequence(); -} - -void AplClientRenderer::requestVisualContext(unsigned int stateRequestToken) { - m_aplConnectionManager->provideState(stateRequestToken); -} - -void AplClientRenderer::dataSourceUpdate( - const std::string& sourceType, - const std::string& jsonPayload, - const std::string& token) { - m_aplConnectionManager->dataSourceUpdate(sourceType, jsonPayload, token); -} - -void AplClientRenderer::onUpdateTick() { - m_aplConnectionManager->onUpdateTick(); -} - -const std::string AplClientRenderer::getWindowId() { - return m_windowId; -} - -const std::string AplClientRenderer::getCurrentAPLToken() { - return m_aplToken; -} - -void AplClientRenderer::addExtensions(std::unordered_set> extensions) { - m_aplConnectionManager->addExtensions(extensions); -} - -void AplClientRenderer::onExtensionEvent( - const std::string& uri, - const std::string& name, - const std::string& source, - const std::string& params, - unsigned int event, - std::shared_ptr resultCallback) { - m_aplConnectionManager->onExtensionEvent(uri, name, source, params, event, resultCallback); -} - -AplDocumentStatePtr AplClientRenderer::getActiveDocumentState() { - return m_aplConnectionManager->getActiveDocumentState(); -} - -void AplClientRenderer::restoreDocumentState(AplDocumentStatePtr documentState) { - m_aplConnectionManager->restoreDocumentState(std::move(documentState)); -} - -void AplClientRenderer::onRenderDirectiveReceived(const std::chrono::steady_clock::time_point& receiveTime) { - auto metricsRecorder = m_aplConfiguration->getMetricsRecorder(); - AplMetricsRecorderInterface::DocumentId document = metricsRecorder->registerDocument(); - m_renderTimer = metricsRecorder->createTimer(document, AplRenderingSegment::kRenderDocument); - m_renderTimer->startedAt(receiveTime); - - auto counter = metricsRecorder->createCounter(document, "SmartScreenSDK.RenderDocumentReceived"); - counter->increment(); -} - -void AplClientRenderer::onRenderingEvent(AplRenderingEvent event) { - const auto renderingStop = std::chrono::steady_clock::now(); - if (event == AplRenderingEvent::DOCUMENT_RENDERED) { - m_aplConnectionManager->onDocumentRendered(renderingStop, m_lastReportedComplexity); - if (m_renderTimer) { - m_renderTimer->stoppedAt(renderingStop); - } - m_lastReportedComplexity = 0; - } else if (event == AplRenderingEvent::RENDER_ABORTED) { - if (m_renderTimer) { - m_renderTimer->fail(); - } - m_aplConfiguration->getMetricsRecorder()->flush(); - } -} - -void AplClientRenderer::onMetricsReported(const std::string& jsonPayload) { - rapidjson::Document doc; - rapidjson::Value metricsPayload; - - auto aplOptions = m_aplConfiguration->getAplOptions(); - auto metricsRecorder = m_aplConfiguration->getMetricsRecorder(); - - if (doc.Parse(jsonPayload.c_str()).HasParseError()) { - aplOptions->logMessage(LogLevel::ERROR, "onMetricsReportedFailed", "Error whilst parsing message"); - return; - } - - if (!doc.HasMember("payload")) { - aplOptions->logMessage(LogLevel::ERROR, "onMetricsReportedFailed", "Payload not found"); - return; - } - metricsPayload = doc["payload"]; - - if (metricsPayload.GetType() != rapidjson::Type::kArrayType) { - aplOptions->logMessage(LogLevel::ERROR, "onMetricsReportedFailed", "Payload is not an array"); - return; - } - - for (rapidjson::SizeType i = 0; i < metricsPayload.Size(); i++) { - const auto& jsonMetric = metricsPayload[i]; - - if (!validateJsonMetric(jsonMetric)) { - aplOptions->logMessage(LogLevel::ERROR, "onMetricsReportedFailed", "jsonMetric is invalid"); - return; - } - - std::string kind = jsonMetric["kind"].GetString(); - std::string name = jsonMetric["name"].GetString(); - - rapidjson::Value::ConstMemberIterator iterator; - iterator = jsonMetric.FindMember("value"); - if (iterator == jsonMetric.MemberEnd()) { - aplOptions->logMessage(LogLevel::ERROR, "onMetricsReportedFailed", "Unable to find jsonMetric value"); - return; - } - - double d_value = 0; - uint64_t i_value = 0; - uint64_t value = 0; - if (iterator->value.IsDouble()) { - d_value = iterator->value.GetDouble(); - value = static_cast(d_value); - } else if (iterator->value.IsUint64()) { - i_value = iterator->value.GetUint64(); - value = static_cast(i_value); - } else { - aplOptions->logMessage(LogLevel::ERROR, "onMetricsReportedFailed", "jsonMetric contains incorrect type or value"); - return; - } - - if (kind == METRIC_KIND_TIMER) { - auto timer = metricsRecorder->createTimer( - Telemetry::AplMetricsRecorderInterface::CURRENT_DOCUMENT, - name); - std::chrono::milliseconds elapsed(value); - timer->elapsed(elapsed); - } else { - if (name == "componentComplexity") { - m_lastReportedComplexity = value; - } else { - auto counter = metricsRecorder->createCounter( - Telemetry::AplMetricsRecorderInterface::CURRENT_DOCUMENT, name); - counter->incrementBy(value); - } - } - } - - metricsRecorder->flush(); -} - -bool AplClientRenderer::validateJsonMetric( - const rapidjson::Value& jsonMetric) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (!jsonMetric.HasMember("kind")) { - aplOptions->logMessage(LogLevel::ERROR, "validateJsonMetricFailed", "missingMetricKind"); - return false; - } - std::string kind = jsonMetric["kind"].GetString(); - - if (kind != METRIC_KIND_TIMER && kind != METRIC_KIND_COUNTER) { - aplOptions->logMessage(LogLevel::ERROR, "validateJsonMetricFailed", "unsupportedMetricKind"); - return false; - } - - if (!jsonMetric.HasMember("name")) { - aplOptions->logMessage(LogLevel::ERROR, "validateJsonMetricFailed", "missingMetricName"); - return false; - } - - if (!jsonMetric.HasMember("value")) { - aplOptions->logMessage(LogLevel::ERROR, "validateJsonMetricFailed", "missingMetricValue"); - return false; - } - - return true; -} - -void AplClientRenderer::onTelemetrySinkUpdated(APLClient::Telemetry::AplMetricsSinkInterfacePtr sink) { - Telemetry::AplMetricsRecorderInterfacePtr recorder; - if (sink) { - recorder = Telemetry::AplMetricsRecorder::create(sink); - } else { - recorder = std::make_shared(); - } - m_aplConfiguration->setMetricsRecorder(recorder); -} - -std::shared_ptr AplClientRenderer::getExtension(const std::string& uri) { - return m_aplConnectionManager->getExtension(uri); -} - - -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplConfiguration.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplConfiguration.cpp deleted file mode 100644 index 9b6d540..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplConfiguration.cpp +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/AplConfiguration.h" -#include "APLClient/Telemetry/NullAplMetricsRecorder.h" - -namespace APLClient { - -AplConfiguration::AplConfiguration(AplOptionsInterfacePtr options, - Telemetry::AplMetricsRecorderInterfacePtr metricsRecorder) - : m_aplOptions{options}, - m_metricsRecorder{metricsRecorder} { - if (!m_metricsRecorder) { - m_metricsRecorder = std::make_shared(); - } -} - -AplOptionsInterfacePtr AplConfiguration::getAplOptions() const { - return m_aplOptions; -} - -Telemetry::AplMetricsRecorderInterfacePtr AplConfiguration::getMetricsRecorder() const { - return m_metricsRecorder; -} - -void AplConfiguration::setMetricsRecorder(Telemetry::AplMetricsRecorderInterfacePtr metricsRecorder) { - if (metricsRecorder) { - m_metricsRecorder = metricsRecorder; - } -} - -} diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreConnectionManager.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreConnectionManager.cpp deleted file mode 100644 index a9f8070..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreConnectionManager.cpp +++ /dev/null @@ -1,1667 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include - -#include "APLClient/AplCoreTextMeasurement.h" -#include "APLClient/AplCoreLocaleMethods.h" -#include "APLClient/AplCoreConnectionManager.h" -#include "APLClient/AplCoreViewhostMessage.h" - -#include -#include - -namespace APLClient { - -/// The keys used in ProvideState. -static const char TOKEN_KEY[] = "token"; -static const char VERSION_KEY[] = "version"; -static const char CONTEXT_KEY[] = "componentsVisibleOnScreen"; -/// The value used in ProvideState. -static const char VERSION_VALUE[] = "AplRenderer-1.4"; - -// Key used in messaging -static const char SEQNO_KEY[] = "seqno"; - -/// APL Scaling bias constant -static const float SCALING_BIAS_CONSTANT = 10.0f; -/// APL Scaling cost override -static const bool SCALING_SHAPE_OVERRIDES_COST = true; - -/// The keys used in APL context creation. -static const char HEIGHT_KEY[] = "height"; -static const char WIDTH_KEY[] = "width"; -static const char DPI_KEY[] = "dpi"; -static const char MODE_KEY[] = "mode"; -static const char SHAPE_KEY[] = "shape"; -static const char SCALING_KEY[] = "scaling"; -static const char SCALE_FACTOR_KEY[] = "scaleFactor"; -static const char VIEWPORT_WIDTH_KEY[] = "viewportWidth"; -static const char VIEWPORT_HEIGHT_KEY[] = "viewportHeight"; -static const char HIERARCHY_KEY[] = "hierarchy"; -static const char REHIERARCHY_KEY[] = "reHierarchy"; -static const char X_KEY[] = "x"; -static const char Y_KEY[] = "y"; -static const char DOCTHEME_KEY[] = "docTheme"; -static const char BACKGROUND_KEY[] = "background"; -static const char SCREENLOCK_KEY[] = "screenLock"; -static const char COLOR_KEY[] = "color"; -static const char GRADIENT_KEY[] = "gradient"; -static const char ENSURELAYOUT_KEY[] = "ensureLayout"; -static const char AGENTNAME_KEY[] = "agentName"; -static const char AGENTVERSION_KEY[] = "agentVersion"; -static const char ALLOWOPENURL_KEY[] = "allowOpenUrl"; -static const char DISALLOWVIDEO_KEY[] = "disallowVideo"; -static const char ANIMATIONQUALITY_KEY[] = "animationQuality"; -static const char SUPPORTED_EXTENSIONS[] = "supportedExtensions"; - -/// The keys used in OS accessibility settings. -static const char FONTSCALE_KEY[] = "fontScale"; -static const char SCREENMODE_KEY[] = "screenMode"; -static const char SCREENREADER_KEY[] = "screenReader"; - -/// Document settings keys. -static const char SUPPORTS_RESIZING_KEY[] = "supportsResizing"; - -/// The keys used in APL event execution. -static const char ERROR_KEY[] = "error"; -static const char EVENT_KEY[] = "event"; -static const char ARGUMENT_KEY[] = "argument"; -static const char EVENT_TERMINATE_KEY[] = "eventTerminate"; -static const char DIRTY_KEY[] = "dirty"; - -/// SendEvent keys -static const char PRESENTATION_TOKEN_KEY[] = "presentationToken"; -static const char SOURCE_KEY[] = "source"; -static const char ARGUMENTS_KEY[] = "arguments"; -static const char COMPONENTS_KEY[] = "components"; - -/// RuntimeError keys -static const char ERRORS_KEY[] = "errors"; - -/// Media update keys -static const char MEDIA_STATE_KEY[] = "mediaState"; -static const char FROM_EVENT_KEY[] = "fromEvent"; -static const char TRACK_INDEX_KEY[] = "trackIndex"; -static const char TRACK_COUNT_KEY[] = "trackCount"; -static const char CURRENT_TIME_KEY[] = "currentTime"; -static const char DURATION_KEY[] = "duration"; -static const char PAUSED_KEY[] = "paused"; -static const char ENDED_KEY[] = "ended"; - -/// Activity tracking sources -static const std::string APL_COMMAND_EXECUTION{"APLCommandExecution"}; -static const std::string APL_SCREEN_LOCK{"APLScreenLock"}; -static const char RENDERING_OPTIONS_KEY[] = "renderingOptions"; - -static const char LEGACY_KARAOKE_KEY[] = "legacyKaraoke"; - -/// HandlePointerEvent keys -static const char POINTEREVENTTYPE_KEY[] = "pointerEventType"; -static const char POINTERTYPE_KEY[] = "pointerType"; -static const char POINTERID_KEY[] = "pointerId"; - -/// Data sources -static const std::vector KNOWN_DATA_SOURCES = { - apl::DynamicIndexListConstants::DEFAULT_TYPE_NAME, - apl::DynamicTokenListConstants::DEFAULT_TYPE_NAME, -}; - -static apl::Bimap AVS_VIEWPORT_MODE_MAP = { - {"HUB", apl::ViewportMode::kViewportModeHub}, - {"TV", apl::ViewportMode::kViewportModeTV}, - {"MOBILE", apl::ViewportMode::kViewportModeMobile}, - {"AUTO", apl::ViewportMode::kViewportModeAuto}, - {"PC", apl::ViewportMode::kViewportModePC}, -}; - -static apl::Bimap AVS_VIEWPORT_SHAPE_MAP = { - {"ROUND", apl::ScreenShape::ROUND}, - {"RECTANGLE", apl::ScreenShape::RECTANGLE}, -}; - -static apl::Bimap AVS_SCREEN_MODE_MAP = { - {"normal", apl::RootConfig::kScreenModeNormal}, - {"high-contrast", apl::RootConfig::kScreenModeHighContrast}, -}; - -AplCoreConnectionManager::AplCoreConnectionManager(AplConfigurationPtr config) : - m_aplConfiguration{config}, - m_ScreenLock{false}, - m_SequenceNumber{0}, - m_replyExpectedSequenceNumber{0}, - m_blockingSendReplyExpected{false} { - m_StartTime = getCurrentTime(); - m_renderingStart = std::chrono::steady_clock::time_point(std::chrono::milliseconds(0)); - - m_extensionManager = std::make_shared(); - m_messageHandlers.emplace("build", [this](const rapidjson::Value& payload) { handleBuild(payload); }); - m_messageHandlers.emplace("configurationChange", [this](const rapidjson::Value& payload) { handleConfigurationChange(payload); }); - m_messageHandlers.emplace("update", [this](const rapidjson::Value& payload) { handleUpdate(payload); }); - m_messageHandlers.emplace("updateMedia", [this](const rapidjson::Value& payload) { handleMediaUpdate(payload); }); - m_messageHandlers.emplace( - "updateGraphic", [this](const rapidjson::Value& payload) { handleGraphicUpdate(payload); }); - m_messageHandlers.emplace("response", [this](const rapidjson::Value& payload) { handleEventResponse(payload); }); - m_messageHandlers.emplace("ensureLayout", [this](const rapidjson::Value& payload) { handleEnsureLayout(payload); }); - m_messageHandlers.emplace( - "scrollToRectInComponent", [this](const rapidjson::Value& payload) { handleScrollToRectInComponent(payload); }); - m_messageHandlers.emplace( - "handleKeyboard", [this](const rapidjson::Value& payload) { handleHandleKeyboard(payload); }); - m_messageHandlers.emplace( - "getFocusableAreas", [this](const rapidjson::Value& payload) { getFocusableAreas(payload); }); - m_messageHandlers.emplace( - "getFocused", [this](const rapidjson::Value& payload) { getFocused(payload); }); - m_messageHandlers.emplace( - "setFocus", [this](const rapidjson::Value& payload) { setFocus(payload); }); - m_messageHandlers.emplace( - "updateCursorPosition", [this](const rapidjson::Value& payload) { handleUpdateCursorPosition(payload); }); - m_messageHandlers.emplace( - "handlePointerEvent", [this](const rapidjson::Value& payload) { handleHandlePointerEvent(payload); }); - m_messageHandlers.emplace( - "isCharacterValid", [this](const rapidjson::Value& payload) { handleIsCharacterValid(payload); }); - m_messageHandlers.emplace("reInflate", [this](const rapidjson::Value& payload) { handleReInflate(payload); }); - m_messageHandlers.emplace("reHierarchy", [this](const rapidjson::Value& payload) { handleReHierarchy(payload); }); - m_messageHandlers.emplace("getDisplayedChildCount", [this](const rapidjson::Value& payload) { handleGetDisplayedChildCount(payload); }); - m_messageHandlers.emplace("getDisplayedChildId", [this](const rapidjson::Value& payload) { handleGetDisplayedChildId(payload); }); -} - -void AplCoreConnectionManager::setContent(const apl::ContentPtr content, const std::string& token) { - m_Content = content; - m_aplToken = token; - m_ConfigurationChange.clear(); - m_aplConfiguration->getAplOptions()->resetViewhost(token); -} - -void AplCoreConnectionManager::setSupportedViewports(const std::string& jsonPayload) { - rapidjson::Document doc; - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (doc.Parse(jsonPayload.c_str()).HasParseError()) { - aplOptions->logMessage(LogLevel::ERROR, "setSupportedViewportsFailed", "Failed to parse json payload"); - return; - } - - if (doc.GetType() != rapidjson::Type::kArrayType) { - aplOptions->logMessage(LogLevel::ERROR, "setSupportedViewportsFailed", "Unexpected json document type"); - return; - } - - m_ViewportSizeSpecifications.clear(); - for (auto& spec : doc.GetArray()) { - double minWidth = getOptionalValue(spec, "minWidth", 1); - double maxWidth = getOptionalValue(spec, "maxWidth", INT_MAX); - double minHeight = getOptionalValue(spec, "minHeight", 1); - double maxHeight = getOptionalValue(spec, "maxHeight", INT_MAX); - std::string mode = getOptionalValue(spec, "mode", "HUB"); - std::string shape = spec.FindMember("shape")->value.GetString(); - - m_ViewportSizeSpecifications.emplace_back( - minWidth, - maxWidth, - minHeight, - maxHeight, - AVS_VIEWPORT_MODE_MAP.at(mode), - AVS_VIEWPORT_SHAPE_MAP.at(shape) == apl::ScreenShape::ROUND); - } -} - -double AplCoreConnectionManager::getOptionalValue( - const rapidjson::Value& jsonNode, - const std::string& key, - double defaultValue) { - double value = defaultValue; - const auto& valueIt = jsonNode.FindMember(key); - if (valueIt != jsonNode.MemberEnd()) { - value = valueIt->value.GetDouble(); - } - - return value; -} - -std::string AplCoreConnectionManager::getOptionalValue( - const rapidjson::Value& jsonNode, - const std::string& key, - const std::string& defaultValue) { - std::string value = defaultValue; - const auto& valueIt = jsonNode.FindMember(key); - if (valueIt != jsonNode.MemberEnd()) { - value = valueIt->value.GetString(); - } - - return value; -} - -bool AplCoreConnectionManager::getOptionalBool( - const rapidjson::Value& jsonNode, - const std::string& key, - bool defaultValue) { - bool value = defaultValue; - const auto& valueIt = jsonNode.FindMember(key); - if (valueIt != jsonNode.MemberEnd()) { - value = valueIt->value.GetBool(); - } - - return value; -} - -int AplCoreConnectionManager::getOptionalInt( - const rapidjson::Value& jsonNode, - const std::string& key, - int defaultValue) { - if (jsonNode.HasMember(key) && jsonNode[key].IsInt()) { - return jsonNode[key].GetInt(); - } - - return defaultValue; -} - -bool AplCoreConnectionManager::shouldHandleMessage(const std::string& message) { - if (m_blockingSendReplyExpected) { - rapidjson::Document doc; - if (doc.Parse(message.c_str()).HasParseError()) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - aplOptions->logMessage(LogLevel::ERROR, "shouldHandleMessageFailed", "Error whilst parsing message"); - return false; - } - - if (doc.HasMember(SEQNO_KEY) && doc[SEQNO_KEY].IsNumber()) { - unsigned int seqno = doc[SEQNO_KEY].GetUint(); - if (seqno == m_replyExpectedSequenceNumber) { - m_blockingSendReplyExpected = false; - m_replyPromise.set_value(message); - return false; - } - } - } - - return true; -} - -void AplCoreConnectionManager::handleMessage(const std::string& message) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - rapidjson::Document doc; - if (doc.Parse(message.c_str()).HasParseError()) { - aplOptions->logMessage(LogLevel::ERROR, "handleMessageFailed", "Error whilst parsing message"); - return; - } - - if (!doc.HasMember("type")) { - aplOptions->logMessage(LogLevel::ERROR, "handleMessageFailed", "Unable to find type in message"); - return; - } - std::string type = doc["type"].GetString(); - - auto payload = doc.FindMember("payload"); - if (payload == doc.MemberEnd()) { - aplOptions->logMessage(LogLevel::ERROR, "handleMessageFailed", "Unable to find payload in message"); - return; - } - - auto fit = m_messageHandlers.find(type); - if (fit != m_messageHandlers.end()) { - fit->second(payload->value); - } else { - aplOptions->logMessage(LogLevel::ERROR, "handleMessageFailed", "Unrecognized message type: " + type); - } -} - -void AplCoreConnectionManager::handleConfigurationChange(const rapidjson::Value& configurationChange) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (!m_Root || !m_AplCoreMetrics) { - aplOptions->logMessage(LogLevel::ERROR, "handleConfigurationChangeFailed", "Root context is missing"); - return; - } - - apl::ConfigurationChange configChange = apl::ConfigurationChange(); - // config change for width and height - if (configurationChange.HasMember(WIDTH_KEY) && configurationChange[WIDTH_KEY].IsInt() && configurationChange.HasMember(HEIGHT_KEY) && configurationChange[HEIGHT_KEY].IsInt()) { - - m_Metrics.size((int) configurationChange[WIDTH_KEY].GetInt(), (int) configurationChange[HEIGHT_KEY].GetInt()); - m_AplCoreMetrics.reset(); - apl::ScalingOptions scalingOptions = { - m_ViewportSizeSpecifications, SCALING_BIAS_CONSTANT, SCALING_SHAPE_OVERRIDES_COST}; - if (!scalingOptions.getSpecifications().empty()) { - m_AplCoreMetrics = std::make_shared(m_Metrics, scalingOptions); - } else { - m_AplCoreMetrics = std::make_shared(m_Metrics); - } - - const int pixelWidth = (int) m_AplCoreMetrics->toCorePixel(m_AplCoreMetrics->getViewhostWidth()); - const int pixelHeight = (int) m_AplCoreMetrics->toCorePixel(m_AplCoreMetrics->getViewhostHeight()); - configChange = configChange.size(pixelWidth, pixelHeight); - sendViewhostScalingMessage(); - } - // config change for theme - if (configurationChange.HasMember(DOCTHEME_KEY) && configurationChange[DOCTHEME_KEY].IsString()) { - configChange = configChange.theme(configurationChange[DOCTHEME_KEY].GetString()); - sendDocumentThemeMessage(); - } - // config change for mode - if (configurationChange.HasMember(MODE_KEY) && - configurationChange[MODE_KEY].IsString() && - AVS_VIEWPORT_MODE_MAP.find(configurationChange[MODE_KEY].GetString()) != AVS_VIEWPORT_MODE_MAP.end()) { - configChange = configChange.mode(AVS_VIEWPORT_MODE_MAP.at(configurationChange[MODE_KEY].GetString())); - } - // config change for fontScale - if (configurationChange.HasMember(FONTSCALE_KEY) && configurationChange[FONTSCALE_KEY].IsFloat()) { - configChange = configChange.fontScale(configurationChange[FONTSCALE_KEY].GetFloat()); - } - // config change for screenMode - if (configurationChange.HasMember(SCREENMODE_KEY) && - configurationChange[SCREENMODE_KEY].IsString() && - AVS_SCREEN_MODE_MAP.find(configurationChange[SCREENMODE_KEY].GetString()) != AVS_SCREEN_MODE_MAP.end()) { - configChange = configChange.screenMode(AVS_SCREEN_MODE_MAP.at(configurationChange[SCREENMODE_KEY].GetString())); - } - // config change for screenReader - if (configurationChange.HasMember(SCREENREADER_KEY) && configurationChange[SCREENREADER_KEY].IsBool()) { - configChange = configChange.screenReader(configurationChange[SCREENREADER_KEY].GetBool()); - } - updateConfigurationChange(configChange); - m_Root->configurationChange(configChange); -} - -void AplCoreConnectionManager::executeCommands(const std::string& command, const std::string& token) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "executeCommandsFailed", "Root context is missing"); - return; - } - - std::shared_ptr document(new rapidjson::Document); - if (document->Parse(command).HasParseError()) { - aplOptions->logMessage(LogLevel::ERROR, "executeCommandsFailed", "Parse commands failed"); - return; - } - - auto it = document->FindMember("commands"); - if (it == document->MemberEnd() || it->value.GetType() != rapidjson::Type::kArrayType) { - aplOptions->logMessage(LogLevel::ERROR, "executeCommandsFailed", "Missing commands, or is not array"); - return; - } - - apl::Object object{it->value}; - auto action = m_Root->executeCommands(object, false); - if (!action) { - aplOptions->logMessage(LogLevel::ERROR, "executeCommandsFailed", "Execute commands failed"); - return; - } - - aplOptions->onActivityStarted(token, APL_COMMAND_EXECUTION); - - action->then([this, document, token](const apl::ActionPtr& action) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - aplOptions->logMessage(LogLevel::DBG, "executeCommands", "Command sequence complete"); - aplOptions->onCommandExecutionComplete(token, true); - aplOptions->onActivityEnded(token, APL_COMMAND_EXECUTION); - }); - - action->addTerminateCallback([this, document, token](const apl::TimersPtr&) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - aplOptions->logMessage(LogLevel::DBG, "executeCommandsFailed", "Command sequence failed"); - aplOptions->onCommandExecutionComplete(token, false); - aplOptions->onActivityEnded(token, APL_COMMAND_EXECUTION); - }); -} - -void AplCoreConnectionManager::onExtensionEvent( - const std::string& uri, - const std::string& name, - const std::string& source, - const std::string& params, - unsigned int event, - std::shared_ptr resultCallback) { - rapidjson::Document sourceDoc; - rapidjson::Document paramsDoc; - - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (sourceDoc.Parse(source).HasParseError()) { - aplOptions->logMessage(LogLevel::ERROR, "onExtensionEventFailed", "Parse source failed"); - return; - } - - if (paramsDoc.Parse(params).HasParseError()) { - aplOptions->logMessage(LogLevel::ERROR, "onExtensionEventFailed", "Parse params failed"); - return; - } - - m_extensionManager->onExtensionEvent( - uri, name, apl::Object(sourceDoc), apl::Object(paramsDoc), event, resultCallback); -} - -void AplCoreConnectionManager::onExtensionEventResult(unsigned int event, bool succeeded) { - rapidjson::Document response(rapidjson::kObjectType); - rapidjson::Document::AllocatorType& allocator = response.GetAllocator(); - rapidjson::Value payload(rapidjson::kObjectType); - payload.AddMember(EVENT_KEY, event, allocator); - payload.AddMember(ARGUMENT_KEY, succeeded ? 0 : 1, allocator); - handleEventResponse(payload); -} - -AplDocumentStatePtr AplCoreConnectionManager::getActiveDocumentState() { - // If we have active content, report it as an AplDocumentState - if (m_Content && m_Root && m_AplCoreMetrics) { - auto documentState = std::make_shared(m_aplToken, m_Root, m_AplCoreMetrics); - return documentState; - } - return nullptr; -} - -void AplCoreConnectionManager::restoreDocumentState(AplDocumentStatePtr documentState) { - m_documentStateToRestore = std::move(documentState); - m_documentStateToRestore->configurationChange = m_ConfigurationChange; - reset(); - m_aplConfiguration->getAplOptions()->resetViewhost(m_documentStateToRestore->token); -} - -void AplCoreConnectionManager::invokeExtensionEventHandler( - const std::string& uri, - const std::string& name, - const apl::ObjectMap& data, - bool fastMode) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "invokeExtensionEventHandlerFailed", "Root context is missing"); - return; - } - aplOptions->logMessage(LogLevel::DBG, "invokeExtensionEventHandler", +"< " + uri + ":" + name + " >"); - m_Root->invokeExtensionEventHandler(uri, name, data, fastMode); -} - -void AplCoreConnectionManager::dataSourceUpdate( - const std::string& sourceType, - const std::string& jsonPayload, - const std::string& token) { - - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "dataSourceUpdateFailed", "Root context is missing"); - return; - } - - auto provider = m_Root->getRootConfig().getDataSourceProvider(sourceType); - if (!provider) { - aplOptions->logMessage(LogLevel::ERROR, "dataSourceUpdateFailed", "Unknown provider requested."); - return; - } - - bool result = provider->processUpdate(jsonPayload); - if (!result) { - aplOptions->logMessage(LogLevel::ERROR, "dataSourceUpdateFailed", "Update is not processed."); - checkAndSendDataSourceErrors(); - } -} - -void AplCoreConnectionManager::provideState(unsigned int stateRequestToken) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - auto timer = m_aplConfiguration->getMetricsRecorder()->createTimer( - Telemetry::AplMetricsRecorderInterface::CURRENT_DOCUMENT, - "APL-Web.RootContext.notifyVisualContext"); - timer->start(); - rapidjson::Document state(rapidjson::kObjectType); - rapidjson::Document::AllocatorType& allocator = state.GetAllocator(); - // Add presentation token info - state.AddMember(TOKEN_KEY, m_aplToken, allocator); - // Add version info - state.AddMember(VERSION_KEY, VERSION_VALUE, allocator); - rapidjson::Value arr(rapidjson::kArrayType); - rapidjson::StringBuffer buffer; - rapidjson::Writer writer(buffer); - if (m_Root && m_Root->topComponent()) { - auto context = m_Root->topComponent()->serializeVisualContext(allocator); - arr.PushBack(context, allocator); - } else { - aplOptions->logMessage(LogLevel::ERROR, "provideStateFailed", "Unable to get visual context"); - rapidjson::Value emptyObj(rapidjson::kObjectType); - // add an empty visual context - arr.PushBack(emptyObj, allocator); - } - // Add visual context info - state.AddMember(CONTEXT_KEY, arr, allocator); - state.Accept(writer); - aplOptions->onVisualContextAvailable(m_aplToken, stateRequestToken, buffer.GetString()); - timer->stop(); -} - -void AplCoreConnectionManager::interruptCommandSequence() { - if (m_Root) { - m_Root->cancelExecution(); - } -} - -void AplCoreConnectionManager::handleBuild(const rapidjson::Value& message) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - auto inflationTimer = m_aplConfiguration->getMetricsRecorder()->createTimer( - Telemetry::AplMetricsRecorderInterface::LATEST_DOCUMENT, - Telemetry::AplRenderingSegment::kRootContextInflation); - inflationTimer->start(); - - /* APL Document Inflation started */ - aplOptions->onRenderingEvent(m_aplToken, AplRenderingEvent::INFLATE_BEGIN); - - - apl::RootConfig config; - - if (m_documentStateToRestore) { - // Restore from document state - m_aplToken = m_documentStateToRestore->token; - m_Root = m_documentStateToRestore->rootContext; - m_Content = m_Root->content(); - config = m_documentStateToRestore->rootContext->getRootConfig(); - m_Root->configurationChange(m_documentStateToRestore->configurationChange); - coreFrameUpdate(); - } - - if (!m_Content) { - aplOptions->logMessage(LogLevel::WARN, "handleBuildFailed", "No content to build"); - sendError("No content to build"); - inflationTimer->fail(); - return; - } - - // Get APL Version for content - std::string aplVersion = m_Content->getAPLVersion(); - - // If we're not restoring a document state, create a new RootConfig. - if (!m_documentStateToRestore) { - std::string agentName = getOptionalValue(message, AGENTNAME_KEY, "wssHost"); - std::string agentVersion = getOptionalValue(message, AGENTVERSION_KEY, "1.0"); - bool allowOpenUrl = getOptionalBool(message, ALLOWOPENURL_KEY, false); - bool disallowVideo = getOptionalBool(message, DISALLOWVIDEO_KEY, false); - int animationQuality = - getOptionalInt(message, ANIMATIONQUALITY_KEY, apl::RootConfig::AnimationQuality::kAnimationQualityNormal); - - config = apl::RootConfig() - .agent(agentName, agentVersion) - .allowOpenUrl(allowOpenUrl) - .disallowVideo(disallowVideo) - .animationQuality(static_cast(animationQuality)) - .measure(std::make_shared(shared_from_this(), m_aplConfiguration)) - .localeMethods(std::make_shared(shared_from_this(), m_aplConfiguration)) - .utcTime(getCurrentTime().count()) - .localTimeAdjustment(aplOptions->getTimezoneOffset().count()) - .enforceAPLVersion(apl::APLVersion::kAPLVersionIgnore) - .sequenceChildCache(5) - .enableExperimentalFeature(apl::RootConfig::ExperimentalFeature::kExperimentalFeatureHandleScrollingAndPagingInCore) - .enableExperimentalFeature(apl::RootConfig::ExperimentalFeature::kExperimentalFeatureNotifyChildrenChangedOnDisplayChange) - .enableExperimentalFeature(apl::RootConfig::ExperimentalFeature::kExperimentalFeatureHandleFocusInCore) - .set(apl::RootProperty::kDefaultIdleTimeout, -1); - - // Data Sources - config.dataSourceProvider( - apl::DynamicIndexListConstants::DEFAULT_TYPE_NAME, - std::make_shared()); - - config.dataSourceProvider( - apl::DynamicTokenListConstants::DEFAULT_TYPE_NAME, - std::make_shared()); - } - - // Add Extensions which are supported, requested, and available to the config - if (message.HasMember(SUPPORTED_EXTENSIONS) && message[SUPPORTED_EXTENSIONS].IsArray()) { - // Extensions supported by the client renderer instance - auto supportedExtensions = message[SUPPORTED_EXTENSIONS].GetArray(); - // Extensions requested by the content - auto requestedExtensions = m_Content->getExtensionRequests(); - for (auto& ext : supportedExtensions) { - auto uri = ext.GetString(); - // If the supported extension is both requested and available, register it with the config - if (requestedExtensions.find(uri) != requestedExtensions.end()) { - if (auto extension = m_extensionManager->getExtension(uri)) { - // Apply content defined settings to extension - extension->applySettings(m_Content->getExtensionSettings(uri)); - m_extensionManager->registerRequestedExtension(extension->getUri(), config); - } - } - } - } - - auto renderingOptionsMsg = AplCoreViewhostMessage(RENDERING_OPTIONS_KEY); - rapidjson::Value renderingOptions(rapidjson::kObjectType); - renderingOptions.AddMember(LEGACY_KARAOKE_KEY, aplVersion == "1.0", renderingOptionsMsg.alloc()); - send(renderingOptionsMsg.setPayload(std::move(renderingOptions))); - - m_PendingEvents.clear(); - - // Release the activity tracker - aplOptions->onActivityEnded(m_aplToken, APL_COMMAND_EXECUTION); - - if (m_ScreenLock) { - aplOptions->onActivityEnded(m_aplToken, APL_SCREEN_LOCK); - m_ScreenLock = false; - } - - m_StartTime = getCurrentTime(); - - // If we're not restoring a document state, then create metrics and RootContext - if (!m_documentStateToRestore) { - // Handle metrics data - m_Metrics.size(message[WIDTH_KEY].GetInt(), message[HEIGHT_KEY].GetInt()) - .dpi(message[DPI_KEY].GetInt()) - .shape(AVS_VIEWPORT_SHAPE_MAP.at(message[SHAPE_KEY].GetString())) - .mode(AVS_VIEWPORT_MODE_MAP.at(message[MODE_KEY].GetString())); - - do { - apl::ScalingOptions scalingOptions = { - m_ViewportSizeSpecifications, SCALING_BIAS_CONSTANT, SCALING_SHAPE_OVERRIDES_COST}; - if (!scalingOptions.getSpecifications().empty()) { - m_AplCoreMetrics = std::make_shared(m_Metrics, scalingOptions); - } else { - m_AplCoreMetrics = std::make_shared(m_Metrics); - } - - sendViewhostScalingMessage(); - - m_renderingStart = std::chrono::steady_clock::now(); - m_StartTime = getCurrentTime(); - m_Root = apl::RootContext::create(m_AplCoreMetrics->getMetrics(), m_Content, config); - if (m_Root) { - break; - } else if (!m_ViewportSizeSpecifications.empty()) { - aplOptions->logMessage( - LogLevel::WARN, __func__, "Unable to inflate document with current chosen scaling."); - } - - auto it = m_ViewportSizeSpecifications.begin(); - for (; it != m_ViewportSizeSpecifications.end(); it++) { - if (*it == m_AplCoreMetrics->getChosenSpec()) { - m_ViewportSizeSpecifications.erase(it); - break; - } - } - if (it == m_ViewportSizeSpecifications.end()) { - // Core returned specification that is not in list. Something went wrong. Prevent infinite loop. - break; - } - } while (!m_ViewportSizeSpecifications.empty()); - } - - // Make sure we only restore a documentState once. - if (m_documentStateToRestore) { - m_documentStateToRestore.reset(); - } - - // Get background - apl::Object background = m_Content->getBackground(m_AplCoreMetrics->getMetrics(), config); - - bool supportsResizing = false; - - // Get Document Settings - if (auto documentSettings = m_Content->getDocumentSettings()) { - // Get resizing setting - supportsResizing = documentSettings->getValue(SUPPORTS_RESIZING_KEY).asBoolean(); - } - - sendSupportsResizingMessage(supportsResizing); - - /* APL Core Inflation ended */ - aplOptions->onRenderingEvent(m_aplToken, AplRenderingEvent::INFLATE_END); - - if (m_Root) { - inflationTimer->stop(); - // Init viewhost globals - sendViewhostScalingMessage(); - sendDocumentThemeMessage(); - sendDocumentBackgroundMessage(background); - - // Start rendering component hierarchy - auto reply = AplCoreViewhostMessage(HIERARCHY_KEY); - send(reply.setPayload(m_Root->topComponent()->serialize(reply.alloc()))); - - auto idleTimeout = std::chrono::milliseconds(m_Root->settings().idleTimeout(config)); - aplOptions->onSetDocumentIdleTimeout(m_aplToken, idleTimeout); - aplOptions->onRenderDocumentComplete(m_aplToken, true, ""); - } else { - inflationTimer->fail(); - aplOptions->logMessage(LogLevel::ERROR, "handleBuildFailed", "Unable to inflate document"); - sendError("Unable to inflate document"); - aplOptions->onRenderDocumentComplete(m_aplToken, false, "Unable to inflate document"); - // Send DataSource errors if any - checkAndSendDataSourceErrors(); - } -} - -void AplCoreConnectionManager::onDocumentRendered( - const std::chrono::steady_clock::time_point &renderTime, - uint64_t complexityScore) { - if (m_renderingStart.time_since_epoch() > std::chrono::milliseconds(0)) { - auto metricsRecorder = m_aplConfiguration->getMetricsRecorder(); - auto elapsed = std::chrono::duration_cast(renderTime - m_renderingStart); - - auto timer = metricsRecorder->createTimer( - Telemetry::AplMetricsRecorderInterface::CURRENT_DOCUMENT, - "APL-Web.renderDocument"); - timer->elapsed(elapsed); - - if (complexityScore > 0) { - auto complexityTimer = metricsRecorder->createTimer( - Telemetry::AplMetricsRecorderInterface::CURRENT_DOCUMENT, - "APL-Web.renderDocument." + std::to_string(complexityScore)); - complexityTimer->elapsed(elapsed); - } - - metricsRecorder->flush(); - m_renderingStart = std::chrono::steady_clock::time_point(std::chrono::milliseconds(0)); - } - -} - -void AplCoreConnectionManager::sendViewhostScalingMessage() { - if (m_AplCoreMetrics) { - // Send scaling metrics out to viewhost - auto reply = AplCoreViewhostMessage(SCALING_KEY); - rapidjson::Value scaling(rapidjson::kObjectType); - scaling.AddMember(SCALE_FACTOR_KEY, m_AplCoreMetrics->toViewhost(1.0f), reply.alloc()); - scaling.AddMember(VIEWPORT_WIDTH_KEY, m_AplCoreMetrics->getViewhostWidth(), reply.alloc()); - scaling.AddMember(VIEWPORT_HEIGHT_KEY, m_AplCoreMetrics->getViewhostHeight(), reply.alloc()); - send(reply.setPayload(std::move(scaling))); - } -} - -void AplCoreConnectionManager::sendDocumentThemeMessage() { - if (m_Root) { - auto themeMsg = AplCoreViewhostMessage(DOCTHEME_KEY); - auto& alloc = themeMsg.alloc(); - rapidjson::Value payload(rapidjson::kObjectType); - std::string docTheme = "dark"; - docTheme = m_Root->getTheme(); - payload.AddMember(DOCTHEME_KEY, rapidjson::Value(docTheme.c_str(), alloc).Move(), alloc); - themeMsg.setPayload(std::move(payload)); - send(themeMsg); - } -} - -void AplCoreConnectionManager::sendDocumentBackgroundMessage(const apl::Object& background) { - auto backgroundMsg = AplCoreViewhostMessage(BACKGROUND_KEY); - auto& alloc = backgroundMsg.alloc(); - rapidjson::Value payload(rapidjson::kObjectType); - rapidjson::Value backgroundValue(rapidjson::kObjectType); - if (background.isColor()) { - backgroundValue.AddMember(COLOR_KEY, background.asString(), alloc); - } else if (background.isGradient()) { - backgroundValue.AddMember(GRADIENT_KEY, background.getGradient().serialize(alloc), alloc); - } else { - backgroundValue.AddMember(COLOR_KEY, apl::Color().asString(), alloc); - } - payload.AddMember(BACKGROUND_KEY, backgroundValue, alloc); - backgroundMsg.setPayload(std::move(payload)); - send(backgroundMsg); -} - -void AplCoreConnectionManager::sendScreenLockMessage(bool screenLock) { - auto screenLockMsg = AplCoreViewhostMessage(SCREENLOCK_KEY); - auto& alloc = screenLockMsg.alloc(); - rapidjson::Value payload(rapidjson::kObjectType); - payload.AddMember(SCREENLOCK_KEY, screenLock, alloc); - screenLockMsg.setPayload(std::move(payload)); - send(screenLockMsg); -} - -void AplCoreConnectionManager::sendSupportsResizingMessage(bool supportsResizing) { - auto supportsResizingMsg = AplCoreViewhostMessage(SUPPORTS_RESIZING_KEY); - auto& alloc = supportsResizingMsg.alloc(); - rapidjson::Value payload(rapidjson::kObjectType); - payload.AddMember(SUPPORTS_RESIZING_KEY, supportsResizing, alloc); - supportsResizingMsg.setPayload(std::move(payload)); - send(supportsResizingMsg); -} - -void AplCoreConnectionManager::handleUpdate(const rapidjson::Value& update) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleUpdateFailed", "Root context is null"); - return; - } - - auto id = update["id"].GetString(); - auto component = m_Root->findComponentById(id); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, "handleUpdateFailed", std::string("Unable to find component with id: ") + id); - sendError("Unable to find component"); - return; - } - - auto type = static_cast(update["type"].GetInt()); - - if (update["value"].IsString()) { - std::string value = update["value"].GetString(); - component->update(type, value); - } else { - auto value = update["value"].GetFloat(); - - if (type == apl::UpdateType::kUpdateScrollPosition) { - value = m_AplCoreMetrics->toCore(value); - } - - component->update(type, value); - } -} - -void AplCoreConnectionManager::handleMediaUpdate(const rapidjson::Value& update) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleMediaUpdateFailed", "Root context is null"); - return; - } - - auto id = update["id"].GetString(); - auto component = m_Root->findComponentById(id); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, "handleMediaUpdateFailed", std::string("Unable to find component with id: ") + id); - sendError("Unable to find component"); - return; - } - - if (!update.HasMember(MEDIA_STATE_KEY) || !update.HasMember(FROM_EVENT_KEY)) { - aplOptions->logMessage( - LogLevel::ERROR, "handleMediaUpdateFailed", "State update object is missing parameters"); - sendError("Can't update media state."); - return; - } - auto& state = update[MEDIA_STATE_KEY]; - auto fromEvent = update[FROM_EVENT_KEY].GetBool(); - - if (!state.HasMember(TRACK_INDEX_KEY) || !state.HasMember(TRACK_COUNT_KEY) || !state.HasMember(CURRENT_TIME_KEY) || - !state.HasMember(DURATION_KEY) || !state.HasMember(PAUSED_KEY) || !state.HasMember(ENDED_KEY)) { - aplOptions->logMessage( - LogLevel::ERROR, "handleMediaUpdateFailed", "Can't update media state. MediaStatus structure is wrong"); - sendError("Can't update media state."); - return; - } - - // numeric parameters are sometimes converted to null during stringification, set these to 0 - const int trackIndex = getOptionalInt(state, TRACK_INDEX_KEY, 0); - const int trackCount = getOptionalInt(state, TRACK_COUNT_KEY, 0); - const int currentTime = getOptionalInt(state, CURRENT_TIME_KEY, 0); - const int duration = getOptionalInt(state, DURATION_KEY, 0); - - const apl::MediaState mediaState( - trackIndex, trackCount, currentTime, duration, state[PAUSED_KEY].GetBool(), state[ENDED_KEY].GetBool()); - component->updateMediaState(mediaState, fromEvent); -} - -void AplCoreConnectionManager::handleGraphicUpdate(const rapidjson::Value& update) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleGraphicUpdateFailed", "Root context is null"); - return; - } - - auto id = update["id"].GetString(); - auto component = m_Root->findComponentById(id); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, "handleGraphicUpdateFailed", std::string("Unable to find component with id:") + id); - sendError("Unable to find component"); - return; - } - - auto json = apl::GraphicContent::create(update["avg"].GetString()); - component->updateGraphic(json); -} - -void AplCoreConnectionManager::handleEnsureLayout(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleEnsureLayoutFailed", "Root context is null"); - return; - } - - auto id = payload["id"].GetString(); - auto component = m_Root->findComponentById(id); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, "handleEnsureLayoutFailed", std::string("Unable to find component with id:") + id); - sendError("Unable to find component"); - return; - } - - component->ensureLayout(true); - auto msg = AplCoreViewhostMessage(ENSURELAYOUT_KEY); - send(msg.setPayload(id)); -} - -void AplCoreConnectionManager::handleScrollToRectInComponent(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleScrollToRectInComponentFailed", "Root context is null"); - return; - } - - auto id = payload["id"].GetString(); - auto component = m_Root->findComponentById(id); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, - "handleScrollToRectInComponentFailed", - std::string("Unable to find component with id:") + id); - sendError("Unable to find component"); - return; - } - - apl::Rect rect = convertJsonToScaledRect(payload); - m_Root->scrollToRectInComponent(component, rect, static_cast(payload["align"].GetInt())); -} - -void AplCoreConnectionManager::handleHandleKeyboard(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleHandleKeyboardFailed", "Root context is null"); - return; - } - - auto messageId = payload["messageId"].GetString(); - auto keyType = payload["keyType"].GetInt(); - auto code = payload["code"].GetString(); - auto key = payload["key"].GetString(); - auto repeat = payload["repeat"].GetBool(); - auto altKey = payload["altKey"].GetBool(); - auto ctrlKey = payload["ctrlKey"].GetBool(); - auto metaKey = payload["metaKey"].GetBool(); - auto shiftKey = payload["shiftKey"].GetBool(); - apl::Keyboard keyboard(code, key); - keyboard.repeat(repeat); - keyboard.alt(altKey); - keyboard.ctrl(ctrlKey); - keyboard.meta(metaKey); - keyboard.shift(shiftKey); - bool result = m_Root->handleKeyboard(static_cast(keyType), keyboard); - - auto handleKeyboardResultMessage = AplCoreViewhostMessage("handleKeyboard"); - auto& alloc = handleKeyboardResultMessage.alloc(); - rapidjson::Value handleKeyboardResultValue(rapidjson::kObjectType); - - rapidjson::Value value; - value.SetString(messageId, alloc); - handleKeyboardResultValue.AddMember("messageId", value, alloc); - handleKeyboardResultValue.AddMember("result", result, alloc); - - handleKeyboardResultMessage.setPayload(std::move(handleKeyboardResultValue)); - send(handleKeyboardResultMessage); -} - -void AplCoreConnectionManager::getFocusableAreas(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "getFocusableAreasFailed", "Root context is null"); - return; - } - - auto messageId = payload["messageId"].GetString(); - auto message = AplCoreViewhostMessage("getFocusableAreas"); - auto result = m_Root->getFocusableAreas(); - auto& alloc = message.alloc(); - - rapidjson::Value outPayload(rapidjson::kObjectType); - rapidjson::Value value; - value.SetString(messageId, alloc); - outPayload.AddMember("messageId", value, alloc); - - rapidjson::Value areas(rapidjson::kObjectType); - - for (auto iterator = result.begin(); iterator != result.end(); iterator++) { - auto top = iterator->second.getTop(); - auto left = iterator->second.getLeft(); - auto width = iterator->second.getWidth(); - auto height = iterator->second.getHeight(); - - rapidjson::Value rectangle(rapidjson::kObjectType); - rectangle.AddMember("top", top, alloc); - rectangle.AddMember("left", left, alloc); - rectangle.AddMember("width", width, alloc); - rectangle.AddMember("height", height, alloc); - rapidjson::Value key(rapidjson::kStringType); - key.SetString(iterator->first.c_str(), alloc); - areas.AddMember(key, rectangle, alloc); - } - - outPayload.AddMember("areas", areas, alloc); - message.setPayload(std::move(outPayload)); - send(message); -} - -void AplCoreConnectionManager::getFocused(const rapidjson::Value& payload) { - auto messageId = payload["messageId"].GetString(); - auto message = AplCoreViewhostMessage("getFocused"); - - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "getFocusedFailed", "Root context is null"); - return; - } - - auto result = m_Root->getFocused(); - auto& alloc = message.alloc(); - rapidjson::Value outPayload(rapidjson::kObjectType); - rapidjson::Value value; - value.SetString(messageId, alloc); - outPayload.AddMember("messageId", value, alloc); - outPayload.AddMember("result", result, alloc); - message.setPayload(std::move(outPayload)); - send(message); -} - -void AplCoreConnectionManager::setFocus(const rapidjson::Value& payload) { - auto direction = payload["direction"].GetInt(); - auto top = payload["origin"].FindMember("top")->value.Get(); - auto left = payload["origin"].FindMember("left")->value.Get(); - auto width = payload["origin"].FindMember("width")->value.Get(); - auto height = payload["origin"].FindMember("height")->value.Get(); - - auto origin = apl::Rect(top,left,width,height); - auto targetId = payload["targetId"].GetString(); - m_Root->setFocus(static_cast(direction), origin, targetId); -} - -void AplCoreConnectionManager::handleUpdateCursorPosition(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleUpdateCursorPositionFailed", "Root context is null"); - return; - } - - const float x = payload[X_KEY].GetFloat(); - const float y = payload[Y_KEY].GetFloat(); - apl::Point cursorPosition(m_AplCoreMetrics->toCore(x), m_AplCoreMetrics->toCore(y)); - m_Root->updateCursorPosition(cursorPosition); -} - -void AplCoreConnectionManager::handleHandlePointerEvent(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleHandlePointerEventFailed", "Root context is null"); - return; - } - - const float x = payload[X_KEY].GetFloat(); - const float y = payload[Y_KEY].GetFloat(); - - apl::Point point = apl::Point(m_AplCoreMetrics->toCore(x), m_AplCoreMetrics->toCore(y)); - apl::PointerEventType pointerEventType = static_cast(payload[POINTEREVENTTYPE_KEY].GetInt()); - apl::PointerType pointerType = static_cast(payload[POINTERTYPE_KEY].GetInt()); - auto pointerId = static_cast(payload[POINTERID_KEY].GetInt()); - apl::PointerEvent pointerEvent = apl::PointerEvent(pointerEventType, point, pointerId, pointerType); - - m_Root->handlePointerEvent(pointerEvent); -} - -void AplCoreConnectionManager::handleEventResponse(const rapidjson::Value& response) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleEventResponseFailed", "Root context is null"); - return; - } - - if (!response[EVENT_KEY].IsInt()) { - aplOptions->logMessage(LogLevel::ERROR, "handleEventResponseFailed", "Invalid event response"); - sendError("Invalid event response"); - return; - } - auto event = response[EVENT_KEY].GetInt(); - auto it = m_PendingEvents.find(event); - if (it != m_PendingEvents.end()) { - auto rectJson = response.FindMember("rectArgument"); - if (rectJson != response.MemberEnd()) { - apl::Rect rect = convertJsonToScaledRect(rectJson->value); - it->second.resolve(rect); - } else { - auto arg = response.FindMember(ARGUMENT_KEY); - if (arg != response.MemberEnd()) { - it->second.resolve(arg->value.GetInt()); - } else { - it->second.resolve(); - } - } - m_PendingEvents.erase(it); - } -} - -unsigned int AplCoreConnectionManager::send(AplCoreViewhostMessage& message) { - unsigned int seqno = ++m_SequenceNumber; - m_aplConfiguration->getAplOptions()->sendMessage(m_aplToken, message.setSequenceNumber(seqno).get()); - return seqno; -} - -rapidjson::Document AplCoreConnectionManager::blockingSend( - AplCoreViewhostMessage& message, - const std::chrono::milliseconds& timeout) { - std::lock_guard lock{m_blockingSendMutex}; - m_replyPromise = std::promise(); - m_blockingSendReplyExpected = true; - m_replyExpectedSequenceNumber = send(message); - - auto aplOptions = m_aplConfiguration->getAplOptions(); - auto future = m_replyPromise.get_future(); - auto status = future.wait_for(timeout); - if (status != std::future_status::ready) { - m_blockingSendReplyExpected = false; - // Under the situation that finish command destroys the renderer, there is no response. - aplOptions->logMessage(LogLevel::WARN, "blockingSendFailed", "Did not receive response"); - return rapidjson::Document(rapidjson::kNullType); - } - - rapidjson::Document doc; - if (doc.Parse(future.get()).HasParseError()) { - aplOptions->logMessage(LogLevel::ERROR, "blockingSendFailed", "parsingFailed"); - return rapidjson::Document(rapidjson::kNullType); - } - - return doc; -} - -void AplCoreConnectionManager::sendError(const std::string& message) { - auto reply = AplCoreViewhostMessage(ERROR_KEY); - send(reply.setPayload(message)); -} - -void AplCoreConnectionManager::handleScreenLock() { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (m_Root->screenLock() && !m_ScreenLock) { - aplOptions->onActivityStarted(m_aplToken, APL_SCREEN_LOCK); - m_ScreenLock = true; - } else if (!m_Root->screenLock() && m_ScreenLock) { - aplOptions->onActivityEnded(m_aplToken, APL_SCREEN_LOCK); - m_ScreenLock = false; - } else { - return; - } - sendScreenLockMessage(m_ScreenLock); -} - -void AplCoreConnectionManager::processEvent(const apl::Event& event) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - - if (apl::EventType::kEventTypeFinish == event.getType()) { - aplOptions->onFinish(m_aplToken); - return; - } - - if (apl::EventType::kEventTypeSendEvent == event.getType()) { - rapidjson::Document userEventPayloadJson(rapidjson::kObjectType); - auto& allocator = userEventPayloadJson.GetAllocator(); - auto source = event.getValue(apl::EventProperty::kEventPropertySource); - auto components = event.getValue(apl::EventProperty::kEventPropertyComponents); - auto arguments = event.getValue(apl::EventProperty::kEventPropertyArguments); - - userEventPayloadJson.AddMember( - PRESENTATION_TOKEN_KEY, rapidjson::Value(m_aplToken.c_str(), allocator).Move(), allocator); - userEventPayloadJson.AddMember(SOURCE_KEY, source.serialize(allocator).Move(), allocator); - userEventPayloadJson.AddMember(ARGUMENTS_KEY, arguments.serialize(allocator).Move(), allocator); - userEventPayloadJson.AddMember(COMPONENTS_KEY, components.serialize(allocator).Move(), allocator); - - rapidjson::StringBuffer sb; - rapidjson::Writer writer(sb); - userEventPayloadJson.Accept(writer); - - aplOptions->onSendEvent(m_aplToken, sb.GetString()); - return; - } - - if (apl::EventType::kEventTypeDataSourceFetchRequest == event.getType()) { - rapidjson::Document fetchRequestPayloadJson(rapidjson::kObjectType); - auto& allocator = fetchRequestPayloadJson.GetAllocator(); - auto type = event.getValue(apl::EventProperty::kEventPropertyName); - auto payload = event.getValue(apl::EventProperty::kEventPropertyValue); - - apl::ObjectMap fetchRequest(payload.getMap()); - fetchRequest.emplace(PRESENTATION_TOKEN_KEY, m_aplToken); - - auto fetch = apl::Object(std::make_shared(fetchRequest)).serialize(allocator); - rapidjson::StringBuffer sb; - rapidjson::Writer writer(sb); - fetch.Accept(writer); - - aplOptions->onDataSourceFetchRequestEvent(m_aplToken, type.asString(), sb.GetString()); - return; - } - - if (apl::EventType::kEventTypeExtension == event.getType()) { - /** - * Extension Events are received when registered ExtensionCommands are fired - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/extensioncommanddefinition.h - */ - rapidjson::Document extensionEventPayloadJson(rapidjson::kObjectType); - auto& allocator = extensionEventPayloadJson.GetAllocator(); - - auto uri = event.getValue(apl::EventProperty::kEventPropertyExtensionURI); - auto name = event.getValue(apl::EventProperty::kEventPropertyName); - auto source = event.getValue(apl::EventProperty::kEventPropertySource); - auto params = event.getValue(apl::EventProperty::kEventPropertyExtension); - - std::string sourceStr; - std::string paramsStr; - - serializeJSONValueToString(source.serialize(allocator).Move(), &sourceStr); - serializeJSONValueToString(params.serialize(allocator).Move(), ¶msStr); - - /** - * If the registered ExtensionCommand requires resolution, the resultCallback should be registered with the - * extension - * https://github.com/alexa/apl-core-library/blob/master/aplcore/include/apl/content/extensioncommanddefinition.h#L87 - */ - auto token = ++m_SequenceNumber; - auto resultCallback = addPendingEvent(token, event, false) ? shared_from_this() : nullptr; - aplOptions->onExtensionEvent(m_aplToken, uri.getString(), name.getString(), sourceStr, paramsStr, token, resultCallback); - return; - } - - auto msg = AplCoreViewhostMessage(EVENT_KEY); - auto token = send(msg.setPayload(event.serialize(msg.alloc()))); - addPendingEvent(token, event); -} - -bool AplCoreConnectionManager::addPendingEvent(unsigned int token, const apl::Event& event, bool isViewhostEvent) { - // If the event had an action ref, stash the reference for future use - auto ref = event.getActionRef(); - if (!ref.isEmpty()) { - m_PendingEvents.emplace(token, ref); - ref.addTerminateCallback([this, token, isViewhostEvent](const apl::TimersPtr&) { - auto it = m_PendingEvents.find(token); - if (it != m_PendingEvents.end()) { - if (isViewhostEvent) { - auto msg = AplCoreViewhostMessage(EVENT_TERMINATE_KEY); - rapidjson::Value payload(rapidjson::kObjectType); - payload.AddMember("token", token, msg.alloc()); - send(msg.setPayload(std::move(payload))); - } - - m_PendingEvents.erase(it); // Remove the pending event - } else { - m_aplConfiguration->getAplOptions()->logMessage(LogLevel::WARN, __func__, "Event was not pending"); - } - }); - return true; - } - return false; -} - -void AplCoreConnectionManager::processDirty(const std::set& dirty) { - std::map tempDirty; - auto msg = AplCoreViewhostMessage(DIRTY_KEY); - - for (auto& component : dirty) { - if (component->getDirty().count(apl::kPropertyNotifyChildrenChanged)) { - auto notify = component->getCalculated(apl::kPropertyNotifyChildrenChanged); - const auto& changed = notify.getArray(); - // Whenever we get NotifyChildrenChanged we get 2 types of action - // Either insert or delete. The delete will happen on the viewhost level - // However, insert needs the full serialized component from core & will be initalized - // on apl-client side - for (size_t i = 0; i < changed.size(); i++) { - auto newChildId = changed.at(i).get("uid").asString(); - auto newChildIndex = changed.at(i).get("index").asInt(); - auto action = changed.at(i).get("action").asString(); - if (action == "insert") { - tempDirty[newChildId] = component->getChildAt(newChildIndex)->serialize(msg.alloc()); - } - } - } - if (component->getDirty().count(apl::kPropertyGraphic)) { - // for graphic component, apl-client need walk into graphicPtr to get dirty and dirtyPropertyKeys. - rapidjson::Value vectorGraphicComponent = component->serializeDirty(msg.alloc()); - rapidjson::Value dirtyGraphicElement(rapidjson::kArrayType); - const apl::GraphicPtr graphic = component->getCalculated(apl::kPropertyGraphic).getGraphic(); - for (auto& graphicDirty : graphic->getDirty()) { - rapidjson::Value serializedGraphicElement = graphicDirty->serialize(msg.alloc()); - rapidjson::Value dirtyPropertyKeys(rapidjson::kArrayType); - for (auto& dirtyPropertyKey : graphicDirty->getDirtyProperties()) { - dirtyPropertyKeys.PushBack(dirtyPropertyKey, msg.alloc()); - } - serializedGraphicElement.AddMember("dirtyProperties", dirtyPropertyKeys, msg.alloc()); - dirtyGraphicElement.PushBack(serializedGraphicElement, msg.alloc()); - } - if(vectorGraphicComponent.HasMember("graphic") && vectorGraphicComponent["graphic"].IsObject()) { - vectorGraphicComponent["graphic"].AddMember("dirty", dirtyGraphicElement, msg.alloc()); - } - tempDirty[component->getUniqueId()] = vectorGraphicComponent; - } - if (tempDirty.find(component->getUniqueId()) == tempDirty.end()) { - tempDirty.emplace(component->getUniqueId(), component->serializeDirty(msg.alloc())); - } - } - - rapidjson::Value array(rapidjson::kArrayType); - for (auto rit = tempDirty.rbegin(); rit != tempDirty.rend(); rit++) { - auto uid = rit->first; - auto& update = rit->second; - - array.PushBack(update.Move(), msg.alloc()); - } - send(msg.setPayload(std::move(array))); -} - -void AplCoreConnectionManager::coreFrameUpdate() { - auto aplOptions = m_aplConfiguration->getAplOptions(); - auto now = getCurrentTime() - m_StartTime; - m_Root->updateTime(now.count(), getCurrentTime().count()); - m_Root->setLocalTimeAdjustment(aplOptions->getTimezoneOffset().count()); - - m_Root->clearPending(); - - while (m_Root->hasEvent()) { - processEvent(m_Root->popEvent()); - } - - if (m_Root->isDirty()) { - processDirty(m_Root->getDirty()); - m_Root->clearDirty(); - } - - handleScreenLock(); -} - -void AplCoreConnectionManager::onUpdateTick() { - if (m_Root) { - coreFrameUpdate(); - // Check regularly as something like timed-out fetch requests could come up. - checkAndSendDataSourceErrors(); - } -} - -apl::Rect AplCoreConnectionManager::convertJsonToScaledRect(const rapidjson::Value& jsonNode) { - const float scale = m_AplCoreMetrics->toCore(1.0f); - const float x = jsonNode[X_KEY].IsNumber() ? jsonNode[X_KEY].GetFloat() : 0.0f; - const float y = jsonNode[Y_KEY].IsNumber() ? jsonNode[Y_KEY].GetFloat() : 0.0f; - const float width = jsonNode[WIDTH_KEY].IsNumber() ? jsonNode[WIDTH_KEY].GetFloat() : 0.0f; - const float height = jsonNode[HEIGHT_KEY].IsNumber() ? jsonNode[HEIGHT_KEY].GetFloat() : 0.0f; - - return apl::Rect(x * scale, y * scale, width * scale, height * scale); -} - -void AplCoreConnectionManager::checkAndSendDataSourceErrors() { - if (!m_Root) return; - - std::vector errorArray; - - for (auto& type : KNOWN_DATA_SOURCES) { - auto provider = m_Root->getRootConfig().getDataSourceProvider(type); - - if (provider) { - auto pendingErrors = provider->getPendingErrors(); - if (!pendingErrors.empty() && pendingErrors.isArray()) { - errorArray.insert(errorArray.end(), pendingErrors.getArray().begin(), pendingErrors.getArray().end()); - } - } - } - - auto errors = apl::Object(std::make_shared(errorArray)); - - if (!errors.empty()) { - auto errorEvent = std::make_shared(); - errorEvent->emplace(PRESENTATION_TOKEN_KEY, m_aplToken); - errorEvent->emplace(ERRORS_KEY, errors); - - rapidjson::Document runtimeErrorPayloadJson(rapidjson::kObjectType); - auto& allocator = runtimeErrorPayloadJson.GetAllocator(); - auto runtimeError = apl::Object(errorEvent).serialize(allocator); - - rapidjson::StringBuffer sb; - rapidjson::Writer writer(sb); - runtimeError.Accept(writer); - - m_aplConfiguration->getAplOptions()->onRuntimeErrorEvent(m_aplToken, sb.GetString()); - } -} - -const std::string AplCoreConnectionManager::getAPLToken() { - return m_aplToken; -} - -void AplCoreConnectionManager::serializeJSONValueToString(const rapidjson::Value& documentNode, std::string* value) { - rapidjson::StringBuffer stringBuffer; - rapidjson::Writer writer(stringBuffer); - - if (!documentNode.Accept(writer)) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - aplOptions->logMessage(LogLevel::ERROR, "serializeJSONValueToStringFailed", "acceptFailed"); - return; - } - - *value = stringBuffer.GetString(); -} - -void AplCoreConnectionManager::addExtensions( - std::unordered_set> extensions) { - for (auto& extension : extensions) { - extension->setEventHandler(shared_from_this()); - m_extensionManager->addExtension(extension); - } -} - -std::shared_ptr AplCoreConnectionManager::getExtension(const std::string& uri) { - return m_extensionManager->getExtension(uri); -} - -void AplCoreConnectionManager::reset() { - m_aplToken = ""; - m_Root.reset(); - m_Content.reset(); -} - -void AplCoreConnectionManager::handleIsCharacterValid(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleIsCharacterValidFailed", "Root context is null"); - return; - } - - auto messageId = payload["messageId"].GetString(); - if (!messageId) { - aplOptions->logMessage( - LogLevel::ERROR, "handleIsCharacterValidFailed", std::string("Payload does not contain messageId")); - sendError("Payload does not contain messageId"); - return; - } - - auto character = payload["character"].GetString(); - if (!character) { - aplOptions->logMessage( - LogLevel::ERROR, "handleIsCharacterValidFailed", std::string("Payload does not contain character")); - sendError("Payload does not contain character"); - return; - } - - auto componentId = payload["componentId"].GetString(); - if (!componentId) { - aplOptions->logMessage( - LogLevel::ERROR, "handleIsCharacterValidFailed", std::string("Payload does not contain componentId")); - sendError("Payload does not contain componentId"); - return; - } - auto component = m_Root->findComponentById(componentId); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, - "handleIsCharacterValidFailed", - std::string("Unable to find component with id: ") + componentId); - sendError("Unable to find component"); - return; - } - - auto result = component->isCharacterValid(character[0]); - - auto resultMessage = AplCoreViewhostMessage("isCharacterValid"); - auto& alloc = resultMessage.alloc(); - rapidjson::Value resultMessageValue(rapidjson::kObjectType); - - rapidjson::Value messageIdValue; - messageIdValue.SetString(messageId, alloc); - resultMessageValue.AddMember("messageId", messageIdValue, alloc); - - resultMessageValue.AddMember("valid", result, alloc); - - rapidjson::Value componentIdValue; - componentIdValue.SetString(componentId, alloc); - resultMessageValue.AddMember("componentId", componentIdValue, alloc); - - resultMessage.setPayload(std::move(resultMessageValue)); - send(resultMessage); -} - -void AplCoreConnectionManager::handleReInflate(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleIsCharacterValidFailed", "Root context is null"); - return; - } - m_Root->reinflate(); - - // update component hierarchy - auto reply = AplCoreViewhostMessage(HIERARCHY_KEY); - send(reply.setPayload(m_Root->topComponent()->serialize(reply.alloc()))); -} - -void AplCoreConnectionManager::handleReHierarchy(const rapidjson::Value& payload) { - // send component hierarchy - auto reply = AplCoreViewhostMessage(REHIERARCHY_KEY); - blockingSend(reply.setPayload(m_Root->topComponent()->serialize(reply.alloc()))); -} - -void AplCoreConnectionManager::updateConfigurationChange(const apl::ConfigurationChange& configurationChange) { - m_ConfigurationChange.mergeConfigurationChange(configurationChange); -} - -void AplCoreConnectionManager::handleGetDisplayedChildCount(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleGetDisplayedChildCountFailed", "Root context is null"); - return; - } - - auto messageId = payload["messageId"].GetString(); - if (!messageId) { - aplOptions->logMessage( - LogLevel::ERROR, "handleGetDisplayedChildCountFailed", std::string("Payload does not contain messageId")); - sendError("Payload does not contain messageId"); - return; - } - - auto componentId = payload["componentId"].GetString(); - if (!componentId) { - aplOptions->logMessage( - LogLevel::ERROR, "handleGetDisplayedChildCountFailed", std::string("Payload does not contain componentId")); - sendError("Payload does not contain componentId"); - return; - } - auto component = m_Root->findComponentById(componentId); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, - "handleGetDisplayedChildCountFailed", - std::string("Unable to find component with id: ") + componentId); - sendError("Unable to find component"); - return; - } - - auto result = component->getDisplayedChildCount(); - - auto resultMessage = AplCoreViewhostMessage("getDisplayedChildCount"); - auto& alloc = resultMessage.alloc(); - rapidjson::Value resultMessageValue(rapidjson::kObjectType); - - rapidjson::Value messageIdValue; - messageIdValue.SetString(messageId, alloc); - resultMessageValue.AddMember("messageId", messageIdValue, alloc); - - resultMessageValue.AddMember("displayedChildCount", static_cast(result), alloc); - - rapidjson::Value componentIdValue; - componentIdValue.SetString(componentId, alloc); - resultMessageValue.AddMember("componentId", componentIdValue, alloc); - - resultMessage.setPayload(std::move(resultMessageValue)); - send(resultMessage); -} - -void AplCoreConnectionManager::handleGetDisplayedChildId(const rapidjson::Value& payload) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (!m_Root) { - aplOptions->logMessage(LogLevel::ERROR, "handleGetDisplayedChildIdFailed", "Root context is null"); - return; - } - - auto messageId = payload["messageId"].GetString(); - if (!messageId) { - aplOptions->logMessage( - LogLevel::ERROR, "handleGetDisplayedChildIdFailed", std::string("Payload does not contain messageId")); - sendError("Payload does not contain messageId"); - return; - } - - auto componentId = payload["componentId"].GetString(); - if (!componentId) { - aplOptions->logMessage( - LogLevel::ERROR, "handleGetDisplayedChildIdFailed", std::string("Payload does not contain componentId")); - sendError("Payload does not contain componentId"); - return; - } - - auto displayIndexString = payload["displayIndex"].GetString(); - if (!displayIndexString) { - aplOptions->logMessage( - LogLevel::ERROR, "handleGetDisplayedChildIdFailed", std::string("Payload does not contain displayIndex")); - sendError("Payload does not contain displayIndex"); - return; - } - - auto component = m_Root->findComponentById(componentId); - if (!component) { - aplOptions->logMessage( - LogLevel::ERROR, - "handleGetDisplayedChildIdFailed", - std::string("Unable to find component with id: ") + componentId); - sendError("Unable to find component"); - return; - } - - auto displayedChildCount = component->getDisplayedChildCount(); - auto displayIndex = std::stoi(displayIndexString); - - if (displayIndex >= displayedChildCount) { - aplOptions->logMessage( - LogLevel::ERROR, "handleGetDisplayedChildIdFailed", std::string("Asked for a component out of bounds.")); - sendError("Asked for a component out of bounds."); - return; - } - auto displayedChild = component->getDisplayedChildAt(displayIndex); - auto displayedChildId = displayedChild->getUniqueId(); - - auto resultMessage = AplCoreViewhostMessage("getDisplayedChildId"); - auto& alloc = resultMessage.alloc(); - rapidjson::Value resultMessageValue(rapidjson::kObjectType); - - rapidjson::Value messageIdValue; - messageIdValue.SetString(messageId, alloc); - resultMessageValue.AddMember("messageId", messageIdValue, alloc); - - resultMessageValue.AddMember("displayedChildId", displayedChildId, alloc); - - rapidjson::Value componentIdValue; - componentIdValue.SetString(componentId, alloc); - resultMessageValue.AddMember("componentId", componentIdValue, alloc); - - resultMessage.setPayload(std::move(resultMessageValue)); - send(resultMessage); -} -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreEngineLogBridge.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreEngineLogBridge.cpp deleted file mode 100644 index 00d1dbb..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreEngineLogBridge.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/AplCoreEngineLogBridge.h" - -static const std::string TAG("AplCoreEngine"); - -namespace APLClient { - -AplCoreEngineLogBridge::AplCoreEngineLogBridge(AplOptionsInterfacePtr aplOptions) : m_aplOptions{aplOptions} { -} - -void AplCoreEngineLogBridge::transport(apl::LogLevel level, const std::string& log) { - switch (level) { - case apl::LogLevel::kTrace: - m_aplOptions->logMessage(LogLevel::TRACE, TAG, log); - break; - case static_cast(1): - m_aplOptions->logMessage(LogLevel::DBG, TAG, log); - break; - case apl::LogLevel::kInfo: - m_aplOptions->logMessage(LogLevel::INFO, TAG, log); - break; - case apl::LogLevel::kWarn: - m_aplOptions->logMessage(LogLevel::WARN, TAG, log); - break; - case apl::LogLevel::kError: - m_aplOptions->logMessage(LogLevel::ERROR, TAG, log); - break; - case apl::LogLevel::kCritical: - m_aplOptions->logMessage(LogLevel::CRITICAL, TAG, log); - break; - default: - m_aplOptions->logMessage(LogLevel::ERROR, "AplCoreEngineUnknownLogLevel", log); - return; - } -} -} // namespace APLClient \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreGuiRenderer.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreGuiRenderer.cpp deleted file mode 100644 index 05525cd..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreGuiRenderer.cpp +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ -#include - -#include - -#include "APLClient/AplCoreGuiRenderer.h" - -namespace APLClient { - -/// CDN for alexa import packages (styles/resources/etc) -/// (https://developer.amazon.com/en-US/docs/alexa/alexa-presentation-language/apl-document.html#import) -static const char* ALEXA_IMPORT_PATH = "https://d2na8397m465mh.cloudfront.net/packages/%s/%s/document.json"; -/// The number of bytes read from the attachment with each read in the read loop. -static const size_t CHUNK_SIZE(1024); -/// Name of the mainTemplate parameter to which avs datasources binds to. -static const std::string DEFAULT_PARAM_BINDING = "payload"; -/// Default string to attach to mainTemplate parameters. -static const std::string DEFAULT_PARAM_VALUE = "{}"; - -AplCoreGuiRenderer::AplCoreGuiRenderer(AplConfigurationPtr config, AplCoreConnectionManagerPtr aplCoreConnectionManager) - : m_aplConfiguration{config}, - m_aplCoreConnectionManager{aplCoreConnectionManager}, - m_isDocumentCleared{false} { - -} - -void AplCoreGuiRenderer::executeCommands(const std::string& jsonPayload, const std::string& token) { - m_aplCoreConnectionManager->executeCommands(jsonPayload, token); -} - -void AplCoreGuiRenderer::dataSourceUpdate( - const std::string& sourceType, - const std::string& jsonPayload, - const std::string& token) { - m_aplCoreConnectionManager->dataSourceUpdate(sourceType, jsonPayload, token); -} - -void AplCoreGuiRenderer::interruptCommandSequence() { - m_aplCoreConnectionManager->interruptCommandSequence(); -} - -void AplCoreGuiRenderer::renderDocument( - const std::string& document, - const std::string& data, - const std::string& supportedViewports, - const std::string& token) { - m_isDocumentCleared = false; - - auto metricsRecorder = m_aplConfiguration->getMetricsRecorder(); - auto aplOptions = m_aplConfiguration->getAplOptions(); - auto tContentCreate = metricsRecorder->createTimer( - Telemetry::AplMetricsRecorderInterface::LATEST_DOCUMENT, - Telemetry::AplRenderingSegment::kContentCreation); - auto cImports = metricsRecorder->createCounter( - Telemetry::AplMetricsRecorderInterface::LATEST_DOCUMENT, - "APL-Web.Content.imports"); - auto cError = metricsRecorder->createCounter( - Telemetry::AplMetricsRecorderInterface::LATEST_DOCUMENT, - "APL-Web.Content.error"); - tContentCreate->start(); - auto content = apl::Content::create(std::move(document)); - if (!content) { - aplOptions->logMessage(LogLevel::ERROR, "renderByAplCoreFailed", "Unable to create content"); - - tContentCreate->fail(); - aplOptions->onRenderDocumentComplete(token, false, "Unable to create content"); - return; - } - - std::map params; - apl::JsonData sourcesData(data); - if (sourcesData.get().IsObject()) { - for (auto objIt = sourcesData.get().MemberBegin(); objIt != sourcesData.get().MemberEnd(); objIt++) { - params.emplace(objIt->name.GetString(), objIt->value); - } - } - - for (size_t idx = 0; idx < content->getParameterCount(); idx++) { - auto parameterName = content->getParameterAt(idx); - if (parameterName == DEFAULT_PARAM_BINDING) { - content->addData(parameterName, data); - } else if (params.find(parameterName) != params.end()) { - content->addData(parameterName, params.at(parameterName).toString()); - } else { - content->addData(parameterName, DEFAULT_PARAM_VALUE); - } - } - - std::unordered_map> packageContentByRequestId; - std::unordered_map packageRequestByRequestId; - while (content->isWaiting() && !content->isError()) { - auto packages = content->getRequestedPackages(); - cImports->incrementBy(packages.size()); - unsigned int count = 0; - for (auto& package : packages) { - auto name = package.reference().name(); - auto version = package.reference().version(); - auto source = package.source(); - - if (source.empty()) { - char sourceBuffer[CHUNK_SIZE]; - snprintf(sourceBuffer, CHUNK_SIZE, ALEXA_IMPORT_PATH, name.c_str(), version.c_str()); - source = sourceBuffer; - } - - auto packageContentPromise = - async(std::launch::async, &AplOptionsInterface::downloadResource, aplOptions, source); - packageContentByRequestId.insert(std::make_pair(package.getUniqueId(), std::move(packageContentPromise))); - packageRequestByRequestId.insert(std::make_pair(package.getUniqueId(), package)); - count++; - - // if we reach the maximum number of concurrent downloads or already go through all packages, wait for them - // to finish - if (count % aplOptions->getMaxNumberOfConcurrentDownloads() == 0 || packages.size() == count) { - for (auto& kvp : packageContentByRequestId) { - auto packageContent = kvp.second.get(); - if (packageContent.empty()) { - aplOptions->logMessage( - LogLevel::ERROR, "renderByAplCoreFailed", "Could not be retrieve requested import"); - - aplOptions->onRenderDocumentComplete(token, false, "Unresolved import"); - tContentCreate->fail(); - return; - } - content->addPackage(packageRequestByRequestId.at(kvp.first), packageContent); - } - packageContentByRequestId.clear(); - packageRequestByRequestId.clear(); - } - } - } - - if (content->isError()) { - cError->increment(); - } - - if (!content->isReady()) { - aplOptions->logMessage(LogLevel::ERROR, "renderByAplCoreFailed", "Content is not ready"); - - aplOptions->onRenderDocumentComplete(token, false, "Content is not ready"); - tContentCreate->fail(); - return; - } - - tContentCreate->stop(); - metricsRecorder->flush(); - - if (!m_isDocumentCleared) { - /** - * Only set the content if we haven't been cleared while building. - */ - m_aplCoreConnectionManager->setSupportedViewports(supportedViewports); - m_aplCoreConnectionManager->setContent(content, token); - } -} - -void AplCoreGuiRenderer::clearDocument() { - m_isDocumentCleared = true; - m_aplCoreConnectionManager->reset(); -} - -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreLocaleMethods.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreLocaleMethods.cpp deleted file mode 100644 index 0faaac4..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreLocaleMethods.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include - -#include "APLClient/AplCoreViewhostMessage.h" -#include "APLClient/AplCoreLocaleMethods.h" - -namespace APLClient { - static const char LOCALE_METHODS_KEY[] = "localeMethod"; - static const char UPPER_KEY[] = "toUpperCase"; - static const char LOWER_KEY[] = "toLowerCase"; - - AplCoreLocaleMethods::AplCoreLocaleMethods( - AplCoreConnectionManagerPtr aplCoreConnectionManager, - AplConfigurationPtr config) - : m_aplCoreConnectionManager{aplCoreConnectionManager}, - m_aplConfiguration{config} { - } - - std::string AplCoreLocaleMethods::toUpperCase(const std::string &value, const std::string &locale) { - return toCase(value, locale, UPPER_KEY); - } - std::string AplCoreLocaleMethods::toLowerCase(const std::string &value, const std::string &locale) { - return toCase(value, locale, LOWER_KEY); - } - - std::string AplCoreLocaleMethods::toCase(const std::string &value, const std::string &locale, const std::string methodName) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - if (auto aplCoreConnectionManager = m_aplCoreConnectionManager.lock()) { - auto msg = AplCoreViewhostMessage(LOCALE_METHODS_KEY); - auto& alloc = msg.alloc(); - - rapidjson::Value payload(rapidjson::kObjectType); - payload.AddMember("method", methodName, alloc); - payload.AddMember("value", value, alloc); - payload.AddMember("locale", locale, alloc); - msg.setPayload(std::move(payload)); - - auto result = aplCoreConnectionManager->blockingSend(msg); - - if (result.IsObject()) { - auto casedValue = result["payload"]["value"].GetString(); - return casedValue; - } - - aplOptions->logMessage(LogLevel::WARN, __func__, "Didn't get a valid reply. Returning unlocalized value."); - return value; - } else { - aplOptions->logMessage(LogLevel::WARN, __func__, "ConnectionManager does not exist. Returning unlocalized value"); - return value; - } - } - -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreMetrics.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreMetrics.cpp deleted file mode 100644 index cd38b41..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreMetrics.cpp +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/AplCoreMetrics.h" - -namespace APLClient { - -static const float DEFAULT_BASE_DPI = 160.0f; - -float AplCoreMetrics::toViewhost(float value) const { - return value * getScaleToViewhost() * getDpi() / DEFAULT_BASE_DPI; -} - -float AplCoreMetrics::toCore(float value) const { - return value * getScaleToCore() * DEFAULT_BASE_DPI / getDpi(); -} - -float AplCoreMetrics::getViewhostWidth() const { - return toViewhost(getMetrics().getWidth()); -} - -float AplCoreMetrics::getViewhostHeight() const { - return toViewhost(getMetrics().getHeight()); -} - -float AplCoreMetrics::toCorePixel(float value) { - return value * getScaleToCore(); -} - -} // namespace APLClient \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreTextMeasurement.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreTextMeasurement.cpp deleted file mode 100644 index 2bbe94e..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/AplCoreTextMeasurement.cpp +++ /dev/null @@ -1,170 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include - -#include "APLClient/AplCoreViewhostMessage.h" -#include "APLClient/AplCoreTextMeasurement.h" - -namespace APLClient { - -/// The keys used in APL text measurement. -static const char MEASURE_KEY[] = "measure"; -static const char BASELINE_KEY[] = "baseline"; - -AplCoreTextMeasurement::AplCoreTextMeasurement( - AplCoreConnectionManagerPtr aplCoreConnectionManager, - AplConfigurationPtr config) - : m_aplCoreConnectionManager{aplCoreConnectionManager}, - m_aplConfiguration{config} { - - m_textMeasureCounter = m_aplConfiguration->getMetricsRecorder()->createCounter( - Telemetry::AplMetricsRecorderInterface::LATEST_DOCUMENT, - Telemetry::AplRenderingSegment::kTextMeasure); -} - -/** - * Request a text measurement. - * - * { "type": "measure", - * "payload": { - * "id": UNIQUE_ID, - * "width": FLOAT, - * "height": FLOAT, - * "widthMode": INT, - * "heightMode": INT - * .... - * }} - * - * The response: - * - * { "type": "measure", - * "payload": { - * "width": FLOAT, - * "height": FLOAT - * }} - * - * @param component - * @param width - * @param widthMode - * @param height - * @param heightMode - * @return - */ -apl::LayoutSize AplCoreTextMeasurement::measure( - apl::Component* component, - float width, - apl::MeasureMode widthMode, - float height, - apl::MeasureMode heightMode) { - auto aplOptions = m_aplConfiguration->getAplOptions(); - m_textMeasureCounter->increment(); - if (auto aplCoreConnectionManager = m_aplCoreConnectionManager.lock()) { - /* Notify about the text measurement event */ - aplOptions->onRenderingEvent(aplCoreConnectionManager->getAPLToken(), AplRenderingEvent::TEXT_MEASURE); - - auto msg = AplCoreViewhostMessage(MEASURE_KEY); - auto& alloc = msg.alloc(); - - auto aplCoreMetrics = aplCoreConnectionManager->aplCoreMetrics(); - - rapidjson::Value payload(component->serialize(alloc)); - payload.AddMember("width", aplCoreMetrics->toViewhost(std::isnan(width) ? INT_MAX : width), alloc); - payload.AddMember("height", aplCoreMetrics->toViewhost(std::isnan(height) ? INT_MAX : height), alloc); - payload.AddMember("widthMode", widthMode, alloc); - payload.AddMember("heightMode", heightMode, alloc); - msg.setPayload(std::move(payload)); - - auto result = aplCoreConnectionManager->blockingSend(msg); - return this->GetValidMeasureResult(result, aplCoreMetrics.get()); - } else { - aplOptions->logMessage(LogLevel::WARN, __func__, "ConnectionManager does not exist. Returning generic size."); - return {0, 0}; - } -} - -apl::LayoutSize AplCoreTextMeasurement::GetValidMeasureResult(rapidjson::Document& result, AplCoreMetrics* aplCoreMetrics) { - - if (result.IsObject()) { - auto payloadItr = result.FindMember("payload"); - if (payloadItr != result.MemberEnd()) { - auto& payload = payloadItr->value; - auto widthItr = payload.FindMember("width"); - auto heightItr = payload.FindMember("height"); - - if (widthItr != payload.MemberEnd() && heightItr != payload.MemberEnd()) { - - auto& width = widthItr->value; - auto& height = heightItr->value; - if (width.IsNumber() && height.IsNumber()) { - auto measuredWidth = aplCoreMetrics->toCore(width.GetFloat()); - auto measuredHeight = aplCoreMetrics->toCore(height.GetFloat()); - return {measuredWidth, measuredHeight}; - } - } - } - } - - auto aplOptions = m_aplConfiguration->getAplOptions(); - aplOptions->logMessage(LogLevel::WARN, __func__, "Didn't get a valid reply. Returning generic size."); - return {aplCoreMetrics->toCore(100), aplCoreMetrics->toCore(100)}; -} - -/** - * Send a message to the view host asking for a baseline calculation: - * - * { "type": "baseline", - * "payload": { - * "id": UNIQUE_ID, - * "width": FLOAT, - * "height": FLOAT }} - * - * The result should look like: - * - * { "type": "baseline", - * "payload": FLOAT } - * - * @param component - * @param width - * @param height - * @return - */ -float AplCoreTextMeasurement::baseline(apl::Component* component, float width, float height) { - if (auto aplCoreConnectionManager = m_aplCoreConnectionManager.lock()) { - auto msg = AplCoreViewhostMessage(BASELINE_KEY); - auto& alloc = msg.alloc(); - - auto aplCoreMetrics = aplCoreConnectionManager->aplCoreMetrics(); - - rapidjson::Value payload(rapidjson::kObjectType); - payload.AddMember("id", rapidjson::Value(component->getUniqueId().c_str(), alloc).Move(), alloc); - payload.AddMember("width", aplCoreMetrics->toViewhost(width), alloc); - payload.AddMember("height", aplCoreMetrics->toViewhost(height), alloc); - msg.setPayload(std::move(payload)); - - auto result = aplCoreConnectionManager->blockingSend(msg); - if (result.IsObject()) { - auto it = result.FindMember("payload"); - if (it != result.MemberEnd() && it->value.IsNumber()) { - return aplCoreMetrics->toCore(it->value.GetFloat()); - } - - auto aplOptions = m_aplConfiguration->getAplOptions(); - aplOptions->logMessage(LogLevel::WARN, __func__, "Got invalid result from baseline calculation. Returning 0."); - return 0; - } - } -} -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/CMakeLists.txt b/modules/Alexa/APLClientLibrary/APLClient/src/CMakeLists.txt deleted file mode 100644 index c68b4a2..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/CMakeLists.txt +++ /dev/null @@ -1,70 +0,0 @@ -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) - -add_library(APLClient SHARED -AplClientBinding.cpp -AplConfiguration.cpp -Extensions/AplCoreExtensionManager.cpp -Extensions/AudioPlayer/AplAudioPlayerExtension.cpp -Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.cpp -Extensions/Backstack/AplBackstackExtension.cpp -Telemetry/AplMetricsRecorder.cpp -Telemetry/AplMetricsRecorderInterface.cpp -Telemetry/DownloadMetricsEmitter.cpp -Telemetry/NullAplMetricsRecorder.cpp -AplCoreConnectionManager.cpp -AplCoreEngineLogBridge.cpp -AplCoreGuiRenderer.cpp -AplCoreMetrics.cpp -AplCoreTextMeasurement.cpp -AplCoreLocaleMethods.cpp -AplClientRenderer.cpp -) - -if(NOT APLCORE_RAPIDJSON_INCLUDE_DIR) - message(FATAL_ERROR "APLCORE_RAPIDJSON_INCLUDE_DIR is required to build APLClientLibrary") -endif() - -target_include_directories(APLClient PUBLIC -"${APLCORE_RAPIDJSON_INCLUDE_DIR}" -"${APLClient_SOURCE_DIR}/include") - -if(NOT APLCORE_INCLUDE_DIR) - message(FATAL_ERROR "APLCore Include Dir is required") -endif() - -if(NOT APLCORE_BUILD_INCLUDE_DIR) - message(FATAL_ERROR "APLCore Build Include Dir is required") -endif() - -if(NOT APLCORE_LIB_DIR) - message(FATAL_ERROR "APLCore Lib Dir is required") -endif() - -if(APL_CORE) - if (NOT MSVC) - target_include_directories(APLClient PUBLIC - "${APLCORE_INCLUDE_DIR}" - "${APLCORE_BUILD_INCLUDE_DIR}" - "${YOGA_INCLUDE_DIR}") - - target_link_libraries(APLClient ${APLCORE_LIB_DIR}/libapl.a) - target_link_libraries(APLClient ${YOGA_LIB_DIR}/libyogacore.a) - - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-error -Wno-reorder -fPIC") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error -Wno-reorder -fPIC") - elseif(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /permissive- /GS /TP /W3 /Zc:wchar_t /DAPL_CORE_UWP /Zc:inline /Zc:twoPhase- /fp:precise /DWIN32_LEAN_AND_MEAN /DNOGDI /DWIN32 /D_WINDOWS") - target_include_directories(APLClient PUBLIC - "${APLCORE_INCLUDE_DIR}" - "${APLCORE_BUILD_INCLUDE_DIR}" - "${YOGA_INCLUDE_DIR}") - - target_link_libraries(APLClient ${APLCORE_LIB_DIR}/apl.lib) - target_link_libraries(APLClient ${YOGA_LIB_DIR}/yogacore.lib) - - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") - endif() - - add_definitions(-DAPL_CORE) -endif() diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AplCoreExtensionManager.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AplCoreExtensionManager.cpp deleted file mode 100644 index 9eef3ee..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AplCoreExtensionManager.cpp +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include -#include "APLClient/Extensions/AplCoreExtensionManager.h" - -namespace APLClient { -namespace Extensions { - -/// String to identify log entries originating from this file. -static const std::string TAG("AplCoreExtensionManager"); - -std::shared_ptr AplCoreExtensionManager::getExtension(const std::string& uri) { - logMessage(LOGLEVEL_DEBUG, TAG, __func__, uri); - if (m_Extensions.find(uri) != m_Extensions.end()) { - return m_Extensions[uri]; - } - logMessage(LOGLEVEL_DEBUG, TAG, "No registered Extension", uri); - return nullptr; -} - -void AplCoreExtensionManager::addExtension(std::shared_ptr extension) { - if (!getExtension(extension->getUri())) { - m_Extensions.insert({extension->getUri(), extension}); - } -} - -void AplCoreExtensionManager::registerRequestedExtension(const std::string& uri, apl::RootConfig& config) { - if (auto extension = getExtension(uri)) { - logMessage(LOGLEVEL_DEBUG, TAG, "registerRequestedExtension", uri); - config.registerExtension(uri); - config.registerExtensionEnvironment(extension->getUri(), extension->getEnvironment()); - for (auto& command : extension->getCommandDefinitions()) { - logMessage(LOGLEVEL_DEBUG, TAG, "registerExtensionCommand", command.toDebugString()); - config.registerExtensionCommand(command); - } - for (auto& handler : extension->getEventHandlers()) { - logMessage(LOGLEVEL_DEBUG, TAG, "registerExtensionEventHandler", handler.toDebugString()); - config.registerExtensionEventHandler(handler); - } - // Add Extension LiveData Objects to config - auto extensionLiveObjects = extension->getLiveDataObjects(); - auto it = extensionLiveObjects.begin(); - while (it != extensionLiveObjects.end()) - { - config.liveData(it->first, it->second); - it++; - } - } -} - -void AplCoreExtensionManager::onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback) { - logMessage(LOGLEVEL_DEBUG, TAG, "extensionEvent", +"< " + uri + "::" + name + "::" + params.toDebugString() + " >"); - if (auto extension = getExtension(uri)) { - extension->onExtensionEvent(uri, name, source, params, event, resultCallback); - } else if (resultCallback) { - resultCallback->onExtensionEventResult(event, false); - } -} - -} // namespace Extensions -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.cpp deleted file mode 100644 index 3453062..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.cpp +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include -#include -#include "APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.h" - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { - -/// String to identify log entries originating from this file. -static const std::string TAG("AplAudioPlayerAlarmsExtension"); - -static const std::string URI = "aplext:musicalarm:10"; -static const std::string COMMAND_DISMISS_NAME = "DismissAlarm"; -static const std::string COMMAND_SNOOZE_NAME = "SnoozeAlarm"; - -AplAudioPlayerAlarmsExtension::AplAudioPlayerAlarmsExtension(std::shared_ptr observer) : - m_observer{std::move(observer)} { -} - -std::string AplAudioPlayerAlarmsExtension::getUri() { - return URI; -} - -apl::Object AplAudioPlayerAlarmsExtension::getEnvironment() { - // No environment for AudioPlayer Extension - return apl::Object(""); -} -std::list AplAudioPlayerAlarmsExtension::getCommandDefinitions() { - std::list extCmdDefs( - {apl::ExtensionCommandDefinition(URI, COMMAND_DISMISS_NAME).allowFastMode(true), - apl::ExtensionCommandDefinition(URI, COMMAND_SNOOZE_NAME).allowFastMode(true)}); - return extCmdDefs; -} - -std::list AplAudioPlayerAlarmsExtension::getEventHandlers() { - std::list extensionEventHandlers({}); - return extensionEventHandlers; -} - -std::unordered_map AplAudioPlayerAlarmsExtension::getLiveDataObjects() { - auto liveObjects = std::unordered_map(); - return liveObjects; -} - -void AplAudioPlayerAlarmsExtension::applySettings(const apl::Object& settings) { - /// Apply @c apl::Content defined settings - logMessage(apl::LogLevel::kInfo, TAG, __func__, settings.toDebugString()); -} - -void AplAudioPlayerAlarmsExtension::onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback) { - auto eventDebugString = getEventDebugString(uri, name, params); - logMessage(LOGLEVEL_DEBUG, TAG, __func__, eventDebugString); - - bool succeeded = true; - - if (m_observer) { - if (COMMAND_DISMISS_NAME == name) { - m_observer->onAudioPlayerAlarmDismiss(); - } else if (COMMAND_SNOOZE_NAME == name) { - m_observer->onAudioPlayerAlarmSnooze(); - } else { - logMessage(apl::LogLevel::kError, TAG, __func__, "Invalid Command: " + eventDebugString); - succeeded = false; - } - } else { - logMessage(apl::LogLevel::kError, TAG, __func__, "No Event Observer: " + eventDebugString); - succeeded = false; - } - - if (resultCallback) { - resultCallback->onExtensionEventResult(event, succeeded); - } -} - -} // namespace AudioPlayer -} // namespace Extensions -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerExtension.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerExtension.cpp deleted file mode 100644 index ab006ff..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/AudioPlayer/AplAudioPlayerExtension.cpp +++ /dev/null @@ -1,279 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include -#include -#include "APLClient/Extensions/AudioPlayer/AplAudioPlayerExtension.h" - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { - -/// String to identify log entries originating from this file. -static const std::string TAG("AplAudioPlayerExtension"); - -static const std::string SETTING_PLAYBACK_STATE_NAME = "playbackStateName"; -static const std::string COMMAND_PLAY_NAME = "Play"; -static const std::string COMMAND_PAUSE_NAME = "Pause"; -static const std::string COMMAND_PREVIOUS_NAME = "Previous"; -static const std::string COMMAND_NEXT_NAME = "Next"; -static const std::string COMMAND_SEEK_TO_POSITION_NAME = "SeekToPosition"; -static const std::string COMMAND_TOGGLE_NAME = "Toggle"; -static const std::string COMMAND_ADD_LYRICS_VIEWED = "AddLyricsViewed"; -static const std::string COMMAND_ADD_LYRICS_DURATION_IN_MILLISECONDS = "AddLyricsDurationInMilliseconds"; -static const std::string COMMAND_FLUSH_LYRIC_DATA = "FlushLyricData"; -static const std::string COMMAND_SKIP_FORWARD_NAME = "SkipForward"; -static const std::string COMMAND_SKIP_BACKWARD_NAME = "SkipBackward"; -static const std::string EVENTHANDLER_ON_PLAYER_ACTIVITY_UPDATED_NAME = "OnPlayerActivityUpdated"; -static const std::string PROPERTY_OFFSET = "offset"; -static const std::string PROPERTY_TOGGLE_NAME = "name"; -static const std::string PROPERTY_TOGGLE_CHECKED = "checked"; -static const std::string PROPERTY_PLAYER_ACTIVITY = "playerActivity"; -static const std::string PROPERTY_TOKEN = "token"; -static const std::string PROPERTY_LINES = "lines"; -static const std::string PROPERTY_DURATION_IN_MILLISECONDS = "durationInMilliseconds"; - -/// List of accepted toggle command names. -static const std::vector TOGGLE_COMMAND_NAMES = { - "thumbsUp", - "thumbsDown", - "shuffle", - "repeat" -}; - -/// List of accepted player activity. -static const std::vector PLAYER_ACTIVITY = { - "PLAYING", - "STOPPED", - "PAUSED", - "BUFFER_UNDERRUN" -}; - -AplAudioPlayerExtension::AplAudioPlayerExtension(std::shared_ptr observer) : - m_observer{std::move(observer)} { - m_playbackStateName = ""; - m_activeSkillId = ""; - m_playbackState = apl::LiveMap::create(); - m_playbackState->set(PROPERTY_PLAYER_ACTIVITY, "STOPPED"); - m_playbackState->set(PROPERTY_OFFSET, 0); -} - -std::string AplAudioPlayerExtension::getUri() { - return URI; -} - -apl::Object AplAudioPlayerExtension::getEnvironment() { - // No environment for AudioPlayer Extension - return apl::Object(""); -} -std::list AplAudioPlayerExtension::getCommandDefinitions() { - std::list extCmdDefs( - {apl::ExtensionCommandDefinition(URI, COMMAND_PLAY_NAME).allowFastMode(true), - apl::ExtensionCommandDefinition(URI, COMMAND_PAUSE_NAME).allowFastMode(true), - apl::ExtensionCommandDefinition(URI, COMMAND_PREVIOUS_NAME).allowFastMode(true), - apl::ExtensionCommandDefinition(URI, COMMAND_NEXT_NAME).allowFastMode(true), - apl::ExtensionCommandDefinition(URI, COMMAND_SEEK_TO_POSITION_NAME) - .allowFastMode(true) - .property(PROPERTY_OFFSET, 0, true), - apl::ExtensionCommandDefinition(URI, COMMAND_TOGGLE_NAME) - .allowFastMode(true) - .property(PROPERTY_TOGGLE_NAME, "", true) - .property(PROPERTY_TOGGLE_CHECKED, false, true), - apl::ExtensionCommandDefinition(URI, COMMAND_SKIP_FORWARD_NAME).allowFastMode(true), - apl::ExtensionCommandDefinition(URI, COMMAND_SKIP_BACKWARD_NAME).allowFastMode(true), - apl::ExtensionCommandDefinition(URI, COMMAND_ADD_LYRICS_VIEWED) - .allowFastMode(true) - .property(PROPERTY_TOKEN, "", true) - .property(PROPERTY_LINES, apl::ObjectArray(), true), - apl::ExtensionCommandDefinition(URI, COMMAND_ADD_LYRICS_DURATION_IN_MILLISECONDS) - .allowFastMode(true) - .property(PROPERTY_TOKEN, "", true) - .property(PROPERTY_DURATION_IN_MILLISECONDS, 0, true), - apl::ExtensionCommandDefinition(URI, COMMAND_FLUSH_LYRIC_DATA).allowFastMode(true)}); - return extCmdDefs; -} -std::list AplAudioPlayerExtension::getEventHandlers() { - std::list extensionEventHandlers( - {apl::ExtensionEventHandler(URI, EVENTHANDLER_ON_PLAYER_ACTIVITY_UPDATED_NAME)}); - return extensionEventHandlers; -} - -std::unordered_map AplAudioPlayerExtension::getLiveDataObjects() { - auto liveObjects = std::unordered_map(); - if (!m_playbackStateName.empty()) { - liveObjects.emplace(m_playbackStateName, m_playbackState); - } - return liveObjects; -} - -void AplAudioPlayerExtension::applySettings(const apl::Object& settings) { - // Reset to defaults - m_playbackStateName = ""; - /// Apply @c apl::Content defined settings - logMessage(apl::LogLevel::kInfo, TAG, __func__, settings.toDebugString()); - if (settings.isMap()) { - if (settings.has(SETTING_PLAYBACK_STATE_NAME)) { - m_playbackStateName = settings.get(SETTING_PLAYBACK_STATE_NAME).getString(); - } - } -} - -void AplAudioPlayerExtension::onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback) { - auto eventDebugString = getEventDebugString(uri, name, params); - logMessage(LOGLEVEL_DEBUG, TAG, __func__, eventDebugString); - - bool succeeded = true; - - if (m_observer) { - if (COMMAND_PLAY_NAME == name) { - m_observer->onAudioPlayerPlay(); - } else if (COMMAND_PAUSE_NAME == name) { - m_observer->onAudioPlayerPause(); - } else if (COMMAND_PREVIOUS_NAME == name) { - m_observer->onAudioPlayerPrevious(); - } else if (COMMAND_NEXT_NAME == name) { - m_observer->onAudioPlayerNext(); - } else if (COMMAND_SEEK_TO_POSITION_NAME == name) { - if (confirmEventParams(TAG, {PROPERTY_OFFSET}, params)) { - m_observer->onAudioPlayerSeekToPosition(params.get(PROPERTY_OFFSET).getInteger()); - } else { - succeeded = false; - } - } else if (COMMAND_SKIP_FORWARD_NAME == name) { - m_observer->onAudioPlayerSkipForward(); - } else if (COMMAND_SKIP_BACKWARD_NAME == name) { - m_observer->onAudioPlayerSkipBackward(); - } else if (COMMAND_TOGGLE_NAME == name) { - if (confirmEventParams(TAG, {PROPERTY_TOGGLE_NAME, PROPERTY_TOGGLE_CHECKED}, params)) { - auto toggleName = params.get(PROPERTY_TOGGLE_NAME).getString(); - if (std::find(TOGGLE_COMMAND_NAMES.begin(), TOGGLE_COMMAND_NAMES.end(), toggleName) != TOGGLE_COMMAND_NAMES.end()) { - m_observer->onAudioPlayerToggle(toggleName, params.get(PROPERTY_TOGGLE_CHECKED).getBoolean()); - } else { - logMessage(apl::LogLevel::kError, TAG, __func__, "Invalid Toggle Command Name: " + eventDebugString); - succeeded = false; - } - } else { - succeeded = false; - } - } else if (COMMAND_ADD_LYRICS_VIEWED == name) { - if (confirmEventParams(TAG, {PROPERTY_TOKEN, PROPERTY_LINES}, params)) { - auto tokenObject = params.get(PROPERTY_TOKEN); - auto token = tokenObject.isString() ? tokenObject.getString() : ""; - if (auto lyricData = getActiveLyricsViewedData(true, token)) { - lyricData->addLyricLinesData(params.get(PROPERTY_LINES).getArray()); - } - } else { - succeeded = false; - } - } else if (COMMAND_ADD_LYRICS_DURATION_IN_MILLISECONDS == name) { - if (confirmEventParams(TAG, {PROPERTY_TOKEN, PROPERTY_DURATION_IN_MILLISECONDS}, params)) { - auto tokenObject = params.get(PROPERTY_TOKEN); - auto token = tokenObject.isString() ? tokenObject.getString() : ""; - if (auto lyricData = getActiveLyricsViewedData(true, token)) { - lyricData->durationInMilliseconds += params.get(PROPERTY_DURATION_IN_MILLISECONDS).getDouble(); - } - } else { - succeeded = false; - } - } else if (COMMAND_FLUSH_LYRIC_DATA == name) { - if (auto lyricData = getActiveLyricsViewedData()) { - flushLyricData(lyricData); - } - } else { - logMessage(apl::LogLevel::kError, TAG, __func__, "Invalid Command: " + eventDebugString); - succeeded = false; - } - } else { - logMessage(apl::LogLevel::kError, TAG, __func__, "No Event Observer: " + eventDebugString); - succeeded = false; - } - - if (resultCallback) { - resultCallback->onExtensionEventResult(event, succeeded); - } -} - -std::shared_ptr AplAudioPlayerExtension::getActiveLyricsViewedData(bool initIfNull, const std::string& token) { - if (!m_activeSkillId.empty()) { - auto lvdi = m_lyricsViewedData.find(m_activeSkillId); - if (lvdi != m_lyricsViewedData.end()) { - auto lyricsViewedData = lvdi->second; - // If token has changed for the active skill's lyric data, flush the data and set the new token. - if (!token.empty() && lyricsViewedData->token != token) { - flushLyricData(lyricsViewedData); - lyricsViewedData->token = token; - } - return lyricsViewedData; - } - } - - if (initIfNull) { - m_lyricsViewedData[m_activeSkillId] = std::make_shared(token); - return m_lyricsViewedData[m_activeSkillId]; - } - - return nullptr; -} - -void AplAudioPlayerExtension::flushLyricData(const std::shared_ptr& lyricsViewedData) { - if (!lyricsViewedData->lyricData->empty()) { - m_observer->onAudioPlayerLyricDataFlushed(lyricsViewedData->token, - lyricsViewedData->durationInMilliseconds, - lyricsViewedData->getLyricDataPayload()); - } - lyricsViewedData->reset(); -} - -void AplAudioPlayerExtension::updatePlayerActivity(const std::string& state, int offset) { - if (std::find(PLAYER_ACTIVITY.begin(), PLAYER_ACTIVITY.end(), state) == PLAYER_ACTIVITY.end()) { - logMessage(apl::LogLevel::kError, TAG, __func__, "Invalid Player Activity: " + state); - return; - } - - m_playbackState->set(PROPERTY_PLAYER_ACTIVITY, state); - m_playbackState->set(PROPERTY_OFFSET, offset); - - if (!m_eventHandler) { - logMessage(apl::LogLevel::kWarn, TAG, __func__, "No Event Handler"); - return; - } - - auto playerActivity = apl::ObjectMap({{PROPERTY_PLAYER_ACTIVITY, state}}); - - m_eventHandler->invokeExtensionEventHandler( - URI, EVENTHANDLER_ON_PLAYER_ACTIVITY_UPDATED_NAME, playerActivity, false); -} - -void AplAudioPlayerExtension::updatePlaybackProgress(int offset) { - m_playbackState->set(PROPERTY_OFFSET, offset); -} - -void AplAudioPlayerExtension::setActivePresentationSession(const std::string &id, const std::string &skillId) { - m_activeSkillId = skillId; - /// If there's available lyricsViewedData for the newly active skillId, report it immediately - if (auto lyricsViewedData = getActiveLyricsViewedData()) { - flushLyricData(lyricsViewedData); - } -} - -} // namespace AudioPlayer -} // namespace Extensions -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/Backstack/AplBackstackExtension.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/Backstack/AplBackstackExtension.cpp deleted file mode 100644 index 9223271..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Extensions/Backstack/AplBackstackExtension.cpp +++ /dev/null @@ -1,198 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include -#include "APLClient/Extensions/Backstack/AplBackstackExtension.h" - -namespace APLClient { -namespace Extensions { -namespace Backstack { - -/// String to identify log entries originating from this file. -static const std::string TAG("AplBackstackExtension"); - -static const std::string ENVIRONMENT_RESPONSIBLE_FOR_BACK_BUTTON = "responsibleForBackButton"; -static const std::string ENVIRONMENT_BACKSTACK = "backstack"; -static const std::string SETTING_PROPERTY_BACKSTACK_ID = "backstackId"; -static const std::string SETTING_PROPERTY_BACKSTACK_ARRAY_NAME = "backstackArrayName"; -static const std::string COMMAND_GO_BACK_NAME = "GoBack"; -static const std::string COMMAND_CLEAR_NAME = "Clear"; -static const std::string PROPERTY_BACK_TYPE = "backType"; -static const std::string PROPERTY_BACK_VALUE = "backValue"; -static const std::string PROPERTY_BACK_TYPE_COUNT = "count"; - -AplBackstackExtension::AplBackstackExtension(std::shared_ptr observer) : - m_observer{observer} { - m_backstackArrayName = ""; - m_responsibleForBackButton = false; -} - -void AplBackstackExtension::setResponsibleForBackButton(bool isResponsibleForBackButton) { - m_responsibleForBackButton = isResponsibleForBackButton; -} - -bool AplBackstackExtension::shouldCacheActiveDocument() { - return !m_activeDocumentId.empty(); -} - -void AplBackstackExtension::addDocumentStateToBackstack(const AplDocumentStatePtr& documentState) { - documentState->id = m_activeDocumentId; - m_backstack.addDocumentState(documentState); - clearActiveDocumentId(); -} - -void AplBackstackExtension::clearActiveDocumentId() { - m_activeDocumentId = ""; -} - -void AplBackstackExtension::reset() { - clearActiveDocumentId(); - m_backstack.clear(); -} - -bool AplBackstackExtension::handleBack() { - if (!m_responsibleForBackButton) { - return goBackCount(1); - } - return false; -} - -std::string AplBackstackExtension::getUri() { - return URI; -} - -apl::Object AplBackstackExtension::getEnvironment() { - auto env = std::make_shared(); - env->emplace(ENVIRONMENT_RESPONSIBLE_FOR_BACK_BUTTON, m_responsibleForBackButton); - env->emplace(ENVIRONMENT_BACKSTACK, m_backstack.getBackstackIdsArray()); - return apl::Object(env); -} - -std::list AplBackstackExtension::getCommandDefinitions() { - std::list extCmdDefs( - {apl::ExtensionCommandDefinition(URI, COMMAND_GO_BACK_NAME) - .allowFastMode(true) - .property(PROPERTY_BACK_TYPE, PROPERTY_BACK_TYPE_COUNT, false) - .property(PROPERTY_BACK_VALUE, 1, false), - apl::ExtensionCommandDefinition(URI, COMMAND_CLEAR_NAME).allowFastMode(true)}); - return extCmdDefs; -} - -std::list AplBackstackExtension::getEventHandlers() { - std::list extensionEventHandlers({}); - return extensionEventHandlers; -} - -std::unordered_map AplBackstackExtension::getLiveDataObjects() { - auto liveObjects = std::unordered_map(); - if (!m_backstackArrayName.empty()) { - liveObjects.emplace(m_backstackArrayName, m_backstack.getBackstackIds()); - } - return liveObjects; -} - -void AplBackstackExtension::applySettings(const apl::Object& settings) { - // Reset to defaults - clearActiveDocumentId(); - m_backstackArrayName = ""; - logMessage(LOGLEVEL_DEBUG, TAG, "backstack_settings", settings.toDebugString()); - /// Apply @c apl::Content defined settings - if (settings.isMap()) { - if (settings.has(SETTING_PROPERTY_BACKSTACK_ID)) { - m_activeDocumentId = settings.get(SETTING_PROPERTY_BACKSTACK_ID).getString(); - } - if (settings.has(SETTING_PROPERTY_BACKSTACK_ARRAY_NAME)) { - m_backstackArrayName = settings.get(SETTING_PROPERTY_BACKSTACK_ARRAY_NAME).getString(); - } - } -} - -bool AplBackstackExtension::restoreDocumentState(const AplDocumentStatePtr& documentState) { - if (documentState) { - clearActiveDocumentId(); - m_observer->onRestoreDocumentState(documentState); - return true; - } - return false; -} - -bool AplBackstackExtension::goBackId(const std::string& id) { - return restoreDocumentState(m_backstack.popDocuments(id)); -} - -bool AplBackstackExtension::goBackIndex(unsigned int index) { - return restoreDocumentState(m_backstack.popDocumentsAtIndex(index)); -} - -bool AplBackstackExtension::goBackCount(unsigned int count) { - return restoreDocumentState(m_backstack.popDocuments(count)); -} - -bool AplBackstackExtension::handleGoBack(const apl::Object& params) { - if (confirmEventParams(TAG, {PROPERTY_BACK_TYPE, PROPERTY_BACK_VALUE}, params)) { - auto backType = backTypeFromString(params.get(PROPERTY_BACK_TYPE).getString()); - auto backValue = params.get(PROPERTY_BACK_VALUE); - switch (backType) { - case AplBackType::COUNT: - if (backValue.isNumber()) { - return goBackCount(backValue.getUnsigned()); - } - case AplBackType::INDEX: - if (backValue.isNumber()) { - return goBackIndex(backValue.getUnsigned()); - } - case AplBackType::ID: - if (backValue.isString()) { - return goBackId(backValue.getString()); - } - } - } - return false; -} - -void AplBackstackExtension::onExtensionEvent( - const std::string& uri, - const std::string& name, - const apl::Object& source, - const apl::Object& params, - unsigned int event, - std::shared_ptr resultCallback) { - auto eventDebugString = getEventDebugString(uri, name, params); - logMessage(LOGLEVEL_DEBUG, TAG, __func__, eventDebugString); - - bool succeeded = true; - - if (m_observer) { - if (COMMAND_GO_BACK_NAME == name) { - succeeded = handleGoBack(params); - } else if (COMMAND_CLEAR_NAME == name) { - m_backstack.clear(); - } else { - logMessage(apl::LogLevel::kError, TAG, __func__, "Invalid Command: " + eventDebugString); - succeeded = false; - } - } else { - logMessage(apl::LogLevel::kError, TAG, __func__, "No Event Observer: " + eventDebugString); - succeeded = false; - } - - if (resultCallback) { - resultCallback->onExtensionEventResult(event, succeeded); - } -} - -} // namespace Backstack -} // namespace Extensions -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorder.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorder.cpp deleted file mode 100644 index 95b3d0d..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorder.cpp +++ /dev/null @@ -1,490 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include -#include -#include - -#include "APLClient/Telemetry/AplMetricsRecorder.h" -#include "APLClient/Telemetry/NullAplMetricsRecorder.h" - -namespace APLClient { -namespace Telemetry { - -static const std::map sSegmentNames = { - {AplRenderingSegment::kRenderDocument, "SmartScreenSDK.renderDocument"}, - {AplRenderingSegment::kContentCreation, "APL-Web.Content.create"}, - {AplRenderingSegment::kRootContextInflation, "APL.rootContext.inflate"}, - {AplRenderingSegment::kTextMeasure, "APL-Web.RootContext.measureCount"} -}; - -enum class MetricType { TIMER, COUNTER }; - -struct AplMetricsRecorder::MetricRecord { - MetricType type; - std::string name; - bool reportZeroCounter; - bool hasValue; - int counterOrFailures; - // Timer-specific fields - std::chrono::steady_clock::time_point start; - std::chrono::nanoseconds elapsed; - bool started; -}; - -struct AplMetricsRecorder::DocumentRecord { - std::map metadata; - std::vector metrics; -}; - -class AplMetricsRecorder::CounterHandle : public AplCounterHandle { -public: - CounterHandle(std::shared_ptr recorder, DocumentId document, int id) - : mRecorder{recorder}, mDocument{document}, mId{id} {}; - - bool incrementBy(uint64_t value) override { - if (auto recorder = mRecorder.lock()) { - return recorder->updateCounter(mDocument, mId, [&](MetricRecord& record) { - record.counterOrFailures += value; - record.hasValue = true; - return true; - }); - } - return false; - } - -private: - std::weak_ptr mRecorder; - DocumentId mDocument; - int mId; -}; - -class AplMetricsRecorder::TimerHandle : public AplTimerHandle { -public: - TimerHandle(std::shared_ptr recorder, DocumentId document, int id) - : mRecorder{std::move(recorder)}, mDocument{document}, mId{id} {}; - - bool startedAt(const std::chrono::steady_clock::time_point& startTime) override { - if (auto recorder = mRecorder.lock()) { - bool success = recorder->updateTimer(mDocument, mId, [&](MetricRecord& record) { - if (record.started) { - // Avoid double starting - return false; - } - - record.start = startTime; - record.started = true; - - return true; - }); - - if (success && mStartCallback) { - mStartCallback(*recorder); - } - - return success; - } - - return false; - } - - bool stoppedAt(const std::chrono::steady_clock::time_point& stopTime) override { - if (auto recorder = mRecorder.lock()) { - bool success = recorder->updateTimer(mDocument, mId, [&](MetricRecord& record) { - if (!record.started) { - return false; - } - - auto duration = stopTime - record.start; - record.elapsed += duration; - record.started = false; - record.hasValue = true; - return true; - }); - - if (success && mStopCallback) { - mStopCallback(*recorder); - } - - return success; - } - return false; - } - - bool elapsed(const std::chrono::nanoseconds& duration) override { - if (auto recorder = mRecorder.lock()) { - bool success = recorder->updateTimer(mDocument, mId, [&](MetricRecord& record) { - record.elapsed += duration; - record.hasValue = true; - return true; - }); - - if (success && mStopCallback) { - mStopCallback(*recorder); - } - - return success; - } - return false; - } - - bool fail() override { - if (auto recorder = mRecorder.lock()) { - bool success = recorder->updateTimer(mDocument, mId, [&](MetricRecord& record) { - record.counterOrFailures += 1; - record.started = false; - return true; - }); - - if (success && mStopCallback) { - mStopCallback(*recorder); - } - - return success; - } - return false; - } - - void setStartCallback(std::function callback) { - mStartCallback = callback; - } - - void setStopCallback(std::function callback) { - mStopCallback = callback; - } - -private: - std::weak_ptr mRecorder; - DocumentId mDocument; - int mId; - std::function mStartCallback; - std::function mStopCallback; -}; - -AplMetricsRecorderInterfacePtr -AplMetricsRecorder::create(AplMetricsSinkInterfacePtr sink) { - return AplMetricsRecorderInterfacePtr(new AplMetricsRecorder(std::move(sink))); -} - -AplMetricsRecorder::AplMetricsRecorder(AplMetricsSinkInterfacePtr sink) - : mSink{sink}, - mDocuments{}, - mCurrentDocument{UNKNOWN_DOCUMENT}, - mLatestDocument{UNKNOWN_DOCUMENT}, - mNextDocument{LATEST_DOCUMENT + 1} { - // empty -} - -AplMetricsRecorderInterface::DocumentId -AplMetricsRecorder::registerDocument() { - const std::lock_guard lock(mDocumentMutex); - - DocumentId id = mNextDocument++; - if (id == UNKNOWN_DOCUMENT) { - // Wrapped around, start again from the first valid ID - mNextDocument = LATEST_DOCUMENT + 1; - id = mNextDocument++; - } - - DocumentRecord record; - mDocuments.emplace(id, record); - return id; -} - -bool -AplMetricsRecorder::addMetadata(DocumentId document, - const std::string& key, const std::string& value) { - const std::lock_guard lock(mDocumentMutex); - - document = resolveDocument(document); - if (mDocuments.count(document) == 0) { - return false; - } - - DocumentRecord &record = mDocuments.at(document); - record.metadata[key] = value; - return true; -} - -void -AplMetricsRecorder::invalidateDocument(DocumentId document) { - const std::lock_guard lock(mDocumentMutex); - - document = resolveDocument(document); - if (mCurrentDocument == document) { - mCurrentDocument = UNKNOWN_DOCUMENT; - } - - if (mLatestDocument == document) { - mLatestDocument = UNKNOWN_DOCUMENT; - } - - mDocuments.erase(document); -} - -AplMetricsRecorderInterface::DocumentId -AplMetricsRecorder::currentDisplayedDocument() const { - return mCurrentDocument; -} - -AplMetricsRecorderInterface::DocumentId -AplMetricsRecorder::latestDocument() const { - return mLatestDocument; -} - -void -AplMetricsRecorder::onRenderingStarted(DocumentId document) { - mLatestDocument = document; -} - -void -AplMetricsRecorder::onRenderingEnded(DocumentId document) { - mCurrentDocument = document; - - flush(); - invalidateInactiveDocuments(); -} - -void -AplMetricsRecorder::flush() { - const std::lock_guard lock(mDocumentMutex); - - for (auto &documentEntry : mDocuments) { - auto &documentRecord = documentEntry.second; - for (MetricRecord& metricRecord : documentRecord.metrics) { - if (metricRecord.type == MetricType::TIMER) { - reportTimerIfNecessary(documentRecord, metricRecord); - } - else if (metricRecord.type == MetricType::COUNTER) { - reportCounterIfNecessary(documentRecord, metricRecord); - } - } - } -} - -void -AplMetricsRecorder::reportTimerIfNecessary(const DocumentRecord &documentRecord, MetricRecord& metricRecord) { - if (metricRecord.started) { - return; // Timer in progress, skip it - } - - bool shouldReportTimer = metricRecord.hasValue; - bool shouldReportFailure = metricRecord.counterOrFailures > 0 || - (shouldReportTimer && metricRecord.reportZeroCounter); - if (shouldReportTimer) { - mSink->reportTimer(documentRecord.metadata, - metricRecord.name, - metricRecord.elapsed); - - metricRecord.elapsed = std::chrono::nanoseconds::zero(); - metricRecord.hasValue = false; - } - - if (shouldReportFailure) { - mSink->reportCounter(documentRecord.metadata, - metricRecord.name + ".fail", - metricRecord.counterOrFailures); - metricRecord.counterOrFailures = 0; - } -} - -void -AplMetricsRecorder::reportCounterIfNecessary(const DocumentRecord &documentRecord, MetricRecord& metricRecord) { - if (!metricRecord.hasValue) { - return; - } - - mSink->reportCounter(documentRecord.metadata, metricRecord.name, - metricRecord.counterOrFailures); - metricRecord.counterOrFailures = 0; - metricRecord.hasValue = false; -} - -void -AplMetricsRecorder::invalidateInactiveDocuments() { - const std::lock_guard lock(mDocumentMutex); - - for (auto it = mDocuments.begin(); it != mDocuments.end(); ) { - DocumentId document = it->first; - if (isActive(document)) { - ++it; - } else { - it = mDocuments.erase(it); - } - } -} - -bool -AplMetricsRecorder::isActive(DocumentId document) { - if (document == mCurrentDocument) { - return true; - } - - if (mNextDocument > mLatestDocument) { - // expected case, document IDs increase monotonically. Make sure this document - // is between latest and the next unused ID - return document >= mLatestDocument && document < mNextDocument; - } else { - // document IDs wrapped around, so the valid id range is split - return document >= mLatestDocument || document < mNextDocument; - } -} - -std::unique_ptr -AplMetricsRecorder::createTimer(AplMetricsRecorderInterface::DocumentId document, - AplRenderingSegment segment, - bool reportZeroFailures) { - if (sSegmentNames.count(segment) == 0) { - return std::unique_ptr(new NullTimerHandle()); - } - - auto timerHandle = createTimer(document, sSegmentNames.at(segment), reportZeroFailures); - if (timerHandle && segment == AplRenderingSegment::kRenderDocument) { - TimerHandle *handle = (TimerHandle*) timerHandle.get(); - handle->setStartCallback([document](AplMetricsRecorder &recorder) { - recorder.onRenderingStarted(document); - }); - handle->setStopCallback([document](AplMetricsRecorder& recorder) { - recorder.onRenderingEnded(document); - }); - } - return timerHandle; -} - -std::unique_ptr -AplMetricsRecorder::createTimer(DocumentId document, - const std::string &name, - bool reportZeroFailures) { - // Replace 'special' document id, if used - document = resolveDocument(document); - if (mDocuments.count(document) == 0) { - return std::unique_ptr(new NullTimerHandle()); - } - - const std::lock_guard lock(mDocumentMutex); - MetricRecord record; - record.type = MetricType::TIMER; - record.name = name; - record.elapsed = std::chrono::nanoseconds::zero(); - record.counterOrFailures = 0; - record.started = false; - record.hasValue = false; - record.reportZeroCounter = reportZeroFailures; - auto& records = mDocuments.at(document).metrics; - int id = records.size(); - records.emplace_back(record); - - auto timerHandle = new TimerHandle(shared_from_this(), document, id); - return std::unique_ptr(timerHandle); -} - -std::unique_ptr -AplMetricsRecorder::createCounter(DocumentId document, - AplRenderingSegment segment, - bool reportZeroValues) { - if (sSegmentNames.count(segment) == 0) { - return std::unique_ptr(new NullCounterHandle()); - } - - return createCounter(document, sSegmentNames.at(segment), reportZeroValues); -} - -std::unique_ptr -AplMetricsRecorder::createCounter(DocumentId document, - const std::string &name, - bool reportZeroValues) { - // Replace 'special' document id, if used - document = resolveDocument(document); - - if (mDocuments.count(document) == 0) { - return std::unique_ptr(new NullCounterHandle()); - } - - const std::lock_guard lock(mDocumentMutex); - MetricRecord record; - record.type = MetricType::COUNTER; - record.name = name; - record.elapsed = std::chrono::nanoseconds::zero(); - record.counterOrFailures = 0; - record.started = false; - record.hasValue = reportZeroValues; - record.reportZeroCounter = reportZeroValues; - auto& records = mDocuments.at(document).metrics; - int id = records.size(); - records.emplace_back(record); - - return std::unique_ptr(new CounterHandle(shared_from_this(), document, id)); -} - -bool -AplMetricsRecorder::updateTimer(DocumentId document, - int id, - std::function updater) { - const std::lock_guard lock(mDocumentMutex); - if (mDocuments.count(document) == 0) { - return false; - } - - auto& records = mDocuments.at(document).metrics; - if (id < 0 || id >= records.size()) { - return false; - } - - MetricRecord& record = records.at(id); - if (record.type != MetricType::TIMER) { - return false; - } - - return updater(record); -} - -bool -AplMetricsRecorder::updateCounter(DocumentId document, - int id, - std::function updater) { - const std::lock_guard lock(mDocumentMutex); - if (mDocuments.count(document) == 0) { - return false; - } - auto& records = mDocuments.at(document).metrics; - if (id < 0 || id >= records.size()) { - return false; - } - - MetricRecord& record = records.at(id); - if (record.type != MetricType::COUNTER) { - return false; - } - - return updater(record); -} - -AplMetricsRecorderInterface::DocumentId -AplMetricsRecorder::resolveDocument(DocumentId document) { - if (document == CURRENT_DOCUMENT) { - if (mCurrentDocument != UNKNOWN_DOCUMENT) { - return mCurrentDocument; - } else { - return mLatestDocument; - } - } else if (document == LATEST_DOCUMENT) { - return mLatestDocument; - } else { - return document; - } -} - -} // namespace Telemetry -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorderInterface.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorderInterface.cpp deleted file mode 100644 index 5262343..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/AplMetricsRecorderInterface.cpp +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/Telemetry/AplMetricsRecorderInterface.h" - -namespace APLClient { -namespace Telemetry { - -const AplMetricsRecorderInterface::DocumentId AplMetricsRecorderInterface::UNKNOWN_DOCUMENT = 0; -const AplMetricsRecorderInterface::DocumentId AplMetricsRecorderInterface::CURRENT_DOCUMENT = 1; -const AplMetricsRecorderInterface::DocumentId AplMetricsRecorderInterface::LATEST_DOCUMENT = 2; - -} // namespace Telemetry -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/DownloadMetricsEmitter.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/DownloadMetricsEmitter.cpp deleted file mode 100644 index ff49b21..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/DownloadMetricsEmitter.cpp +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/Telemetry/DownloadMetricsEmitter.h" - -#include - -namespace APLClient { -namespace Telemetry { - -DownloadMetricsEmitter::DownloadMetricsEmitter(AplMetricsRecorderInterfacePtr metricsRecorder) - : m_metricsRecorder{metricsRecorder} { - m_cacheCounter = m_metricsRecorder->createCounter( - AplMetricsRecorderInterface::LATEST_DOCUMENT, - "SmartScreenSDK.ImportDocumentCacheHit"); - m_sizeCounter = m_metricsRecorder->createCounter( - AplMetricsRecorderInterface::LATEST_DOCUMENT, - "SmartScreenSDK.ImportDocumentSize", false); - auto importCounter = m_metricsRecorder->createCounter( - AplMetricsRecorderInterface::LATEST_DOCUMENT, - "SmartScreenSDK.ImportDocument"); - importCounter->increment(); -} - -void DownloadMetricsEmitter::onDownloadStarted() { - m_downloadTimer = m_metricsRecorder->createTimer( - APLClient::Telemetry::AplMetricsRecorderInterface::LATEST_DOCUMENT, - "SmartScreenSDK.ImportDocumentTime"); - m_downloadTimer->start(); -} - -void DownloadMetricsEmitter::onDownloadComplete() { - m_downloadTimer->stop(); -} - -void DownloadMetricsEmitter::onDownloadFailed() { - m_downloadTimer->fail(); -} - -void DownloadMetricsEmitter::onCacheHit() { - m_cacheCounter->increment(); -} - -void DownloadMetricsEmitter::onBytesRead(std::uint64_t numberOfBytes) { - m_sizeCounter->incrementBy(numberOfBytes); -} - -} // namespace Telemetry -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/NullAplMetricsRecorder.cpp b/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/NullAplMetricsRecorder.cpp deleted file mode 100644 index 0c322fa..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/src/Telemetry/NullAplMetricsRecorder.cpp +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/Telemetry/NullAplMetricsRecorder.h" - -namespace APLClient { -namespace Telemetry { - -AplMetricsRecorderInterface::DocumentId -NullAplMetricsRecorder::registerDocument() { - return UNKNOWN_DOCUMENT; -} - -bool -NullAplMetricsRecorder::addMetadata(DocumentId document, - const std::string& key, - const std::string& value) { - return false; -} - -void -NullAplMetricsRecorder::invalidateDocument(DocumentId documentId) { - // empty -} - -AplMetricsRecorderInterface::DocumentId -NullAplMetricsRecorder::currentDisplayedDocument() const { - return UNKNOWN_DOCUMENT; -} - -AplMetricsRecorderInterface::DocumentId -NullAplMetricsRecorder::latestDocument() const { - return UNKNOWN_DOCUMENT; -} - -void -NullAplMetricsRecorder::flush() { - // empty -} - -std::unique_ptr -NullAplMetricsRecorder::createTimer(DocumentId document, - const std::string& name, - bool reportZeroFailures) { - return std::unique_ptr(new NullTimerHandle()); -} - -std::unique_ptr -NullAplMetricsRecorder::createTimer(DocumentId document, - AplRenderingSegment segment, - bool reportZeroFailures) { - return std::unique_ptr(new NullTimerHandle()); -} - -std::unique_ptr -NullAplMetricsRecorder::createCounter(DocumentId document, - const std::string& name, - bool reportZero) { - return std::unique_ptr(new NullCounterHandle()); -} - -std::unique_ptr -NullAplMetricsRecorder::createCounter(DocumentId document, - AplRenderingSegment segment, - bool reportZeroValues) { - return std::unique_ptr(new NullCounterHandle()); -} - -void -NullAplMetricsRecorder::onRenderingStarted(DocumentId document) { - // empty -} - -void -NullAplMetricsRecorder::onRenderingEnded(DocumentId document) { - // empty -} - -} // namespace Telemetry -} // namespace APLClient \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/AplCoreConnectionManagerTest.cpp b/modules/Alexa/APLClientLibrary/APLClient/test/AplCoreConnectionManagerTest.cpp deleted file mode 100644 index f891e75..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/AplCoreConnectionManagerTest.cpp +++ /dev/null @@ -1,964 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/AplCoreConnectionManager.h" -#include "MockAplOptionsInterface.h" - -#include -#include -#include -#include -#include - -namespace APLClient { -namespace test { - -using namespace ::testing; - -static const std::string DATA = "{}"; - -static const std::string VIEWPORT = - "[" - " {" - " \"mode\": \"HUB\"," - " \"shape\": \"RECTANGLE\"," - " \"minWidth\": 1024," - " \"maxWidth\": 1024," - " \"minHeight\": 600," - " \"maxHeight\": 600" - " }," - " {" - " \"mode\": \"HUB\"," - " \"shape\": \"RECTANGLE\"," - " \"minWidth\": 1280," - " \"maxWidth\": 1280," - " \"minHeight\": 800," - " \"maxHeight\": 800" - " }," - " {" - " \"mode\": \"HUB\"," - " \"shape\": \"RECTANGLE\"," - " \"minWidth\": 960," - " \"maxWidth\": 960," - " \"minHeight\": 480," - " \"maxHeight\": 480" - " }," - " {" - " \"mode\": \"HUB\"," - " \"shape\": \"ROUND\"," - " \"minWidth\": 480," - " \"maxWidth\": 480," - " \"minHeight\": 480," - " \"maxHeight\": 480" - " }," - " {" - " \"mode\": \"TV\"," - " \"shape\": \"RECTANGLE\"," - " \"minWidth\": 960," - " \"maxWidth\": 960," - " \"minHeight\": 540," - " \"maxHeight\": 540" - " }," - " {" - " \"mode\": \"TV\"," - " \"shape\": \"RECTANGLE\"," - " \"minWidth\": 960," - " \"maxWidth\": 960," - " \"minHeight\": 200," - " \"maxHeight\": 200" - " }," - " {" - " \"mode\": \"TV\"," - " \"shape\": \"RECTANGLE\"," - " \"minWidth\": 300," - " \"maxWidth\": 300," - " \"minHeight\": 540," - " \"maxHeight\": 540" - " }" - "]"; - -static const std::string DOCUMENT = - "{" - " \"type\": \"APL\"," - " \"version\": \"1.5\"," - " \"theme\": \"light\"," - " \"settings\": {" - " \"supportsResizing\": true" - " }," - " \"description\": \"This is a sample APL document\"," - " \"import\": []," - " \"layouts\": {" - " \"Box\": {" - " \"item\": {" - " \"type\": \"VectorGraphic\"," - " \"width\": \"50dp\"," - " \"height\": \"50dp\"," - " \"style\": \"focusStyle\"," - " \"source\": \"box\"" - " }" - " }" - " }," - " \"mainTemplate\": {" - " \"parameters\": [" - " \"payload\"" - " ]," - " \"item\": {" - " \"type\": \"Container\"," - " \"items\": [" - " {" - " \"type\": \"Text\"," - " \"id\": \"COMP1\"," - " \"width\": \"100%\"," - " \"text\": \"Hello World\"," - " \"fontSize\": 50" - " }," - " {" - " \"type\": \"Video\"," - " \"id\": \"video\"," - " \"height\": 300," - " \"width\": 716.8," - " \"top\": 10," - " \"left\": 100," - " \"autoplay\": true," - " \"audioTrack\": \"background\"," - " \"source\": [" - " {" - " \"url\": \"URL\"" - " }" - " ]" - " }," - " {" - " \"id\": \"textBox\"," - " \"type\": \"Text\"," - " \"text\": \"Hello\"," - " \"fontSize\": 50" - " }," - " {" - " \"id\" : \"GRAPHIC\"," - " \"type\": \"Box\"," - " \"position\": \"absolute\"," - " \"top\": 0," - " \"left\": 225" - " }" - " ]" - " }" - " }," - " \"onConfigChange\": [" - " {" - " \"type\": \"Reinflate\"" - " }" - " ]" - "}"; - -static const std::string DOCUMENT_WITH_IDLETIMEOUT = - "{" - " \"type\": \"APL\"," - " \"version\": \"1.5\"," - " \"theme\": \"light\"," - " \"description\": \"This is a sample APL document\"," - " \"import\": []," - " \"settings\": {" - " \"idleTimeout\": 123" - " }," - " \"layouts\": {" - " \"Box\": {" - " \"item\": {" - " \"type\": \"VectorGraphic\"," - " \"width\": \"50dp\"," - " \"height\": \"50dp\"," - " \"style\": \"focusStyle\"," - " \"source\": \"box\"" - " }" - " }" - " }," - " \"mainTemplate\": {" - " \"parameters\": [" - " \"payload\"" - " ]," - " \"item\": {" - " \"type\": \"Container\"," - " \"items\": [" - " {" - " \"type\": \"Text\"," - " \"id\": \"COMP1\"," - " \"width\": \"100%\"," - " \"text\": \"Hello World\"," - " \"fontSize\": 50" - " }," - " {" - " \"type\": \"Video\"," - " \"id\": \"video\"," - " \"height\": 300," - " \"width\": 716.8," - " \"top\": 10," - " \"left\": 100," - " \"autoplay\": true," - " \"audioTrack\": \"background\"," - " \"source\": [" - " {" - " \"url\": \"URL\"" - " }" - " ]" - " }," - " {" - " \"id\": \"textBox\"," - " \"type\": \"Text\"," - " \"text\": \"Hello\"," - " \"fontSize\": 50" - " }," - " {" - " \"id\" : \"GRAPHIC\"," - " \"type\": \"Box\"," - " \"position\": \"absolute\"," - " \"top\": 0," - " \"left\": 225" - " }" - " ]" - " }" - " }" - "}"; - -static const std::string BUILD_PAYLOAD = - "{" - " \"type\":\"build\"," - " \"payload\":" - " {" - " \"agentName\":\"SmartScreenSDK\"," - " \"agentVersion\":\"1.0\"," - " \"allowOpenUrl\":false," - " \"disallowVideo\":false," - " \"animationQuality\":\"normal\"," - " \"width\":1920,\"height\":1080," - " \"shape\":\"RECTANGLE\"," - " \"dpi\":160," - " \"mode\":\"TV\"" - " }" - "}"; - -static const std::string EVENT_PAYLOAD = - "{" - " \"type\": \"APL\"," - " \"version\": \"1.1\"," - " \"mainTemplate\": {" - " \"items\": {" - " \"type\": \"Pager\"," - " \"id\": \"myPager\"," - " \"width\": 100," - " \"height\": 100," - " \"navigation\": \"normal\"," - " \"items\": {" - " \"type\": \"Text\"," - " \"id\": \"id${data}\"," - " \"text\": \"TEXT${data}\"," - " \"speech\": \"URL${data}\"" - " }," - " \"data\": [ 1, 2, 3, 4, 5 ]," - " \"onPageChanged\": {" - " \"type\": \"SendEvent\"," - " \"arguments\": [" - " \"${event.target.page}\"" - " ]" - " }" - " }" - " }" - "}"; - -static const std::string TOKEN_LIST_NAME = "tokenList"; -static const std::string INDEX_LIST_NAME = "indexList"; - -static const std::string DOCUMENT_DYNAMIC = - "{" - " \"type\": \"APL\"," - " \"version\": \"1.6\"," - " \"theme\": \"dark\"," - " \"description\": \"This is a sample APL document with dynamic data source\"," - " \"mainTemplate\": {" - " \"parameters\": [" - " \"tokenList\", \"indexList\"" - " ]," - " \"item\": {" - " \"type\": \"Container\"," - " \"items\": [" - " {" - " \"type\": \"Sequence\"," - " \"height\": 300," - " \"id\": \"sequence\"," - " \"data\": \"${tokenList}\"," - " \"item\": {" - " \"type\": \"Text\"," - " \"id\": \"id${data}\"," - " \"width\": 100," - " \"height\": 100," - " \"text\": \"${data}\"" - " }" - " }," - " {" - " \"type\": \"Sequence\"," - " \"height\": 300," - " \"id\": \"sequence\"," - " \"data\": \"${indexList}\"," - " \"item\": {" - " \"type\": \"Text\"," - " \"id\": \"id${data}\"," - " \"width\": 100," - " \"height\": 100," - " \"text\": \"${data}\"" - " }" - " }" - " ]" - " }" - " }" - "}"; - -static const std::string TOKEN_LIST_DATA = - "{" - " \"type\": \"dynamicTokenList\"," - " \"listId\": \"vQdpOESlok2\"," - " \"pageToken\": \"pageToken\"," - " \"forwardPageToken\": \"forwardPageToken\"," - " \"items\": [ 10, 11, 12, 13, 14 ]" - "}"; - -static const std::string INDEX_LIST_DATA = - "{" - " \"type\": \"dynamicIndexList\"," - " \"listId\": \"vQdpOESlok1\"," - " \"startIndex\": 10," - " \"minimumInclusiveIndex\": 5," - " \"maximumExclusiveIndex\": 15," - " \"items\": [ 10, 11, 12, 13, 14 ]" - "}"; - -static const std::string DEFAULT_PARAM_BINDING = "payload"; - -static const std::string APL_COMMAND_EXECUTION{"APLCommandExecution"}; - -static const std::string SEQNO_KEY = "seqno"; - -/// Test harness for @c AplCoreConnectionManagerTest class. -class AplCoreConnectionManagerTest : public ::testing::Test { -public: - /// Set up the test harness for running a test. - void SetUp() override; - - /// Clean up the test harness after running a test. - void TearDown() override; - - /// Setting up m_Root - void BuildDocument(const std::string, const std::string, const std::string); - -protected: - std::shared_ptr m_mockAplOptions; - - std::shared_ptr m_aplCoreConnectionManager; - - std::shared_ptr m_metricsRecorder; - - AplConfigurationPtr m_aplConfiguration; -}; - -void AplCoreConnectionManagerTest::SetUp() { - m_mockAplOptions = std::make_shared>(); - m_aplConfiguration = std::make_shared(m_mockAplOptions); - m_aplCoreConnectionManager = std::make_shared(m_aplConfiguration); -} - -void AplCoreConnectionManagerTest::TearDown() { - if (m_aplCoreConnectionManager) { - m_aplCoreConnectionManager.reset(); - } -} - -void AplCoreConnectionManagerTest::BuildDocument( - const std::string document, - const std::string data, - const std::string viewport) { - auto content = apl::Content::create(document); - m_aplCoreConnectionManager->setSupportedViewports(viewport); - m_aplCoreConnectionManager->setContent(content, ""); - // this is required in order to set content state to ready - content->addData(DEFAULT_PARAM_BINDING, data); - m_aplCoreConnectionManager->handleMessage(BUILD_PAYLOAD); -} - -// Matcher for message been send out. Test Match against messaage type and expected payload. -MATCHER_P2(MatchOutMessage, type, expectedPayload, "") { - const std::string messageType = type; - return arg.find(messageType) != std::string::npos && arg.find(expectedPayload) != std::string::npos; -} - -TEST_F(AplCoreConnectionManagerTest, SetContentSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - - auto content = apl::Content::create(DOCUMENT); - - m_aplCoreConnectionManager->setContent(content, ""); -} - -TEST_F(AplCoreConnectionManagerTest, SetSupportedViewPortsSuccess) { - m_aplCoreConnectionManager->setSupportedViewports(VIEWPORT); -} - -/** - * Tests BlockingSend function by setting a promise when sendMessage function - * is called. If future is set correctly, shouldHandleMessage function should called. - * shouldHandleMessage function sets m_replyPromise in the blockingSend function - */ -TEST_F(AplCoreConnectionManagerTest, BlockingSendSuccess) { - std::promise promise = std::promise(); - std::future future = promise.get_future(); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(Exactly(1)).WillOnce(InvokeWithoutArgs([&promise] { - promise.set_value(true); - })); - - auto measureMsg = AplCoreViewhostMessage("measure"); - auto* aplCoreConnectionManager = m_aplCoreConnectionManager.get(); - rapidjson::Document result; - rapidjson::Document* resultAddress = &result; - auto blockingSend = [&aplCoreConnectionManager, &measureMsg, &resultAddress]() { - *resultAddress = aplCoreConnectionManager->blockingSend(measureMsg, std::chrono::milliseconds(3000)); - }; - std::thread thread(blockingSend); - - auto status = future.wait_for(std::chrono::milliseconds(500)); - ASSERT_TRUE(status == std::future_status::ready); - if (status == std::future_status::ready) { - const std::string msg = - "{" - " \"" + - SEQNO_KEY + - "\": 1" - "}"; - aplCoreConnectionManager->shouldHandleMessage(msg); - } - - thread.join(); - - ASSERT_TRUE(result.IsObject()); -} - -/** - * Tests HandleMessage function with build type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleBuildSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, true, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); -} - -TEST_F(AplCoreConnectionManagerTest, HandleDynamicDataSource) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(2); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(6)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, std::chrono::milliseconds(-1))).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, true, _)).Times(1); - - auto content = apl::Content::create(DOCUMENT_DYNAMIC); - auto token = "presentation_token"; - m_aplCoreConnectionManager->setSupportedViewports(VIEWPORT); - m_aplCoreConnectionManager->setContent(content, token); - // this is required in order to set content state to ready - content->addData(TOKEN_LIST_NAME, TOKEN_LIST_DATA); - content->addData(INDEX_LIST_NAME, INDEX_LIST_DATA); - m_aplCoreConnectionManager->handleMessage(BUILD_PAYLOAD); - // test to send out runtime error with invalid payload - const std::string messageType = "\"type\":\"LIST_ERROR\""; - EXPECT_CALL(*m_mockAplOptions, onRuntimeErrorEvent(token, MatchOutMessage(messageType, "vQdpOESlok1"))).Times(1); - const std::string indexPayload = - "{" - " \"token\": \"presentationToken\"," - " \"correlationToken\": \"99\"," - " \"listId\": \"vQdpOESlok1\"," - " \"startIndex\": 1," - " \"items\": []" - "}"; - m_aplCoreConnectionManager->dataSourceUpdate("dynamicIndexList", indexPayload, token); - EXPECT_CALL(*m_mockAplOptions, onRuntimeErrorEvent(token, MatchOutMessage(messageType, "vQdpOESlok2"))).Times(1); - const std::string tokenPayload = - "{" - " \"token\": \"presentationToken\"," - " \"correlationToken\": \"99\"," - " \"listId\": \"vQdpOESlok2\"," - " \"pageToken\": \"forwardPageToken\"," - " \"items\": []" - "}"; - m_aplCoreConnectionManager->dataSourceUpdate("dynamicTokenList", tokenPayload, token); -} - -TEST_F(AplCoreConnectionManagerTest, HandleConfigurationChangeSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(2).WillRepeatedly(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, true, _)).Times(1); - // Given build document with reInflate defined in handleConfigurationChange successfully. - BuildDocument(DOCUMENT, DATA, VIEWPORT); - // When configuration change is handled. - // Then reInflate event should be send. - const std::string configChange = - "{" - " \"type\":\"configurationChange\"," - " \"payload\":{" - " \"width\": 1080," - " \"height\": 1920," - " \"docTheme\": \"dark\"," - " \"mode\": \"TV\"," - " \"fontScale\": 1.5," - " \"screenMode\": \"normal\"," - " \"screenReader\": false" - " }" - "}"; - const std::string scalingMessageType = "\"type\":\"scaling\""; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(scalingMessageType, ""))).Times(1); - const std::string themeMessageType = "\"type\":\"docTheme\""; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(themeMessageType, ""))).Times(1); - m_aplCoreConnectionManager->handleMessage(configChange); - int reInflateEvent = apl::EventType::kEventTypeReinflate; - const std::string messageType = "\"type\":\"event\""; - const std::string expectedPayload = "\"payload\":{\"type\":" + std::to_string(reInflateEvent) + "},\"seqno\":13}"; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(messageType, expectedPayload))).Times(1); - m_aplCoreConnectionManager->onUpdateTick(); - const std::string payload= - " {" - " \"type\":\"response\"," - " \"payload\":{" - " \"event\":13" - " }" - " }"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -TEST_F(AplCoreConnectionManagerTest, CheckDocumentTimeoutInSettings) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(10); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, std::chrono::milliseconds(123))).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, true, _)).Times(1); - - BuildDocument(DOCUMENT_WITH_IDLETIMEOUT, DATA, VIEWPORT); -} - -TEST_F(AplCoreConnectionManagerTest, ExecuteCommandsSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(6); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(10)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(2).WillRepeatedly(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onActivityStarted(_, APL_COMMAND_EXECUTION)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onCommandExecutionComplete(_, true)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, APL_COMMAND_EXECUTION)).Times(2); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const std::string payload = - "{" - " \"commands\": [" - " {" - " \"type\": \"SetValue\"," - " \"componentId\": \"textBox\"," - " \"property\": \"text\"," - " \"value\": \"Hi\"" - " }" - " ]" - "}"; - m_aplCoreConnectionManager->executeCommands(payload, ""); - // When onUpdateTick is called - // Then message contain dirty component information will be send out. - const std::string messageType = "\"type\":\"dirty\""; - const std::string dirtyPayload = "\"text\":{\"text\":\"Hi\",\"spans\":[]}}"; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(messageType, dirtyPayload))).Times(1); - m_aplCoreConnectionManager->onUpdateTick(); -} - -TEST_F(AplCoreConnectionManagerTest, ExecuteCommandsInterrupt) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onActivityStarted(_, APL_COMMAND_EXECUTION)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onCommandExecutionComplete(_, false)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, APL_COMMAND_EXECUTION)).Times(2); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const std::string payload = - "{" - " \"commands\": [" - " {" - " \"type\": \"SetValue\"," - " \"componentId\": \"textBox\"," - " \"property\": \"text\"," - " \"value\": \"Hi\"" - " }" - " ]" - "}"; - m_aplCoreConnectionManager->executeCommands(payload, ""); - m_aplCoreConnectionManager->interruptCommandSequence(); -} - -/** - * Tests HandleMessage function with update type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleUpdateSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const ::std::string payload = - "{" - " \"type\":\"update\"," - " \"payload\":" - " {" - " \"id\":\"COMP1\"," - " \"type\":1," - " \"value\":1" - " }" - "}"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Tests HandleMessage function with updateMedia type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleUpdateMediaSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const ::std::string payload = - "{" - " \"type\":\"updateMedia\"," - " \"payload\":" - " {" - " \"id\": \"video\"," - " \"mediaState\":" - " {" - " \"currentTime\":0," - " \"duration\":62.625," - " \"ended\":false," - " \"paused\":true," - " \"trackCount\":50," - " \"trackIndex\":0" - " }," - " \"fromEvent\":false" - " }" - " }"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Tests HandleMessage function with updateGraphic type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleGraphicUpdateSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(2).WillRepeatedly(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const ::std::string payload = - "{" - "\"type\" : \"updateGraphic\"," - "\"payload\" : " - "{" - "\"id\" : \"GRAPHIC\"," - "\"avg\" : \"{ \\\"type\\\":\\\"AVG\\\", \\\"version\\\":" - " \\\"1.0\\\", \\\"height\\\": 100, \\\"width\\\": 100}\"" - "}" - "}"; - m_aplCoreConnectionManager->handleMessage(payload); - const std::string messageType = "\"type\":\"dirty\""; - const std::string dirtyPayload = - "\"graphic\":{" - "\"isValid\":true," - "\"intrinsicWidth\":100.0," - "\"intrinsicHeight\":100.0," - "\"viewportWidth\":100.0," - "\"viewportHeight\":100.0," - "\"root\":{\"id\":1000,\"type\":0,\"props\":{\"height_actual\":100.0,\"viewportHeight_actual\":100.0,\"viewportWidth_actual\":100.0,\"width_actual\":100.0},\"children\":[]}," - "\"dirty\":[]}," - "\"mediaBounds\":[-25.0,-25.0,100.0,100.0]" - "}],"; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(messageType, dirtyPayload))).Times(1); - m_aplCoreConnectionManager->onUpdateTick(); -} - -/** - * Tests HandleMessage function with response type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleEventResponseSuccess) { - - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(2); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(2).WillRepeatedly(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, APL_COMMAND_EXECUTION)).Times(2); - EXPECT_CALL(*m_mockAplOptions, onActivityStarted(_, APL_COMMAND_EXECUTION)).Times(1); - - BuildDocument(EVENT_PAYLOAD, DATA, VIEWPORT); - - //adding an even to m_Root - const std::string commands="{" - " \"commands\": [" - " {" - " \"type\": \"SetPage\"," - " \"componentId\": \"myPager\"," - " \"position\": \"relative\"," - " \"value\": \"2\"" - " }" - " ]" - "}"; - m_aplCoreConnectionManager->executeCommands(commands, ""); - //popping the event from m_Root and adding to m_PendingEvents - m_aplCoreConnectionManager->onUpdateTick(); - - const std::string payload= - " {" - " \"type\":\"response\"," - " \"payload\":{" - " \"event\":7" - " }" - " }"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Tests HandleMessage function with ensureLayout type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleEnsureLayoutSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(10)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const std::string payload = - " {" - " \"type\":\"ensureLayout\"," - " \"payload\":" - " {" - " \"id\":\"COMP1\"" - " }" - " } "; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Tests HandleMessage function with scrollToRectInComponent type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleScrollToRectInComponentSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const std::string payload = - " {" - " \"type\":\"scrollToRectInComponent\"," - " \"payload\":" - " {" - " \"id\":\"COMP1\"," - " \"x\" : 0," - " \"y\" : 200," - " \"width\" : 1000," - " \"height\" : 500," - " \"align\" : 1" - " }" - " } "; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Tests HandleMessage function with handleKeyboard type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleKeyboardSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(10)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const std::string payload = - "{" - " \"type\":\"handleKeyboard\"," - " \"payload\":" - " {" - " \"messageId\":\"msg\"," - " \"keyType\":0," - " \"code\":\"ArrowDown\"," - " \"key\":\"ArrowDown\"," - " \"repeat\":false," - " \"altKey\":false," - " \"ctrlKey\":false," - " \"metaKey\":false," - " \"shiftKey\":false" - " }" - "}"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Tests HandleMessage function with updateCursorPosition type. - */ -TEST_F(AplCoreConnectionManagerTest, HandleUpdateCursorPositionSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const std::string payload = - "{" - " \"type\":\"updateCursorPosition\"," - " \"payload\":{" - " \"x\":1934," - " \"y\":300" - " }" - "}"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Tests HandleMessage function with handlePointerEvent type. - */ -TEST_F(AplCoreConnectionManagerTest, HandlePointerEventSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(1); - - BuildDocument(DOCUMENT, DATA, VIEWPORT); - - const std::string payload = - "{" - " \"type\":\"handlePointerEvent\"," - " \"payload\":" - " {" - " \"pointerEventType\":3," - " \"x\":800," - " \"y\":394," - " \"pointerId\":0," - " \"pointerType\":0" - " }" - "}"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -/** - * Test HandleMessage function with reinflate. - */ -TEST_F(AplCoreConnectionManagerTest, HandleReInflateSuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, true, _)).Times(1); - // Given a document build success. - BuildDocument(DOCUMENT, DATA, VIEWPORT); - // When reInflate received - // Then document rebuild with measure message, scale message, theme message and hierarchy message send out. - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(3); - const std::string measureMessageType = "\"type\":\"measure\""; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(measureMessageType, ""))).Times(3); - const std::string hierarchyMessageType = "\"type\":\"hierarchy\""; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(hierarchyMessageType, ""))).Times(1); - - const std::string payload = - "{" - " \"type\":\"reInflate\"," - " \"payload\": {}" - "}"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -TEST_F(AplCoreConnectionManagerTest, HandleReHierarchySuccess) { - EXPECT_CALL(*m_mockAplOptions, resetViewhost(_)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderingEvent(_, _)).Times(5); - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, _)).Times(AtLeast(9)); - EXPECT_CALL(*m_mockAplOptions, getTimezoneOffset()).Times(1).WillOnce(Return(std::chrono::milliseconds())); - EXPECT_CALL(*m_mockAplOptions, onActivityEnded(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onSetDocumentIdleTimeout(_, _)).Times((1)); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, true, _)).Times(1); - // Given a document build success. - BuildDocument(DOCUMENT, DATA, VIEWPORT); - // When reHierarchy received - // Then reHierarchy message send out. - const std::string hierarchyMessageType = "\"type\":\"reHierarchy\""; - EXPECT_CALL(*m_mockAplOptions, sendMessage(_, MatchOutMessage(hierarchyMessageType, ""))).Times(1); - - const std::string payload = - "{" - " \"type\":\"reHierarchy\"," - " \"payload\": {}" - "}"; - m_aplCoreConnectionManager->handleMessage(payload); -} - -} // namespace test -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/AplCoreGuiRendererTest.cpp b/modules/Alexa/APLClientLibrary/APLClient/test/AplCoreGuiRendererTest.cpp deleted file mode 100644 index 7633483..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/AplCoreGuiRendererTest.cpp +++ /dev/null @@ -1,203 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/AplCoreGuiRenderer.h" -#include "APLClient/Telemetry/NullAplMetricsRecorder.h" -#include "MockAplCoreConnectionManager.h" -#include "MockAplOptionsInterface.h" - -#include -#include - -namespace APLClient { -namespace test { - -using namespace ::testing; - -static const std::string VIEWPORT_PAYLOAD = ""; - -static const std::string DOCUMENT_APL_WITH_PACKAGE = "{" - " \"type\": \"APL\"," - " \"version\": \"1.0\"," - " \"theme\": \"light\"," - " \"description\": \"This is a sample APL document\"," - " \"import\": [" - " {" - " \"name\":\"alexa-viewport-profiles\"," - " \"version\":\"1.0.0\"" - " }" - " ]," - " \"mainTemplate\": {" - " \"parameters\": [" - " \"payload\"" - " ]," - " \"item\": {" - " \"type\": \"Container\"," - " \"items\": [" - " {" - " \"type\": \"Text\"," - " \"width\": \"100%\"," - " \"text\": \"Hello World\"," - " \"fontSize\": 50" - " }" - " ]" - " }" - " }" - "}"; - -const std::string SOURCE = - "https://d2na8397m465mh.cloudfront.net/packages/alexa-viewport-profiles/1.0.0/document.json"; - -static const std::string TOKEN = ""; - -static const std::string DATA = "{}"; - -/// Test harness for @c AplCoreGuiRendererTest class. -class AplCoreGuiRendererTest : public ::testing::Test { - -public: -/// Set up the test harness for running a test. -void SetUp() override; - -/// Clean up the test harness after running a test. -void TearDown() override; - -protected: - std::shared_ptr m_mockAplOptions; - - std::shared_ptr m_mockAplCoreConnectionManager; - - std::shared_ptr m_aplCoreGuiRenderer; - - std::shared_ptr m_metricsRecorder; - - AplConfigurationPtr m_aplConfiguration; -}; - -void AplCoreGuiRendererTest::SetUp(){ - m_mockAplOptions = std::make_shared>(); - m_aplConfiguration = std::make_shared(m_mockAplOptions); - m_mockAplCoreConnectionManager = std::make_shared>(); - m_aplCoreGuiRenderer = std::make_shared(m_aplConfiguration, - m_mockAplCoreConnectionManager); - - m_metricsRecorder = std::make_shared(); - ON_CALL(*m_mockAplOptions, getMetricsRecorder()).WillByDefault(Return(m_metricsRecorder)); -} - - -void AplCoreGuiRendererTest::TearDown(){ - if(m_aplCoreGuiRenderer){ - m_aplCoreGuiRenderer.reset(); - } -} - -/** - * Tests rendering empty document content. - */ -TEST_F(AplCoreGuiRendererTest, RenderEmptyDocumentContent){ - const std::string document = ""; - - EXPECT_CALL(*m_mockAplOptions, logMessage(_, _, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(TOKEN, false, "Unable to create content")).Times(1); - - m_aplCoreGuiRenderer->renderDocument(document, DATA, VIEWPORT_PAYLOAD, TOKEN); -} - -/** - * Tests rendering with filled document content. - */ -TEST_F(AplCoreGuiRendererTest, RenderWithDocumentContent){ - const std::string document = "{" - " \"type\": \"APL\"," - " \"version\": \"1.0\"," - " \"theme\": \"light\"," - " \"description\": \"This is a sample APL document\"," - " \"import\": []," - " \"mainTemplate\": {" - " \"parameters\": [" - " \"payload\"" - " ]," - " \"item\": {" - " \"type\": \"Container\"," - " \"items\": [" - " {" - " \"type\": \"Text\"," - " \"width\": \"100%\"," - " \"text\": \"Hello World\"," - " \"fontSize\": 50" - " }" - " ]" - " }" - " }" - "}"; - - EXPECT_CALL(*m_mockAplCoreConnectionManager, setSupportedViewports(VIEWPORT_PAYLOAD)).Times(1); - EXPECT_CALL(*m_mockAplCoreConnectionManager, setContent(_, _)).Times(1); - - m_aplCoreGuiRenderer->renderDocument(document, DATA, VIEWPORT_PAYLOAD, TOKEN); -} - -/** - * Tests a document payload that needs to import packages but package content is empty - */ -TEST_F(AplCoreGuiRendererTest, RenderEmptyPackageContent){ - - EXPECT_CALL(*m_mockAplOptions, downloadResource(SOURCE)).Times(1).WillOnce(Return("")); - EXPECT_CALL(*m_mockAplOptions, logMessage(_, _, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(TOKEN, false, "Unresolved import")).Times(1); - EXPECT_CALL(*m_mockAplOptions,getMaxNumberOfConcurrentDownloads()).Times(1).WillOnce(Return(5)); - - m_aplCoreGuiRenderer->renderDocument(DOCUMENT_APL_WITH_PACKAGE, DATA, VIEWPORT_PAYLOAD, TOKEN); -} - -/** - * Tests a document payload that needs to import packages and successfully adds - * these packages to the content - */ -TEST_F(AplCoreGuiRendererTest, RenderWithPackageContent){ - const std::string packageContent = "{" - " \"type\": \"APL\", " - " \"version\": \"1.0.0\"," - " \"resources\": [" - " {" - " \"description\": \"Definition of density types\"," - " \"numbers\":" - " { " - " \"viewportDensityXLow\": 0," - " \"viewportDensityLow\": 1," - " \"viewportDensityNormal\": 2," - " \"viewportDensityHigh\": 3," - " \"viewportDensityXHigh\": 4," - " \"viewportDensityXXHigh\": 5 " - " }" - " }" - " ]" - " }"; - - - EXPECT_CALL(*m_mockAplOptions, downloadResource(SOURCE)).Times(1).WillOnce(Return(packageContent)); - EXPECT_CALL(*m_mockAplOptions, logMessage(_, _, _)).Times(0); - EXPECT_CALL(*m_mockAplOptions, onRenderDocumentComplete(_, _, _)).Times(0); - EXPECT_CALL(*m_mockAplCoreConnectionManager, setSupportedViewports(VIEWPORT_PAYLOAD)).Times(1); - EXPECT_CALL(*m_mockAplCoreConnectionManager, setContent(_, _)).Times(1); - EXPECT_CALL(*m_mockAplOptions,getMaxNumberOfConcurrentDownloads()).Times(1).WillOnce(Return(5)); - - m_aplCoreGuiRenderer->renderDocument(DOCUMENT_APL_WITH_PACKAGE, DATA, VIEWPORT_PAYLOAD, TOKEN); -} - - -} // namespace test -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/CMakeLists.txt b/modules/Alexa/APLClientLibrary/APLClient/test/CMakeLists.txt deleted file mode 100644 index 9cf176b..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) - -set(INCLUDE_PATH - "${APLClient_INCLUDE_DIR}" - "${APLClient_SOURCE_DIR}/include" - "${APLCORE_RAPIDJSON_INCLUDE_DIR}") - -discover_unit_tests("${INCLUDE_PATH}" "APLClient") diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AplBackstackExtensionTest.cpp b/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AplBackstackExtensionTest.cpp deleted file mode 100644 index 00e0239..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AplBackstackExtensionTest.cpp +++ /dev/null @@ -1,242 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/Extensions/Backstack/AplBackstackExtension.h" - -#include -#include - -using namespace ::testing; - -namespace APLClient { -namespace Extensions { -namespace test { - -static const std::string EXPECTED_URI = "aplext:backstack:10"; -static const auto EXPECTED_EVENTSOURCE = std::make_shared(); -static const auto EXPECTED_EVENTPARAMS = std::make_shared(); - -class MockAplBackstackExtensionObserverInterface : public Backstack::AplBackstackExtensionObserverInterface { -public: - MOCK_METHOD1(onRestoreDocumentState, void(AplDocumentStatePtr)); -}; - -class MockAplCoreExtensionEventCallbackResultInterface : public AplCoreExtensionEventCallbackResultInterface { -public: - MOCK_METHOD2(onExtensionEventResult, void(unsigned int event, bool succeeded)); -}; - -class AplBackstackExtensionTest : public ::testing::Test { -public: - /// Set up the test harness for running a test. - void SetUp() override; - /// Clean up the test harness after running a test. - void TearDown() override; - -protected: - /// Pointer to the @c AplBackstackExtension - std::shared_ptr m_backstackExtension; - std::shared_ptr m_backstackExtensionObserverInterface; - std::shared_ptr m_aplCoreExtensionEventCallbackResultInterface; - /// calling extensionEvent - void extensionEvent(const std::string& commandName); - /// reset event Params - void resetEventParams(const std::list& resetParams); -}; - -void AplBackstackExtensionTest::SetUp() { - m_backstackExtensionObserverInterface = std::make_shared>(); - m_backstackExtension = std::make_shared(m_backstackExtensionObserverInterface); - m_aplCoreExtensionEventCallbackResultInterface = std::make_shared>(); -} - -void AplBackstackExtensionTest::TearDown() { - m_backstackExtension->reset(); -} - -void AplBackstackExtensionTest::extensionEvent(const std::string &commandName) { - m_backstackExtension->onExtensionEvent(EXPECTED_URI, - commandName, - EXPECTED_EVENTSOURCE, - EXPECTED_EVENTPARAMS, - 0, - m_aplCoreExtensionEventCallbackResultInterface); -} - -void AplBackstackExtensionTest::resetEventParams(const std::list& resetParams) { - for (auto& param : resetParams) { - if (EXPECTED_EVENTPARAMS->count(param) == 1) { - EXPECTED_EVENTPARAMS->erase(param); - } - } - ASSERT_TRUE(EXPECTED_EVENTPARAMS->empty()); -} - -TEST_F(AplBackstackExtensionTest, GetUriSuccess) { - ASSERT_EQ(EXPECTED_URI, m_backstackExtension->getUri()); -} - -TEST_F(AplBackstackExtensionTest, GetEnvironmentSuccess) { - const apl::Object env = m_backstackExtension->getEnvironment(); - ASSERT_TRUE(env.get("backstack").getArray().empty()); -} - -TEST_F(AplBackstackExtensionTest, GetCommandDefinitionsSuccess) { - const std::list commandDefs = m_backstackExtension->getCommandDefinitions(); - ASSERT_TRUE(commandDefs.size() == 2); - const apl::ExtensionCommandDefinition goBackCommand = commandDefs.front(); - ASSERT_EQ("GoBack", goBackCommand.getName()); - const apl::ExtensionCommandDefinition clearCommand = commandDefs.back(); - ASSERT_EQ("Clear", clearCommand.getName()); -} - -TEST_F(AplBackstackExtensionTest, GetEventHandlersSuccess) { - const std::list eventHandlers = m_backstackExtension->getEventHandlers(); - ASSERT_TRUE(eventHandlers.empty()); -} - -TEST_F(AplBackstackExtensionTest, ApplySettingsAndResetSuccess) { - // before apply settings, the liveObjects contains nothing. - const std::unordered_map liveData = m_backstackExtension->getLiveDataObjects(); - ASSERT_TRUE(liveData.empty()); - // apply settings - auto settings = std::make_shared(); - settings->emplace("backstackArrayName", "backstackIds"); - settings->emplace("backstackId", "Pager"); - m_backstackExtension->applySettings(settings); - // then livedata contains expected itmes - const std::unordered_map liveData2 = m_backstackExtension->getLiveDataObjects(); - ASSERT_FALSE(liveData2.empty()); - // and should cache active document - ASSERT_TRUE(m_backstackExtension->shouldCacheActiveDocument()); - // and reset will reset everything - m_backstackExtension->reset(); - ASSERT_FALSE(m_backstackExtension->shouldCacheActiveDocument()); -} - -TEST_F(AplBackstackExtensionTest, handleBackSuccess) { - EXPECT_CALL(*m_backstackExtensionObserverInterface, onRestoreDocumentState(_)).Times(1); - - // apply settings - auto settings = std::make_shared(); - settings->emplace("backstackArrayName", "backstackIds"); - settings->emplace("backstackId", "Pager"); - m_backstackExtension->applySettings(settings); - // add document to backStack - auto documentState = std::make_shared(); - m_backstackExtension->addDocumentStateToBackstack(documentState); - ASSERT_EQ("Pager", documentState->id); - // handle back to previous doc success - m_backstackExtension->setResponsibleForBackButton(false); - ASSERT_TRUE(m_backstackExtension->handleBack()); -} - -TEST_F(AplBackstackExtensionTest, handleClearSuccess) { - // apply settings - auto settings = std::make_shared(); - settings->emplace("backstackArrayName", "backstackIds"); - settings->emplace("backstackId", "Pager"); - m_backstackExtension->applySettings(settings); - // add document to backStack - auto documentState = std::make_shared(); - m_backstackExtension->addDocumentStateToBackstack(documentState); - ASSERT_EQ("Pager", documentState->id); - // trigger clear operation, active document id should be empty - m_backstackExtension->reset(); - ASSERT_FALSE(m_backstackExtension->shouldCacheActiveDocument()); -} - -TEST_F(AplBackstackExtensionTest, OnExtensionEventGoBackCountSuccess) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - // apply settings - auto settings = std::make_shared(); - settings->emplace("backstackArrayName", "backstackIds"); - settings->emplace("backstackId", "Pager"); - m_backstackExtension->applySettings(settings); - // add document to backStack - auto documentState = std::make_shared(); - m_backstackExtension->addDocumentStateToBackstack(documentState); - ASSERT_EQ("Pager", documentState->id); - // trigger extension event - const std::string commandName = "GoBack"; - EXPECTED_EVENTPARAMS->emplace("backType", "count"); - EXPECTED_EVENTPARAMS->emplace("backValue", 1); - extensionEvent(commandName); - // reset event params - resetEventParams({"backType", "backValue"}); -} - -TEST_F(AplBackstackExtensionTest, OnExtensionEventGoBackIndexSuccess) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - // apply settings - auto settings = std::make_shared(); - settings->emplace("backstackArrayName", "backstackIds"); - settings->emplace("backstackId", "Sequence"); - m_backstackExtension->applySettings(settings); - // add document to backStack - auto documentState = std::make_shared(); - m_backstackExtension->addDocumentStateToBackstack(documentState); - ASSERT_EQ("Sequence", documentState->id); - // trigger extension event - const std::string commandName = "GoBack"; - EXPECTED_EVENTPARAMS->emplace("backType", "index"); - EXPECTED_EVENTPARAMS->emplace("backValue", 0); - extensionEvent(commandName); - // reset event params - resetEventParams({"backType", "backValue"}); -} - -TEST_F(AplBackstackExtensionTest, OnExtensionEventGoBackIdSuccess) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - // apply settings - auto settings = std::make_shared(); - settings->emplace("backstackArrayName", "backstackIds"); - settings->emplace("backstackId", "ScrollView"); - m_backstackExtension->applySettings(settings); - // add document to backStack - auto documentState = std::make_shared(); - m_backstackExtension->addDocumentStateToBackstack(documentState); - ASSERT_EQ("ScrollView", documentState->id); - // trigger extension event - const std::string commandName = "GoBack"; - EXPECTED_EVENTPARAMS->emplace("backType", "id"); - EXPECTED_EVENTPARAMS->emplace("backValue", "ScrollView"); - extensionEvent(commandName); - // reset event params - resetEventParams({"backType", "backValue"}); -} - -TEST_F(AplBackstackExtensionTest, OnExtensionEventGoBackIdFailure) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, false)).Times(1); - // apply settings - auto settings = std::make_shared(); - settings->emplace("backstackArrayName", "backstackIds"); - settings->emplace("backstackId", "ScrollView"); - m_backstackExtension->applySettings(settings); - // add document to backStack - auto documentState = std::make_shared(); - m_backstackExtension->addDocumentStateToBackstack(documentState); - ASSERT_EQ("ScrollView", documentState->id); - // trigger extension event - const std::string commandName = "GoBack"; - EXPECTED_EVENTPARAMS->emplace("backType", "id"); - EXPECTED_EVENTPARAMS->emplace("backValue", "Pager"); - extensionEvent(commandName); - // reset event params - resetEventParams({"backType", "backValue"}); -} -} -} -} \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionTest.cpp b/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionTest.cpp deleted file mode 100644 index 0a4fee9..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtensionTest.cpp +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/Extensions/AudioPlayer/AplAudioPlayerAlarmsExtension.h" - -#include -#include - -using namespace ::testing; - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { -namespace test { - -static const std::string EXPECTED_URI = "aplext:musicalarm:10"; -static const auto EXPECTED_EVENTSOURCE = std::make_shared(); -static const auto EXPECTED_EVENTPARAMS = std::make_shared(); - -class MockAplAudioPlayerAlarmsExtensionObserverInterface : public AudioPlayer::AplAudioPlayerAlarmsExtensionObserverInterface { -public: - MOCK_METHOD0(onAudioPlayerAlarmDismiss, void()); - MOCK_METHOD0(onAudioPlayerAlarmSnooze, void()); -}; - -class MockAplCoreExtensionEventCallbackResultInterface : public AplCoreExtensionEventCallbackResultInterface { -public: - MOCK_METHOD2(onExtensionEventResult, void(unsigned int event, bool succeeded)); -}; - -class AplAudioPlayerAlarmsExtensionTest : public ::testing::Test { -public: - void SetUp() override; - -protected: - /// Pointer to the @c AplAudioPlayerAlarmsExtension - std::shared_ptr m_audioPlayerAlarmsExtension; - std::shared_ptr m_audioPlayerAlarmsExtensionObserverInterface; - std::shared_ptr m_aplCoreExtensionEventCallbackResultInterface; -}; - -void AplAudioPlayerAlarmsExtensionTest::SetUp() { - m_aplCoreExtensionEventCallbackResultInterface = std::make_shared>(); - m_audioPlayerAlarmsExtensionObserverInterface = std::make_shared>(); - m_audioPlayerAlarmsExtension = std::make_shared(m_audioPlayerAlarmsExtensionObserverInterface); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, GetUriSuccess) { - ASSERT_EQ(EXPECTED_URI, m_audioPlayerAlarmsExtension->getUri()); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, GetEnvironmentSuccess) { - ASSERT_TRUE(m_audioPlayerAlarmsExtension->getEnvironment().empty()); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, GetCommandDefinitionsSuccess) { - // expected FullSet Commands of audioPlayerAlarm extension - auto expectedCommandSet = std::set(); - expectedCommandSet.insert("DismissAlarm"); - expectedCommandSet.insert("SnoozeAlarm"); - // should have all command defined - for (auto& command : m_audioPlayerAlarmsExtension->getCommandDefinitions()) { - ASSERT_TRUE(expectedCommandSet.count(command.getName()) == 1); - expectedCommandSet.erase(command.getName()); - } - ASSERT_TRUE(expectedCommandSet.empty()); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, GetEventHandlersSuccess) { - // no event handler for audioPlayerAlarm extension - ASSERT_TRUE(m_audioPlayerAlarmsExtension->getEventHandlers().empty()); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, GetLiveDataObjectsSuccess) { - // no Live data object for audioPlayerAlarm extension - ASSERT_TRUE(m_audioPlayerAlarmsExtension->getLiveDataObjects().empty()); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, ApplySettingsSuccess) { - // nothing should happen when applySettings - auto settings = std::make_shared(); - m_audioPlayerAlarmsExtension->applySettings(settings); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, OnExtensionEventFailure) { - // Given an invalid event to handle - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, false)).Times(1); - const std::string commandName = "invalid"; - m_audioPlayerAlarmsExtension->onExtensionEvent(EXPECTED_URI, - commandName, - EXPECTED_EVENTSOURCE, - EXPECTED_EVENTPARAMS, - 0, - m_aplCoreExtensionEventCallbackResultInterface); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, OnExtensionEventDismissAlarmSuccess) { - // Given an DismissAlarm event to handle - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - EXPECT_CALL(*m_audioPlayerAlarmsExtensionObserverInterface, onAudioPlayerAlarmDismiss()).Times(1); - const std::string commandName = "DismissAlarm"; - m_audioPlayerAlarmsExtension->onExtensionEvent(EXPECTED_URI, - commandName, - EXPECTED_EVENTSOURCE, - EXPECTED_EVENTPARAMS, - 0, - m_aplCoreExtensionEventCallbackResultInterface); -} - -TEST_F(AplAudioPlayerAlarmsExtensionTest, OnExtensionEventSnoozeAlarmSuccess) { - // Given an SnoozeAlarm event to handle - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - EXPECT_CALL(*m_audioPlayerAlarmsExtensionObserverInterface, onAudioPlayerAlarmSnooze()).Times(1); - const std::string commandName = "SnoozeAlarm"; - m_audioPlayerAlarmsExtension->onExtensionEvent(EXPECTED_URI, - commandName, - EXPECTED_EVENTSOURCE, - EXPECTED_EVENTPARAMS, - 0, - m_aplCoreExtensionEventCallbackResultInterface); -} - -} -} -} -} \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerExtensionTest.cpp b/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerExtensionTest.cpp deleted file mode 100644 index b066e4d..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/Extensions/AudioPlayer/AplAudioPlayerExtensionTest.cpp +++ /dev/null @@ -1,358 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/Extensions/AudioPlayer/AplAudioPlayerExtension.h" - -#include -#include - -using namespace ::testing; - -namespace APLClient { -namespace Extensions { -namespace AudioPlayer { -namespace test { - -static const std::string SKILL_ID = "testSkill"; -static const std::string EXPECTED_URI = "aplext:audioplayer:10"; -static const std::string EXPECTED_TOKEN = "testingLyricsToken"; -static const auto EXPECTED_EVENTSOURCE = std::make_shared(); -static const auto EXPECTED_EVENTPARAMS = std::make_shared(); - -class MockAplAudioPlayerExtensionObserverInterface : public AudioPlayer::AplAudioPlayerExtensionObserverInterface { -public: - MOCK_METHOD0(onAudioPlayerPlay, void()); - MOCK_METHOD0(onAudioPlayerPause, void()); - MOCK_METHOD0(onAudioPlayerNext, void()); - MOCK_METHOD0(onAudioPlayerPrevious, void()); - MOCK_METHOD1(onAudioPlayerSeekToPosition, void(int offsetInMilliseconds)); - MOCK_METHOD2(onAudioPlayerToggle, void(const std::string& name, bool checked)); - MOCK_METHOD3(onAudioPlayerLyricDataFlushed, void(const std::string& token, long durationInMilliseconds, const std::string& lyricData)); - MOCK_METHOD0(onAudioPlayerSkipForward, void()); - MOCK_METHOD0(onAudioPlayerSkipBackward, void()); -}; - -class MockAplCoreExtensionEventCallbackResultInterface : public AplCoreExtensionEventCallbackResultInterface { -public: - MOCK_METHOD2(onExtensionEventResult, void(unsigned int event, bool succeeded)); -}; - -class AplAudioPlayerExtensionTest : public ::testing::Test { -public: - /// Set up the test harness for running a test. - void SetUp() override; - - /// Clean up the test harness after running a test. - void TearDown() override; - -protected: - /// Pointer to the @c AplAudioPlayerExtension - std::shared_ptr m_audioPlayerExtension; - std::shared_ptr m_audioPlayerExtensionObserverInterface; - std::shared_ptr m_aplCoreExtensionEventCallbackResultInterface; - /// calling extensionEvent - void extensionEvent(const std::string& commandName); - /// reset event Params - void resetEventParams(const std::list& resetParams); -}; - -void AplAudioPlayerExtensionTest::SetUp() { - m_aplCoreExtensionEventCallbackResultInterface = std::make_shared>(); - m_audioPlayerExtensionObserverInterface = std::make_shared>(); - m_audioPlayerExtension = std::make_shared(m_audioPlayerExtensionObserverInterface); - m_audioPlayerExtension->setActivePresentationSession(SKILL_ID, SKILL_ID); -} - -void AplAudioPlayerExtensionTest::TearDown() { -} - -void AplAudioPlayerExtensionTest::extensionEvent(const std::string& commandName) { - m_audioPlayerExtension->onExtensionEvent(EXPECTED_URI, - commandName, - EXPECTED_EVENTSOURCE, - EXPECTED_EVENTPARAMS, - 0, - m_aplCoreExtensionEventCallbackResultInterface); -} - -void AplAudioPlayerExtensionTest::resetEventParams(const std::list& resetParams) { - for (auto& param : resetParams) { - if (EXPECTED_EVENTPARAMS->count(param) == 1) { - EXPECTED_EVENTPARAMS->erase(param); - } - } - ASSERT_TRUE(EXPECTED_EVENTPARAMS->empty()); -} - -TEST_F(AplAudioPlayerExtensionTest, GetUriSuccess) { - ASSERT_EQ(EXPECTED_URI, m_audioPlayerExtension->getUri()); -} - -TEST_F(AplAudioPlayerExtensionTest, GetEnvironmentSuccess) { - // audioPlayer extension does not have environments - ASSERT_TRUE(m_audioPlayerExtension->getEnvironment().empty()); -} - -TEST_F(AplAudioPlayerExtensionTest, GetCommandDefinitionsSuccess) { - // FullSet Commands for audio player - auto expectedCommandSet = std::set(); - expectedCommandSet.insert("Play"); - expectedCommandSet.insert("Pause"); - expectedCommandSet.insert("Previous"); - expectedCommandSet.insert("Next"); - expectedCommandSet.insert("SeekToPosition"); - expectedCommandSet.insert("Toggle"); - expectedCommandSet.insert("AddLyricsViewed"); - expectedCommandSet.insert("AddLyricsDurationInMilliseconds"); - expectedCommandSet.insert("FlushLyricData"); - expectedCommandSet.insert("SkipForward"); - expectedCommandSet.insert("SkipBackward"); - // should have all command defined - for (auto& command : m_audioPlayerExtension->getCommandDefinitions()) { - ASSERT_TRUE(expectedCommandSet.count(command.getName()) == 1); - expectedCommandSet.erase(command.getName()); - } - ASSERT_TRUE(expectedCommandSet.empty()); -} - -TEST_F(AplAudioPlayerExtensionTest, GetEventHandlersSuccess) { - // FullSet event handler for audio player - auto expectedHandlerSet = std::set(); - expectedHandlerSet.insert("OnPlayerActivityUpdated"); - // should have all event handlers defined - for (auto& handler : m_audioPlayerExtension->getEventHandlers()) { - ASSERT_TRUE(expectedHandlerSet.count(handler.getName()) == 1); - expectedHandlerSet.erase(handler.getName()); - } - ASSERT_TRUE(expectedHandlerSet.empty()); -} - -TEST_F(AplAudioPlayerExtensionTest, GetLiveDataObjectsSuccess) { - // before applySettings(); - auto liveObjects = m_audioPlayerExtension->getLiveDataObjects(); - // should have no liveObjects - ASSERT_TRUE(liveObjects.empty()); - // with applySettings - std::string expectedStateName = "unitTest"; - auto settings = std::make_shared(); - settings->emplace("playbackStateName", expectedStateName); - m_audioPlayerExtension->applySettings(settings); - // should have liveObjects with expected stateName defined - liveObjects = m_audioPlayerExtension->getLiveDataObjects(); - ASSERT_TRUE(liveObjects.count(expectedStateName) == 1); - apl::LiveMap* playbackState = dynamic_cast(liveObjects.find(expectedStateName)->second.get()); - ASSERT_EQ(apl::Object::ObjectType::kMapType, playbackState->getType()); - ASSERT_EQ("STOPPED", playbackState->get("playerActivity").asString()); - ASSERT_EQ(0, playbackState->get("offset").asInt()); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventPlaySuccess) { - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerPlay()).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "Play"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventPauseSuccess) { - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerPause()).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "Pause"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventPreviousSuccess) { - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerPrevious()).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "Previous"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventNextSuccess) { - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerNext()).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "Next"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventSeekToPositionFailure) { - // the observer don't be called due to no offset in event params - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerSeekToPosition(_)).Times(0); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, false)).Times(1); - const std::string commandName = "SeekToPosition"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventSeekToPositionSuccess) { - const int expectedOffset = 5; - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerSeekToPosition(expectedOffset)).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - EXPECTED_EVENTPARAMS->emplace("offset", expectedOffset); - const std::string commandName = "SeekToPosition"; - extensionEvent(commandName); - // reset event params - resetEventParams({"offset"}); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventSkipForwardSuccess) { - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerSkipForward()).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "SkipForward"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventSkipBackwardSuccess) { - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerSkipBackward()).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "SkipBackward"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventToggleFailure) { - // the observer don't be called due to no toggle name in event params - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerToggle(_, _)).Times(0); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, false)).Times(2); - const std::string commandName = "Toggle"; - extensionEvent(commandName); - - // or the toggleName is not valid - const std::string invalidToggleName = "Invalid"; - EXPECTED_EVENTPARAMS->emplace("name", invalidToggleName); - EXPECTED_EVENTPARAMS->emplace("checked", true); - extensionEvent(commandName); - // reset event params - resetEventParams({"name", "checked"}); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventToggleSuccess) { - const std::string toggleName = "shuffle"; - const bool toggleChecked = true; - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, onAudioPlayerToggle(toggleName, toggleChecked)).Times(1); - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "Toggle"; - EXPECTED_EVENTPARAMS->emplace("name", toggleName); - EXPECTED_EVENTPARAMS->emplace("checked", toggleChecked); - extensionEvent(commandName); - // reset event params - resetEventParams({"name", "checked"}); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventAddLyricsViewedFailure) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, false)).Times(1); - const std::string commandName = "AddLyricsViewed"; - extensionEvent(commandName); -} - -MATCHER_P(LyricNotContainKey, key, "") { return arg.find(key) == std::string::npos; } - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventAddLyricsViewedAndFlushLyricsSuccess) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(2); - const std::string commandName = "AddLyricsViewed"; - const std::string invalidLyricProperty = "invalid"; - auto line = std::make_shared(); - line->emplace("text", "lyrics"); - // invalid lyric property - line->emplace(invalidLyricProperty, "should ignore"); - auto lines = std::make_shared(); - lines->emplace_back(line); - EXPECTED_EVENTPARAMS->emplace("token", EXPECTED_TOKEN); - EXPECTED_EVENTPARAMS->emplace("lines", lines); - extensionEvent(commandName); - - // Flush Lyrics Data - // invalid lyric property should not been added to lyricsData - EXPECT_CALL(*m_audioPlayerExtensionObserverInterface, - onAudioPlayerLyricDataFlushed(EXPECTED_TOKEN, _, LyricNotContainKey(invalidLyricProperty))).Times(1); - const std::string flushCommand = "FlushLyricData"; - extensionEvent(flushCommand); - - // reset event params - resetEventParams({"token", "lines"}); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventAddLyricsDurationInMillisecondsFailure) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, false)).Times(1); - const std::string commandName = "AddLyricsDurationInMilliseconds"; - extensionEvent(commandName); -} - -TEST_F(AplAudioPlayerExtensionTest, OnExtensionEventAddLyricsDurationInMillisecondsSuccess) { - EXPECT_CALL(*m_aplCoreExtensionEventCallbackResultInterface, onExtensionEventResult(_, true)).Times(1); - const std::string commandName = "AddLyricsDurationInMilliseconds"; - - EXPECTED_EVENTPARAMS->emplace("token", EXPECTED_TOKEN); - EXPECTED_EVENTPARAMS->emplace("durationInMilliseconds", 0); - extensionEvent(commandName); - - // reset event params - resetEventParams({"token", "durationInMilliseconds"}); -} - -TEST_F(AplAudioPlayerExtensionTest,UpdatePlaybackProgressSuccess) { - // applySettings - std::string expectedStateName = "unitTest"; - const int expectedOffset = 100; - auto settings = std::make_shared(); - settings->emplace("playbackStateName", expectedStateName); - m_audioPlayerExtension->applySettings(settings); - // update playback progress in playbackState - m_audioPlayerExtension->updatePlaybackProgress(expectedOffset); - // should have liveObjects with expected stateName defined - auto liveObjects = m_audioPlayerExtension->getLiveDataObjects(); - ASSERT_TRUE(liveObjects.count(expectedStateName) == 1); - apl::LiveMap* playbackState = dynamic_cast(liveObjects.find(expectedStateName)->second.get()); - ASSERT_EQ(expectedOffset, playbackState->get("offset").asInt()); -} - -TEST_F(AplAudioPlayerExtensionTest,UpdatePlayerActivitySuccess) { - // applySettings - std::string expectedStateName = "unitTest"; - const int expectedOffset = 100; - std::string expectedPlayerActivity = "PLAYING"; - auto settings = std::make_shared(); - settings->emplace("playbackStateName", expectedStateName); - m_audioPlayerExtension->applySettings(settings); - // update player activity in playbackState - m_audioPlayerExtension->updatePlayerActivity(expectedPlayerActivity, expectedOffset); - - // should have liveObjects with expected stateName defined - auto liveObjects = m_audioPlayerExtension->getLiveDataObjects(); - ASSERT_TRUE(liveObjects.count(expectedStateName) == 1); - apl::LiveMap* playbackState = dynamic_cast(liveObjects.find(expectedStateName)->second.get()); - ASSERT_EQ(expectedOffset, playbackState->get("offset").asInt()); - ASSERT_EQ(expectedPlayerActivity, playbackState->get("playerActivity").asString()); -} - -TEST_F(AplAudioPlayerExtensionTest,UpdatePlayerActivityFailure) { - // applySettings - std::string expectedStateName = "unitTest"; - std::string invalidPlayerActivity = "Invalid"; - auto settings = std::make_shared(); - settings->emplace("playbackStateName", expectedStateName); - m_audioPlayerExtension->applySettings(settings); - // update player activity with invalid activity - m_audioPlayerExtension->updatePlayerActivity(invalidPlayerActivity, 0); - - // should not set the player activity in playerState - auto liveObjects = m_audioPlayerExtension->getLiveDataObjects(); - ASSERT_TRUE(liveObjects.count(expectedStateName) == 1); - apl::LiveMap* playbackState = dynamic_cast(liveObjects.find(expectedStateName)->second.get()); - // the player activity is not set. - ASSERT_EQ("STOPPED", playbackState->get("playerActivity").asString()); -} - -} -} -} -} \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/MockAplCoreConnectionManager.h b/modules/Alexa/APLClientLibrary/APLClient/test/MockAplCoreConnectionManager.h deleted file mode 100644 index 428cb0b..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/MockAplCoreConnectionManager.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include -#include - - -namespace APLClient { -namespace test { - class MockAplCoreConnectionManager : public AplCoreConnectionManager{ - public: - MockAplCoreConnectionManager() : AplCoreConnectionManager(nullptr) {} - MOCK_METHOD0(getScaleToViewhost, float()); - MOCK_METHOD0(aplCoreMetrics, std::shared_ptr()); - MOCK_METHOD2(blockingSend, rapidjson::Document(AplCoreViewhostMessage& message, - const std::chrono::milliseconds& timeout)); - MOCK_METHOD1(setSupportedViewports, void(const std::string&)); - MOCK_METHOD2(setContent, void(const apl::ContentPtr, const std::string&)); - }; -} // namespace test -} //namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/MockAplOptionsInterface.h b/modules/Alexa/APLClientLibrary/APLClient/test/MockAplOptionsInterface.h deleted file mode 100644 index 3ef3686..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/MockAplOptionsInterface.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include -#include - -namespace APLClient { -namespace test { - -class MockAplOptionsInterface : public AplOptionsInterface { -public: - MOCK_METHOD2(sendMessage, void(const std::string& token, const std::string& payload)); - MOCK_METHOD1(resetViewhost, void(const std::string& token)); - MOCK_METHOD1(downloadResource, std::string(const std::string& source)); - MOCK_METHOD0(getTimezoneOffset, std::chrono::milliseconds()); - MOCK_METHOD2(onActivityStarted, void(const std::string& token, const std::string& source)); - MOCK_METHOD2(onActivityEnded, void(const std::string& token, const std::string& source)); - MOCK_METHOD2(onSendEvent, void(const std::string& token, const std::string& event)); - MOCK_METHOD2(onCommandExecutionComplete, void(const std::string& token, bool result)); - MOCK_METHOD3(onRenderDocumentComplete, void(const std::string& token, bool result, const std::string& error)); - MOCK_METHOD3( - onVisualContextAvailable, - void(const std::string& token, unsigned int stateRequestToken, const std::string& context)); - MOCK_METHOD2(onSetDocumentIdleTimeout, void(const std::string& token, const std::chrono::milliseconds& timeout)); - MOCK_METHOD2(onRenderingEvent, void(const std::string& token, AplRenderingEvent event)); - MOCK_METHOD1(onFinish, void(const std::string& token)); - MOCK_METHOD3( - onDataSourceFetchRequestEvent, - void(const std::string& token, const std::string& type, const std::string& payload)); - MOCK_METHOD2(onRuntimeErrorEvent, void(const std::string& token, const std::string& payload)); - MOCK_METHOD3(logMessage, void(LogLevel level, const std::string& source, const std::string& message)); - MOCK_METHOD0(getMaxNumberOfConcurrentDownloads, int()); - MOCK_METHOD0(getMetricsRecorder, Telemetry::AplMetricsRecorderInterfacePtr()); - MOCK_METHOD1(setMetricsRecorder, void(Telemetry::AplMetricsRecorderInterfacePtr)); - MOCK_METHOD7( - onExtensionEvent, - void( - const std::string& aplToken, - const std::string& uri, - const std::string& name, - const std::string& source, - const std::string& params, - unsigned int event, - std::shared_ptr resultCallback)); -}; - -} // namespace test -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/APLClient/test/Telemetry/AplMetricsRecorderTest.cpp b/modules/Alexa/APLClientLibrary/APLClient/test/Telemetry/AplMetricsRecorderTest.cpp deleted file mode 100644 index 504979e..0000000 --- a/modules/Alexa/APLClientLibrary/APLClient/test/Telemetry/AplMetricsRecorderTest.cpp +++ /dev/null @@ -1,275 +0,0 @@ -/* - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). - * You may not use this file except in compliance with the License. - * A copy of the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is distributed - * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either - * express or implied. See the License for the specific language governing - * permissions and limitations under the License. - */ - -#include "APLClient/Telemetry/AplMetricsRecorder.h" - -#include -#include - -using namespace ::testing; - -namespace APLClient { -namespace Telemetry { -namespace test { - -class MockAplMetricsSinkInterface : public AplMetricsSinkInterface { -public: - MOCK_METHOD3(reportTimer, void(const std::map &, - const std::string&, - const std::chrono::nanoseconds&)); - MOCK_METHOD3(reportCounter, void(const std::map &, - const std::string&, - uint64_t)); -}; - -class AplMetricsRecorderTest : public ::testing::Test { -public: - /// Set up the test harness for running a test. - void SetUp() override; - -protected: - std::shared_ptr m_mockSink; - std::shared_ptr m_metricsRecorder; - AplMetricsRecorderInterface::DocumentId m_document; -}; - -void AplMetricsRecorderTest::SetUp() { - m_mockSink = std::make_shared>(); - m_metricsRecorder = std::dynamic_pointer_cast(AplMetricsRecorder::create(m_mockSink)); - m_document = m_metricsRecorder->registerDocument(); -} - -TEST_F(AplMetricsRecorderTest, RegistersNewDocuments) { - ASSERT_GT(m_document, AplMetricsRecorderInterface::UNKNOWN_DOCUMENT); - ASSERT_GT(m_document, AplMetricsRecorderInterface::CURRENT_DOCUMENT); - ASSERT_GT(m_document, AplMetricsRecorderInterface::LATEST_DOCUMENT); -} - -TEST_F(AplMetricsRecorderTest, ProcessesRenderingStart) { - ASSERT_EQ(AplMetricsRecorderInterface::UNKNOWN_DOCUMENT, m_metricsRecorder->latestDocument()); - auto id = m_metricsRecorder->registerDocument(); - m_metricsRecorder->onRenderingStarted(id); - ASSERT_EQ(id, m_metricsRecorder->latestDocument()); -} - -TEST_F(AplMetricsRecorderTest, ProcessesRenderingEnd) { - ASSERT_EQ(AplMetricsRecorderInterface::UNKNOWN_DOCUMENT, m_metricsRecorder->currentDisplayedDocument()); - auto id = m_metricsRecorder->registerDocument(); - m_metricsRecorder->onRenderingStarted(id); - m_metricsRecorder->onRenderingEnded(id); - ASSERT_EQ(id, m_metricsRecorder->currentDisplayedDocument()); -} - -TEST_F(AplMetricsRecorderTest, CreatesNamedTimers) { - auto timer = m_metricsRecorder->createTimer(m_document, "MyTimer"); - std::chrono::steady_clock::time_point startTime(std::chrono::nanoseconds(10000)); - timer->startedAt(startTime); - - std::chrono::steady_clock::time_point endTime(std::chrono::nanoseconds(15000)); - timer->stoppedAt(endTime); - - EXPECT_CALL(*m_mockSink, reportTimer(IsEmpty(), Eq("MyTimer"), Eq(std::chrono::nanoseconds(5000)))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, CreatesSegmentTimers) { - auto timer = m_metricsRecorder->createTimer(m_document, AplRenderingSegment::kContentCreation); - std::chrono::steady_clock::time_point startTime(std::chrono::nanoseconds(10000)); - timer->startedAt(startTime); - - std::chrono::steady_clock::time_point endTime(std::chrono::nanoseconds(15000)); - timer->stoppedAt(endTime); - - EXPECT_CALL(*m_mockSink, reportTimer(IsEmpty(), Eq("APL-Web.Content.create"), Eq(std::chrono::nanoseconds(5000)))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, InfersRenderingProgressFromSegments) { - ASSERT_EQ(AplMetricsRecorderInterface::UNKNOWN_DOCUMENT, m_metricsRecorder->latestDocument()); - ASSERT_EQ(AplMetricsRecorderInterface::UNKNOWN_DOCUMENT, m_metricsRecorder->currentDisplayedDocument()); - - auto timer = m_metricsRecorder->createTimer(m_document, AplRenderingSegment::kRenderDocument); - timer->start(); - - EXPECT_EQ(m_document, m_metricsRecorder->latestDocument()); - EXPECT_EQ(AplMetricsRecorderInterface::UNKNOWN_DOCUMENT, m_metricsRecorder->currentDisplayedDocument()); - - EXPECT_CALL(*m_mockSink, reportTimer(IsEmpty(), Eq("SmartScreenSDK.renderDocument"), _)) - .Times(1); - - timer->stop(); - - EXPECT_EQ(m_document, m_metricsRecorder->currentDisplayedDocument()); - EXPECT_EQ(m_document, m_metricsRecorder->latestDocument()); -} - -TEST_F(AplMetricsRecorderTest, ReportsTimerFailures) { - auto timer = m_metricsRecorder->createTimer(m_document, "MyTimer"); - timer->start(); - timer->fail(); - - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), Eq("MyTimer.fail"), Eq(1UL))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, ReportsZeroTimerFailuresIfRequested) { - auto timer = m_metricsRecorder->createTimer(m_document, "MyTimer", true); - timer->start(); - timer->stop(); - - EXPECT_CALL(*m_mockSink, reportTimer(IsEmpty(), Eq("MyTimer"), _)) - .Times(1); - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), Eq("MyTimer.fail"), Eq(0UL))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, ReportsTimerMetadata) { - const std::chrono::nanoseconds duration(5000); - auto timer = m_metricsRecorder->createTimer(m_document, "MyTimer"); - timer->elapsed(duration); - m_metricsRecorder->addMetadata(m_document, "myKey", "myValue"); - - EXPECT_CALL(*m_mockSink, reportTimer(ElementsAre(Pair("myKey", "myValue")), Eq("MyTimer"), Eq(duration))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, CreatesNamedCounters) { - auto counter = m_metricsRecorder->createCounter(m_document, "MyCounter"); - - counter->incrementBy(42); - - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), Eq("MyCounter"), Eq(42UL))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, CreatesSegmentCounters) { - auto counter = m_metricsRecorder->createCounter(m_document, AplRenderingSegment::kTextMeasure); - - counter->incrementBy(42); - - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), Eq("APL-Web.RootContext.measureCount"), Eq(42UL))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, ReportsZeroCountersIfRequested) { - auto counter = m_metricsRecorder->createCounter(m_document, "MyCounter", true); - - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), Eq("MyCounter"), Eq(0UL))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, SkipsReportingZeroCountersIfRequested) { - auto counter = m_metricsRecorder->createCounter(m_document, "MyCounter", false); - - // strict mock will fail if any counter gets reported - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, ReportsCounterMetadata) { - auto counter = m_metricsRecorder->createCounter(m_document, "MyCounter"); - counter->increment(); - m_metricsRecorder->addMetadata(m_document, "myKey", "myValue"); - - EXPECT_CALL(*m_mockSink, reportCounter(ElementsAre(Pair("myKey", "myValue")), Eq("MyCounter"), Eq(1UL))) - .Times(1); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, ReportsTimersAndCountersOnlyOnce) { - const std::chrono::nanoseconds duration(5000); - auto timer = m_metricsRecorder->createTimer(m_document, "MyTimer"); - timer->elapsed(duration); - - auto counter = m_metricsRecorder->createCounter(m_document, "MyCounter"); - counter->increment(); - - EXPECT_CALL(*m_mockSink, reportTimer(IsEmpty(), Eq("MyTimer"), Eq(duration))) - .Times(1); - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), Eq("MyCounter"), Eq(1UL))) - .Times(1); - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), Eq("MyNewCounter"), Eq(2UL))) - .Times(1); - - m_metricsRecorder->flush(); - - auto newCounter = m_metricsRecorder->createCounter(m_document, "MyNewCounter"); - newCounter->incrementBy(2); - - m_metricsRecorder->flush(); -} - -TEST_F(AplMetricsRecorderTest, IgnoresMetricsAfterDocumentInvalidation) { - const std::chrono::nanoseconds duration(5000); - auto timer = m_metricsRecorder->createTimer(m_document, "MyTimer"); - auto counter = m_metricsRecorder->createCounter(m_document, "MyCounter"); - - m_metricsRecorder->invalidateDocument(m_document); - - timer->elapsed(duration); - counter->increment(); - - m_metricsRecorder->flush(); // strict mock will fail if anything is reported to the sink -} - -TEST_F(AplMetricsRecorderTest, CleansUpOldDocuments) { - const std::chrono::nanoseconds duration(5000); - auto oldTimer1 = m_metricsRecorder->createTimer(m_document, "OldTimer1"); - auto oldTimer2 = m_metricsRecorder->createTimer(m_document, "OldTimer2"); - auto counter = m_metricsRecorder->createCounter(m_document, "OldCounter"); - counter->increment(); - - oldTimer1->start(); - - // Strict mock will fail if old metrics are reported - EXPECT_CALL(*m_mockSink, reportTimer(IsEmpty(), "MyTimer", Eq(duration))) - .Times(1); - EXPECT_CALL(*m_mockSink, reportCounter(IsEmpty(), "OldCounter", Eq(1UL))) - .Times(1); // old counter will be flushed because it has a value - - // Simulate rendering a new document while old metric handles are still active. - auto newDocument = m_metricsRecorder->registerDocument(); - m_metricsRecorder->onRenderingStarted(newDocument); - auto newTimer = m_metricsRecorder->createTimer(newDocument, "MyTimer"); - newTimer->elapsed(duration); - m_metricsRecorder->onRenderingEnded(newDocument); - - m_metricsRecorder->flush(); - - ASSERT_FALSE(oldTimer1->stop()); - ASSERT_FALSE(oldTimer2->start()); - ASSERT_FALSE(oldTimer2->stop()); - ASSERT_FALSE(counter->increment()); -} - -} // namespace test -} // namespace Telemetry -} // namespace APLClient diff --git a/modules/Alexa/APLClientLibrary/BuildOptions.cmake b/modules/Alexa/APLClientLibrary/BuildOptions.cmake deleted file mode 100644 index 3d72fb6..0000000 --- a/modules/Alexa/APLClientLibrary/BuildOptions.cmake +++ /dev/null @@ -1,97 +0,0 @@ -# -# Setup the build type and compiler options. -# -# To set the build type, run the following command with a build type of DEBUG, RELEASE, or MINSIZEREL: -# cmake -DCMAKE_BUILD_TYPE= -# - -# If no build type is specified by specifying it on the command line, default to debug. -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: DEBUG, RELEASE, or MINSIZEREL." FORCE) - message("No build type specified, defaulting to Release.") -endif() - -# Verify the build type is valid. -set(buildTypes DEBUG RELEASE MINSIZEREL) - -string(TOUPPER "${CMAKE_BUILD_TYPE}" buildType) - -list(FIND buildTypes "${buildType}" buildTypeFound) -if (buildTypeFound EQUAL -1) - string(LENGTH "${CMAKE_BUILD_TYPE}" buildTypeLen) - math(EXPR buildTypePadLen "72 - ${buildTypeLen}") - if (buildTypePadLen GREATER 0) - string(RANDOM LENGTH "${buildTypePadLen}" ALPHABET " " buildTypePad) - endif() - - message("###############################################################################") - message("# #") - message("# ERROR: #") - message("# Unknown build type selected. Please select from DEBUG, RELEASE, or #") - message("# MINSIZEREL. #") - message("# #") - message("# Build Type: #") - message("# ${buildType}${buildTypePad}#") - message("# #") - message("###############################################################################") - - message(FATAL_ERROR "Unknown build type ${buildType}. Please select from DEBUG, RELEASE, or MINSIZEREL. Quitting!") -else() - message("Creating the build directory for the ${PROJECT_NAME} with build type: ${buildType}") -endif() - -# Set up the compiler flags. -set(CMAKE_CXX_STANDARD 11) -set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(CMAKE_CXX_EXTENSIONS OFF) - -if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--disable-new-dtags") - set(CMAKE_EXE_LINKER_FLAGS "-Wl,--disable-new-dtags") -endif() - -# Determine the platform and compiler dependent flags. -if (UNIX OR CMAKE_COMPILER_IS_GNUCXX) - set(CXX_PLATFORM_DEPENDENT_FLAGS_DEBUG "-DDEBUG -DACSDK_DEBUG_LOG_ENABLED -Wall -Wsign-compare -g") - set(CXX_PLATFORM_DEPENDENT_FLAGS_RELEASE "-DNDEBUG -Wall -O2") - set(CXX_PLATFORM_DEPENDENT_FLAGS_MINSIZEREL "-DNDEBUG -Wall -Os") - if (CMAKE_COMPILER_IS_GNUCXX AND (NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.0"))) - set(CXX_PLATFORM_DEPENDENT_FLAGS_DEBUG "${CXX_PLATFORM_DEPENDENT_FLAGS_DEBUG} -Wno-error=class-memaccess") - set(CXX_PLATFORM_DEPENDENT_FLAGS_RELEASE "${CXX_PLATFORM_DEPENDENT_FLAGS_RELEASE} -Wno-error=class-memaccess") - set(CXX_PLATFORM_DEPENDENT_FLAGS_MINSIZEREL "${CXX_PLATFORM_DEPENDENT_FLAGS_MINSIZEREL} -Wno-error=class-memaccess") - endif() -elseif(MSVC) - set(CXX_PLATFORM_DEPENDENT_FLAGS_DEBUG "/DDEBUG /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /DACSDK_DEBUG_LOG_ENABLED /W4 /Zi /VZ /ZW /Od /MDd") - set(CXX_PLATFORM_DEPENDENT_FLAGS_RELEASE "/DNDEBUG /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /W4 /O2 /VZ /ZW /MD") - set(CXX_PLATFORM_DEPENDENT_FLAGS_MINSIZEREL "/DNDEBUG /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING /W4 /O1 /VZ /ZW /MD") - add_definitions("-DNOMINMAX") - add_definitions("-D_CRT_SECURE_NO_WARNINGS") - - set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) - - #set_property(DIRECTORY - # PROPERTY - # CMAKE_SYSTEM_NAME WindowsStore) - - #set_property(DIRECTORY - # PROPERTY - # CMAKE_SYSTEM_VERSION 10.0) - - #set(BUILD_SHARED_LIBS TRUE CACHE BOOL "Avoid unit tests link error in MSVC") -endif() - -# Debug build, default. -set(CMAKE_CXX_FLAGS_DEBUG "${CXX_PLATFORM_DEPENDENT_FLAGS_DEBUG} -DRAPIDJSON_HAS_STDSTRING" CACHE INTERNAL "Flags used for DEBUG builds" FORCE) -set(CMAKE_C_FLAGS_DEBUG ${CMAKE_CXX_FLAGS_DEBUG} CACHE INTERNAL "Flags used for DEBUG builds" FORCE) - -# Release build. -set(CMAKE_CXX_FLAGS_RELEASE "${CXX_PLATFORM_DEPENDENT_FLAGS_RELEASE} -DRAPIDJSON_HAS_STDSTRING" CACHE INTERNAL "Flags used for RELEASE builds" FORCE) -set(CMAKE_C_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE} CACHE INTERNAL "Flags used for RELEASE builds" FORCE) - -# Minimum sized release build. -set(CMAKE_CXX_FLAGS_MINSIZEREL "${CXX_PLATFORM_DEPENDENT_FLAGS_MINSIZEREL} -DRAPIDJSON_HAS_STDSTRING" CACHE INTERNAL "Flags used for minimum sized RELEASE builds" FORCE) -set(CMAKE_C_FLAGS_MINSIZEREL ${CMAKE_CXX_FLAGS_RELEASE} CACHE INTERNAL "Flags used for minimum sized RELEASE builds" FORCE) - -if (ACSDK_LATENCY_LOG) - add_definitions(-DACSDK_LATENCY_LOG_ENABLED) -endif() diff --git a/modules/Alexa/APLClientLibrary/CMakeLists.txt b/modules/Alexa/APLClientLibrary/CMakeLists.txt deleted file mode 100644 index e4a1d58..0000000 --- a/modules/Alexa/APLClientLibrary/CMakeLists.txt +++ /dev/null @@ -1,18 +0,0 @@ -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) - -project(APLClientLibrary VERSION 1.0.0 LANGUAGES CXX) - -include(BuildOptions.cmake) -#Using APLCore's google test library for standalone build. -#While building with Alexa Smart Screen SDK, -#Alexa Smart Screen SDK's google test library is used -if(STANDALONE) - include(tools/Testing.cmake) -endif() - -# Alexa Client SDK targets. -add_subdirectory("APLClient") - -if(SANDBOX) - add_subdirectory("APLClientSandbox") -endif() diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/APLRenderer.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/APLRenderer.d.ts deleted file mode 100644 index 603fca2..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/APLRenderer.d.ts +++ /dev/null @@ -1,341 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Component } from './components/Component'; -import { MeasureMode } from './components/text/MeasureMode'; -import { AnimationQuality } from './enums/AnimationQuality'; -import { IVideoFactory } from './components/video/IVideoFactory'; -import { AudioPlayerWrapper } from './AudioPlayerWrapper'; -import { AudioPlayerFactory } from './media/audio/AudioPlayer'; -import { ILogger } from './logging/ILogger'; -import { IExtensionManager } from './extensions/IExtensionManager'; -/** - * Device viewport mode - */ -export declare type DeviceMode = 'AUTO' | 'HUB' | 'MOBILE' | 'PC' | 'TV'; -/** - * Device viewport shape - */ -export declare type ViewportShape = 'ROUND' | 'RECTANGLE'; -/** - * Device screen mode - */ -export declare type ScreenMode = 'normal' | 'high-contrast'; -/** - * Physical charcteristics of the viewport - */ -export interface IViewportCharacteristics { - /** Width in pixels */ - width: number; - /** Height in pixels */ - height: number; - /** `true` if the screen is round */ - isRound: boolean; - /** Viewport shape. If undefined than decided by "isRound" */ - shape?: ViewportShape; - /** Dots per inch */ - dpi: number; -} -/** - * Environment and support options - */ -export interface IEnvironment { - /** Agent Name */ - agentName: string; - /** Agent Version */ - agentVersion: string; - /** `true` if OpenURL command is supported. Defaults to `false` */ - allowOpenUrl?: boolean; - /** `true` if video is not supported. Defaults to `false` */ - disallowVideo?: boolean; - /** Level of animation quality. Defaults to `AnimationQuality.kAnimationQualityNormal` */ - animationQuality?: AnimationQuality; -} -/** - * Configuration Change options. - * - * Dynamic changes to the renderer viewport or envrionment. - */ -export interface IConfigurationChangeOptions { - /** Viewport Width in pixels */ - width?: number; - /** Viewport Height in pixels */ - height?: number; - /** APL theme. Usually 'light' or 'dark' */ - docTheme?: string; - /** Device mode. If no provided "HUB" is used. */ - mode?: DeviceMode; - /** Relative size of fonts to display as specified by the OS accessibility settings */ - fontScale?: number; - /** The accessibility settings for how colors should be displayed. */ - screenMode?: ScreenMode; - /** Indicates if a screen reader has been enabled for the user. */ - screenReader?: boolean; -} -/** - * Developer tool options can be used to inject additional data into the DOM - * - * Keys are defined post transformation, for e.g. if the input is '-user-foo', then - * define keys as 'foo' here - */ -export interface IDeveloperToolOptions { - /** Key to use to create component mapping */ - mappingKey: string; - /** Keys to export as data- attributes in the DOM */ - writeKeys: string[]; -} -/** - * Event coming from APL. - * See https://aplspec.aka.corp.amazon.com/release-1.1/html/standard_commands.html#user-event for more information. - */ -export interface ISendEvent { - source: any; - arguments: string[]; - components: any[]; -} -/** - * Event coming from APL to request data fetch for any of registered DataSources. - */ -export interface IDataSourceFetchRequest { - type: string; - payload: any; -} -export interface IExtensionEvent { - uri: string; - name: string; - source: any; - params: any; - event?: APL.Event; -} -/** - * keyboard handler type - */ -export declare enum KeyHandlerType { - KeyDown = 0, - KeyUp = 1 -} -/** - * Async keyboardEvent. - */ -export interface IAsyncKeyboardEvent extends KeyboardEvent { - asyncChecked: boolean; -} -/** - * Options when creating a new APLRenderer - */ -export interface IAPLOptions { - /** Contains all the information on environment suport and options */ - environment: IEnvironment; - /** APL theme. Usually 'light' or 'dark' */ - theme: string; - /** Optional Video player factory. If no player is provided, a default player will be used */ - videoFactory?: IVideoFactory; - /** The HTMLElement to draw onto */ - view: HTMLElement; - /** Physical viewport characteristics */ - viewport: IViewportCharacteristics; - /** Device mode. If no provided "HUB" is used. */ - mode?: DeviceMode; - /** Optional externalized audio player */ - audioPlayerFactory?: AudioPlayerFactory; - /** Callback for executed SendEvent commands */ - onSendEvent?: (event: ISendEvent) => void; - /** Callback for logging PEGTL Parsing Session Error */ - onPEGTLError?: (error: string) => void; - /** Callback for Finish command */ - onFinish?: () => void; - /** Callback for Extension command */ - onExtensionEvent?: (event: IExtensionEvent) => Promise; - /** Callback when speakPlayback starts */ - onSpeakEventEnd?: (type: string) => void; - /** Callback when speakPlayback ends */ - onSpeakEventStart?: (type: string) => void; - /** Callback for Data Source fetch requests */ - onDataSourceFetchRequest?: (event: IDataSourceFetchRequest) => void; - /** Callback for pending errors from APLCore Library */ - onRunTimeError?: (pendingErrors: object[]) => void; - /** Callback for ignoring resize config change */ - onResizingIgnored?: (ignoredWidth: number, ignoredHeight: number) => void; - /** - * Callback when a AVG source needs to be retreived by the consumer - * If this is not provided, this viewhost will use the fetch API to - * retreive graphic content from sources. - */ - onRequestGraphic?: (source: string) => Promise; - /** - * Callback to open a URL. Return `false` if this call fails - */ - onOpenUrl?: (source: string) => Promise; - /** - * Contains developer tool options - */ - developerToolOptions?: IDeveloperToolOptions; - /** Starting UTC time in milliseconds since 1/1/1970 */ - utcTime: number; - /** Offset of the local time zone from UTC in milliseconds */ - localTimeAdjustment: number; -} -/** - * The main renderer. Create a new one with `const renderer = APLRenderer.create(content);` - */ -export default abstract class APLRenderer { - private mOptions; - private static mappingKeyExpression; - private static mousePointerId; - private lastPointerEventTimestamp; - protected logger: ILogger; - componentByMappingKey: Map; - /** A reference to the APL root context */ - context: APL.Context; - /** Root renderer component */ - top: Component; - /** A reference to the APL extension manager */ - extensionManager: IExtensionManager; - /** Configuration Change handler */ - protected handleConfigurationChange: (configurationChangeOption: IConfigurationChangeOptions) => void; - /** Document set flag for allowing config change driven resizing */ - protected supportsResizing: boolean; - private configChangeThrottle; - private isEdge; - readonly options: Options; - audioPlayer: AudioPlayerWrapper; - /** - * THis constructor is private - * @param mOptions options passed in through `create` - * @ignore - */ - protected constructor(mOptions: IAPLOptions); - init(metricRecorder?: (m: APL.DisplayMetric) => void): void; - /** - * Sets the renderer view size in pixels - * @param width width in pixels - * @param height height in pixels - */ - setViewSize(width: number, height: number): void; - /** - * Sets if the renderer supports resizing as defined by the APL document settings - * @param supportsResizing - True if the document supports resizing. Defaults to false. - */ - setSupportsResizing(supportsResizing: boolean): void; - /** - * Process Configuration Change. ViewHost will resize/reinflate upon configuration change if supported. - * @param configurationChangeOptions The configuration change options to provide to core. - */ - onConfigurationChange(configurationChangeOptions: IConfigurationChangeOptions): void; - getComponentCount(): number; - private setBackground(docTheme); - /** - * Get developer tool options (if defined) - */ - getDeveloperToolOptions(): IDeveloperToolOptions | undefined; - onRunTimeError(pendingErrors: object[]): void; - onResizingIgnored(ignoredWidth: number, ignoredHeight: number): void; - /** - * Called by core when a text measure is required - * @param component The component to measure - * @param measureWidth specified width - * @param widthMode Mode to measure width - * @param measureHeight specified height - * @param heightMode Mode to measure height - * @ignore - */ - onMeasure(component: APL.Component, measureWidth: number, widthMode: MeasureMode, measureHeight: number, heightMode: MeasureMode): { - width: number; - height: number; - }; - /** - * Baseline - * @param component The component to measure - * @param width specified width - * @param height specified height - * @ignore - */ - onBaseline(component: APL.Component, width: number, height: number): number; - /** - * Rerender the same template with current content, config and context. - */ - reRenderComponents(): void; - /** - * Cleans up this instance - */ - destroy(preserveContext?: boolean): void; - /** - * @ignore - */ - getBackgroundColor(): string; - /** - * Gets a component by its developer assigned ID. - * @param id The developer assigned component ID - */ - getComponentById(id: string): Component; - /** - * @returns true if is in screenLock state, false otherwise. - */ - screenLock(): boolean; - /** - * Cancel Animation Frame - */ - stopUpdate(): Promise; - /** - * Return a map of components where the key matches the non-unique part of mappingKey - * (when mappings are created a unique identifier is appended to ensure maps are unique) - * - * Note: mappingKeys are configured via developerToolOptions and come from -user- attributes - */ - getComponentsByMappingKey(mappingKey: string): Map; - /** - * Add a component without re-rendering the whole output. The virtual component will be returned. - * - * @param parent Virtual component to add new component to. - * @param childIndex Index to put component to. Existing component at this index will be pushed up. - * @param componentData json string containing component definition. - * @returns virtual component. - */ - addComponent(parent: Component, childIndex: number, componentData: string): Component | undefined; - /** - * Delete a component without re-rendering the whole output. - * - * @param component Virtual component to remove. - * @returns true if removed, false otherwise. - */ - deleteComponent(component: Component): boolean; - /** - * Update a component without re-rendering the whole output. Given the component's path and json payload, - * this component's DOM element will be returned. - * - * @param parent Virtual component to replace current component with. - * @param componentData Json string containing component definition. - * @returns virtual component. - */ - updateComponent(component: Component, componentData: string): Component | undefined; - /** - * Destroy current rendering component from top. - */ - destroyRenderingComponents(): void; - private getScreenCoords; - private getLeavingCoords; - private getTransformScale; - private getViewportCoords; - private onPointerDown; - private onPointerMove; - private onPointerUp; - private onPointerLeave; - private sendMousePointerEvent; - private sendTouchPointerEvent; - private handleKeyDown; - private handleKeyUp; - /** - * Get APL.Keyboard object - * for MS edge Gamepad, repeat/altKey/ctrlKey/metaKey/shiftKey are undefined, need set default to false - */ - private getKeyboard; - private getKeyboardCodeInEdge; - private passKeyboardEventToCore; - private isDPadKey; - private renderComponents(); - private removeRenderingComponents(); - private focusTopLeft(); - private passWindowEventsToCore; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/AudioPlayerWrapper.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/AudioPlayerWrapper.d.ts deleted file mode 100644 index b311db6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/AudioPlayerWrapper.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export { }; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/CommandFactory.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/CommandFactory.d.ts deleted file mode 100644 index b311db6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/CommandFactory.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export { }; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/ComponentFactory.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/ComponentFactory.d.ts deleted file mode 100644 index 3ab2b6b..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/ComponentFactory.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from './APLRenderer'; -import { Component, IGenericPropType } from './components/Component'; -export declare const componentFactory: (renderer: APLRenderer<{ -}>, component: APL.Component, parent?: Component, ensureLayout?: boolean, insertAt?: number) => Component; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/Content.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/Content.d.ts deleted file mode 100644 index 1bf9898..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/Content.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Holds all of the documents and data necessary to inflate an APL component hierarchy. - */ -export declare class Content { - /** - * Creates an instance of a Content object. a single Content instance - * can be used with multiple [[APLRenderer]]s. - * @param doc The main APL document - */ - static create(doc: string): Content; - /** - * APL doc settings. - * @private - */ - private settings; - /** - * Get Content created from Core. - */ - getContent(): APL.Content; - /** - * Retrieve a set of packages that have been requested. This method only returns an - * individual package a single time. Once it has been called, the "requested" packages - * are moved internally into a "pending" list of packages. - * @return The set of packages that should be loaded. - */ - getRequestedPackages(): Set; - /** - * Add a requested package to the document. - * @param request The requested package import structure. - * @param data Data for the package. - */ - addPackage(request: APL.ImportRequest, data: string): void; - /** - * @return True if this content is in an error state and can't be inflated. - */ - isError(): boolean; - /** - * @return True if this content is complete and ready to be inflated. - */ - isReady(): boolean; - /** - * @return true if this document is waiting for any valid packages to be loaded. - */ - isWaiting(): boolean; - /** - * Add data - * @param name The name of the data source - * @param data The raw data source - */ - addData(name: string, data: string): void; - /** - * Get document version specified in the input - */ - getAPLVersion(): string; - /** - * Deletes this obejct and all data associated with it. - */ - delete(): void; - /** - * @return The set of requested custom extensions (a list of URI values) - */ - getExtensionRequests(): Set; - /** - * Retrieve the settings associated with an extension request. - * @param uri The uri of the extension. - * @return Map of settings, Object::NULL_OBJECT() if no settings are specified in the document. - */ - getExtensionSettings(uri: string): object; - /** - * get APL settings in APL Doc. - * @param key - */ - getAPLSettings(key: string): any; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/assets/css/fonts.css.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/assets/css/fonts.css.d.ts deleted file mode 100644 index 3c883cc..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/assets/css/fonts.css.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ActionableComponent.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ActionableComponent.d.ts deleted file mode 100644 index 59755bb..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ActionableComponent.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { Component, FactoryFunction, IGenericPropType } from './Component'; -/** - * @ignore - */ -export declare class ActionableComponent extends Component { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - focus: () => void; - protected blur: () => void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Component.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Component.d.ts deleted file mode 100644 index 4d9f6a6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Component.d.ts +++ /dev/null @@ -1,150 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import EventEmitter = require("./../../../eventemitter3/index"); -import APLRenderer from '../APLRenderer'; -import { PropertyKey } from '../enums/PropertyKey'; -import { UpdateType } from '../enums/UpdateType'; -import { ILogger } from '../logging/ILogger'; -import { GradientSpreadMethod } from '../enums/GradientSpreadMethod'; -import { GradientUnits } from '../enums/GradientUnits'; -export declare const SVG_NS = "http://www.w3.org/2000/svg"; -export declare const uuidv4: any; -export declare const IDENTITY_TRANSFORM = "matrix(1.000000,0.000000,0.000000,1.000000,0.000000,0.000000)"; -/** - * @ignore - */ -export interface IGenericPropType { - [key: number]: any; -} -export declare const copyAsPixels: (from: any, to: HTMLElement, propertyName: string) => void; -export declare const fitElementToRectangle: (element: HTMLElement, rectangle: APL.Rect) => void; -/** - * @ignore - */ -export interface IComponentProperties { - [PropertyKey.kPropertyOpacity]: number; - [PropertyKey.kPropertyBounds]: APL.Rect; - [PropertyKey.kPropertyInnerBounds]: APL.Rect; - [PropertyKey.kPropertyShadowHorizontalOffset]: number; - [PropertyKey.kPropertyShadowVerticalOffset]: number; - [PropertyKey.kPropertyShadowRadius]: number; - [PropertyKey.kPropertyShadowColor]: number; -} -export interface IValueWithReference { - value: string; - reference?: Element; -} -/** - * @ignore - */ -export declare type FactoryFunction = (renderer: APLRenderer, component: APL.Component, parent?: Component, ensureLayout?: boolean, insertAt?: number) => Component; -export declare type Executor = () => void; -export declare abstract class Component extends EventEmitter { - renderer: APLRenderer; - component: APL.Component; - protected factory: FactoryFunction; - parent: Component; - protected logger: ILogger; - container: HTMLDivElement; - /** - * Array of children components in this hierarchy - */ - children: Component[]; - /** Map of every property */ - props: IGenericPropType; - /** Absolute calculated bounds of this component */ - bounds: APL.Rect; - /** Absolute calculated inner bounds of this component */ - innerBounds: APL.Rect; - /** Component unique ID */ - id: string; - /** User assigned ID */ - assignedId: string; - /** true us destroyed was called */ - protected isDestroyed: boolean; - private doForceInvisible; - /** Component state */ - protected state: { - [UpdateType.kUpdatePagerPosition]: number; - [UpdateType.kUpdatePressState]: number; - [UpdateType.kUpdatePressed]: number; - [UpdateType.kUpdateScrollPosition]: number; - [UpdateType.kUpdateTakeFocus]: number; - }; - protected executors: Map void>; - /** - * @param renderer The renderer instance - * @param component The core component - * @param factory Factory function to create new components - * @param parent The parent component - * @ignore - */ - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - /** - * Creates all child components and initialized all calculated properties - * @ignore - */ - init(): void; - /** - * Get all displayed child count - * @ignore - */ - getDisplayedChildCount(): Promise; - protected onPropertiesUpdated(): void; - /** - * @param props - * @ignore - */ - setProperties(props: PropsType): void; - /** - * Will update the view with any dirty properties - * @ignore - */ - updateDirtyProps(): void; - /** - * Call this to set the state of this component and any components - * that inherit state from it. - * @param stateProp - * @param value - */ - update(stateProp: UpdateType, value: number | string): void; - /** - * Destroys and cleans up this instance - */ - destroy(destroyComponent?: boolean): void; - /** - * Converts a number to css rgba format - * @param val Number value to convert - */ - static numberToColor(val: number): string; - static getGradientSpreadMethod(gradientSpreadMethod: GradientSpreadMethod): string; - static getGradientUnits(gradientUnits: GradientUnits): string; - static fillAndStrokeConverter(val: object, transform: string, parent: Element, logger: ILogger): IValueWithReference | undefined; - hasValidBounds(): boolean; - static getClipPathElementId(pathData: string, parent: Element): string; - inflateAndAddChild(index: number, data: string): Component | undefined; - remove(): boolean; - protected boundsUpdated(): void; - protected isLayout(): boolean; - /** - * If parent is Container component and this component is layout components then limit size of child to - * offset+size of parent to overcome broken skills - */ - protected alignSize(): void; - protected propExecutor: (executor: () => void, ...props: PropertyKey[]) => any; - protected getProperties(): PropsType; - protected setTransform: () => void; - protected setOpacity: () => void; - forceInvisible(doForceInvisible: boolean): void; - protected getNormalDisplay(): string; - protected setDisplay: () => void; - protected setBoundsAndDisplay: () => void; - protected setUserProperties: () => void; - protected handleComponentChildrenChange: () => void; - protected getCssShadow: () => string; - private setShadow; - protected applyCssShadow: (shadowParams: string) => void; - protected takeFocus(): Promise; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Container.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Container.d.ts deleted file mode 100644 index 4d734f7..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Container.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Component, FactoryFunction } from './Component'; -import APLRenderer from '../APLRenderer'; -/** - * @ignore - */ -export declare class Container extends Component { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected isLayout(): boolean; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/EditText.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/EditText.d.ts deleted file mode 100644 index 7f8ddb8..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/EditText.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { ActionableComponent } from './ActionableComponent'; -import { Component, FactoryFunction, IComponentProperties } from './Component'; -import { FontStyle } from '../enums/FontStyle'; -import { PropertyKey } from '../enums/PropertyKey'; -import { KeyboardType } from '../enums/KeyboardType'; -/** - * @ignore - */ -export interface IEditTextProperties extends IComponentProperties { - [PropertyKey.kPropertyBorderColor]: number; - [PropertyKey.kPropertyBorderStrokeWidth]: number; - [PropertyKey.kPropertyBorderWidth]: number; - [PropertyKey.kPropertyColor]: number; - [PropertyKey.kPropertyFontFamily]: string; - [PropertyKey.kPropertyFontSize]: number; - [PropertyKey.kPropertyFontStyle]: FontStyle; - [PropertyKey.kPropertyFontWeight]: string | number; - [PropertyKey.kPropertyHighlightColor]: number; - [PropertyKey.kPropertyHint]: string; - [PropertyKey.kPropertyHintColor]: number; - [PropertyKey.kPropertyHintStyle]: FontStyle; - [PropertyKey.kPropertyHintWeight]: string | number; - [PropertyKey.kPropertyKeyboardType]: KeyboardType; - [PropertyKey.kPropertyMaxLength]: number; - [PropertyKey.kPropertySecureInput]: boolean; - [PropertyKey.kPropertySelectOnFocus]: boolean; - [PropertyKey.kPropertySize]: number; - [PropertyKey.kPropertySubmitKeyType]: string; - [PropertyKey.kPropertyText]: string; - [PropertyKey.kPropertyValidCharacters]: string; -} -export declare class EditText extends ActionableComponent { - formElement: HTMLFormElement; - inputElement: HTMLInputElement; - private localFocused; - private enterPressedDown; - private isEdge; - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected setTextBoundsAndDisplay: () => void; - private initEditTextHtmlComponent(); - private setInnerBounds(); - private setBorderColor; - private setBorderWidth; - private setColor; - private setDisabled; - private setFontFamily; - private setFontSize; - private setFontStyle; - private setFontWeight; - private setHighlightColor; - private setHint; - private setHintColor; - private setHintStyle; - private setHintWeight; - private setKeyboardType; - private setMaxLength; - private setSelectTextOnFocus; - private setInputSize; - private setInputText; - focus: () => void; - protected blur: () => void; - private onInput; - private onSubmit; - private onKeyup; - private onKeydown; - private filterText(text); - private addRuleToAvailableStyleSheet(selector, style); - private filterEventPropagation(event, inputElement); - private shouldStopPropagation(event, inputElement); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Frame.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Frame.d.ts deleted file mode 100644 index 81f98d6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Frame.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { PropertyKey } from '../enums/PropertyKey'; -import { Component, FactoryFunction, IComponentProperties } from './Component'; -/** - * @ignore - */ -export interface IFrameProperties extends IComponentProperties { - [PropertyKey.kPropertyBackgroundColor]: number; - [PropertyKey.kPropertyBorderRadii]: APL.Radii; - [PropertyKey.kPropertyBorderColor]: number; - [PropertyKey.kPropertyBorderWidth]: number; -} -/** - * @ignore - */ -export declare class Frame extends Component { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected isLayout(): boolean; - private setBackgroundColor; - private setBorderRadii; - private setBorderColor; - private setBorderWidth; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/GridSequence.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/GridSequence.d.ts deleted file mode 100644 index 41e3c51..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/GridSequence.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { Component, FactoryFunction } from './Component'; -import { MultiChildScrollable } from './MultiChildScrollable'; -/** - * @ignore - */ -export declare class GridSequence extends MultiChildScrollable { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected getNormalDisplay(): string; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Image.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Image.d.ts deleted file mode 100644 index fb975e2..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Image.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { ImageAlign } from '../enums/ImageAlign'; -import { ImageScale } from '../enums/ImageScale'; -import { PropertyKey } from '../enums/PropertyKey'; -import { GradientType } from '../enums/GradientType'; -import { Component, FactoryFunction, IComponentProperties } from './Component'; -import 'image-scale'; -import APLRenderer from '../APLRenderer'; -import { ILogger } from '../logging/ILogger'; -import { Filter } from '../utils/FilterUtils'; -/** - * @ignore - */ -export interface IGradient { - angle: number; - colorRange: number[]; - inputRange: number[]; - type: GradientType; -} -/** - * @ignore - */ -export interface IImageProperties extends IComponentProperties { - [PropertyKey.kPropertySource]: string; - [PropertyKey.kPropertyAlign]: ImageAlign; - [PropertyKey.kPropertyBorderRadius]: number; - [PropertyKey.kPropertyBorderWidth]: number; - [PropertyKey.kPropertyOverlayColor]: number; - [PropertyKey.kPropertyBorderColor]: number; - [PropertyKey.kPropertyFilters]: Filter[]; - [PropertyKey.kPropertyOverlayGradient]: IGradient; - [PropertyKey.kPropertyScale]: ImageScale; -} -/** - * @ignore - */ -export declare class Image extends Component { - private imgPlaceHolder; - private $imgPlaceHolder; - private imageOverlay; - private $imageOverlay; - private originalImageElement; - private $originalImageElement; - private canvasElement; - private imageElement; - private svgDefsElement; - private svgUseElement; - private svg; - private $svg; - private hasFiltersInCanvas; - private setSvgImageHrefTimeout; - private isShadowHolderAdded; - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected boundsUpdated(): void; - private initSvgElement; - private setBorderRadius; - protected applyCssShadow: (shadowParams: string) => void; - private setBorderColor; - private setBorderWidth; - private setFilters; - private setOverlayColor; - private setOverlayGradient; - private setSourceAndFilter; - private getImageSource; - private setSvgImageHref; - private applyShadowEffectWhenScaled; - private hasShadowPropertyDefined; - /** - * Check filters. - * If there is any filter to be implemented in canvas, set hasFiltersInCanvas to true. - */ - private checkFilters; - private addSVGFilters(filters, imageSourceArray); - /** - * Apply filters one by one based on their order. - * Skip blur if blur is implemented in CSS. - */ - private applyFiltersToSvgImageHref; - static getCssGradient(gradient: IGradient, logger: ILogger): string; - static getCssPureColorGradient(color: string): string; - private setImageScale(); - private getImageScale(); - private setImageHolderAlignment(); - private setImageAndSvgAlignment(); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/MultiChildScrollable.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/MultiChildScrollable.d.ts deleted file mode 100644 index 74e474b..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/MultiChildScrollable.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { PropertyKey } from '../enums/PropertyKey'; -import { ScrollDirection } from '../enums/ScrollDirection'; -import { Component, FactoryFunction, IComponentProperties } from './Component'; -import { Scrollable } from './Scrollable'; -/** - * @ignore - */ -export interface IMultiChildScrollableProperties extends IComponentProperties { - [PropertyKey.kPropertyScrollDirection]: ScrollDirection; - [PropertyKey.kPropertyScrollPosition]: number; - [PropertyKey.kPropertyNotifyChildrenChanged]: any; -} -export interface IItem { - index: number; - component: Component; - prev?: IItem; - next?: IItem; -} -/** - * @ignore - */ -export declare abstract class MultiChildScrollable extends Scrollable { - private childCount; - private first; - private last; - private childCache; - protected fullyLoaded: boolean; - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - init(): void; - setProperties(props: IMultiChildScrollableProperties): Promise; - destroy(): void; - protected allowFocus(requestedDistance: number, moveTo: HTMLDivElement): boolean; - private adjustIndices(target, insert); - private updateUponChildrenChange; - private setScrollDirection; - private createItem(index, insertAt?); - private onUpdate; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ScrollView.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ScrollView.d.ts deleted file mode 100644 index f8c165b..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/ScrollView.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { Component, FactoryFunction, IComponentProperties } from './Component'; -import { Scrollable } from './Scrollable'; -import { PropertyKey } from '../enums/PropertyKey'; -/** - * @ignore - */ -export interface IScrollViewProperties extends IComponentProperties { - [PropertyKey.kPropertyScrollPosition]: number; -} -/** - * @ignore - */ -export declare class ScrollView extends Scrollable { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - init(): void; - /** - * @param component child component - * @returns [offset,size on direction] - * @memberof ScrollViewComponent - */ - getChildTopOffset(component: Component): number; - setProperties(props: IScrollViewProperties): Promise; - destroy(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Scrollable.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Scrollable.d.ts deleted file mode 100644 index 455e5c8..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Scrollable.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { ScrollDirection } from '../enums/ScrollDirection'; -import { Component, FactoryFunction, IComponentProperties } from './Component'; -import { ActionableComponent } from './ActionableComponent'; -/** - * @ignore - */ -export declare type ScrollHandler = (pos: number) => void; -/** - * @ignore - */ -export interface IScollOptions { - suppressScrollX?: boolean; - suppressScrollY?: boolean; - useBothWheelAxes?: boolean; - scrollXMarginOffset?: number; - scrollYMarginOffset?: number; - handlers?: string[]; -} -/** - * @ignore - */ -export declare abstract class Scrollable extends ActionableComponent { - static FOCUS_SCROLL_VELOCITY: number; - direction: ScrollDirection; - protected scrollbar: any; - protected length: 'width' | 'height'; - protected scrollSize: 'scrollHeight' | 'scrollWidth'; - protected scrollSide: 'scrollTop' | 'scrollLeft'; - protected side: 'left' | 'top'; - protected hasFocusableChildren: boolean; - protected startGap: HTMLDivElement; - protected $startGap: JQuery; - protected endGap: HTMLDivElement; - protected $endGap: JQuery; - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected isLayout(): boolean; - protected allowFocus(requestedDistance: number, moveTo: HTMLDivElement): boolean; - getScrollPosition(): number; - getScrollLength(): number; - getPageSize(): number; - getDirection(): ScrollDirection; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Sequence.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Sequence.d.ts deleted file mode 100644 index 68ebf9d..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/Sequence.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { Component, FactoryFunction } from './Component'; -import { MultiChildScrollable } from './MultiChildScrollable'; -/** - * @ignore - */ -export declare class Sequence extends MultiChildScrollable { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/TouchWrapper.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/TouchWrapper.d.ts deleted file mode 100644 index 6f18b2d..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/TouchWrapper.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../APLRenderer'; -import { Component, FactoryFunction, IComponentProperties } from './Component'; -import { ActionableComponent } from './ActionableComponent'; -import { PropertyKey } from '../enums/PropertyKey'; -/** - * @ignore - */ -export interface ITouchWrapperProperties extends IComponentProperties { - [PropertyKey.kPropertyNotifyChildrenChanged]: any; -} -/** - * @ignore - */ -export declare class TouchWrapper extends ActionableComponent { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected isLayout(): boolean; - private updateUponChildrenChange; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVG.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVG.d.ts deleted file mode 100644 index 59f0f73..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVG.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { GraphicPropertyKey } from '../../enums/GraphicPropertyKey'; -import { ILogger } from '../../logging/ILogger'; -import { IValueWithReference } from '../Component'; -export declare abstract class AVG { - graphic: APL.GraphicElement; - protected parent: Element; - protected logger: ILogger; - /** The svg element rendered */ - element: Element; - /** Elements that properties on this element require. */ - private referencedElements; - /** Functions to set each graphic property */ - protected graphicKeysToSetters: Map void>; - protected constructor(graphic: APL.GraphicElement, parent: Element, logger: ILogger); - setAllProperties(): void; - updateDirty(): void; - protected updateProperties(graphicSetters: Map void>, keysToUpdate: Set): void; - protected setAttribute(attributeName: string): (key: GraphicPropertyKey) => void; - protected setAttributeFromMap(attributeName: string, map: Map, defaultValue: string): (key: GraphicPropertyKey) => void; - private setFillAndStroke(transformKey, valueKey, attributeName); - protected setFill(): (key: GraphicPropertyKey) => void; - protected setStroke(): (key: GraphicPropertyKey) => void; - protected setFontStyle(attributeName: string): (key: GraphicPropertyKey) => void; - protected setFilter(): (key: GraphicPropertyKey) => void; - protected createElementForAttribute(attributeName: string, createElement: () => IValueWithReference): (key: GraphicPropertyKey) => void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVGText.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVGText.d.ts deleted file mode 100644 index 95c11e5..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/AVGText.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { AVG } from './AVG'; -import { ILogger } from '../../logging/ILogger'; -export declare class AVGText extends AVG { - private textAnchors; - constructor(graphic: APL.GraphicElement, parent: Element, logger: ILogger); - private setInnerHtml(); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Filter.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Filter.d.ts deleted file mode 100644 index 8d7ef06..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Filter.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { ILogger } from '../../logging/ILogger'; -import { GraphicFilterType } from '../../enums/GraphicFilterType'; -export interface IAVGFilterElement { - filterId: string; - filterElement: SVGFilterElement; -} -export interface IAVGFilter { - type: GraphicFilterType; -} -export interface IDropShadowFilter extends IAVGFilter { - color: number; - radius: number; - horizontalOffset: number; - verticalOffset: number; -} -export declare type AVGFilter = IDropShadowFilter; -export declare function createAndGetFilterElement(filters: AVGFilter[], logger: ILogger): IAVGFilterElement | undefined; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Group.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Group.d.ts deleted file mode 100644 index b6aaba8..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Group.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { AVG } from './AVG'; -import { ILogger } from '../../logging/ILogger'; -export declare class Group extends AVG { - children: AVG[]; - constructor(graphic: APL.GraphicElement, parent: Element, logger: ILogger); - private setClipPath(); - bootStrapChildren(graphic: APL.GraphicElement, logger: ILogger): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Path.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Path.d.ts deleted file mode 100644 index dc4a0d3..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/Path.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { AVG } from './AVG'; -import { ILogger } from '../../logging/ILogger'; -export declare class Path extends AVG { - constructor(graphic: APL.GraphicElement, parent: Element, logger: ILogger); - private setPathLength(); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphic.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphic.d.ts deleted file mode 100644 index 2499696..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphic.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../../APLRenderer'; -import { PropertyKey } from '../../enums/PropertyKey'; -import { VectorGraphicAlign } from '../../enums/VectorGraphicAlign'; -import { VectorGraphicScale } from '../../enums/VectorGraphicScale'; -import { Component, FactoryFunction, IComponentProperties } from '../Component'; -import { ActionableComponent } from '../ActionableComponent'; -import { VectorGraphicElementUpdater } from './VectorGraphicElementUpdater'; -export interface IVectorGraphicProperties extends IComponentProperties { - [PropertyKey.kPropertyAlign]: VectorGraphicAlign; - [PropertyKey.kPropertyGraphic]: APL.Graphic; - [PropertyKey.kPropertyMediaBounds]: APL.Rect; - [PropertyKey.kPropertyScale]: VectorGraphicScale; - [PropertyKey.kPropertySource]: string; -} -/** - * @ignore - */ -export declare class VectorGraphic extends ActionableComponent { - static readonly SVG_NS: string; - private graphic; - private svg; - private vectorGraphicUpdater; - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, vectorGraphicUpdater: VectorGraphicElementUpdater, parent?: Component); - setProperties(props: IVectorGraphicProperties): Promise; - private initSvg(root); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphicElementUpdater.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphicElementUpdater.d.ts deleted file mode 100644 index c01b22f..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/avg/VectorGraphicElementUpdater.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export { AVG } from './AVG'; -export { Group } from './Group'; -export { Path } from './Path'; -export { AVGText } from './AVGText'; -export declare class VectorGraphicElementUpdater { - private AVGByGraphicKey; - private walkable; - private orphanedAVGKeys; - private readonly logger; - constructor(); - updateElements(root: APL.GraphicElement, parentElement: Element, dirty: { - [key: number]: APL.GraphicElement; - }): void; - private walkTree(root, parentElement, dirty); - private createElement(graphicElement, parentElement); - private deleteOrphanedElements(); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blend.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blend.d.ts deleted file mode 100644 index 0103e94..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blend.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Filter } from '../../utils/FilterUtils'; -import { BlendMode } from '../../enums/BlendMode'; -import { IBaseFilter, IImageFilterElement } from './ImageFilter'; -/** - * @ignore - */ -export interface IBlend extends IBaseFilter { - mode: BlendMode; - source: number; - destination: number; -} -export declare function getBlendFilter(filter: Filter, imageSrcArray: string[]): IImageFilterElement | undefined; -/** - * Return Blend Mode - * https://codepen.io/yoksel/pen/BiExv - */ -export declare function getBlendMode(mode: BlendMode): string; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blur.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blur.d.ts deleted file mode 100644 index 6f133c6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Blur.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Filter } from '../../utils/FilterUtils'; -import { IImageFilterElement, IBaseFilter } from './ImageFilter'; -/** - * @ignore - */ -export interface IBlur extends IBaseFilter { - radius: number; - source: number; -} -export declare function getBlurFilter(filter: Filter, imageSrcArray: string[]): IImageFilterElement | undefined; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Color.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Color.d.ts deleted file mode 100644 index e7fd4a2..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Color.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Filter } from '../../utils/FilterUtils'; -import { IImageFilterElement, IBaseFilter } from './ImageFilter'; -/** - * @ignore - */ -export interface IColor extends IBaseFilter { - color: number; -} -export declare function getColorFilter(filter: Filter): IImageFilterElement; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Gradient.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Gradient.d.ts deleted file mode 100644 index f77a5a8..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Gradient.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Filter } from '../../utils/FilterUtils'; -import { IGradient } from '../Image'; -import { IImageFilterElement, IBaseFilter } from './ImageFilter'; -/** - * @ignore - */ -export interface IGradientFilter extends IBaseFilter { - gradient: IGradient; -} -export declare function getGradientFilter(filter: Filter, svgDefsElement: SVGElement, svgUseElement: SVGUseElement): IImageFilterElement; -export declare function getAngleCoords(angle: number): { - x1: string; - y1: string; - x2: string; - y2: string; -}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Grayscale.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Grayscale.d.ts deleted file mode 100644 index 83c2173..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Grayscale.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Filter } from '../../utils/FilterUtils'; -import { IImageFilterElement, IBaseFilter } from './ImageFilter'; -/** - * @ignore - */ -export interface IGrayscale extends IBaseFilter { - amount: number; - source: number; -} -export declare function getGrayscaleFilter(filter: Filter, imageSrcArray: string[]): IImageFilterElement | undefined; -/** - * Return grayscale matrix - * Reference https://www.w3.org/TR/filter-effects-1/#grayscaleEquivalent - * @return {string} grayscale matrix - */ -export declare function getGrayscaleMatrix(amount: number): string; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/ImageFilter.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/ImageFilter.d.ts deleted file mode 100644 index ff3892d..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/ImageFilter.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Filter } from '../../utils/FilterUtils'; -import { FilterType } from '../../enums/FilterType'; -/** - * @ignore - */ -export interface IBaseFilter { - type: FilterType; -} -/** - * IImageFilterElement contains: - * @param filterId component id assigned by core, eg: 1009. Use it to set as the unique filter id - * @param filterElement svg filter element. feGaussianBlur/feBlend etc ... - * @param filterImageArray feImage array, store all the SVG filter primitive, - * fetches image data from an external source and provides the pixel data as output - */ -export interface IImageFilterElement { - filterId: string; - filterElement: SVGElement; - filterImageArray: SVGFEImageElement[]; -} -/** - * Check if the image url match standard bitmap format or from http/s resource - */ -export declare const BITMAP_IMAGE_REGEX_CHECK: string; -export declare class ImageFilter { - private imageArray; - private filters; - private svgFilter; - private svgDefsElement; - private logger; - private svgUseElement; - /** - * ImageFilter Constructor - * @param filters filters get from kPropertyFilters - * @param imageSrcArray image urls get from kPropertySource - */ - constructor(filters: Filter[], imageSrcArray: string[], svgDefsElement: SVGElement, svgUseElement: SVGUseElement); - private applyFilters(); - /** - * Append SVG filter primitive - * Order is important: need append filterImageArray first. - */ - private appendFilterElement(filterElement); - /** - * Return SVG Filter Element - * @return {SVGFilterElement} - */ - getSvgFilterElement(): SVGFilterElement | undefined; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Noise.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Noise.d.ts deleted file mode 100644 index a478b43..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Noise.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { NoiseFilterKind } from '../../enums/NoiseFilterKind'; -import { Filter } from '../../utils/FilterUtils'; -import { IBaseFilter } from './ImageFilter'; -/** - * @ignore - */ -export interface INoise extends IBaseFilter { - kind?: NoiseFilterKind; - useColor?: boolean; - sigma?: number; -} -/** - * Type guard for INoise - * @param filter - * @ignore - */ -export declare function isINoise(filter: Filter): filter is INoise; -export declare class Noise { - private static readonly DEFAULT_USE_COLOR; - private static readonly DEFAULT_KIND; - private static readonly DEFAULT_SIGMGA; - private static readonly RANDOM_SEED; - private useColor; - private kind; - private sigma; - private generate; - private z1; - constructor(useColor?: boolean, kind?: NoiseFilterKind, sigma?: number); - private gaussianNoise; - private uniformNoise; - /** - * Add noise to provided one-dimensional image data. - * @param imageData - */ - addNoise(imageData: ImageData): ImageData; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Saturate.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Saturate.d.ts deleted file mode 100644 index e60425e..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/filters/Saturate.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Filter } from '../../utils/FilterUtils'; -import { IBaseFilter, IImageFilterElement } from './ImageFilter'; -/** - * @ignore - */ -export interface ISaturate extends IBaseFilter { - amount: number; - source?: number; -} -export declare function getSaturateFilter(filter: Filter, imageSrcArray: string[]): IImageFilterElement | undefined; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/pager/PagerComponent.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/pager/PagerComponent.d.ts deleted file mode 100644 index c442db8..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/pager/PagerComponent.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../../APLRenderer'; -import { PropertyKey } from '../../enums/PropertyKey'; -import { Component, FactoryFunction, IComponentProperties } from '../Component'; -import { ActionableComponent } from '../ActionableComponent'; -/** - * @ignore - */ -export interface IPagerProperties extends IComponentProperties { - [PropertyKey.kPropertyInitialPage]: number; - [PropertyKey.kPropertyCurrentPage]: number; -} -/** - * @ignore - */ -export declare class PagerComponent extends ActionableComponent { - static readonly DIRECTIONAL_CACHE_PAGES: number; - private currentPage; - private navigation; - private childCache; - private wrap; - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - protected isLayout(): boolean; - /** - * This will create the item from core and insert at a particular position in the child of pager div - * @param index Index of the element to create - * @param insertAt Position of the new div - * @param initialPage Is it called by the init()? - If so make the div visible - * @param updatePage Is it called by updatePage()? - If so createItem regradless if it's in the list - */ - private createItem(index, insertAt, initialPage?, updatePage?); - /** - * ensurePage will create and layout the pager component (and it's children) for pages - * one above and one below the current page. - */ - private setCurrentPage(); - private updateVisibility(); - private isDisplayed(id); - private setPages(pagesToCache); - private updateCache(pagesToCache); - init(): Promise; - /** - * This will be called whenever the page index has changed or any properies so we need to ensure pages again - * @param props New properties from the CORE - */ - setProperties(props: IPagerProperties): Promise; - /** - * Returns the page currently being displayed by this component - * @returns {number} The currently displayed page - */ - getCoreCurrentPage(): number; - /** - * @override - * @returns The value of the component, as defined by the APL specification - * @return {any} - */ - getValue(): any; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/MeasureMode.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/MeasureMode.d.ts deleted file mode 100644 index 7281400..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/MeasureMode.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Measure mode for text. - */ -export declare enum MeasureMode { - Undefined = 0, - Exactly = 1, - AtMost = 2 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/Text.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/Text.d.ts deleted file mode 100644 index 29e5261..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/text/Text.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { FontStyle } from '../../enums/FontStyle'; -import { PropertyKey } from '../../enums/PropertyKey'; -import { TextAlign } from '../../enums/TextAlign'; -import { TextAlignVertical } from '../../enums/TextAlignVertical'; -import { IComponentProperties } from '../Component'; -import { Component } from '../Component'; -import { MeasureMode } from './MeasureMode'; -export interface ITextProperties extends IComponentProperties { - [PropertyKey.kPropertyColor]: number; - [PropertyKey.kPropertyFontFamily]: string; - [PropertyKey.kPropertyFontSize]: number; - [PropertyKey.kPropertyFontWeight]: string | number; - [PropertyKey.kPropertyFontStyle]: FontStyle; - [PropertyKey.kPropertyLetterSpacing]: number; - [PropertyKey.kPropertyLineHeight]: number; - [PropertyKey.kPropertyMaxLines]: number; - [PropertyKey.kPropertyText]: APL.StyledText; - [PropertyKey.kPropertyTextAlign]: TextAlign; - [PropertyKey.kPropertyTextAlignVertical]: TextAlignVertical; -} -/** - * @ignore - */ -export interface ILine { - lineNumber: number; - start: number; - end: number; -} -export declare class Text extends Component { - setDimensions: () => void; - protected setTextOpacity: () => void; - private setTextClamping; - private setText; - private setFontStyle; - private setFontWeight; - private setLetterSpacing; - private setFontSize; - private setLineHeight; - private setFontFamily; - private setTextAlign; - private setTextAlignVertical; - private setColor; - private setKaraokeColors; - protected reCreateDOM(): void; - protected doSplit(): void; - protected clipMaxLines(): boolean; - protected addEllipsis(): void; - protected onPropertiesUpdated(): void; - protected applyCssShadow: (shadowParams: string) => void; -} -/** - * Places text on an remote container and is primarily used to - * to measure text. - */ -export declare class TextMeasurement extends Text { - protected measurementBox: HTMLDivElement; - protected $measurementBox: JQuery; - protected addComponent(): void; - protected removeComponent(): void; - constructor(component: APL.Component, width: number, height: number); - /** - * Returns clones of children - */ - getContents(): Node[]; - onMeasure(width: number, widthMode: MeasureMode, height: number, heightMode: MeasureMode): { - width: number; - height: number; - }; - protected onPropertiesUpdated(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/AbstractVideoComponent.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/AbstractVideoComponent.d.ts deleted file mode 100644 index 0be0ca5..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/AbstractVideoComponent.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../../APLRenderer'; -import { AudioTrack } from '../../enums/AudioTrack'; -import { CommandControlMedia } from '../../enums/CommandControlMedia'; -import { PropertyKey } from '../../enums/PropertyKey'; -import { VideoScale } from '../../enums/VideoScale'; -import { IMediaEventListener } from '../../media/IMediaEventListener'; -import { IMediaSource } from '../../media/IMediaSource'; -import { PlaybackState } from '../../media/Resource'; -import { Component, FactoryFunction, IComponentProperties } from '../Component'; -/** - * @ignore - */ -export interface IVideoProperties extends IComponentProperties { - [PropertyKey.kPropertyAudioTrack]: AudioTrack; - [PropertyKey.kPropertyAutoplay]: boolean; - [PropertyKey.kPropertyScale]: VideoScale; - [PropertyKey.kPropertySource]: IMediaSource | IMediaSource[]; - [PropertyKey.kPropertyTrackCurrentTime]: number; - [PropertyKey.kPropertyTrackIndex]: number; -} -/** - * @ignore - */ -export declare abstract class AbstractVideoComponent extends Component implements IMediaEventListener { - protected constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - abstract onEvent(event: PlaybackState): void; - abstract playMedia(source: IMediaSource | IMediaSource[], audioTrack: AudioTrack): any; - abstract controlMedia(operation: CommandControlMedia, optionalValue: number): any; - abstract play(waitForFinish?: boolean): any; - abstract pause(): any; - abstract next(): any; - abstract previous(): any; - abstract rewind(): any; - abstract seek(offset: number): any; - abstract setTrack(trackIndex: number): any; - protected abstract setScale(scale: VideoScale): any; - protected abstract setAudioTrack(audioTrack: AudioTrack): any; - protected abstract setSource(source: IMediaSource | IMediaSource[]): any; - protected abstract setTrackCurrentTime(trackCurrentTime: number): any; - protected abstract setTrackIndex(trackIndex: number): any; - private setScaleFromProp; - private setAudioTrackFromProp; - private setSourceFromProp; - private setTrackCurrentTimeFromProp; - private setTrackIndexFromProp; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/IVideoFactory.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/IVideoFactory.d.ts deleted file mode 100644 index e3f95c9..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/IVideoFactory.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../../APLRenderer'; -import { Component, FactoryFunction } from '../Component'; -import { AbstractVideoComponent } from './AbstractVideoComponent'; -export interface IVideoFactory { - create(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component): AbstractVideoComponent; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/Video.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/Video.d.ts deleted file mode 100644 index c5babe9..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/Video.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../../APLRenderer'; -import { AudioTrack } from '../../enums/AudioTrack'; -import { CommandControlMedia } from '../../enums/CommandControlMedia'; -import { VideoScale } from '../../enums/VideoScale'; -import { IMediaSource } from '../../media/IMediaSource'; -import { IMediaResource, PlaybackManager } from '../../media/PlaybackManager'; -import { PlaybackState } from '../../media/Resource'; -import { HLSVideoPlayer as VideoPlayer } from '../../media/video/HLSVideoPlayer'; -import { Component, FactoryFunction } from '../Component'; -import { AbstractVideoComponent } from './AbstractVideoComponent'; -/** - * @ignore - */ -export declare class Video extends AbstractVideoComponent { - protected player: VideoPlayer; - protected playbackManager: PlaybackManager; - protected currentMediaResource: IMediaResource; - protected currentMediaState: APL.IMediaState; - protected audioTrack: AudioTrack; - private videoState; - private playPromise; - private pausePromise; - private loadPromise; - private playCallback; - private pauseCallback; - private loadCallback; - private isSettingSource; - private fromEvent; - private trackCurrentTime; - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - onEvent(event: PlaybackState): void; - protected applyCssShadow: (shadowParams: string) => void; - playMedia(source: IMediaSource | IMediaSource[], audioTrack: AudioTrack): Promise; - controlMedia(operation: CommandControlMedia, optionalValue: number): Promise; - play(waitForFinish?: boolean): Promise; - pause(): Promise; - next(): Promise; - previous(): Promise; - rewind(): Promise; - seek(offset: number): Promise; - setTrack(trackIndex: number): Promise; - protected setScale(scale: VideoScale): void; - protected setAudioTrack(audioTrack: AudioTrack): void; - protected setSource(source: IMediaSource | IMediaSource[]): Promise; - protected setTrackCurrentTime(trackCurrentTime: number): void; - protected setTrackIndex(trackIndex: number): void; - protected updateMediaState(): void; - private resetPausePromise(); - private resetPlayPromise(); - private resetLoadPromise(); - private ensureLoaded(); - /** - * Return if the video should be paused when seeking to an offset. - * The play/pause should depend on kPropertyAutoplay at initial load - offset == 0. - * The play/pause should depend on kPropertyTrackPaused once video has been played - offset > 0. - * - * @param seekOffset - * @private - */ - private shouldPauseAtSeek(seekOffset); - destroy(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoFactory.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoFactory.d.ts deleted file mode 100644 index 6eb2d44..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoFactory.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../../APLRenderer'; -import { Component, FactoryFunction } from '../Component'; -import { AbstractVideoComponent } from './AbstractVideoComponent'; -import { IVideoFactory } from './IVideoFactory'; -export declare class VideoFactory implements IVideoFactory { - create(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component): AbstractVideoComponent; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoHolder.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoHolder.d.ts deleted file mode 100644 index 9b9f1c2..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/components/video/VideoHolder.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer from '../../APLRenderer'; -import { AudioTrack } from '../../enums/AudioTrack'; -import { Component, FactoryFunction } from '../Component'; -import { CommandControlMedia } from '../../enums/CommandControlMedia'; -import { PlaybackState } from '../../media/Resource'; -import { IMediaSource } from '../../media/IMediaSource'; -import { VideoScale } from '../../enums/VideoScale'; -import { AbstractVideoComponent } from './AbstractVideoComponent'; -/** - * @ignore - */ -export declare class VideoHolder extends AbstractVideoComponent { - constructor(renderer: APLRenderer, component: APL.Component, factory: FactoryFunction, parent?: Component); - onEvent(event: PlaybackState): void; - playMedia(source: IMediaSource | IMediaSource[], audioTrack: AudioTrack): Promise; - controlMedia(operation: CommandControlMedia, optionalValue: number): Promise; - play(waitForFinish?: boolean): Promise; - pause(): Promise; - next(): Promise; - previous(): Promise; - rewind(): Promise; - seek(offset: number): Promise; - setTrack(trackIndex: number): Promise; - protected setScale(scale: VideoScale): void; - protected setAudioTrack(audioTrack: AudioTrack): void; - protected setSource(source: IMediaSource | IMediaSource[]): void; - protected setTrackCurrentTime(trackCurrentTime: number): void; - protected setTrackIndex(trackIndex: number): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Action.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Action.d.ts deleted file mode 100644 index 4bab305..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Action.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Action extends Deletable { - public resolve(); - public resolveWithArg(arg: number); - public addTerminateCallback(callback: () => void); - public then(callback: (action: Action) => void); - public terminate(); - public isPending(): boolean; - public isTerminated(): boolean; - public isResolved(): boolean; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Component.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Component.d.ts deleted file mode 100644 index 6715efc..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Component.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Component extends Deletable { - public getCalculated(): { - [key: number]: any; - }; - public getCalculatedByKey(key: number): T; - public getDirtyProps(): { - [key: number]: any; - }; - public getType(): number; - public getUniqueId(): string; - public getId(): string; - public getParent(): Component; - public update(type: number, value: number): void; - public updateEditText(type: number, value: string): void; - public pressed(): void; - public updateScrollPosition(position: number); - public updatePagerPosition(position: number); - public updateMediaState(state: APL.IMediaState, fromEvent: boolean); - public updateGraphic(json: string); - public getChildCount(): number; - public getChildAt(index: number): Component; - public getDisplayedChildCount(): Promise; - public getDisplayedChildId(displayIndex: number): Promise; - public appendChild(child: Component): boolean; - public insertChild(child: Component, index: number): boolean; - public remove(): boolean; - public inflateChild(data: string, index: number): Component; - public getBoundsInParent(ancestor: Component): APL.Rect; - public getGlobalBounds(): APL.Rect; - public ensureLayout(): Promise | void; - public isCharacterValid(c: string): Promise; - public provenance(): string; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ConfigurationChange.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ConfigurationChange.d.ts deleted file mode 100644 index de4af39..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ConfigurationChange.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class ConfigurationChange extends Deletable { - public static create(): ConfigurationChange; - public size(width: number, height: number): ConfigurationChange; - public theme(theme: string): ConfigurationChange; - public viewportMode(viewportMode: string): ConfigurationChange; - public fontScale(scale: number): ConfigurationChange; - public screenMode(screenMode: string): ConfigurationChange; - public screenReader(enabled: boolean): ConfigurationChange; - public mergeConfigurationChange(other: ConfigurationChange): void; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Content.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Content.d.ts deleted file mode 100644 index 307f24f..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Content.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class ImportRef { - public version(): string; - public name(): string; - } - export class ImportRequest { - public isValid(): boolean; - public reference(): ImportRef; - public source(): string; - } - export class Content extends Deletable { - public static create(document: string): Content; - public getRequestedPackages(): Set; - public addPackage(request: ImportRequest, data: string): void; - public isError(): boolean; - public isReady(): boolean; - public isWaiting(): boolean; - public addData(name: string, data: string): void; - public getAPLVersion(): string; - public getExtensionRequests(): Set; - public getExtensionSettings(uri: string): object; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Context.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Context.d.ts deleted file mode 100644 index 5c6eec9..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Context.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export interface TextMeasure { - onMeasure(component: APL.Component, width: number, widthMode: number, height: number, heightMode: number): { - width: number; - height: number; - }; - onBaseline(component: APL.Component, width: number, height: number): number; - } - export interface IBackground { - color: string; - gradient: APL.Image.IGradient | null; - } - export type DisplayMetricKind = 'counter' | 'timer'; - export interface DisplayMetric { - kind: DisplayMetricKind; - name: string; - value: number; - } - export class Context extends Deletable { - public static create(options: any, text: TextMeasure, metrics?: APL.Metrics, content?: APL.Content, config?: APL.RootConfig, scalingOptions?: any): Context; - public topComponent(): APL.Component; - public getTheme(): string; - public getBackground(): APL.IBackground; - public setBackground(background: APL.IBackground): void; - public getVisualContext(): string; - public clearPending(): void; - public isDirty(): boolean; - public clearDirty(): void; - public getDirty(): string[]; - public getPendingErrors(): object[]; - public executeCommands(commands: string): Action; - public invokeExtensionEventHandler(uri: string, name: string, data: string, fastMode: boolean): Action; - public scrollToRectInComponent(component: APL.Component, x: number, y: number, width: number, height: number, align: number): void; - public handleKeyboard(keyType: number, keyboard: APL.Keyboard): Promise; - public cancelExecution(); - public hasEvent(): boolean; - public popEvent(): Event; - public screenLock(): boolean; - public currentTime(): number; - public nextTime(): number; - public getViewportWidth(): number; - public getViewportHeight(): number; - public getScaleFactor(): number; - public updateTime(currentTime: number, utcTime: number): number; - public setLocalTimeAdjustment(offset: number): void; - public updateCursorPosition(x: number, y: number): void; - public handlePointerEvent(pointerEventType: number, x: number, y: number, pointerId: number, pointerType: number): boolean; - public processDataSourceUpdate(payload: string, type: string): boolean; - public handleDisplayMetrics(metrics: APL.DisplayMetric[]): void; - public configurationChange(configurationChange: APL.ConfigurationChange, metrics?: APL.Metrics, scalingOptions?: any): void; - public setFocus(direction: number, origin: APL.Rect, targetId: string): void; - public getFocusableAreas(): Promise>; - public getFocused(): Promise; - public reInflate(): void; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Event.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Event.d.ts deleted file mode 100644 index 18782fc..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Event.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Event extends Deletable { - public getType(): number; - public getValue(key: number): T; - public getComponent(): APL.Component; - public resolve(); - public resolveWithArg(arg: number); - public resolveWithRect(x: number, y: number, width: number, height: number): void; - public addTerminateCallback(callback: () => void); - public isPending(): boolean; - public isTerminated(): boolean; - public isResolved(): boolean; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Extension.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Extension.d.ts deleted file mode 100644 index 413b59e..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Extension.d.ts +++ /dev/null @@ -1,29 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class ExtensionCommandDefinition { - public static create(uri: string, name: string): ExtensionCommandDefinition; - public allowFastMode(allowFastMode: boolean): ExtensionCommandDefinition; - public requireResolution(requireResolution: boolean): ExtensionCommandDefinition; - public property(property: string, defValue: any, required: boolean): ExtensionCommandDefinition; - public arrayProperty(property: string, required: boolean): ExtensionCommandDefinition; - public getURI(): string; - public getName(): string; - public getAllowFastMode(): boolean; - public getRequireResolution(): boolean; - } - export class ExtensionEventHandler { - public static create(uri: string, name: string): ExtensionEventHandler; - public getURI(): string; - public getName(): string; - } - export class ExtensionFilterDefinition { - public static create(uri: string, name: string, imageCount: number): ExtensionFilterDefinition; - public property(property: string, defValue: any): ExtensionFilterDefinition; - public getURI(): string; - public getName(): string; - public getImageCount(): number; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ExtensionClient.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ExtensionClient.d.ts deleted file mode 100644 index e05f86b..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/ExtensionClient.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class ExtensionClient { - public static create(config: APL.RootConfig, uri: string): ExtensionClient; - public createRegistrationRequest(content: APL.Content): string; - public processMessage(context: APL.Context | null, message: string): boolean; - public processCommand(event: APL.Event): string; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Graphic.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Graphic.d.ts deleted file mode 100644 index 77e233d..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Graphic.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Graphic extends Deletable { - public getRoot(): APL.GraphicElement; - public isValid(): boolean; - public getIntrinsicHeight(): number; - public getIntrinsicWidth(): number; - public getViewportWidth(): number; - public getViewportHeight(): number; - public clearDirty(): void; - public getDirty(): { - [key: number]: APL.GraphicElement; - }; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicElement.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicElement.d.ts deleted file mode 100644 index c67498b..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicElement.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class GraphicElement extends Deletable { - public getId(): number; - public getChildCount(): number; - public getChildAt(index: number): APL.GraphicElement; - public getValue(key: number): T; - public getDirtyProperties(): number[]; - public getType(): number; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicPattern.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicPattern.d.ts deleted file mode 100644 index c11f3bc..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/GraphicPattern.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class GraphicPattern extends Deletable { - public getId(): string; - public getDescription(): string; - public getHeight(): number; - public getWidth(): number; - public getItemCount(): number; - public getItemAt(index: number): APL.GraphicElement; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Keyboard.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Keyboard.d.ts deleted file mode 100644 index 591f564..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Keyboard.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Keyboard { - private constructor(); - public code: string; - public key: string; - public repeat: boolean; - public altKey: boolean; - public ctrlKey: boolean; - public metaKey: boolean; - public shiftKey: boolean; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveArray.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveArray.d.ts deleted file mode 100644 index 33ff56c..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveArray.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class LiveArray { - public static create(array?: any[]): LiveArray; - public empty(): boolean; - public clear(): void; - public size(): number; - public at(position: number): any; - public insert(position: number, value: any): boolean; - public insertRange(position: number, array: any[]): boolean; - public remove(position: number, count?: number): boolean; - public update(position: number, value: any): boolean; - public updateRange(position: number, array: any[]): boolean; - public push_back(value: any): void; - public push_backRange(array: any[]): boolean; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveMap.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveMap.d.ts deleted file mode 100644 index d53eb36..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/LiveMap.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class LiveMap { - public static create(map?: any): LiveMap; - public empty(): boolean; - public clear(): void; - public get(key: string): any; - public has(key: string): boolean; - public set(key: string, value: string): void; - public update(map: any): void; - public replace(map: any): void; - public remove(key: string): boolean; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Logger.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Logger.d.ts deleted file mode 100644 index e2a1e2c..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Logger.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export type CoreLogTransport = (level: number, log: string) => void; - export class Logger extends Deletable { - public static setLogTransport(transport: CoreLogTransport): void; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Metrics.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Metrics.d.ts deleted file mode 100644 index 52ecd11..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Metrics.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Metrics extends Deletable { - public static create(): Metrics; - public size(width: number, height: number): Metrics; - public dpi(dpi: number): Metrics; - public theme(theme: string): Metrics; - public shape(shape: string): Metrics; - public mode(mode: string): Metrics; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Module.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Module.d.ts deleted file mode 100644 index b30eff3..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Module.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -declare class Exclude { -} -declare namespace APL { - export class Deletable { - public delete(); - } - export class Derive extends Deletable { - public static extend(className: string, def: ClassDef): new () => T; - public static implement(className: string, def: ClassDef): T; - } - export interface Updated { - id: number; - props: Array<{ - key: number; - value: any; - }>; - } - export interface Import { - id: number; - name: string; - version: string; - source?: string; - } - export interface Padding { - left: number; - right: number; - top: number; - bottom: number; - } - export interface IMediaState { - trackIndex: number; - trackCount: number; - currentTime: number; - duration: number; - paused: boolean; - ended: boolean; - } - export interface ClassDef { - __parent?: ClassDef; - __construct?: Function; - __destruct?: Function; - [key: string]: any; - } - export class Module { - public onRuntimeInitialized: () => void; - public ConfigurationChange: typeof ConfigurationChange; - public Content: typeof Content; - public ExtensionCommandDefinition: typeof ExtensionCommandDefinition; - public ExtensionFilterDefinition: typeof ExtensionFilterDefinition; - public ExtensionClient: typeof ExtensionClient; - public ExtensionEventHandler: typeof ExtensionEventHandler; - public Context: typeof Context; - public Logger: typeof Logger; - public RootConfig: typeof RootConfig; - public Metrics: typeof Metrics; - public LiveMap: typeof LiveMap; - public LiveArray: typeof LiveArray; - } -} -declare var Module: APL.Module; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Radii.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Radii.d.ts deleted file mode 100644 index 0cf08bd..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Radii.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Radii { - public topLeft(): number; - public topRight(): number; - public bottomRight(): number; - public bottomLeft(): number; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Rect.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Rect.d.ts deleted file mode 100644 index 81b42e7..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/Rect.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class Rect { - private constructor(); - public left: number; - public top: number; - public width: number; - public height: number; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/RootConfig.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/RootConfig.d.ts deleted file mode 100644 index e19a969..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/RootConfig.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export class RootConfig extends Deletable { - public static create(environment: any): RootConfig; - public utcTime(utcTime: number): RootConfig; - public localTimeAdjustment(localTimeAdjustment: number): RootConfig; - public localeMethods(localeMethods: any): RootConfig; - public registerExtensionEventHandler(handler: ExtensionEventHandler): RootConfig; - public registerExtensionCommand(commandDef: ExtensionCommandDefinition): RootConfig; - public registerExtensionFilter(commandDef: ExtensionFilterDefinition): RootConfig; - public registerExtensionEnvironment(uri: string, environment: any): RootConfig; - public registerExtension(uri: string): RootConfig; - public liveMap(name: string, obj: any): RootConfig; - public liveArray(name: string, obj: any): RootConfig; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/StyledText.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/StyledText.d.ts deleted file mode 100644 index 07cba4f..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/dts/StyledText.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -declare namespace APL { - export interface TextSpan { - type: number | 'mark'; - start: number; - end: number; - } - export class StyledText { - private constructor(); - public text: string; - public spans: TextSpan[]; - } -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AnimationQuality.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AnimationQuality.d.ts deleted file mode 100644 index dcc7340..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AnimationQuality.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum AnimationQuality { - kAnimationQualityNone = 0, - kAnimationQualitySlow = 1, - kAnimationQualityNormal = 2 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AudioTrack.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AudioTrack.d.ts deleted file mode 100644 index d07ce86..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/AudioTrack.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum AudioTrack { - kAudioTrackBackground = 0, - kAudioTrackForeground = 1, - kAudioTrackNone = 2 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/BlendMode.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/BlendMode.d.ts deleted file mode 100644 index bfeda3e..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/BlendMode.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum BlendMode { - kBlendModeNormal = 0, - kBlendModeMultiply = 1, - kBlendModeScreen = 2, - kBlendModeOverlay = 3, - kBlendModeDarken = 4, - kBlendModeLighten = 5, - kBlendModeColorDodge = 6, - kBlendModeColorBurn = 7, - kBlendModeHardLight = 8, - kBlendModeSoftLight = 9, - kBlendModeDifference = 10, - kBlendModeExclusion = 11, - kBlendModeHue = 12, - kBlendModeSaturation = 13, - kBlendModeColor = 14, - kBlendModeLuminosity = 15 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandAudioTrack.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandAudioTrack.d.ts deleted file mode 100644 index 430abbe..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandAudioTrack.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum CommandAudioTrack { - kCommandAudioTrackBackground = 0, - kCommandAudioTrackForeground = 1, - kCommandAudioTrackNone = 2 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandControlMedia.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandControlMedia.d.ts deleted file mode 100644 index cfaa016..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandControlMedia.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum CommandControlMedia { - kCommandControlMediaPlay = 0, - kCommandControlMediaPause = 1, - kCommandControlMediaNext = 2, - kCommandControlMediaPrevious = 3, - kCommandControlMediaRewind = 4, - kCommandControlMediaSeek = 5, - kCommandControlMediaSetTrack = 6 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandHighlightMode.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandHighlightMode.d.ts deleted file mode 100644 index 874647a..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandHighlightMode.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum CommandHighlightMode { - kCommandHighlightModeLine = 0, - kCommandHighlightModeBlock = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandPosition.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandPosition.d.ts deleted file mode 100644 index a63cb2d..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandPosition.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum CommandPosition { - kCommandPositionRelative = 0, - kCommandPositionAbsolute = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandScrollAlign.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandScrollAlign.d.ts deleted file mode 100644 index 0b2766c..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandScrollAlign.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum CommandScrollAlign { - kCommandScrollAlignFirst = 0, - kCommandScrollAlignCenter = 1, - kCommandScrollAlignLast = 2, - kCommandScrollAlignVisible = 3 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandType.d.ts deleted file mode 100644 index 67ce9d3..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/CommandType.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum CommandType { - kCommandTypeArray = 0, - kCommandTypeIdle = 1, - kCommandTypeSequential = 2, - kCommandTypeParallel = 3, - kCommandTypeSendEvent = 4, - kCommandTypeSetValue = 5, - kCommandTypeSetState = 6, - kCommandTypeSpeakItem = 7, - kCommandTypeSpeakList = 8, - kCommandTypeScroll = 9, - kCommandTypeScrollToIndex = 10, - kCommandTypeScrollToComponent = 11, - kCommandTypeSelect = 12, - kCommandTypeSetPage = 13, - kCommandTypeAutoPage = 14, - kCommandTypePlayMedia = 15, - kCommandTypeControlMedia = 16, - kCommandTypeOpenURL = 17, - kCommandTypeAnimateItem = 18, - kCommandTypeSetFocus = 19, - kCommandTypeClearFocus = 20, - kCommandTypeFinish = 21, - kCommandTypeReinflate = 22, - kCommandTypeCustomEvent = 23 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ComponentType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ComponentType.d.ts deleted file mode 100644 index ef7b6b0..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ComponentType.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum ComponentType { - kComponentTypeContainer = 0, - kComponentTypeEditText = 1, - kComponentTypeFrame = 2, - kComponentTypeGridSequence = 3, - kComponentTypeImage = 4, - kComponentTypePager = 5, - kComponentTypeScrollView = 6, - kComponentTypeSequence = 7, - kComponentTypeText = 8, - kComponentTypeTouchWrapper = 9, - kComponentTypeVectorGraphic = 10, - kComponentTypeVideo = 11 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ContainerDirection.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ContainerDirection.d.ts deleted file mode 100644 index 23812d5..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ContainerDirection.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum ContainerDirection { - kContainerDirectionColumn = 0, - kContainerDirectionRow = 1, - kContainerDirectionColumnReverse = 2, - kContainerDirectionRowReverse = 3 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventProperty.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventProperty.d.ts deleted file mode 100644 index 54147b8..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventProperty.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum EventProperty { - kEventPropertyAlign = 0, - kEventPropertyArguments = 1, - kEventPropertyAudioTrack = 2, - kEventPropertyCommand = 3, - kEventPropertyComponent = 4, - kEventPropertyComponents = 5, - kEventPropertyDirection = 6, - kEventPropertyExtension = 7, - kEventPropertyExtensionURI = 8, - kEventPropertyHighlightMode = 9, - kEventPropertyName = 10, - kEventPropertyPosition = 11, - kEventPropertyReason = 12, - kEventPropertySource = 13, - kEventPropertyValue = 14 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventType.d.ts deleted file mode 100644 index 8ed0fa7..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/EventType.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum EventType { - /** * Control media * * kEventPropertyCommand: The command to execute * kEventPropertyValue: The integer value associated with that command * * Does not have an ActionRef. */ - kEventTypeControlMedia = 0, - /** * Change the focus * * Does not have an ActionRef. * * With kExperimentalFeatureHandleFocusInCore enabled: * Notifies server about acquired or lost focus. Have Component reference if focus acquired, don't if releasing. * * kEventPropertyValue: Rect representing bounds of focused component. * kEventPropertyDirection: Focus movement direction (in case of focus releasing). * * Doesn't have an ActionRef in case of acquired focus, have one in case of releasing that should be resolved with true * if focus should be released and false if docus should stay where it is. */ - kEventTypeFocus = 1, - /** * Request a URL to be opened * * kEventPropertySource: The URL to open. * * The server must resolve the ActionRef if the URL is opened. * The server should resolve the ActionRef with a non-zero argument * if the URL fails to open. */ - kEventTypeOpenURL = 2, - /** * Play media * * kEventPropertyAudioTrack: The audio track we should play this media on. * kEventPropertySource: An array of media sources * * The server must resolve the ActionRef when the audio track is set to foreground. * If the audio track is background or none, the ActionRef is not provided. */ - kEventTypePlayMedia = 3, - /** * Warn the view host that a speak event is coming. * * kEventPropertySource: The speech URI. * * Does not have an ActionRef. */ - kEventTypePreroll = 4, - /** * Requests the bounds information for a text component * * The component is a TextComponent that needs the first line bounds measured */ - kEventTypeRequestFirstLineBounds = 5, - /** * Scroll a component into view. * * The component is the component to scroll. * kEventPropertyPosition: The scroll position or page to change to. * * The server must resolve the ActionRef when the scroll is completed. */ - kEventTypeScrollTo = 6, - /** * Send an event to the server * * kEventPropertySource: The rich source object describing who raised this event. * kEventPropertyArguments: The argument array provided by the APL author * kEventPropertyComponents: The values of the components requested by the APL author * * Does not have an ActionRef */ - kEventTypeSendEvent = 7, - /** * Change the page in a pager. * * The component is the pager. * kEventPropertyPosition: The page to switch to (integer) * kEventPropertyDirection: The direction to move. Either kEventDirectionForward or kEventDirectionBackward * * The server must resolve the ActionRef when the scroll is completed. */ - kEventTypeSetPage = 8, - /** * Speak a single component. * * kEventPropertyHighlightMode: Highlight mode. kEventHighlightModeLine or kEventHighlightModeBlock * kEventPropertySource: The speech URI. * * The server must resolve the ActionRef when the scroll is completed. */ - kEventTypeSpeak = 9, - /** * Send a finish command. * * kEventPropertyReason: The reason for the finish command. kEventReasonExit or kEventReasonBack * * Does not have an ActionRef */ - kEventTypeFinish = 10, - /** * A extension event registered with the core engine by the view host. */ - kEventTypeExtension = 11, - /** * DataSourceProvider created event that could be used for data fetch requests. * * kEventPropertyName: name (type) of datasource that requests a fetch. * kEventPropertyValue: implementation specific fetch request. * * Does not have an ActionRef */ - kEventTypeDataSourceFetchRequest = 12, - /** * The Document is asking to be reinflated. The server (view host) should do one of the following: * * 1. Leave the ActionRef unresolved and call RootContext::reinflate() to reinflate the document. * The ActionRef will be terminated and can be ignored. * 2. Resolve the ActionRef. The RootContext will resize() the document if the screen size has changed * and continue normal command processing. * * No properties * * Has an ActionRef. * * Note: It is not necessary to resolve the ActionRef if the server is calling RootContext::reinflate() * because all currently running command sequences will be terminated including the current ActionRef. */ - kEventTypeReinflate = 13, - /** * The Document is asking for external media to be loaded. Only issued when * @c ExperimentalFeature::kExperimentalFeatureManageMediaRequests is enabled. * * kEventPropertySource: the source URI of the requested media * * Does not have an ActionRef * * Note: Runtime supposed to answer with a call to RootContext::mediaLoaded when media loaded. */ - kEventTypeMediaRequest = 14 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FilterType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FilterType.d.ts deleted file mode 100644 index 0761bcc..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FilterType.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum FilterType { - kFilterTypeBlend = 0, - kFilterTypeBlur = 1, - kFilterTypeColor = 2, - kFilterTypeExtension = 3, - kFilterTypeGradient = 4, - kFilterTypeGrayscale = 5, - kFilterTypeNoise = 6, - kFilterTypeSaturate = 7 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxAlign.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxAlign.d.ts deleted file mode 100644 index 026eb0a..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxAlign.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum FlexboxAlign { - kFlexboxAlignStretch = 0, - kFlexboxAlignCenter = 1, - kFlexboxAlignStart = 2, - kFlexboxAlignEnd = 3, - kFlexboxAlignBaseline = 4, - kFlexboxAlignAuto = 5 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxJustifyContent.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxJustifyContent.d.ts deleted file mode 100644 index 6a97eba..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FlexboxJustifyContent.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum FlexboxJustifyContent { - kFlexboxJustifyContentStart = 0, - kFlexboxJustifyContentEnd = 1, - kFlexboxJustifyContentCenter = 2, - kFlexboxJustifyContentSpaceBetween = 3, - kFlexboxJustifyContentSpaceAround = 4 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FontStyle.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FontStyle.d.ts deleted file mode 100644 index a57a8a3..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/FontStyle.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum FontStyle { - kFontStyleNormal = 0, - kFontStyleItalic = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientSpreadMethod.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientSpreadMethod.d.ts deleted file mode 100644 index f872950..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientSpreadMethod.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum GradientSpreadMethod { - PAD = 0, - REFLECT = 1, - REPEAT = 2 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientType.d.ts deleted file mode 100644 index 72cc100..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientType.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum GradientType { - /** Linear gradient */ - LINEAR = 0, - /** Radial gradient, centered about the center of an object */ - RADIAL = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientUnits.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientUnits.d.ts deleted file mode 100644 index 2d0792d..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GradientUnits.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum GradientUnits { - kGradientUnitsBoundingBox = 0, - kGradientUnitsUserSpace = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicElementType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicElementType.d.ts deleted file mode 100644 index 1210e72..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicElementType.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum GraphicElementType { - kGraphicElementTypeContainer = 0, - kGraphicElementTypeGroup = 1, - kGraphicElementTypePath = 2, - kGraphicElementTypeText = 3 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicFilterType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicFilterType.d.ts deleted file mode 100644 index 275e3c4..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicFilterType.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum GraphicFilterType { - kGraphicFilterTypeDropShadow = 0 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicPropertyKey.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicPropertyKey.d.ts deleted file mode 100644 index c5f4dcb..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/GraphicPropertyKey.d.ts +++ /dev/null @@ -1,54 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum GraphicPropertyKey { - kGraphicPropertyClipPath = 0, - kGraphicPropertyCoordinateX = 1, - kGraphicPropertyCoordinateY = 2, - kGraphicPropertyFill = 3, - kGraphicPropertyFillOpacity = 4, - kGraphicPropertyFillTransform = 5, - kGraphicPropertyFillTransformAssigned = 6, - kGraphicPropertyFilters = 7, - kGraphicPropertyFontFamily = 8, - kGraphicPropertyFontSize = 9, - kGraphicPropertyFontStyle = 10, - kGraphicPropertyFontWeight = 11, - kGraphicPropertyHeightActual = 12, - kGraphicPropertyHeightOriginal = 13, - kGraphicPropertyLetterSpacing = 14, - kGraphicPropertyOpacity = 15, - kGraphicPropertyPathData = 16, - kGraphicPropertyPathLength = 17, - kGraphicPropertyPivotX = 18, - kGraphicPropertyPivotY = 19, - kGraphicPropertyRotation = 20, - kGraphicPropertyScaleX = 21, - kGraphicPropertyScaleY = 22, - kGraphicPropertyViewportHeightActual = 23, - kGraphicPropertyViewportWidthActual = 24, - kGraphicPropertyScaleTypeHeight = 25, - kGraphicPropertyScaleTypeWidth = 26, - kGraphicPropertyStroke = 27, - kGraphicPropertyStrokeDashArray = 28, - kGraphicPropertyStrokeDashOffset = 29, - kGraphicPropertyStrokeLineCap = 30, - kGraphicPropertyStrokeLineJoin = 31, - kGraphicPropertyStrokeMiterLimit = 32, - kGraphicPropertyStrokeOpacity = 33, - kGraphicPropertyStrokeTransform = 34, - kGraphicPropertyStrokeTransformAssigned = 35, - kGraphicPropertyStrokeWidth = 36, - kGraphicPropertyText = 37, - kGraphicPropertyTextAnchor = 38, - kGraphicPropertyTransform = 39, - kGraphicPropertyTransformAssigned = 40, - kGraphicPropertyTranslateX = 41, - kGraphicPropertyTranslateY = 42, - kGraphicPropertyVersion = 43, - kGraphicPropertyViewportHeightOriginal = 44, - kGraphicPropertyViewportWidthOriginal = 45, - kGraphicPropertyWidthActual = 46, - kGraphicPropertyWidthOriginal = 47 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageAlign.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageAlign.d.ts deleted file mode 100644 index 69bfd0e..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageAlign.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum ImageAlign { - kImageAlignBottom = 0, - kImageAlignBottomLeft = 1, - kImageAlignBottomRight = 2, - kImageAlignCenter = 3, - kImageAlignLeft = 4, - kImageAlignRight = 5, - kImageAlignTop = 6, - kImageAlignTopLeft = 7, - kImageAlignTopRight = 8 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageScale.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageScale.d.ts deleted file mode 100644 index df62c87..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ImageScale.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum ImageScale { - kImageScaleNone = 0, - kImageScaleFill = 1, - kImageScaleBestFill = 2, - kImageScaleBestFit = 3, - kImageScaleBestFitDown = 4 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/KeyboardType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/KeyboardType.d.ts deleted file mode 100644 index cd7e827..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/KeyboardType.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum KeyboardType { - kKeyboardTypeDecimalPad = 0, - kKeyboardTypeEmailAddress = 1, - kKeyboardTypeNormal = 2, - kKeyboardTypeNumberPad = 3, - kKeyboardTypePhonePad = 4, - kKeyboardTypeUrl = 5 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/LogLevel.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/LogLevel.d.ts deleted file mode 100644 index f15defe..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/LogLevel.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum LogLevel { - kNone = -1, - kTrace = 0, - kDebug = 1, - kInfo = 2, - kWarn = 3, - kError = 5, - kCritical = 6, - NONE = -1, - TRACE = 0, - DEBUG = 1, - INFO = 2, - WARN = 3, - ERROR = 5, - CRITICAL = 6 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Navigation.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Navigation.d.ts deleted file mode 100644 index 1922968..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Navigation.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum Navigation { - kNavigationNormal = 0, - kNavigationNone = 1, - kNavigationWrap = 2, - kNavigationForwardOnly = 3 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/NoiseFilterKind.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/NoiseFilterKind.d.ts deleted file mode 100644 index cdf4aac..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/NoiseFilterKind.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum NoiseFilterKind { - kFilterNoiseKindUniform = 0, - kFilterNoiseKindGaussian = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerEventType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerEventType.d.ts deleted file mode 100644 index b44be20..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerEventType.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum PointerEventType { - /** * This indicates that a pointer has ended its interaction with the component due to some system level cancellation. * This is analagous to Android's ACTION_CANCEL, but should *not* be confused with the onCancel APL Touchable * component event which can occur for other reasons than viewhosts passing along a cancel event */ - kPointerCancel = 0, - /** * This indicates that the pointer has touched down, corresponding to either a mouse button or touch down. This is * analogous to HTML's touchstart and onmousedown events, Android's ACTION_DOWN. This indicates the beginning * point of a pointer interaction. */ - kPointerDown = 1, - /** * This indicates that the pointer has lifted up, corresponding to either a mouse button or touch. This is * analogous to HTML's touchend and onmouseup events, Android's ACTION_UP. This indicates completion of a * touch event sequence that started with kPointerDown. */ - kPointerUp = 2, - /** * This indicates that the pointer has moved. This event will occur for all moving pointers meaning that for * pointer type devices like mice kPointerMove events occur whenever the pointer moves, whether or not a button * has been pressed. */ - kPointerMove = 3, - /** * This indicates time update propagated to pointer target. Should not be used directly. In case if there is current * pointer interaction it will be directed to current pointer target, if no interaction going on it will be * propagated to the last known target. */ - kPointerTimeUpdate = 4, - /** * This indicates that the pointer target has changed. Should not be used directly, this is issued to the * last known target internally. */ - kPointerTargetChanged = 5 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerType.d.ts deleted file mode 100644 index b7bd983..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PointerType.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum PointerType { - kMousePointer = 0, - kTouchPointer = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Position.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Position.d.ts deleted file mode 100644 index 14349f6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/Position.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum Position { - kPositionAbsolute = 0, - kPositionRelative = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PropertyKey.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PropertyKey.d.ts deleted file mode 100644 index f2fa245..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/PropertyKey.d.ts +++ /dev/null @@ -1,160 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum PropertyKey { - kPropertyScrollDirection = 0, - kPropertyAccessibilityActions = 1, - kPropertyAccessibilityLabel = 2, - kPropertyAlign = 3, - kPropertyAlignItems = 4, - kPropertyAlignSelf = 5, - kPropertyAudioTrack = 6, - kPropertyAutoplay = 7, - kPropertyBackgroundColor = 8, - kPropertyBorderBottomLeftRadius = 9, - kPropertyBorderBottomRightRadius = 10, - kPropertyBorderColor = 11, - kPropertyBorderRadius = 12, - kPropertyBorderRadii = 13, - kPropertyBorderStrokeWidth = 14, - kPropertyBorderTopLeftRadius = 15, - kPropertyBorderTopRightRadius = 16, - kPropertyBorderWidth = 17, - kPropertyBottom = 18, - kPropertyBounds = 19, - kPropertyCenterId = 20, - kPropertyCenterIndex = 21, - kPropertyChildHeight = 22, - kPropertyChildWidth = 23, - kPropertyChecked = 24, - kPropertyColor = 25, - kPropertyColorKaraokeTarget = 26, - kPropertyColorNonKaraoke = 27, - kPropertyCurrentPage = 28, - kPropertyDescription = 29, - kPropertyDirection = 30, - kPropertyDisabled = 31, - kPropertyDisplay = 32, - kPropertyDrawnBorderWidth = 33, - kPropertyEntities = 34, - kPropertyFastScrollScale = 35, - kPropertyFilters = 36, - kPropertyFirstId = 37, - kPropertyFirstIndex = 38, - kPropertyFocusable = 39, - kPropertyFontFamily = 40, - kPropertyFontSize = 41, - kPropertyFontStyle = 42, - kPropertyFontWeight = 43, - kPropertyHandleTick = 44, - kPropertyHighlightColor = 45, - kPropertyHint = 46, - kPropertyHintColor = 47, - kPropertyHintStyle = 48, - kPropertyHintWeight = 49, - kPropertyGestures = 50, - kPropertyGraphic = 51, - kPropertyGrow = 52, - kPropertyHandleKeyDown = 53, - kPropertyHandleKeyUp = 54, - kPropertyHeight = 55, - kPropertyId = 56, - kPropertyInitialPage = 57, - kPropertyInnerBounds = 58, - kPropertyItemsPerCourse = 59, - kPropertyJustifyContent = 60, - kPropertyKeyboardType = 61, - kPropertyLeft = 62, - kPropertyLetterSpacing = 63, - kPropertyLineHeight = 64, - kPropertyMaxHeight = 65, - kPropertyMaxLength = 66, - kPropertyMaxLines = 67, - kPropertyMaxWidth = 68, - kPropertyMediaBounds = 69, - kPropertyMediaState = 70, - kPropertyMinHeight = 71, - kPropertyMinWidth = 72, - kPropertyNavigation = 73, - kPropertyNextFocusDown = 74, - kPropertyNextFocusForward = 75, - kPropertyNextFocusLeft = 76, - kPropertyNextFocusRight = 77, - kPropertyNextFocusUp = 78, - kPropertyNotifyChildrenChanged = 79, - kPropertyNumbered = 80, - kPropertyNumbering = 81, - kPropertyOnBlur = 82, - kPropertyOnCancel = 83, - kPropertyOnConfigChange = 84, - kPropertyOnDown = 85, - kPropertyOnEnd = 86, - kPropertyOnFocus = 87, - kPropertyOnMount = 88, - kPropertyOnMove = 89, - kPropertyHandlePageMove = 90, - kPropertyOnPageChanged = 91, - kPropertyOnPause = 92, - kPropertyOnPlay = 93, - kPropertyOnPress = 94, - kPropertyOnScroll = 95, - kPropertyOnSubmit = 96, - kPropertyOnTextChange = 97, - kPropertyOnUp = 98, - kPropertyOnTimeUpdate = 99, - kPropertyOnTrackUpdate = 100, - kPropertyOpacity = 101, - kPropertyOverlayColor = 102, - kPropertyOverlayGradient = 103, - kPropertyPadding = 104, - kPropertyPaddingBottom = 105, - kPropertyPaddingLeft = 106, - kPropertyPaddingRight = 107, - kPropertyPaddingTop = 108, - kPropertyPageDirection = 109, - kPropertyPageId = 110, - kPropertyPageIndex = 111, - kPropertyPlayingState = 112, - kPropertyPosition = 113, - kPropertyPreserve = 114, - kPropertyRight = 115, - kPropertyRole = 116, - kPropertyScale = 117, - kPropertyScrollAnimation = 118, - kPropertyScrollOffset = 119, - kPropertyScrollPercent = 120, - kPropertyScrollPosition = 121, - kPropertySecureInput = 122, - kPropertySelectOnFocus = 123, - kPropertyShadowColor = 124, - kPropertyShadowHorizontalOffset = 125, - kPropertyShadowRadius = 126, - kPropertyShadowVerticalOffset = 127, - kPropertyShrink = 128, - kPropertySize = 129, - kPropertySnap = 130, - kPropertySource = 131, - kPropertySpacing = 132, - kPropertySpeech = 133, - kPropertySubmitKeyType = 134, - kPropertyText = 135, - kPropertyTextAlign = 136, - kPropertyTextAlignVertical = 137, - kPropertyTrackCount = 138, - kPropertyTrackCurrentTime = 139, - kPropertyTrackDuration = 140, - kPropertyTrackEnded = 141, - kPropertyTrackIndex = 142, - kPropertyTrackPaused = 143, - kPropertyTransform = 144, - kPropertyTransformAssigned = 145, - kPropertyTop = 146, - kPropertyUser = 147, - kPropertyWidth = 148, - kPropertyOnCursorEnter = 149, - kPropertyOnCursorExit = 150, - kPropertyLaidOut = 151, - kPropertyValidCharacters = 152, - kPropertyWrap = 153 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ScrollDirection.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ScrollDirection.d.ts deleted file mode 100644 index 005c0a4..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/ScrollDirection.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum ScrollDirection { - kScrollDirectionVertical = 0, - kScrollDirectionHorizontal = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlign.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlign.d.ts deleted file mode 100644 index c5a1d53..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlign.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum TextAlign { - kTextAlignAuto = 0, - kTextAlignLeft = 1, - kTextAlignCenter = 2, - kTextAlignRight = 3 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlignVertical.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlignVertical.d.ts deleted file mode 100644 index 0e20f23..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/TextAlignVertical.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum TextAlignVertical { - kTextAlignVerticalAuto = 0, - kTextAlignVerticalTop = 1, - kTextAlignVerticalCenter = 2, - kTextAlignVerticalBottom = 3 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/UpdateType.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/UpdateType.d.ts deleted file mode 100644 index a59eaa0..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/UpdateType.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum UpdateType { - kUpdatePressed = 0, - /** * This component should take keyboard focus. */ - kUpdateTakeFocus = 1, - kUpdatePressState = 2, - /** * Update the current scroll position. The argument is the updated scroll position in dp. * Scroll positions are non-negative. */ - kUpdateScrollPosition = 3, - /** * A pager has been moved by the user. The argument is the new page number (0-based index). */ - kUpdatePagerPosition = 4, - /** * A pager has been moved in response to a SetPage event. The argument is the new page number (0-based index). */ - kUpdatePagerByEvent = 5, - /** * The user has pressed the submit button associated with a EditText component. */ - kUpdateSubmit = 6, - /** * The user has changed the text in the edit text component. */ - kUpdateTextChange = 7, - /** * Invoke an accessibility action by name. The argument is the string name of the action to invoke. */ - kUpdateAccessibilityAction = 8 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicAlign.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicAlign.d.ts deleted file mode 100644 index 2a7a900..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicAlign.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum VectorGraphicAlign { - kVectorGraphicAlignBottom = 0, - kVectorGraphicAlignBottomLeft = 1, - kVectorGraphicAlignBottomRight = 2, - kVectorGraphicAlignCenter = 3, - kVectorGraphicAlignLeft = 4, - kVectorGraphicAlignRight = 5, - kVectorGraphicAlignTop = 6, - kVectorGraphicAlignTopLeft = 7, - kVectorGraphicAlignTopRight = 8 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicScale.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicScale.d.ts deleted file mode 100644 index df20e99..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VectorGraphicScale.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum VectorGraphicScale { - kVectorGraphicScaleNone = 0, - kVectorGraphicScaleFill = 1, - kVectorGraphicScaleBestFill = 2, - kVectorGraphicScaleBestFit = 3 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VideoScale.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VideoScale.d.ts deleted file mode 100644 index 6096c74..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/enums/VideoScale.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare enum VideoScale { - kVideoScaleBestFill = 0, - kVideoScaleBestFit = 1 -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionEventCallbackResult.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionEventCallbackResult.d.ts deleted file mode 100644 index 2bebabb..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionEventCallbackResult.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Callback function for the resolution of an ExtensionEvent - */ -export interface IExtensionEventCallbackResult { - onExtensionEventResult(succeeded: boolean): any; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionManager.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionManager.d.ts deleted file mode 100644 index 61d3b72..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/extensions/IExtensionManager.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { IExtensionEventCallbackResult } from './IExtensionEventCallbackResult'; -/** - * A common interface for managing extensions. - */ -export interface IExtensionManager { - onExtensionEvent(uri: string, event: APL.Event, commandName: string, source: object, params: object, resultCallback: IExtensionEventCallbackResult): any; - onDocumentRender(rootContext: APL.Context, content: APL.Content): any; - configureExtensions(extensionConfiguration: any): any; - onMessageReceived(uri: string, payload: string): any; - onDocumentFinished(): any; - resetRootContext(): any; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/index.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/index.d.ts deleted file mode 100644 index 3e0a5ab..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/index.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -/// -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import './assets/css/fonts.css'; -import APLRenderer from './APLRenderer'; -export default APLRenderer; -export { IAPLOptions, IViewportCharacteristics, IEnvironment, IConfigurationChangeOptions, ISendEvent, IDataSourceFetchRequest, DeviceMode, ViewportShape, ScreenMode } from './APLRenderer'; -export { Content } from './Content'; -export { commandFactory } from './CommandFactory'; -export { componentFactory } from './ComponentFactory'; -export * from './media/audio/AudioPlayer'; -export * from './media/audio/IAudioEventListener'; -export * from './media/audio/DefaultAudioPlayer'; -export * from './media/audio/AudioContextProvider'; -export * from './components/Component'; -export * from './components/Container'; -export * from './components/EditText'; -export * from './components/Frame'; -export * from './components/GridSequence'; -export * from './components/Image'; -export * from './components/ScrollView'; -export * from './components/Sequence'; -export * from './components/TouchWrapper'; -export * from './components/filters/Blend'; -export * from './components/filters/Blur'; -export * from './components/filters/Color'; -export * from './components/filters/Gradient'; -export * from './components/filters/Grayscale'; -export * from './components/filters/Noise'; -export * from './components/filters/Saturate'; -export * from './components/video/AbstractVideoComponent'; -export * from './components/video/IVideoFactory'; -export * from './components/video/Video'; -export * from './components/video/VideoFactory'; -export * from './components/video/VideoHolder'; -export * from './components/text/MeasureMode'; -export * from './components/text/Text'; -export * from './components/pager/PagerComponent'; -export * from './components/avg/Filter'; -export * from './components/avg/VectorGraphic'; -export * from './components/avg/VectorGraphicElementUpdater'; -export * from './enums/AnimationQuality'; -export * from './enums/AudioTrack'; -export * from './enums/BlendMode'; -export * from './enums/CommandAudioTrack'; -export * from './enums/CommandControlMedia'; -export * from './enums/CommandHighlightMode'; -export * from './enums/CommandPosition'; -export * from './enums/CommandScrollAlign'; -export * from './enums/CommandType'; -export * from './enums/ComponentType'; -export * from './enums/ContainerDirection'; -export * from './enums/EventProperty'; -export * from './enums/EventType'; -export * from './enums/FilterType'; -export * from './enums/FlexboxAlign'; -export * from './enums/FlexboxJustifyContent'; -export * from './enums/FontStyle'; -export * from './enums/GradientType'; -export * from './enums/ImageAlign'; -export * from './enums/ImageScale'; -export * from './enums/LogLevel'; -export * from './enums/Navigation'; -export * from './enums/PointerEventType'; -export * from './enums/PointerType'; -export * from './enums/Position'; -export * from './enums/PropertyKey'; -export * from './enums/ScrollDirection'; -export * from './enums/TextAlign'; -export * from './enums/TextAlignVertical'; -export * from './enums/UpdateType'; -export * from './enums/VideoScale'; -export * from './enums/GraphicElementType'; -export * from './enums/GraphicFilterType'; -export * from './enums/GraphicPropertyKey'; -export * from './extensions/IExtensionManager'; -export * from './extensions/IExtensionEventCallbackResult'; -export * from './media/PlaybackManager'; -export * from './media/Resource'; -export * from './utils/FilterUtils'; -export * from './utils/FontUtils'; -export * from './utils/SoftRandom'; -export * from './utils/LocaleMethods'; -export * from './logging/ILogger'; -export * from './logging/LoggerFactory'; -export { LogLevel as JSLogLevel } from './logging/LogLevel'; -export * from './logging/LogTransport'; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/ILogger.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/ILogger.d.ts deleted file mode 100644 index 1ae1fef..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/ILogger.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Generic logger interface. - * - * @exports - * @interface - */ -export interface ILogger { - /** - * Log trace message - * This will also include a full stack trace - * - * @param msg any data to log to the console - */ - trace(...msg: any[]): void; - /** - * Log debug message - * - * @param msg any data to log to the console - */ - debug(...msg: any[]): void; - /** - * Log info message - * - * @param msg any data to log to the console - */ - info(...msg: any[]): void; - /** - * Log warn message - * - * @param msg any data to log to the console - */ - warn(...msg: any[]): void; - /** - * Log error message - * - * @param msg any data to log to the console - */ - error(...msg: any[]): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogLevel.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogLevel.d.ts deleted file mode 100644 index 9b4e430..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogLevel.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare type LogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent'; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogTransport.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogTransport.d.ts deleted file mode 100644 index b733a8f..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LogTransport.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { LogLevel } from './LogLevel'; -/** - * Simple function type to be provided on log initialization to change transport method. - * - * @exports - * @type - * @function - * - * @param level Log level (trace | debug | info | warn | error). - * @param loggerName Name of the logger. Usually same as component/class name. - * @param message Actual log message. - */ -export declare type LogTransport = (level: LogLevel, loggerName: string, message: string) => void; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LoggerFactory.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LoggerFactory.d.ts deleted file mode 100644 index 0d3e3a0..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/logging/LoggerFactory.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { ILogger } from './ILogger'; -import { LogTransport } from './LogTransport'; -import { LogLevel } from './LogLevel'; -/** - * Simple wrapper to hide loglevel logger oddity and do set-up. Could be changed to be more generic in the future. - */ -export declare class LoggerFactory { - private static rootLogger; - private static originalFactory; - private static initialized; - /** - * Initialize logger - * - * @param logLevel one of 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'silent' - * @param transport optional parameter for custom log transport. @see LogTransport - */ - static initialize(logLevel: LogLevel, transport?: LogTransport): void; - /** - * Creates component specific logger. - * - * @param name Name of the requesting component. - */ - static getLogger(name: string): ILogger; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaEventListener.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaEventListener.d.ts deleted file mode 100644 index 704f894..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaEventListener.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { PlaybackState } from './Resource'; -/** - * @ignore - */ -export interface IMediaEventListener { - onEvent(event: PlaybackState): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaSource.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaSource.d.ts deleted file mode 100644 index 01fc5a6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IMediaSource.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * MediaTrack defines the source and playback parameters - * @ignore - */ -export interface IMediaSource { - /** - * The actual URL to load the video from - */ - url: string; - /** - * Optional description of this source - */ - description: string; - /** - * Duration of the track in milliseconds - */ - duration: number; - /** - * Number of times to repeat. -1 is repeat forever - */ - repeatCount: number; - /** - * Milliseconds from the start of the track to play from - */ - offset: number; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IPlayer.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IPlayer.d.ts deleted file mode 100644 index 2cc0fab..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/IPlayer.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { PlaybackState } from './Resource'; -/** - * @ignore - */ -export interface IPlayer { - /** - * Load media metadata, and preload the content as well - * @param id a uuid - * @param url (optional) URL of the media source - */ - load(id: string, url?: string, decodeMarkers?: boolean): Promise; - /** - * Play a previously prepared media resource - * @param id a uuid - * @param url (optional) URL of the media source - */ - play(id: string, url?: string, offset?: number): Promise; - /** - * Pause the current playing video - */ - pause(): void; - /** - * Set volume of media - * @param volume [0, 1] for volume. - */ - setVolume(volume: number): void; - /** - * Stop media, clear prepared resources and cancel any in-flight downloads - */ - flush(): void; - /** - * @returns state of the media playback - IDLE, PLAYING, ENDED, PAUSED, BUFFERING, ERROR - */ - getMediaState(): PlaybackState; - /** - * @returns id of the currently sourced media - */ - getMediaId(): string; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/PlaybackManager.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/PlaybackManager.d.ts deleted file mode 100644 index 99aaa55..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/PlaybackManager.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { IMediaSource } from './IMediaSource'; -/** - * Media resource state - * @ignore - */ -export interface IMediaResource { - toRepeat: number; - description: string; - offset: number; - repeatCount: number; - trackIndex: number; - url: string; - id: string; - loaded: boolean; - duration: number; -} -/** - * @ignore - */ -export declare class PlaybackManager { - private current; - private resources; - setup(sources: IMediaSource | IMediaSource[]): void; - getCurrentIndex(): number; - getTrackCount(): number; - getCurrent(): IMediaResource; - next(): IMediaResource; - previous(): IMediaResource; - setCurrent(index: number): void; - hasNext(): boolean; - repeat(): boolean; - private addToPlaylist(index, track); - private reset(); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/Resource.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/Resource.d.ts deleted file mode 100644 index 3251c23..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/Resource.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * @ignore - */ -export declare type DownloadState = 'pending' | 'complete' | 'cancelled'; -/** - * @ignore - */ -export declare class Resource { - private downloadState; - private buffer; - constructor(); - setDownloadState(downloadState: DownloadState): void; - getDownloadState(): DownloadState; - getBuffer(): ArrayBuffer; - setBuffer(buffer: ArrayBuffer): void; -} -/** - * Resource State of the audio - * @ignore - */ -export declare enum ResourceState { - PENDING = "pending", - PREPARED = "prepared", - PLAYING = "playing", - PAUSED = "paused" -} -/** - * Resource for play media command, command name - * @ignore - */ -export declare enum ControlMediaCommandName { - PLAY = "play", - PAUSE = "pause", - NEXT = "next", - PREVIOUS = "previous", - REWIND = "rewind", - SEEK = "seek", - SETTRACK = "setTrack" -} -/** - * Playback state IDLE, PLAYING, ENDED, PAUSED, BUFFERING, ERROR - * @ignore - */ -export declare enum PlaybackState { - IDLE = "idling", - LOADED = "loaded", - PLAYING = "playing", - ENDED = "ended", - PAUSED = "paused", - BUFFERING = "buffering", - ERROR = "error" -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioContextProvider.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioContextProvider.d.ts deleted file mode 100644 index e4a82e6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioContextProvider.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Interface to provide AudioContext - */ -export interface IAudioContextProvider { - /** - * Get audio context on demand - */ - getAudioContext(): Promise; - /** - * Release an audio context - * - * @param audioContext an AudioContext object - */ - releaseAudioContext(audioContext: AudioContext): Promise; -} -/** - * A default audio context provider - */ -export declare class DefaultAudioContextProvider implements IAudioContextProvider { - private audioContext; - getAudioContext(): Promise; - releaseAudioContext(audioContext: AudioContext): Promise; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioPlayer.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioPlayer.d.ts deleted file mode 100644 index a35afb5..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/AudioPlayer.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { IAudioEventListener } from './IAudioEventListener'; -export declare type AudioPlayerFactory = (eventListener: IAudioEventListener) => AudioPlayer; -export declare abstract class AudioPlayer { - private eventListener; - private resourceMap; - private currentSource; - private decodePromise; - private static logger; - constructor(eventListener: IAudioEventListener); - prepare(url: string, decodeMarkers: boolean): string; - protected onPlaybackFinished(id: string): void; - protected onError(id: string, reason: string): void; - abstract play(id: string): any; - protected playWithContext(id: string, audioContext: AudioContext): void; - protected cancelPendingAndRemoveCompleted(): void; - flush(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/DefaultAudioPlayer.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/DefaultAudioPlayer.d.ts deleted file mode 100644 index df94a3a..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/DefaultAudioPlayer.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { AudioPlayer } from './AudioPlayer'; -import { IAudioEventListener } from './IAudioEventListener'; -import { IAudioContextProvider } from './AudioContextProvider'; -export declare class DefaultAudioPlayer extends AudioPlayer { - protected contextProvider: IAudioContextProvider; - constructor(eventListener: IAudioEventListener); - play(id: string): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/IAudioEventListener.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/IAudioEventListener.d.ts deleted file mode 100644 index 02341aa..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/IAudioEventListener.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { IBaseMarker } from '../audio/SpeechMarks'; -/** - * A callback interface to the initiator of audio requests - * @ignore - */ -export interface IAudioEventListener { - /** - * Called when media has been downloaded (optionally parsed for markers) - * (in response to prepare()) - * @param id a uuid - */ - onPrepared(id: string): void; - /** - * Stream markers (if prepare was called with ( markers: true)) - * The implementation is free to parse the entirity of the audio or parse - * chunks as they are downloaded. - * @param id a uuid - * @param markers a list of IBaseMarker - */ - onMarker(id: string, markers: IBaseMarker[]): void; - /** - * Called when media starts playing (in response to play()) - * @param id a uuid - */ - onPlaybackStarted(id: string): void; - /** - * Called when media finishes playing - * @param id a uuid - */ - onPlaybackFinished(id: string): void; - /** - * Called to report an error for a given request - * Used to report a download error or parse / playback error - * @param id a uuid - * @param reason an arbitrary string - */ - onError(id: string, reason: string): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/SpeechMarks.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/SpeechMarks.d.ts deleted file mode 100644 index bece265..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/audio/SpeechMarks.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * The type of speech mark - * @ignore - */ -export declare type SpeechMarkType = 'visime' | 'word' | 'sentence'; -/** - * Base type - * @ignore - */ -export interface IBaseMarker { - /** - * Marker type - */ - type: SpeechMarkType; - /** - * Time offset in milliseconds - */ - time: number; - /** - * Value of the marker (defined by type) - */ - value: string; -} -/** - * Extended type for word / sentence marker type - * @ignore - */ -export interface IFragmentMarker extends IBaseMarker { - /** - * Start index in the sentence of this fragment - */ - start: number; - /** - * End index ( +1 ) in the sentence of this fragment - */ - end: number; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/HLSVideoPlayer.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/HLSVideoPlayer.d.ts deleted file mode 100644 index f07e1c7..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/HLSVideoPlayer.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { IMediaEventListener } from '../IMediaEventListener'; -import { VideoPlayer } from './VideoPlayer'; -/** - * @ignore - */ -export declare class HLSVideoPlayer extends VideoPlayer { - private hlsPlayer; - constructor(eventListener: IMediaEventListener); - load(id: string, url: string): Promise; - play(id: string, url: string, offset: number): Promise; - private playHls(url, loadMetadataOnly?); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/VideoPlayer.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/VideoPlayer.d.ts deleted file mode 100644 index 0c356e0..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/media/video/VideoPlayer.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { IMediaEventListener } from '../IMediaEventListener'; -import { PlaybackState } from '../Resource'; -import { IPlayer } from '../IPlayer'; -/** - * @ignore - */ -export declare class VideoPlayer implements IPlayer { - protected player: HTMLVideoElement; - protected eventListener: IMediaEventListener; - protected playbackState: PlaybackState; - private playerEndTime; - constructor(eventListener: IMediaEventListener); - configure(parent: HTMLElement, scale: 'contain' | 'cover'): void; - applyCssShadow: (shadowParams: string) => void; - load(id: string, url: string): Promise; - play(id: string, url: string, offset: number): Promise; - pause(): void; - mute(): void; - unmute(): void; - setVolume(volume: number): void; - flush(): void; - setCurrentTime(offsetInSecond: number): void; - setEndTime(endTimeInSecond: number): void; - getCurrentPlaybackPosition(): number; - getDuration(): number; - getMediaState(): PlaybackState; - getMediaId(): string; - private sendPlaying(); - private onVideoTimeUpdated(); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FilterUtils.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FilterUtils.d.ts deleted file mode 100644 index 470c4ea..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FilterUtils.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { FilterType } from '../enums/FilterType'; -import { IColor } from '../components/filters/Color'; -import { IBlur } from '../components/filters/Blur'; -import { INoise } from '../components/filters/Noise'; -import { IGradientFilter } from '../components/filters/Gradient'; -import { IBlend } from '../components/filters/Blend'; -import { IGrayscale } from '../components/filters/Grayscale'; -import { ISaturate } from '../components/filters/Saturate'; -/** - * @ignore - */ -export declare type Filter = IBlur | INoise | IColor | IGradientFilter | IBlend | IGrayscale | ISaturate; -/** - * The APL filters needs to be handled by SVG filter. - */ -export declare const SVGFilters: Set; -/** - * Generate SVG definition based on the provided APL filter array. - * @param filters APL Filters - * @param imageSrcArray image source array - * @param filterId filter id - * @return SVGDefsAndUseElement, if there is no SVGFilter requested in APLFilter, return undefined. - */ -export declare const generateSVGDefsAndUseElement: (filters: Filter[], imageSrcArray: string[], filterId: string) => { - svgDefsElement: SVGDefsElement; - svgUseElement: SVGUseElement; -}; -/** - * Generate SVG filter primitive fetches image data from an external source and provides the pixel data as output. - * @param sourceImageId the src URL from image source array - * @param filterElement filter element primitive - * @param isDestinationIn used by blend filter, if true, set as destination in - * @returns filterImageArray feImage array, store all the SVG feImage - */ -export declare const generateSVGFeImage: (sourceImageId: string, filterElement: SVGElement, isDestinationIn?: boolean) => SVGFEImageElement[]; -/** - * Util function to check whether image source/destination index are out of bound. - * @param index source or destination image index - * @param imageArrayLength length of image source array - * @returns boolean, if true, ignore this filter stage and continue. - */ -export declare const isIndexOutOfBound: (index: number, imageArrayLength: number) => boolean; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FontUtils.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FontUtils.d.ts deleted file mode 100644 index c2d3836..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/FontUtils.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare class FontUtils { - private static logger; - private static readonly AMAZON_EMBER_DISPLAY; - private static readonly BOOKERLY; - private static readonly FONT_ALIAS_MAPPING; - private static readonly FONT_STYLE_MAPPING; - private static initialized; - private static initializationCallback; - static initialize(): Promise; - static getFont(fontFamily: string): string; - static getFontStyle(fontStyle: number): string; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/LocaleMethods.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/LocaleMethods.d.ts deleted file mode 100644 index de95e14..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/LocaleMethods.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare const LocaleMethods: { - toUpperCase: (value: string, locale: string) => string; - toLowerCase: (value: string, locale: string) => string; -}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/SoftRandom.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/SoftRandom.d.ts deleted file mode 100644 index fe71fcd..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/apl-html/lib/utils/SoftRandom.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Super simple random implementation based on linear interpolation. - */ -export declare class SoftRandom { - private static seedValue; - private static DECIMAL_MASK; - /** - * Set random seed. To increased "quality" use of current time is suggested. - * @param seed Random seed. - */ - static seed(seed: number): void; - /** - * Generate random number in sequence. - * Number is in range from 0 to 1 with "uniform" distribution. - */ - static random(): number; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/@types/eventemitter3/index.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/@types/eventemitter3/index.d.ts deleted file mode 100644 index 42793dc..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/@types/eventemitter3/index.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -/** - * Minimal `EventEmitter` interface that is molded against the Node.js - * `EventEmitter` interface. - */ -declare class EventEmitter { - static prefixed: string | boolean; - /** - * Return an array listing the events for which the emitter has registered - * listeners. - */ - eventNames(): Array; - /** - * Return the listeners registered for a given event. - */ - listeners(event: EventTypes): Array; - /** - * Return the number of listeners listening to a given event. - */ - listenerCount(event: EventTypes): number; - /** - * Calls each of the listeners registered for a given event. - */ - emit(event: EventTypes, ...args: Array): boolean; - /** - * Add a listener for a given event. - */ - on(event: EventTypes, fn: EventEmitter.ListenerFn, context?: any): this; - addListener(event: EventTypes, fn: EventEmitter.ListenerFn, context?: any): this; - /** - * Add a one-time listener for a given event. - */ - once(event: EventTypes, fn: EventEmitter.ListenerFn, context?: any): this; - /** - * Remove the listeners of a given event. - */ - removeListener(event: EventTypes, fn?: EventEmitter.ListenerFn, context?: any, once?: boolean): this; - off(event: EventTypes, fn?: EventEmitter.ListenerFn, context?: any, once?: boolean): this; - /** - * Remove all listeners, or those of the specified event. - */ - removeAllListeners(event?: EventTypes): this; -} -declare namespace EventEmitter { - export interface ListenerFn { - (...args: Array): void; - } - export interface EventEmitterStatic { - new (): EventEmitter; - } - export const EventEmitter: EventEmitterStatic; -} -export = EventEmitter; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLAction.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLAction.d.ts deleted file mode 100644 index b6a2431..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLAction.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLClient.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLClient.d.ts deleted file mode 100644 index fa37775..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLClient.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export interface RenderingOptionsPayload { - legacyKaraoke: boolean; -} -export interface IComponentPayload { - children: IComponentPayload[]; - id: string; - type: number; - [key: string]: any; -} -export interface MeasurePayload extends IComponentPayload { - width: number; - widthMode: number; - height: number; - heightMode: number; -} -export interface EventPayload { - type: number; - id: string; - [key: string]: any; -} -export interface EventTerminatePayload { - token: number; -} -export interface ScalingPayload { - scaleFactor: number; - viewportWidth: number; - viewportHeight: number; -} -export interface BaselinePayload extends IComponentPayload { - width: number; - height: number; -} -export interface DocThemePayload { - docTheme: string; -} -export interface BackgroundPayload { - background: APL.IBackground; -} -export interface ScreenLockPayload { - screenLock: boolean; -} -export interface IsCharacterValidPayload { - componentId: string; - messageId: string; - valid: boolean; -} -export interface OnHandleKeyboardPayload { - messageId: string; - result: boolean; -} -export interface LocaleMethodPayload { - method: string; - locale: string; - value: string; -} -export interface FocusableAreasPayload { - messageId: string; - areas: Map; -} -export interface DisplayedChildCountPayload { - componentId: string; - messageId: string; - displayedChildCount: number; -} -export interface DisplayedChildIdPayload { - componentId: string; - messageId: string; - displayedChildId: string; -} -export interface FocusedPayload { - messageId: string; - result: string; -} -export interface SupportsResizingPayload { - supportsResizing: boolean; -} -export interface PayloadTypeMap { - "renderingOptions": RenderingOptionsPayload; - "measure": MeasurePayload; - "hierarchy": IComponentPayload; - "reHierarchy": IComponentPayload; - "scaling": ScalingPayload; - "event": EventPayload; - "dirty": IComponentPayload[]; - "eventTerminate": EventTerminatePayload; - "baseline": BaselinePayload; - "docTheme": DocThemePayload; - "background": BackgroundPayload; - "screenLock": ScreenLockPayload; - "ensureLayout": string; - "isCharacterValid": IsCharacterValidPayload; - "handleKeyboard": OnHandleKeyboardPayload; - "localeMethod": LocaleMethodPayload; - "getFocusableAreas": FocusableAreasPayload; - "getFocused": FocusedPayload; - "getDisplayedChildCount": DisplayedChildCountPayload; - "getDisplayedChildId": DisplayedChildIdPayload; - "supportsResizing": SupportsResizingPayload; -} -export interface Message { - type: Type; - seqno: number; - payload: PayloadTypeMap[Type]; -} -export interface APLCLientEventTypeMap { - "close": CloseEvent; - "error": Event; - "open": Event; -} -export interface IAPLClientListener { - onOpen?(): void; - onClose?(): void; - onError?(): void; -} -export interface IAPLMessageListener { - onMeasure?(message: Message<"measure">): void; - onRenderingOptions?(message: Message<"renderingOptions">): void; - onHierarchy?(message: Message<"hierarchy">): void; - onReHierarchy?(message: Message<"reHierarchy">): void; - onScaling?(message: Message<"scaling">): void; - onDirty?(message: Message<"dirty">): void; - onEvent?(message: Message<"event">): void; - onEventTerminate?(message: Message<"eventTerminate">): void; - onBaseline?(message: Message<"baseline">): void; - onDocTheme?(message: Message<"docTheme">): void; - onBackground?(message: Message<"background">): void; - onScreenLock?(message: Message<"screenLock">): void; - onEnsureLayout?(message: Message<"ensureLayout">): void; - onIsCharacterValid?(message: Message<"isCharacterValid">): void; - onHandleKeyboard?(message: Message<"handleKeyboard">): void; - onLocaleMethod?(message: Message<"localeMethod">): void; - onGetFocusableAreas?(message: Message<"getFocusableAreas">): void; - onGetFocused?(message: Message<"getFocused">): void; - onGetDisplayedChildCount?(message: Message<"getDisplayedChildCount">): void; - onGetDisplayedChildId?(message: Message<"getDisplayedChildId">): void; - onSupportsResizing?(message: Message<"supportsResizing">): void; -} -/** - * Extend this class to implement a client. Must implement events described in - * `IAPLClient` - */ -export declare abstract class APLClient { - constructor(); - /** - * Override this method to send a message - * @param message - */ - abstract sendMessage(message: any): any; - /** - * Adds a lifecycles listener - * @param listener - */ - addListener(listener: IAPLClientListener): void; - /** - * Removes a lifecycles listener - * @param listener - */ - removeListener(listener: IAPLClientListener): void; - /** - * Removes all lifecycles listeners - */ - removeAllListeners(): void; - /** - * Call this when the client return isCharacterValid message with result; - * @param message - */ - protected isCharacterValid(message: Message<"isCharacterValid">): void; - /** - * Call this when the client return getDisplayedChildCount message with result - * @param message - */ - protected getDisplayedChildCount(message: Message<"getDisplayedChildCount">): void; - /** - * Call this when the client return getDisplayedChildId message with result - * @param message - */ - protected getDisplayedChildId(message: Message<"getDisplayedChildId">): void; - /** - * Call this when the client return handleKeyboard message with result; - * @param message - */ - protected handleKeyboard(message: Message<"handleKeyboard">): void; - /** - * Call this when the client return supportsResizing message with result; - * @param message - */ - protected supportsResizing(message: Message<"supportsResizing">): void; - /** - * Call this when the client receives a message from the server - */ - onMessage

(message: Message

): void; - /** - * Call this from subclass when a client connection is closed - */ - protected onClose(): void; - /** - * Call this from a subclass when a client connection is opened - */ - protected onOpen(): void; - /** - * Call this from a subclass when there is a connection error - */ - protected onError(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLComponent.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLComponent.d.ts deleted file mode 100644 index b311db6..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLComponent.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export { }; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLConfigurationChange.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLConfigurationChange.d.ts deleted file mode 100644 index 9759cbf..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLConfigurationChange.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { DeviceMode, ScreenMode, IConfigurationChangeOptions } from "./@types/apl-html/lib/index"; -/** - * Create and manage a configuration change payload - */ -export declare class APLConfigurationChange implements APL.ConfigurationChange { - configurationChangePayload: IConfigurationChangeOptions; - constructor(payload?: IConfigurationChangeOptions); - static create(options: IConfigurationChangeOptions): APLConfigurationChange; - size(width: number, height: number): this; - width(width: number): this; - height(height: number): this; - theme(theme: string): this; - viewportMode(mode: DeviceMode): this; - fontScale(fontScale: number): this; - screenMode(screenMode: ScreenMode): this; - screenReader(enabled: boolean): this; - mergeConfigurationChange(other: APLConfigurationChange): void; - delete(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLContext.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLContext.d.ts deleted file mode 100644 index b6a2431..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLContext.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLEvent.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLEvent.d.ts deleted file mode 100644 index b6a2431..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLEvent.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLRadii.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLRadii.d.ts deleted file mode 100644 index b6a2431..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLRadii.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLRect.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLRect.d.ts deleted file mode 100644 index b6a2431..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLRect.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/APLWSRenderer.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/APLWSRenderer.d.ts deleted file mode 100644 index 4eb67d8..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/APLWSRenderer.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import APLRenderer, { IAPLOptions } from "./@types/apl-html/lib/index"; -import { APLClient } from "./APLClient"; -import { APLComponent } from './APLComponent'; -export interface IAPLWSOptions extends IAPLOptions { - /** - * The client to use to connect to the APLContent server. - */ - client: APLClient; - /** - * List of extension uri's that the renderer will support. - */ - supportedExtensions?: string[]; -} -/** - * The main renderer. Create a new one with `const renderer = APLWSRenderer.create(options);` - */ -export declare class APLWSRenderer extends APLRenderer { - componentMapping: { - [id: string]: APLComponent; - }; - /** - * Creates a new renderer - * @param options Options for this instance - */ - static create(options: IAPLWSOptions): APLWSRenderer; - init(): Promise; - destroy(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/Bimap.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/Bimap.d.ts deleted file mode 100644 index b6a2431..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/Bimap.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export {}; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/Transforms.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/Transforms.d.ts deleted file mode 100644 index 8472938..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/Transforms.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { GraphicData } from "./avg/APLGraphic"; -import { GraphicPatternData } from "./avg/APLGraphicPattern"; -import { Filter } from 'apl-html'; -export declare function toRect(value: [number, number, number, number]): APL.Rect | undefined; -export declare function toTransform(value: [number, number, number, number, number, number]): string; -export declare function toColor(value: any): number; -export declare function toStyledText(value: { - text: string; - spans: Array<[number, number, number]>; -}): APL.StyledText | string; -export declare function toGraphic(value: GraphicData): APL.Graphic | undefined; -export declare function toGraphicPattern(value: GraphicPatternData): APL.GraphicPattern | undefined; -export declare function toRadii(value: [number, number, number, number]): APL.Radii; -export declare function toDimension(value: number): number; -export declare function toFilters(value: Filter[]): Filter[]; -export declare function toGradient(value: { - type: number; - colorRange: string[]; - inputRange: number[]; - angle: number; - spreadMethod: number; - x1: number; - y1: number; - x2: number; - y2: number; - centerX: number; - centerY: number; - radius: number; - units: number; -}): object; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/WebSocketClient.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/WebSocketClient.d.ts deleted file mode 100644 index 45cb4ae..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/WebSocketClient.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { APLClient } from "./APLClient"; -/** - * Implements the WebSocket version of an APLClient connection. - */ -export declare class WebSocketClient extends APLClient { - private url; - private ws; - constructor(url: string); - start(): Promise; - sendMessage(message: any): void; - private onWebsocketMessage; - private onWebsocketClose; - private onWebsocketOpen; - private onWebsocketError; - private reconnect(); -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/apl-client-attribution.txt b/modules/Alexa/APLClientLibrary/apl-client-js/apl-client-attribution.txt deleted file mode 100644 index 5198080..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/apl-client-attribution.txt +++ /dev/null @@ -1,17557 +0,0 @@ -The Smart Screen SDK includes the following third-party software/licensing: - - ----------------- -Package: abbrev -Version: 1.0.9 -Description: Like ruby's abbrev module, but in js -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: accepts -Version: 1.3.7 -Description: Higher-level content negotiation -License: MIT -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: acorn -Version: 6.4.1 -Description: ECMAScript parser -License: MIT -Copyright (C) 2012-2018 by various contributors (see AUTHORS) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: acorn-walk -Version: 7.2.0 -Description: ECMAScript (ESTree) AST walker -License: MIT -Copyright (C) 2012-2018 by various contributors (see AUTHORS) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: ajv -Version: 6.12.2 -Description: Another JSON Schema Validator -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017 Evgeny Poberezkin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - ----------------- -Package: ajv-errors -Version: 1.0.1 -Description: Custom error messages in JSON-Schema for Ajv validator -License: MIT -MIT License - -Copyright (c) 2017 Evgeny Poberezkin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: ajv-keywords -Version: 3.5.0 -Description: Custom JSON-Schema keywords for Ajv validator -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Evgeny Poberezkin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: amdefine -Version: 1.0.1 -Description: Provide AMD's define() API for declaring modules in the AMD format -License: BSD-3-Clause OR MIT -amdefine is released under two licenses: new BSD, and MIT. You may pick the -license that best suits your development needs. The text of both licenses are -provided below. - - -The "New" BSD License: ----------------------- - -Copyright (c) 2011-2016, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -MIT License ------------ - -Copyright (c) 2011-2016, The Dojo Foundation - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: ansi-colors -Version: 3.2.4 -Description: Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs). -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-present, Brian Woodward. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: ansi-regex -Version: 2.1.1 -Description: Regular expression for matching ANSI escape codes -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: ansi-styles -Version: 3.2.1 -Description: ANSI escape codes for styling strings in the terminal -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: anymatch -Version: 3.1.1 -Description: Matches strings against configurable strings, globs, regular expressions, and/or functions -License: ISC -The ISC License - -Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com) - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: aproba -Version: 1.2.0 -Description: A ridiculously light-weight argument validator (now browser friendly) -License: ISC -Copyright (c) 2015, Rebecca Turner - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - ----------------- -Package: arg -Version: 4.1.3 -Description: Another simple argument parser -License: MIT -MIT License - -Copyright (c) 2017-2019 Zeit, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: argparse -Version: 1.0.10 -Description: Very powerful CLI arguments parser. Native port of argparse - python's options parsing library -License: MIT -(The MIT License) - -Copyright (C) 2012 by Vitaly Puzrin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: arr-diff -Version: 4.0.0 -Description: Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: arr-flatten -Version: 1.1.0 -Description: Recursively flatten an array or arrays. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: arr-union -Version: 3.1.0 -Description: Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: array-find-index -Version: 1.0.2 -Description: ES2015 `Array#findIndex()` ponyfill -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: array-flatten -Version: 1.1.1 -Description: Flatten an array of nested arrays into a single flat array -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: array-from -Version: 2.1.1 -Description: A ponyfill for the ES 2015 (ES6) `Array.from()`. -License: MIT -Copyright © 2015-2016 Studio B12 GmbH - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: array-union -Version: 1.0.2 -Description: Create an array of unique values, in order, from the input arrays -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: array-uniq -Version: 1.0.3 -Description: Create an array without duplicates -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: array-unique -Version: 0.3.2 -Description: Remove duplicate values from an array. Fastest ES5 implementation. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2016, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: asn1 -Version: 0.2.4 -Description: Contains parsers and serializers for ASN.1 (currently BER only) -License: MIT -Copyright (c) 2011 Mark Cavage, All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE - ----------------- -Package: asn1.js -Version: 4.10.1 -Description: ASN.1 encoder and decoder -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: assert -Version: 1.5.0 -Description: The node.js assert module, re-packaged for web browsers. -License: MIT -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: assert-plus -Version: 1.0.0 -Description: Extra assertions on top of node's assert module -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: assertion-error -Version: 1.1.0 -Description: Error constructor for test and validation frameworks that implements standardized AssertionError specification. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: assign-symbols -Version: 1.0.0 -Description: Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: async -Version: 1.5.2 -Description: Higher-order functions and common patterns for asynchronous code -License: MIT -Copyright (c) 2010-2014 Caolan McMahon - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: async-each -Version: 1.0.3 -Description: No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: async-limiter -Version: 1.0.1 -Description: asynchronous function queue with adjustable concurrency -License: MIT -The MIT License (MIT) -Copyright (c) 2017 Samuel Reed - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: asynckit -Version: 0.4.0 -Description: Minimal async jobs utility library, with streams support -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Alex Indigo - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: atob -Version: 2.1.2 -Description: atob for Node.JS and Linux / Mac / Windows CLI (it's a one-liner) -License: (MIT OR Apache-2.0) -At your option you may choose either of the following licenses: - - * The MIT License (MIT) - * The Apache License 2.0 (Apache-2.0) - - -The MIT License (MIT) - -Copyright (c) 2015 AJ ONeal - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2015 AJ ONeal - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ----------------- -Package: aws-sign2 -Version: 0.7.0 -Description: AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module. -License: Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and - -You must cause any modified files to carry prominent notices stating that You changed the files; and - -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS ----------------- -Package: aws4 -Version: 1.10.0 -Description: Signs and prepares requests using AWS Signature Version 4 -License: MIT -Copyright 2013 Michael Hart (michael.hart.au@gmail.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babel-code-frame -Version: 6.26.0 -Description: Generate errors that contain a code frame that point to source locations. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babel-generator -Version: 6.26.1 -Description: Turns an AST into code. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babel-messages -Version: 6.23.0 -Description: Collection of debug messages used by Babel. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babel-runtime -Version: 6.26.0 -Description: babel selfContained runtime -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babel-template -Version: 6.26.0 -Description: Generate an AST from a string template. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babel-traverse -Version: 6.26.0 -Description: The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babel-types -Version: 6.26.0 -Description: Babel Types is a Lodash-esque utility library for AST nodes -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: babylon -Version: 6.18.0 -Description: A JavaScript parser -License: MIT -Copyright (C) 2012-2014 by various contributors (see AUTHORS) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: backbone -Version: 1.4.0 -Description: Give your JS App some Backbone with Models, Views, Collections, and Events. -License: MIT -Copyright (c) 2010-2019 Jeremy Ashkenas, DocumentCloud - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: balanced-match -Version: 1.0.0 -Description: Match balanced character pairs, like "{" and "}" -License: MIT -(MIT) - -Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: base -Version: 0.11.2 -Description: base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: base64-js -Version: 1.3.1 -Description: Base64 encoding/decoding in pure JS -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Jameson Little - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: bcrypt-pbkdf -Version: 1.0.2 -Description: Port of the OpenBSD bcrypt_pbkdf function to pure JS -License: BSD-3-Clause -The Blowfish portions are under the following license: - -Blowfish block cipher for OpenBSD -Copyright 1997 Niels Provos -All rights reserved. - -Implementation advice by David Mazieres . - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -3. The name of the author may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT -NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -The bcrypt_pbkdf portions are under the following license: - -Copyright (c) 2013 Ted Unangst - -Permission to use, copy, modify, and distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - - -Performance improvements (Javascript-specific): - -Copyright 2016, Joyent Inc -Author: Alex Wilson - -Permission to use, copy, modify, and distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: bfj -Version: 6.1.2 -Description: Big-friendly JSON. Asynchronous streaming functions for large JSON data sets. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: big.js -Version: 5.2.2 -Description: A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: binary-extensions -Version: 2.1.0 -Description: List of binary file extensions -License: MIT -MIT License - -Copyright (c) 2019 Sindre Sorhus (https://sindresorhus.com), Paul Miller (https://paulmillr.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: bindings -Version: 1.5.0 -Description: Helper module for loading your native module's .node file -License: MIT -(The MIT License) - -Copyright (c) 2012 Nathan Rajlich <nathan@tootallnate.net> - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: bluebird -Version: 3.7.2 -Description: Full featured Promises/A+ implementation with exceptionally good performance -License: MIT -The MIT License (MIT) - -Copyright (c) 2013-2018 Petka Antonov - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: bn.js -Version: 4.11.9 -Description: Big number implementation in pure javascript -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: body-parser -Version: 1.19.0 -Description: Node.js body parsing middleware -License: MIT -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2014-2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: brace-expansion -Version: 1.1.11 -Description: Brace expansion as known from sh/bash -License: MIT -MIT License - -Copyright (c) 2013 Julian Gruber - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: braces -Version: 2.3.2 -Description: Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: brorand -Version: 1.1.0 -Description: Random number generator for browsers and node.js -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: browser-stdout -Version: 1.3.1 -Description: -License: ISC -Copyright 2018 kumavis - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: browserify-aes -Version: 1.2.0 -Description: aes, for browserify -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017 browserify-aes contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: browserify-cipher -Version: 1.0.1 -Description: ciphers for the browser -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017 Calvin Metcalf & contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: browserify-des -Version: 1.0.2 -Description: -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017 Calvin Metcalf, Fedor Indutny & contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: browserify-rsa -Version: 4.0.1 -Description: RSA for browserify -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2015 Calvin Metcalf & contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: browserify-sign -Version: 4.2.0 -Description: adds node crypto signing for browsers -License: ISC -Copyright (c) 2014-2015 Calvin Metcalf and browserify-sign contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: browserify-zlib -Version: 0.2.0 -Description: Full zlib module for the browser -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2015 Devon Govett - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -This project contains parts of Node.js. -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the -https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - ----------------- -Package: buffer -Version: 4.9.2 -Description: Node.js Buffer API, for the browser -License: MIT -The MIT License (MIT) - -Copyright (c) Feross Aboukhadijeh, and other contributors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: buffer-crc32 -Version: 0.2.13 -Description: A pure javascript CRC32 algorithm that plays nice with binary data -License: MIT -The MIT License - -Copyright (c) 2013 Brian J. Brennan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the -Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE -FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: buffer-from -Version: 1.1.1 -Description: undefined -License: MIT -MIT License - -Copyright (c) 2016, 2018 Linus Unnebäck - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: buffer-xor -Version: 1.0.3 -Description: A simple module for bitwise-xor on buffers -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 Daniel Cousens - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: builtin-modules -Version: 1.1.1 -Description: List of the Node.js builtin modules -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: builtin-status-codes -Version: 3.0.0 -Description: The map of HTTP status codes from the builtin http module -License: MIT -The MIT License (MIT) - -Copyright (c) Ben Drucker (bendrucker.me) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: bytes -Version: 3.1.0 -Description: Utility to parse a string bytes to bytes and vice-versa -License: MIT -(The MIT License) - -Copyright (c) 2012-2014 TJ Holowaychuk -Copyright (c) 2015 Jed Watson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: cacache -Version: 12.0.4 -Description: Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache. -License: ISC -ISC License - -Copyright (c) npm, Inc. - -Permission to use, copy, modify, and/or distribute this software for -any purpose with or without fee is hereby granted, provided that the -above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE COPYRIGHT HOLDER DISCLAIMS -ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR -CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE -USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: cache-base -Version: 1.0.1 -Description: Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: camelcase -Version: 5.3.1 -Description: Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar` -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: camelcase-keys -Version: 2.1.0 -Description: Convert object keys to camelCase -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: caseless -Version: 0.12.0 -Description: Caseless object set/get/has, very useful when working with HTTP headers. -License: Apache-2.0 -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION -1. Definitions. -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: -You must give any other recipients of the Work or Derivative Works a copy of this License; and -You must cause any modified files to carry prominent notices stating that You changed the files; and -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. -END OF TERMS AND CONDITIONS ----------------- -Package: chai -Version: 4.2.0 -Description: BDD/TDD assertion library for node.js and the browser. Test framework agnostic. -License: MIT -MIT License - -Copyright (c) 2017 Chai.js Assertion Library - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: chalk -Version: 2.4.2 -Description: Terminal string styling done right -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: check-error -Version: 1.0.2 -Description: Error comparison and information related utility for node and the browser -License: MIT -Copyright (c) 2013 Jake Luer (http://alogicalparadox.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: check-types -Version: 8.0.3 -Description: A little library for asserting types and values. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: chokidar -Version: 3.4.0 -Description: A neat wrapper around node.js fs.watch / fs.watchFile / fsevents. -License: MIT -The MIT License (MIT) - -Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the “Software”), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: chownr -Version: 1.1.4 -Description: like `chown -R` -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: chrome-trace-event -Version: 1.0.2 -Description: A library to create a trace of your node app per Google's Trace Event format. -License: MIT -# This is the MIT license - -Copyright (c) 2015 Joyent Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: cipher-base -Version: 1.0.4 -Description: abstract base class for crypto-streams -License: MIT -The MIT License (MIT) - -Copyright (c) 2017 crypto-browserify contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: class-utils -Version: 0.3.6 -Description: Utils for working with JavaScript classes and prototype methods. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, 2017-2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: cliui -Version: 5.0.0 -Description: easily create complex multi-column command-line-interfaces -License: ISC -Copyright (c) 2015, Contributors - -Permission to use, copy, modify, and/or distribute this software -for any purpose with or without fee is hereby granted, provided -that the above copyright notice and this permission notice -appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE -LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: co -Version: 4.6.0 -Description: generator async control flow goodness -License: MIT -(The MIT License) - -Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca> - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: code-point-at -Version: 1.1.0 -Description: ES2015 `String#codePointAt()` ponyfill -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: collection-visit -Version: 1.0.0 -Description: Visit a method over the items in an object, or map visit over the objects in an array. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, 2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: color-convert -Version: 1.9.3 -Description: Plain color conversion functions -License: MIT -Copyright (c) 2011-2016 Heather Arthur - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: color-name -Version: 1.1.3 -Description: A list of color names and its values -License: MIT -The MIT License (MIT) -Copyright (c) 2015 Dmitry Ivanov - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: combined-stream -Version: 1.0.8 -Description: A stream that emits multiple other streams one after another. -License: MIT -Copyright (c) 2011 Debuggable Limited - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: commander -Version: 2.20.3 -Description: the complete solution for node.js command-line programs -License: MIT -(The MIT License) - -Copyright (c) 2011 TJ Holowaychuk - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: commondir -Version: 1.0.1 -Description: compute the closest common parent for file paths -License: MIT -The MIT License - -Copyright (c) 2013 James Halliday (mail@substack.net) - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: component-emitter -Version: 1.3.0 -Description: Event emitter -License: MIT -(The MIT License) - -Copyright (c) 2014 Component contributors - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: concat-map -Version: 0.0.1 -Description: concatenative mapdashery -License: MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: concat-stream -Version: 1.6.2 -Description: writable stream that concatenates strings or binary data and calls a callback with the result -License: MIT -The MIT License - -Copyright (c) 2013 Max Ogden - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: console-browserify -Version: 1.2.0 -Description: Emulate console for all the browsers -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: constants-browserify -Version: 1.0.0 -Description: node's constants module for the browser -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: content-disposition -Version: 0.5.3 -Description: Create and parse Content-Disposition header -License: MIT -(The MIT License) - -Copyright (c) 2014-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: content-type -Version: 1.0.4 -Description: Create and parse HTTP Content-Type header -License: MIT -(The MIT License) - -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: convert-source-map -Version: 1.7.0 -Description: Converts a source-map from/to different formats and allows adding/changing properties. -License: MIT -Copyright 2013 Thorsten Lorenz. -All rights reserved. - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: cookie -Version: 0.4.0 -Description: HTTP server cookie parsing and serialization -License: MIT -(The MIT License) - -Copyright (c) 2012-2014 Roman Shtylman -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: cookie-signature -Version: 1.0.6 -Description: Sign and unsign cookies -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: copy-concurrently -Version: 1.0.5 -Description: Promises of copies of files, directories and symlinks, with concurrency controls and win32 junction fallback. -License: ISC -Copyright (c) 2017, Rebecca Turner - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - ----------------- -Package: copy-descriptor -Version: 0.1.1 -Description: Copy a descriptor from object A to object B -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2016, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: copy-dir -Version: 1.3.0 -Description: copy-dir -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Pillys - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: copy-webpack-plugin -Version: 5.1.1 -Description: Copy files && directories with webpack -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: core-js -Version: 2.6.11 -Description: Standard library -License: MIT -Copyright (c) 2014-2019 Denis Pushkarev - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: core-util-is -Version: 1.0.2 -Description: The `util.is*` functions introduced in Node v0.12. -License: MIT -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: create-ecdh -Version: 4.0.3 -Description: createECDH but browserifiable -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017 createECDH contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: create-hash -Version: 1.2.0 -Description: create hashes for browserify -License: MIT -The MIT License (MIT) - -Copyright (c) 2017 crypto-browserify contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: create-hmac -Version: 1.1.7 -Description: node style hmacs in the browser -License: MIT -The MIT License (MIT) - -Copyright (c) 2017 crypto-browserify contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: cross-env -Version: 5.2.1 -Description: Run scripts that set and use environment variables across platforms -License: MIT -The MIT License (MIT) -Copyright (c) 2017 Kent C. Dodds - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: cross-spawn -Version: 6.0.5 -Description: Cross platform child_process#spawn and child_process#spawnSync -License: MIT -The MIT License (MIT) - -Copyright (c) 2018 Made With MOXY Lda - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: crypto-browserify -Version: 3.12.0 -Description: implementation of crypto for the browser -License: MIT -The MIT License - -Copyright (c) 2013 Dominic Tarr - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: css-loader -Version: 3.6.0 -Description: css loader module for webpack -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: cssesc -Version: 3.0.0 -Description: A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output. -License: MIT -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: currently-unhandled -Version: 0.4.1 -Description: Track the list of currently unhandled promise rejections. -License: MIT -The MIT License (MIT) - -Copyright (c) James Talmage (github.com/jamestalmage) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: cyclist -Version: 1.0.1 -Description: Cyclist is an efficient cyclic list implemention. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: dashdash -Version: 1.14.1 -Description: A light, featureful and explicit option parsing library. -License: MIT -# This is the MIT license - -Copyright (c) 2013 Trent Mick. All rights reserved. -Copyright (c) 2013 Joyent Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: debug -Version: 2.6.9 -Description: small debugging utility -License: MIT -(The MIT License) - -Copyright (c) 2014 TJ Holowaychuk - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software -and associated documentation files (the 'Software'), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, -and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: decamelize -Version: 1.2.0 -Description: Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: decode-uri-component -Version: 0.2.0 -Description: A better decodeURIComponent -License: MIT -The MIT License (MIT) - -Copyright (c) Sam Verschueren (github.com/SamVerschueren) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: deep-eql -Version: 3.0.1 -Description: Improved deep equality testing for Node.js and the browser. -License: MIT -Copyright (c) 2013 Jake Luer (http://alogicalparadox.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: deep-extend -Version: 0.6.0 -Description: Recursive object extending -License: MIT -The MIT License (MIT) - -Copyright (c) 2013-2018, Viacheslav Lotsmanov - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: deep-is -Version: 0.1.3 -Description: node's assert.deepEqual algorithm except for NaN being equal to NaN -License: {"type":"MIT","url":"https://github.com/thlorenz/deep-is/blob/master/LICENSE"} -Copyright (c) 2012, 2013 Thorsten Lorenz -Copyright (c) 2012 James Halliday -Copyright (c) 2009 Thomas Robinson <280north.com> - -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: define-property -Version: 0.2.5 -Description: Define a non-enumerable property on an object. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: delayed-stream -Version: 1.0.0 -Description: Buffers events from a stream until you are ready to handle them. -License: MIT -Copyright (c) 2011 Debuggable Limited - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: depd -Version: 1.1.2 -Description: Deprecate all the things -License: MIT -(The MIT License) - -Copyright (c) 2014-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: des.js -Version: 1.0.1 -Description: DES implementation -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: destroy -Version: 1.0.4 -Description: destroy a stream if possible -License: MIT - -The MIT License (MIT) - -Copyright (c) 2014 Jonathan Ong me@jongleberry.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: detect-file -Version: 1.0.0 -Description: Detects if a file exists and returns the resolved filepath. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016-2017, Brian Woodward. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: detect-indent -Version: 4.0.0 -Description: Detect the indentation of code -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: diff -Version: 3.5.0 -Description: A javascript text diff implementation. -License: BSD -Software License Agreement (BSD License) - -Copyright (c) 2009-2015, Kevin Decker - -All rights reserved. - -Redistribution and use of this software in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above - copyright notice, this list of conditions and the - following disclaimer. - -* Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the - following disclaimer in the documentation and/or other - materials provided with the distribution. - -* Neither the name of Kevin Decker nor the names of its - contributors may be used to endorse or promote products - derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR -IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR -CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER -IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT -OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ----------------- -Package: diffie-hellman -Version: 5.0.3 -Description: pure js diffie-hellman -License: MIT -Copyright (c) 2017 Calvin Metcalf - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: dir-glob -Version: 2.2.2 -Description: Convert directories to glob compatible strings -License: MIT -MIT License - -Copyright (c) Kevin Mårtensson (github.com/kevva) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: domain-browser -Version: 1.2.0 -Description: Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more. -License: MIT - - -

License

- -Unless stated otherwise all works are: - - - -and licensed under: - - - -

MIT License

- -
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
- - - ----------------- -Package: duplexer -Version: 0.1.1 -Description: Creates a duplex stream -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: duplexify -Version: 3.7.1 -Description: Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: ecc-jsbn -Version: 0.1.2 -Description: ECC JS code based on JSBN -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Jeremie Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------- -Package: ee-first -Version: 1.1.1 -Description: return the first event in a set of ee/event pairs -License: MIT - -The MIT License (MIT) - -Copyright (c) 2014 Jonathan Ong me@jongleberry.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: ejs -Version: 2.7.4 -Description: Embedded JavaScript templates -License: Apache-2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ----------------- -Package: electron -Version: 4.2.12 -Description: Build cross platform desktop apps with JavaScript, HTML, and CSS -License: MIT -Copyright (c) 2013-2018 GitHub Inc. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: electron-download -Version: 4.1.1 -Description: download electron prebuilt binary zips from github releases -License: BSD-3-Clause -BSD 3-Clause License - -Copyright (c) 2018, Electron Userland -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: electron-mocha -Version: 6.0.4 -Description: Mocha tests in Electron. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 JP Richardson - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: electron-window -Version: 0.8.1 -Description: Convenience methods for Electron windows. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: elliptic -Version: 6.5.3 -Description: EC cryptography -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: emoji-regex -Version: 7.0.3 -Description: A regular expression to match all Emoji-only symbols as per the Unicode Standard. -License: MIT -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: emojis-list -Version: 3.0.0 -Description: Complete list of standard emojis. -License: MIT -The MIT License (MIT) - -Copyright © 2015 Kiko Beats - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: encodeurl -Version: 1.0.2 -Description: Encode a URL to a percent-encoded form, excluding already-encoded sequences -License: MIT -(The MIT License) - -Copyright (c) 2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: end-of-stream -Version: 1.4.4 -Description: Call a callback when a readable/writable/duplex stream has completed or failed. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: enhanced-resolve -Version: 4.2.0 -Description: Offers a async require.resolve function. It's highly configurable. -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: env-paths -Version: 1.0.0 -Description: Get paths for storing things like data, config, cache, etc -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: errno -Version: 0.1.7 -Description: libuv errno details exposed -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: error-ex -Version: 1.3.2 -Description: Easy error subclassing and stack customization -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 JD Ballard - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: escape-html -Version: 1.0.3 -Description: Escape string for use in HTML -License: MIT -(The MIT License) - -Copyright (c) 2012-2013 TJ Holowaychuk -Copyright (c) 2015 Andreas Lubbe -Copyright (c) 2015 Tiancheng "Timothy" Gu - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: escape-string-regexp -Version: 1.0.5 -Description: Escape RegExp special characters -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: escodegen -Version: 1.8.1 -Description: ECMAScript code generator -License: BSD-2-Clause -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: eslint-scope -Version: 4.0.3 -Description: ECMAScript scope analyzer for ESLint -License: BSD-2-Clause -Copyright JS Foundation and other contributors, https://js.foundation -Copyright (C) 2012-2013 Yusuke Suzuki (twitter: @Constellation) and other contributors. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: esprima -Version: 2.7.3 -Description: ECMAScript parsing infrastructure for multipurpose analysis -License: BSD-2-Clause -Copyright (c) jQuery Foundation, Inc. and Contributors, All Rights Reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: esrecurse -Version: 4.2.1 -Description: ECMAScript AST recursive visitor -License: BSD-2-Clause -Copyright - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ----------------- -Package: estraverse -Version: 4.3.0 -Description: ECMAScript JS AST traversal functions -License: BSD-2-Clause -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: esutils -Version: 2.0.3 -Description: utility box for ECMAScript language tools -License: BSD-2-Clause -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: etag -Version: 1.8.1 -Description: Create simple HTTP ETags -License: MIT -(The MIT License) - -Copyright (c) 2014-2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: eventemitter3 -Version: 3.1.2 -Description: EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Arnout Kazemier - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: events -Version: 3.1.0 -Description: Node's event emitter for all engines. -License: MIT -MIT - -Copyright Joyent, Inc. and other Node contributors. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to permit -persons to whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN -NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, -DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR -OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: evp_bytestokey -Version: 1.0.3 -Description: The insecure key derivation algorithm from OpenSSL -License: MIT -The MIT License (MIT) - -Copyright (c) 2017 crypto-browserify contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: expand-brackets -Version: 2.1.4 -Description: Expand POSIX bracket expressions (character classes) in glob patterns. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2016, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: expand-tilde -Version: 2.0.2 -Description: Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: express -Version: 4.17.1 -Description: Fast, unopinionated, minimalist web framework -License: MIT -(The MIT License) - -Copyright (c) 2009-2014 TJ Holowaychuk -Copyright (c) 2013-2014 Roman Shtylman -Copyright (c) 2014-2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: extend -Version: 3.0.2 -Description: Port of jQuery.extend for node.js and the browser -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Stefan Thomas - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: extend-shallow -Version: 2.0.1 -Description: Extend an object with the properties of additional objects. node.js/javascript util. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2015, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: extglob -Version: 2.0.4 -Description: Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: extract-zip -Version: 1.7.0 -Description: unzip a zip file into a directory using 100% javascript -License: BSD-2-Clause -Copyright (c) 2014 Max Ogden and other contributors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: extsprintf -Version: 1.3.0 -Description: extended POSIX-style sprintf -License: MIT -Copyright (c) 2012, Joyent, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE - ----------------- -Package: fast-deep-equal -Version: 3.1.3 -Description: Fast deep equal -License: MIT -MIT License - -Copyright (c) 2017 Evgeny Poberezkin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: fast-json-stable-stringify -Version: 2.1.0 -Description: deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify -License: MIT -This software is released under the MIT license: - -Copyright (c) 2017 Evgeny Poberezkin -Copyright (c) 2013 James Halliday - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: fast-levenshtein -Version: 2.0.6 -Description: Efficient implementation of Levenshtein algorithm with locale-specific collator support. -License: MIT -(MIT License) - -Copyright (c) 2013 [Ramesh Nair](http://www.hiddentao.com/) - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: fd-slicer -Version: 1.1.0 -Description: safely create multiple ReadStream or WriteStream objects from the same file descriptor -License: MIT -Copyright (c) 2014 Andrew Kelley - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation files -(the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of the Software, -and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: figgy-pudding -Version: 3.5.2 -Description: Delicious, festive, cascading config/opts definitions -License: ISC -ISC License - -Copyright (c) npm, Inc. - -Permission to use, copy, modify, and/or distribute this software for -any purpose with or without fee is hereby granted, provided that the -above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE COPYRIGHT HOLDER DISCLAIMS -ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR -CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE -USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: file-uri-to-path -Version: 1.0.0 -Description: Convert a file: URI to a file path -License: MIT -Copyright (c) 2014 Nathan Rajlich - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: filesize -Version: 3.6.1 -Description: JavaScript library to generate a human readable String describing the file size -License: BSD-3-Clause -Copyright (c) 2018, Jason Mulligan -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of filesize nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ----------------- -Package: fill-range -Version: 4.0.0 -Description: Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex` -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: finalhandler -Version: 1.1.2 -Description: Node.js final http responder -License: MIT -(The MIT License) - -Copyright (c) 2014-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: find-cache-dir -Version: 2.1.0 -Description: Finds the common standard cache directory -License: MIT -MIT License - -Copyright (c) James Talmage (github.com/jamestalmage) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: find-up -Version: 3.0.0 -Description: Find a file or directory by walking up parent directories -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: findup-sync -Version: 3.0.0 -Description: Find the first file matching a given pattern in the current directory or the nearest ancestor directory. -License: MIT -The MIT License (MIT) - -Copyright (c) 2013-2018 Ben Alman , Blaine Bublitz , and Eric Schoffstall - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: flush-write-stream -Version: 1.1.1 -Description: A write stream constructor that supports a flush function that is called before finish is emitted -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: for-in -Version: 1.0.2 -Description: Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: forever-agent -Version: 0.6.1 -Description: HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module. -License: Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and - -You must cause any modified files to carry prominent notices stating that You changed the files; and - -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS ----------------- -Package: form-data -Version: 2.3.3 -Description: A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications. -License: MIT -Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - ----------------- -Package: forwarded -Version: 0.1.2 -Description: Parse HTTP X-Forwarded-For header -License: MIT -(The MIT License) - -Copyright (c) 2014-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: fragment-cache -Version: 0.2.1 -Description: A cache for managing namespaced sub-caches -License: MIT -The MIT License (MIT) - -Copyright (c) 2016-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: fresh -Version: 0.5.2 -Description: HTTP response freshness testing -License: MIT -(The MIT License) - -Copyright (c) 2012 TJ Holowaychuk -Copyright (c) 2016-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: from2 -Version: 2.3.0 -Description: Convenience wrapper for ReadableStream, with an API lifted from "from" and "through2" -License: MIT -## The MIT License (MIT) ## - -Copyright (c) 2014 Hugh Kennedy - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: fs-extra -Version: 6.0.1 -Description: fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf. -License: MIT -(The MIT License) - -Copyright (c) 2011-2017 JP Richardson - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files -(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, - merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS -OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: fs-write-stream-atomic -Version: 1.0.10 -Description: Like `fs.createWriteStream(...)`, but atomic. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: fs.realpath -Version: 1.0.0 -Description: Use node's fs.realpath, but fall back to the JS implementation if the native one fails -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----- - -This library bundles a version of the `fs.realpath` and `fs.realpathSync` -methods from Node.js v0.10 under the terms of the Node.js MIT license. - -Node's license follows, also included at the header of `old.js` which contains -the licensed code: - - Copyright Joyent, Inc. and other Node contributors. - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. - ----------------- -Package: fsevents -Version: 2.1.3 -Description: Native Access to MacOS FSEvents -License: MIT -MIT License ------------ - -Copyright (C) 2010-2020 by Philipp Dunkel, Ben Noordhuis, Elan Shankar, Paul Miller - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: get-caller-file -Version: 2.0.5 -Description: -License: ISC -ISC License (ISC) -Copyright 2018 Stefan Penner - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: get-func-name -Version: 2.0.0 -Description: Utility for getting a function's name for node and the browser -License: MIT -Copyright (c) 2013 Jake Luer (http://alogicalparadox.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: get-stdin -Version: 4.0.1 -Description: Easier stdin -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: get-value -Version: 2.0.6 -Description: Use property paths (`a.b.c`) to get a nested value from an object. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: getpass -Version: 0.1.7 -Description: getpass for node.js -License: MIT -Copyright Joyent, Inc. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: glob -Version: 7.1.6 -Description: a little globber -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - -## Glob Logo - -Glob's logo created by Tanya Brassie , licensed -under a Creative Commons Attribution-ShareAlike 4.0 International License -https://creativecommons.org/licenses/by-sa/4.0/ - ----------------- -Package: glob-parent -Version: 3.1.0 -Description: Strips glob magic from a string to provide the parent directory path -License: ISC -The ISC License - -Copyright (c) 2015 Elan Shanker - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: global-modules -Version: 2.0.0 -Description: The directory used by npm for globally installed npm modules. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-present, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: global-prefix -Version: 3.0.0 -Description: Get the npm global path prefix. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-present, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: globals -Version: 9.18.0 -Description: Global identifiers from different JavaScript environments -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: globby -Version: 7.1.1 -Description: Extends `glob` with support for multiple patterns and exposes a Promise API -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: graceful-fs -Version: 4.2.4 -Description: A drop-in replacement for fs, making various improvements. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter, Ben Noordhuis, and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: growl -Version: 1.10.5 -Description: Growl unobtrusive notifications -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: gzip-size -Version: 5.1.1 -Description: Get the gzipped size of a string or buffer -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: handlebars -Version: 4.7.6 -Description: Handlebars provides the power necessary to let you build semantic templates effectively with no frustration -License: MIT -Copyright (C) 2011-2019 by Yehuda Katz - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: har-schema -Version: 2.0.0 -Description: JSON Schema for HTTP Archive (HAR) -License: ISC -Copyright (c) 2015, Ahmad Nassri - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: har-validator -Version: 5.1.3 -Description: Extremely fast HTTP Archive (HAR) validator using JSON Schema -License: MIT -MIT License - -Copyright (c) 2018 Ahmad Nassri - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: has-ansi -Version: 2.0.0 -Description: Check if a string has ANSI escape codes -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: has-flag -Version: 3.0.0 -Description: Check if argv has a specific flag -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: has-value -Version: 1.0.0 -Description: Returns true if a value exists, false if empty. Works with deeply nested values using object paths. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: has-values -Version: 1.0.0 -Description: Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: hash-base -Version: 3.1.0 -Description: abstract base class for hash-streams -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Kirill Fomichev - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: hash.js -Version: 1.1.7 -Description: Various hash functions that could be run by both browser and node -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: he -Version: 1.1.1 -Description: A robust HTML entities encoder/decoder with full Unicode support. -License: MIT -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: highlight.js -Version: 9.18.1 -Description: Syntax highlighting with language autodetection. -License: BSD-3-Clause -BSD 3-Clause License - -Copyright (c) 2006, Ivan Sagalaev. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: hls.js -Version: 0.13.2 -Description: JavaScript HLS client using MediaSourceExtension -License: Apache-2.0 -Copyright (c) 2017 Dailymotion (http://www.dailymotion.com) - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -src/remux/mp4-generator.js and src/demux/exp-golomb.js implementation in this project -are derived from the HLS library for video.js (https://github.com/videojs/videojs-contrib-hls) - -That work is also covered by the Apache 2 License, following copyright: -Copyright (c) 2013-2015 Brightcove - - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: hmac-drbg -Version: 1.0.1 -Description: Deterministic random bit generator (hmac) -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: homedir-polyfill -Version: 1.0.3 -Description: Node.js os.homedir polyfill for older versions of node.js. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Brian Woodward - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: hoopy -Version: 0.1.4 -Description: Like an array, but rounder. -License: MIT -Copyright © 2017 Phil Booth - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - ----------------- -Package: hosted-git-info -Version: 2.8.8 -Description: Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab -License: ISC -Copyright (c) 2015, Rebecca Turner - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: http-errors -Version: 1.7.2 -Description: Create HTTP error objects -License: MIT - -The MIT License (MIT) - -Copyright (c) 2014 Jonathan Ong me@jongleberry.com -Copyright (c) 2016 Douglas Christopher Wilson doug@somethingdoug.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: http-signature -Version: 1.2.0 -Description: Reference implementation of Joyent's HTTP Signature scheme. -License: MIT -Copyright Joyent, Inc. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: https-browserify -Version: 1.0.0 -Description: https module compatability for browserify -License: MIT -This software is released under the MIT license: - -Copyright (c) James Halliday - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: iconv-lite -Version: 0.4.24 -Description: Convert character encodings in pure javascript. -License: MIT -Copyright (c) 2011 Alexander Shtuchkin - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: icss-utils -Version: 4.1.1 -Description: ICSS utils for postcss ast -License: ISC -ISC License (ISC) -Copyright 2018 Glen Maddern - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: ieee754 -Version: 1.1.13 -Description: Read/write IEEE754 floating point numbers from/to a Buffer or array-like object -License: BSD-3-Clause -Copyright 2008 Fair Oaks Labs, Inc. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: iferr -Version: 0.1.5 -Description: Higher-order functions for easier error handling -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Nadav Ivgi - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------- -Package: ignore -Version: 3.3.10 -Description: Ignore is a manager and filter for .gitignore rules. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: image-scale -Version: 2.1.0 -Description: Scale images to fit or fill any target container via two simple properties: scale and align. -License: MIT -The MIT License (MIT) - -Copyright (c) 2013 GestiXi - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: import-local -Version: 2.0.0 -Description: Let a globally installed package use a locally installed version of itself if available -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: imurmurhash -Version: 0.1.4 -Description: An incremental implementation of MurmurHash3 -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: indent-string -Version: 2.1.0 -Description: Indent each line in a string -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: indexes-of -Version: 1.0.1 -Description: line String/Array#indexOf but return all the indexes in an array -License: MIT -Copyright (c) 2013 Dominic Tarr - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: infer-owner -Version: 1.0.4 -Description: Infer the owner of a path based on the owner of its nearest existing parent -License: ISC -The ISC License - -Copyright (c) npm, Inc. and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: inflight -Version: 1.0.6 -Description: Add callbacks to requests in flight to avoid async duplication -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: inherits -Version: 2.0.4 -Description: Browser-friendly inheritance fully compatible with standard node.js inherits() -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - - ----------------- -Package: ini -Version: 1.3.5 -Description: An ini encoder/decoder for node -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: interpret -Version: 1.4.0 -Description: A dictionary of file extensions and associated module loaders. -License: MIT -Copyright (c) 2014-2018 Tyler Kellen , Blaine Bublitz , and Eric Schoffstall - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: invariant -Version: 2.2.4 -Description: invariant -License: MIT -MIT License - -Copyright (c) 2013-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: ipaddr.js -Version: 1.9.1 -Description: A library for manipulating IPv4 and IPv6 addresses in JavaScript. -License: MIT -Copyright (C) 2011-2017 whitequark - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-accessor-descriptor -Version: 1.0.0 -Description: Returns true if a value has the characteristics of a valid JavaScript accessor descriptor. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-arrayish -Version: 0.2.1 -Description: Determines if an object can be used as an array -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 JD Ballard - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-binary-path -Version: 2.1.0 -Description: Check if a file path is a binary file -License: MIT -MIT License - -Copyright (c) 2019 Sindre Sorhus (https://sindresorhus.com), Paul Miller (https://paulmillr.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: is-buffer -Version: 1.1.6 -Description: Determine if an object is a Buffer -License: MIT -The MIT License (MIT) - -Copyright (c) Feross Aboukhadijeh - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-data-descriptor -Version: 1.0.0 -Description: Returns true if a value has the characteristics of a valid JavaScript data descriptor. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-descriptor -Version: 1.0.2 -Description: Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: is-electron-renderer -Version: 2.0.1 -Description: Check if code is running in Electron renderer process. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: is-extendable -Version: 0.1.1 -Description: Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. "can the value have keys?" -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-extglob -Version: 2.1.1 -Description: Returns true if a string has an extglob. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2016, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-finite -Version: 1.1.0 -Description: ES2015 Number.isFinite() ponyfill -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: is-fullwidth-code-point -Version: 2.0.0 -Description: Check if the character represented by a given Unicode code point is fullwidth -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-glob -Version: 4.0.1 -Description: Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a better user experience. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-number -Version: 3.0.0 -Description: Returns true if the value is a number. comprehensive tests. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2016, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-plain-object -Version: 2.0.4 -Description: Returns true if an object was created by the `Object` constructor. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-typedarray -Version: 1.0.0 -Description: Detect whether or not an object is a Typed Array -License: MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: is-utf8 -Version: 0.2.1 -Description: Detect if a buffer is utf8 encoded. -License: MIT -The MIT License (MIT) - -Copyright (C) 2014 Wei Fanzhe - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: -   -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: is-windows -Version: 1.0.2 -Description: Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: is-wsl -Version: 1.1.0 -Description: Check if the process is running inside Windows Subsystem for Linux (Bash on Windows) -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: isarray -Version: 1.0.0 -Description: Array#isArray for older browsers -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: isexe -Version: 2.0.0 -Description: Minimal module to check if a file is executable. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: isobject -Version: 3.0.1 -Description: Returns true if the value is an object and not an array or null. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: isstream -Version: 0.1.2 -Description: Determine if an object is a Stream -License: MIT -The MIT License (MIT) -===================== - -Copyright (c) 2015 Rod Vagg ---------------------------- - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: istanbul -Version: 0.4.5 -Description: Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale -License: BSD-3-Clause -Copyright 2012 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: istanbul-instrumenter-loader -Version: 3.0.1 -Description: Istanbul instrumenter loader for webpack -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: istanbul-lib-coverage -Version: 1.2.1 -Description: Data library for istanbul coverage objects -License: BSD-3-Clause -Copyright 2012-2015 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: istanbul-lib-instrument -Version: 1.10.2 -Description: Core istanbul API for JS code coverage -License: BSD-3-Clause -Copyright 2012-2015 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: istanbul-threshold-checker -Version: 0.2.1 -Description: Utility module to check istanbul thresholds -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 Peter West - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - ----------------- -Package: jquery -Version: 3.5.1 -Description: JavaScript library for DOM operations -License: MIT -Copyright JS Foundation and other contributors, https://js.foundation/ - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: jquery-touchswipe -Version: 1.6.19 -Description: A jquery plugin to be used on touch devices such as iPad, iPhone, Android etc, to react to swipe gestures. -License: [{"type":"MIT","url":"https://raw.githubusercontent.com/mattbryson/TouchSwipe-Jquery-Plugin/master/LICENCE"},{"type":"GPL V2","url":"https://raw.githubusercontent.com/mattbryson/TouchSwipe-Jquery-Plugin/master/LICENCE"}] -Copyright (c) 2010-2015 Matt Bryson - -Dual licensed under the MIT or GPL Version 2 licenses. - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: js-tokens -Version: 4.0.0 -Description: A regex that tokenizes JavaScript. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014, 2015, 2016, 2017, 2018 Simon Lydell - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: js-yaml -Version: 3.14.0 -Description: YAML 1.2 parser and serializer -License: MIT -(The MIT License) - -Copyright (C) 2011-2015 by Vitaly Puzrin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: jsbn -Version: 0.1.1 -Description: The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers. -License: MIT -Licensing ---------- - -This software is covered under the following copyright: - -/* - * Copyright (c) 2003-2005 Tom Wu - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, - * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY - * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - * - * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, - * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER - * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF - * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT - * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - * In addition, the following condition applies: - * - * All redistributions must retain an intact copy of this copyright notice - * and disclaimer. - */ - -Address all questions regarding this license to: - - Tom Wu - tjw@cs.Stanford.EDU ----------------- -Package: jsesc -Version: 1.3.0 -Description: A JavaScript library for escaping JavaScript strings while generating the shortest possible valid output. -License: MIT -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: json-parse-better-errors -Version: 1.0.2 -Description: JSON.parse with context information on error -License: MIT -Copyright 2017 Kat Marchán - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: json-schema -Version: 0.2.3 -Description: JSON Schema validation and specifications -License: BSD, AFL -Copied from: https://raw.githubusercontent.com/kriszyp/json-schema/master/LICENSE - -Dojo is available under *either* the terms of the modified BSD license *or* the -Academic Free License version 2.1. As a recipient of Dojo, you may choose which -license to receive this code under (except as noted in per-module LICENSE -files). Some modules may not be the copyright of the Dojo Foundation. These -modules contain explicit declarations of copyright in both the LICENSE files in -the directories in which they reside and in the code itself. No external -contributions are allowed under licenses which are fundamentally incompatible -with the AFL or BSD licenses that Dojo is distributed under. - -The text of the AFL and BSD licenses is reproduced below. - -------------------------------------------------------------------------------- -The "New" BSD License: -********************** - -Copyright (c) 2005-2015, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -------------------------------------------------------------------------------- -The Academic Free License, v. 2.1: -********************************** - -This Academic Free License (the "License") applies to any original work of -authorship (the "Original Work") whose owner (the "Licensor") has placed the -following notice immediately following the copyright notice for the Original -Work: - -Licensed under the Academic Free License version 2.1 - -1) Grant of Copyright License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license to do the -following: - -a) to reproduce the Original Work in copies; - -b) to prepare derivative works ("Derivative Works") based upon the Original -Work; - -c) to distribute copies of the Original Work and Derivative Works to the -public; - -d) to perform the Original Work publicly; and - -e) to display the Original Work publicly. - -2) Grant of Patent License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license, under patent -claims owned or controlled by the Licensor that are embodied in the Original -Work as furnished by the Licensor, to make, use, sell and offer for sale the -Original Work and Derivative Works. - -3) Grant of Source Code License. The term "Source Code" means the preferred -form of the Original Work for making modifications to it and all available -documentation describing how to modify the Original Work. Licensor hereby -agrees to provide a machine-readable copy of the Source Code of the Original -Work along with each copy of the Original Work that Licensor distributes. -Licensor reserves the right to satisfy this obligation by placing a -machine-readable copy of the Source Code in an information repository -reasonably calculated to permit inexpensive and convenient access by You for as -long as Licensor continues to distribute the Original Work, and by publishing -the address of that information repository in a notice immediately following -the copyright notice that applies to the Original Work. - -4) Exclusions From License Grant. Neither the names of Licensor, nor the names -of any contributors to the Original Work, nor any of their trademarks or -service marks, may be used to endorse or promote products derived from this -Original Work without express prior written permission of the Licensor. Nothing -in this License shall be deemed to grant any rights to trademarks, copyrights, -patents, trade secrets or any other intellectual property of Licensor except as -expressly stated herein. No patent license is granted to make, use, sell or -offer to sell embodiments of any patent claims other than the licensed claims -defined in Section 2. No right is granted to the trademarks of Licensor even if -such marks are included in the Original Work. Nothing in this License shall be -interpreted to prohibit Licensor from licensing under different terms from this -License any Original Work that Licensor otherwise would have a right to -license. - -5) This section intentionally omitted. - -6) Attribution Rights. You must retain, in the Source Code of any Derivative -Works that You create, all copyright, patent or trademark notices from the -Source Code of the Original Work, as well as any notices of licensing and any -descriptive text identified therein as an "Attribution Notice." You must cause -the Source Code for any Derivative Works that You create to carry a prominent -Attribution Notice reasonably calculated to inform recipients that You have -modified the Original Work. - -7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that -the copyright in and to the Original Work and the patent rights granted herein -by Licensor are owned by the Licensor or are sublicensed to You under the terms -of this License with the permission of the contributor(s) of those copyrights -and patent rights. Except as expressly stated in the immediately proceeding -sentence, the Original Work is provided under this License on an "AS IS" BASIS -and WITHOUT WARRANTY, either express or implied, including, without limitation, -the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. -This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No -license to Original Work is granted hereunder except under this disclaimer. - -8) Limitation of Liability. Under no circumstances and under no legal theory, -whether in tort (including negligence), contract, or otherwise, shall the -Licensor be liable to any person for any direct, indirect, special, incidental, -or consequential damages of any character arising as a result of this License -or the use of the Original Work including, without limitation, damages for loss -of goodwill, work stoppage, computer failure or malfunction, or any and all -other commercial damages or losses. This limitation of liability shall not -apply to liability for death or personal injury resulting from Licensor's -negligence to the extent applicable law prohibits such limitation. Some -jurisdictions do not allow the exclusion or limitation of incidental or -consequential damages, so this exclusion and limitation may not apply to You. - -9) Acceptance and Termination. If You distribute copies of the Original Work or -a Derivative Work, You must make a reasonable effort under the circumstances to -obtain the express assent of recipients to the terms of this License. Nothing -else but this License (or another written agreement between Licensor and You) -grants You permission to create Derivative Works based upon the Original Work -or to exercise any of the rights granted in Section 1 herein, and any attempt -to do so except under the terms of this License (or another written agreement -between Licensor and You) is expressly prohibited by U.S. copyright law, the -equivalent laws of other countries, and by international treaty. Therefore, by -exercising any of the rights granted to You in Section 1 herein, You indicate -Your acceptance of this License and all of its terms and conditions. - -10) Termination for Patent Action. This License shall terminate automatically -and You may no longer exercise any of the rights granted to You by this License -as of the date You commence an action, including a cross-claim or counterclaim, -against Licensor or any licensee alleging that the Original Work infringes a -patent. This termination provision shall not apply for an action alleging -patent infringement by combinations of the Original Work with other software or -hardware. - -11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this -License may be brought only in the courts of a jurisdiction wherein the -Licensor resides or in which Licensor conducts its primary business, and under -the laws of that jurisdiction excluding its conflict-of-law provisions. The -application of the United Nations Convention on Contracts for the International -Sale of Goods is expressly excluded. Any use of the Original Work outside the -scope of this License or after its termination shall be subject to the -requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et -seq., the equivalent laws of other countries, and international treaty. This -section shall survive the termination of this License. - -12) Attorneys Fees. In any action to enforce the terms of this License or -seeking damages relating thereto, the prevailing party shall be entitled to -recover its costs and expenses, including, without limitation, reasonable -attorneys' fees and costs incurred in connection with such action, including -any appeal of such action. This section shall survive the termination of this -License. - -13) Miscellaneous. This License represents the complete agreement concerning -the subject matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent necessary to -make it enforceable. - -14) Definition of "You" in This License. "You" throughout this License, whether -in upper or lower case, means an individual or a legal entity exercising rights -under, and complying with all of the terms of, this License. For legal -entities, "You" includes any entity that controls, is controlled by, or is -under common control with you. For purposes of this definition, "control" means -(i) the power, direct or indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (ii) ownership of fifty percent -(50%) or more of the outstanding shares, or (iii) beneficial ownership of such -entity. - -15) Right to Use. You may use the Original Work in all ways not otherwise -restricted or conditioned by this License or by law, and Licensor promises not -to interfere with or be responsible for such uses by You. - -This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. -Permission is hereby granted to copy and distribute this license without -modification. This license may not be modified without the express written -permission of its copyright owner. - ----------------- -Package: json-schema-traverse -Version: 0.4.1 -Description: Traverse JSON Schema passing each schema object to callback -License: MIT -MIT License - -Copyright (c) 2017 Evgeny Poberezkin - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: json-stringify-safe -Version: 5.0.1 -Description: Like JSON.stringify, but doesn't blow up on circular refs. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: json5 -Version: 1.0.1 -Description: JSON for humans. -License: MIT -MIT License - -Copyright (c) 2012-2018 Aseem Kishore, and [others]. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -[others]: https://github.com/json5/json5/contributors - ----------------- -Package: jsonfile -Version: 4.0.0 -Description: Easily read/write JSON files. -License: MIT -(The MIT License) - -Copyright (c) 2012-2015, JP Richardson - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files -(the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, - merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS -OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, - ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: jsprim -Version: 1.4.1 -Description: utilities for primitive JavaScript types -License: MIT -Copyright (c) 2012, Joyent, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE - ----------------- -Package: just-extend -Version: 4.1.0 -Description: extend an object -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 angus croll - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: kind-of -Version: 3.2.2 -Description: Get the native type of a value. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: levn -Version: 0.3.0 -Description: Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible -License: MIT -Copyright (c) George Zahariev - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: load-json-file -Version: 1.1.0 -Description: Read and parse a JSON file -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: loader-runner -Version: 2.4.0 -Description: Runs (webpack) loaders -License: MIT -The MIT License - -Copyright (c) Tobias Koppers @sokra - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: loader-utils -Version: 1.4.0 -Description: utils for webpack loaders -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: locate-path -Version: 3.0.0 -Description: Get the first path that exists on disk of multiple paths -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: lodash -Version: 4.17.15 -Description: Lodash modular utilities. -License: MIT -Copyright OpenJS Foundation and other contributors - -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. - ----------------- -Package: lodash.throttle -Version: 4.1.1 -Description: The lodash method `_.throttle` exported as a module. -License: MIT -Copyright jQuery Foundation and other contributors - -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. - ----------------- -Package: loglevel -Version: 1.6.8 -Description: Minimal lightweight logging for JavaScript, adding reliable log level methods to any available console.log methods -License: MIT -Copyright (c) 2013 Tim Perry - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: lolex -Version: 4.2.0 -Description: Fake JavaScript timers -License: BSD-3-Clause -Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ----------------- -Package: loose-envify -Version: 1.4.0 -Description: Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 Andres Suarez - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: loud-rejection -Version: 1.6.0 -Description: Make unhandled promise rejections fail loudly instead of the default silent fail -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: lru-cache -Version: 5.1.1 -Description: A cache object that deletes the least-recently-used items. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: lunr -Version: 2.3.8 -Description: Simple full-text search in your browser. -License: MIT -Copyright (C) 2013 by Oliver Nightingale - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: make-dir -Version: 2.1.0 -Description: Make a directory and its parents if needed - Think `mkdir -p` -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: make-error -Version: 1.3.6 -Description: Make your own error types! -License: ISC -Copyright 2014 Julien Fontanet - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: map-cache -Version: 0.2.2 -Description: Basic cache object for storing key-value pairs. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: map-obj -Version: 1.0.1 -Description: Map object keys and values into a new object -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: map-visit -Version: 1.0.0 -Description: Map `visit` over an array of objects. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: marked -Version: 0.8.2 -Description: A markdown parser built for speed -License: MIT -# License information - -## Contribution License Agreement - -If you contribute code to this project, you are implicitly allowing your code -to be distributed under the MIT license. You are also implicitly verifying that -all code is your original work. `` - -## Marked - -Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -## Markdown - -Copyright © 2004, John Gruber -http://daringfireball.net/ -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. - ----------------- -Package: md5.js -Version: 1.3.5 -Description: node style md5 on pure JavaScript -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Kirill Fomichev - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: media-typer -Version: 0.3.0 -Description: Simple RFC 6838 media type parser and formatter -License: MIT -(The MIT License) - -Copyright (c) 2014 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: memory-fs -Version: 0.4.1 -Description: A simple in-memory filesystem. Holds data in a javascript object. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: meow -Version: 3.7.0 -Description: CLI app helper -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: merge-descriptors -Version: 1.0.1 -Description: Merge objects using descriptors -License: MIT -(The MIT License) - -Copyright (c) 2013 Jonathan Ong -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: methods -Version: 1.1.2 -Description: HTTP methods that node supports -License: MIT -(The MIT License) - -Copyright (c) 2013-2014 TJ Holowaychuk -Copyright (c) 2015-2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - ----------------- -Package: micromatch -Version: 3.1.10 -Description: Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: miller-rabin -Version: 4.0.1 -Description: Miller Rabin algorithm for primality test -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: mime -Version: 1.6.0 -Description: A comprehensive library for mime-type mapping -License: MIT -The MIT License (MIT) - -Copyright (c) 2010 Benjamin Thomas, Robert Kieffer - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: mime-db -Version: 1.44.0 -Description: Media Type Database -License: MIT - -The MIT License (MIT) - -Copyright (c) 2014 Jonathan Ong me@jongleberry.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: mime-types -Version: 2.1.27 -Description: The ultimate javascript content-type utility. -License: MIT -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: minimalistic-assert -Version: 1.0.1 -Description: minimalistic-assert === -License: ISC -Copyright 2015 Calvin Metcalf - -Permission to use, copy, modify, and/or distribute this software for any purpose -with or without fee is hereby granted, provided that the above copyright notice -and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. ----------------- -Package: minimalistic-crypto-utils -Version: 1.0.1 -Description: Minimalistic tools for JS crypto modules -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: minimatch -Version: 3.0.4 -Description: a glob matcher in javascript -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: minimist -Version: 1.2.5 -Description: parse argument options -License: MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: mississippi -Version: 3.0.0 -Description: a collection of useful streams -License: BSD-2-Clause -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: mixin-deep -Version: 1.3.2 -Description: Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2015, 2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: mkdirp -Version: 0.5.5 -Description: Recursively mkdir, like `mkdir -p` -License: MIT -Copyright 2010 James Halliday (mail@substack.net) - -This project is free software released under the MIT/X11 license: - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: mocha -Version: 5.2.0 -Description: simple, flexible, fun test framework -License: MIT -(The MIT License) - -Copyright (c) 2011-2018 JS Foundation and contributors, https://js.foundation - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: move-concurrently -Version: 1.0.1 -Description: Promises of moves of files or directories with rename, falling back to recursive rename/copy on EXDEV errors, with configurable concurrency and win32 junction support. -License: ISC -Copyright (c) 2017, Rebecca Turner - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - ----------------- -Package: mp3-parser -Version: 0.3.0 -Description: Read MPEG audio frames & tags -License: MIT -Copyright (c) 2013-2016 Alex Lambiris - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and -to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of -the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO -THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: ms -Version: 2.0.0 -Description: Tiny milisecond conversion utility -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Zeit, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: nan -Version: 2.14.1 -Description: Native Abstractions for Node.js: C++ header for Node 0.8 -> 14 compatibility -License: MIT -The MIT License (MIT) -===================== - -Copyright (c) 2018 NAN contributors ------------------------------------ - -*NAN contributors listed at * - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: nanomatch -Version: 1.2.13 -Description: Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces) -License: MIT -The MIT License (MIT) - -Copyright (c) 2016-2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: negotiator -Version: 0.6.2 -Description: HTTP content negotiation -License: MIT -(The MIT License) - -Copyright (c) 2012-2014 Federico Romero -Copyright (c) 2012-2014 Isaac Z. Schlueter -Copyright (c) 2014-2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: neo-async -Version: 2.6.1 -Description: Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster -License: MIT -MIT License - -Copyright (c) 2014-2018 Suguru Motegi -Based on Async.js, Copyright Caolan McMahon - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: nice-try -Version: 1.0.5 -Description: Tries to execute a function and discards any error that occurs -License: MIT -The MIT License (MIT) - -Copyright (c) 2018 Tobias Reich - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: nise -Version: 1.5.3 -Description: Fake XHR and server -License: BSD-3-Clause -(The BSD License) - -Copyright (c) 2010-2017, Christian Johansen, christian@cjohansen.no -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of Christian Johansen nor the names of his contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: node-libs-browser -Version: 2.2.1 -Description: The node core libs for in browser usage. -License: MIT -(The MIT License) - -Copyright (c) 2012 Tobias Koppers - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: nopt -Version: 3.0.6 -Description: Option parsing for Node, supporting types, shorthands, etc. Used by npm. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: normalize-package-data -Version: 2.5.0 -Description: Normalizes data that can be found in package.json files. -License: BSD-2-Clause -This package contains code originally written by Isaac Z. Schlueter. -Used with permission. - -Copyright (c) Meryn Stol ("Author") -All rights reserved. - -The BSD License - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS -BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE -OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: normalize-path -Version: 3.0.0 -Description: Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: nugget -Version: 2.0.1 -Description: minimalist wget clone written in node. HTTP GETs a file and saves it to the current working directory -License: BSD-3-Clause -Copied from: https://opensource.org/licenses/BSD-3-Clause - -Copyright - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: number-is-nan -Version: 1.0.1 -Description: ES2015 Number.isNaN() ponyfill -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: oauth-sign -Version: 0.9.0 -Description: OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module. -License: Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and - -You must cause any modified files to carry prominent notices stating that You changed the files; and - -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS ----------------- -Package: object-assign -Version: 4.1.1 -Description: ES2015 `Object.assign()` ponyfill -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: object-copy -Version: 0.1.0 -Description: Copy static properties, prototype properties, and descriptors from one object to another. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: object-keys -Version: 0.4.0 -Description: An Object.keys replacement, in case Object.keys is not available. From https://github.com/kriskowal/es5-shim -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: object-visit -Version: 1.0.1 -Description: Call a specified method on each value in the given object. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, 2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: object.pick -Version: 1.3.0 -Description: Returns a filtered copy of an object with only the specified keys, similar to `_.pick` from lodash / underscore. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: on-finished -Version: 2.3.0 -Description: Execute a callback when a request closes, finishes, or errors -License: MIT -(The MIT License) - -Copyright (c) 2013 Jonathan Ong -Copyright (c) 2014 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: once -Version: 1.4.0 -Description: Run a function exactly one time -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: opener -Version: 1.5.1 -Description: Opens stuff, like webpages and files and executables, cross-platform -License: (WTFPL OR MIT) -Dual licensed under WTFPL and MIT: - ---- - -Copyright © 2012–2018 Domenic Denicola - -This work is free. You can redistribute it and/or modify it under the -terms of the Do What The Fuck You Want To Public License, Version 2, -as published by Sam Hocevar. See below for more details. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - Version 2, December 2004 - - Copyright (C) 2004 Sam Hocevar - - Everyone is permitted to copy and distribute verbatim or modified - copies of this license document, and changing it is allowed as long - as the name is changed. - - DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. You just DO WHAT THE FUCK YOU WANT TO. - ---- - -The MIT License (MIT) - -Copyright © 2012–2018 Domenic Denicola - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: optionator -Version: 0.8.3 -Description: option parsing and help generation -License: MIT -Copyright (c) George Zahariev - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: os-browserify -Version: 0.3.0 -Description: undefined -License: MIT -The MIT License (MIT) - -Copyright (c) 2017 CoderPuppy - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: p-limit -Version: 2.3.0 -Description: Run multiple promise-returning & async functions with limited concurrency -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: p-locate -Version: 3.0.0 -Description: Get the first fulfilled promise that satisfies the provided testing function -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: p-try -Version: 2.2.0 -Description: `Start a promise chain -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: pako -Version: 1.0.11 -Description: zlib port to javascript - fast, modularized, with browser support -License: (MIT AND Zlib) -(The MIT License) - -Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: parallel-transform -Version: 1.2.0 -Description: Transform stream that allows you to run your transforms in parallel without changing the order -License: MIT -Copyright 2013 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: parse-asn1 -Version: 5.1.5 -Description: utility library for parsing asn1 files for use with browserify-sign. -License: ISC -Copyright (c) 2017, crypto-browserify contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: parse-json -Version: 2.2.0 -Description: Parse JSON with more helpful errors -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: parse-passwd -Version: 1.0.0 -Description: Parse a passwd file into a list of users. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Brian Woodward - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: parseurl -Version: 1.3.3 -Description: parse a url with memoization -License: MIT - -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2014-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: pascalcase -Version: 0.1.1 -Description: Convert a string to pascal-case. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: path-browserify -Version: 0.0.1 -Description: the path module from node core for browsers -License: MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: path-dirname -Version: 1.0.2 -Description: Node.js path.dirname() ponyfill -License: MIT - -The MIT License (MIT) - -Copyright (c) Elan Shanker and Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: path-exists -Version: 3.0.0 -Description: Check if a path exists -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: path-is-absolute -Version: 1.0.1 -Description: Node.js 0.12 path.isAbsolute() ponyfill -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: path-key -Version: 2.0.1 -Description: Get the PATH environment variable key cross-platform -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: path-parse -Version: 1.0.6 -Description: Node.js path.parse() ponyfill -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 Javier Blanco - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: path-to-regexp -Version: 0.1.7 -Description: Express style path to RegExp utility -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: path-type -Version: 3.0.0 -Description: Check if a path is a file, directory, or symlink -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: pathval -Version: 1.1.0 -Description: Object value retrieval given a string path -License: MIT -MIT License - -Copyright (c) 2011-2013 Jake Luer jake@alogicalparadox.com - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated -documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit -persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO -THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: pbkdf2 -Version: 3.1.1 -Description: This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes() -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Daniel Cousens - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: pend -Version: 1.2.0 -Description: dead-simple optimistic async helper -License: MIT -The MIT License (Expat) - -Copyright (c) 2014 Andrew Kelley - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation files -(the "Software"), to deal in the Software without restriction, -including without limitation the rights to use, copy, modify, merge, -publish, distribute, sublicense, and/or sell copies of the Software, -and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN -ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: perfect-scrollbar -Version: 1.5.0 -Description: Minimalistic but perfect custom scrollbar plugin -License: MIT -The MIT License (MIT) Copyright (c) 2012-2019 Hyunje Jun, MDBootstrap.com and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: performance-now -Version: 2.1.0 -Description: Implements performance.now (based on process.hrtime). -License: MIT -Copyright (c) 2013 Braveg1rl - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: picomatch -Version: 2.2.2 -Description: Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions. -License: MIT -The MIT License (MIT) - -Copyright (c) 2017-present, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: pify -Version: 2.3.0 -Description: Promisify a callback-style function -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: pinkie -Version: 2.0.4 -Description: Itty bitty little widdle twinkie pinkie ES2015 Promise implementation -License: MIT -The MIT License (MIT) - -Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: pinkie-promise -Version: 2.0.1 -Description: ES2015 Promise ponyfill -License: MIT -The MIT License (MIT) - -Copyright (c) Vsevolod Strukchinsky (github.com/floatdrop) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: pkg-dir -Version: 3.0.0 -Description: Find the root directory of a Node.js project or npm package -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: posix-character-classes -Version: 0.1.1 -Description: POSIX character classes for creating regular expressions. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: postcss -Version: 7.0.32 -Description: Tool for transforming styles with JS plugins -License: MIT -The MIT License (MIT) - -Copyright 2013 Andrey Sitnik - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: postcss-modules-extract-imports -Version: 2.0.0 -Description: A CSS Modules transform to extract local aliases for inline imports -License: ISC -Copyright 2015 Glen Maddern - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: postcss-modules-local-by-default -Version: 3.0.2 -Description: A CSS Modules transform to make local scope the default -License: MIT -The MIT License (MIT) - -Copyright 2015 Mark Dalgleish - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: postcss-modules-scope -Version: 2.2.0 -Description: A CSS Modules transform to extract export statements from local-scope classes -License: ISC -ISC License (ISC) - -Copyright (c) 2015, Glen Maddern - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: postcss-modules-values -Version: 3.0.0 -Description: PostCSS plugin for CSS Modules to pass arbitrary values between your module files -License: ISC -ISC License (ISC) - -Copyright (c) 2015, Glen Maddern - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ----------------- -Package: postcss-selector-parser -Version: 6.0.2 -Description: undefined -License: MIT -Copyright (c) Ben Briggs (http://beneb.info) - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: postcss-value-parser -Version: 4.1.0 -Description: Transforms css values and at-rule params into the tree -License: MIT -Copyright (c) Bogdan Chadkin - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: prelude-ls -Version: 1.1.2 -Description: prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript. -License: [{"type":"MIT","url":"https://raw.github.com/gkz/prelude-ls/master/LICENSE"}] -Copyright (c) George Zahariev - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: pretty-bytes -Version: 1.0.4 -Description: Convert bytes to a human readable string: 1337 → 1.34 kB -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: process -Version: 0.11.10 -Description: process information for node.js and browsers -License: MIT -(The MIT License) - -Copyright (c) 2013 Roman Shtylman - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: process-nextick-args -Version: 2.0.1 -Description: process.nextTick but always with args -License: MIT -# Copyright (c) 2015 Calvin Metcalf - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE.** - ----------------- -Package: progress -Version: 2.0.3 -Description: Flexible ascii progress bar -License: MIT -(The MIT License) - -Copyright (c) 2017 TJ Holowaychuk - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: progress-stream -Version: 1.2.0 -Description: Read the progress of a stream -License: BSD-2-Clause -Copyright (c) Tobias Baunbæk - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -- Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -- Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: promise-inflight -Version: 1.0.1 -Description: One promise for multiple requests in flight to avoid async duplication -License: ISC -Copyright (c) 2017, Rebecca Turner - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - ----------------- -Package: proxy-addr -Version: 2.0.6 -Description: Determine address of proxied request -License: MIT -(The MIT License) - -Copyright (c) 2014-2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: prr -Version: 1.0.1 -Description: A better Object.defineProperty() -License: MIT -The MIT License (MIT) -===================== - -Copyright (c) 2014 Rod Vagg ---------------------------- - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: psl -Version: 1.8.0 -Description: Domain name parser based on the Public Suffix List -License: MIT -The MIT License (MIT) - -Copyright (c) 2017 Lupo Montero lupomontero@gmail.com - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: public-encrypt -Version: 4.0.3 -Description: browserify version of publicEncrypt & privateDecrypt -License: MIT -Copyright (c) 2017 Calvin Metcalf - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: pump -Version: 3.0.0 -Description: pipe streams together and close all of them if one of them closes -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: pumpify -Version: 1.5.1 -Description: Combine an array of streams into a single duplex stream using pump and duplexify -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: punycode -Version: 2.1.1 -Description: A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms. -License: MIT -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: qs -Version: 6.7.0 -Description: A querystring parser that supports nesting and arrays, with a depth limit -License: BSD-3-Clause -Copyright (c) 2014 Nathan LaFreniere and other contributors. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * The names of any contributors may not be used to endorse or promote - products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - * * * - -The complete list of contributors can be found at: https://github.com/hapijs/qs/graphs/contributors - ----------------- -Package: querystring -Version: 0.2.0 -Description: Node's querystring module for all engines. -License: [{"type":"MIT","url":"https://github.com/Gozala/enchain/License.md"}] - -Copyright 2012 Irakli Gozalishvili. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: querystring-es3 -Version: 0.2.1 -Description: Node's querystring module for all engines. (ES3 compat fork) -License: [{"type":"MIT","url":"https://github.com/Gozala/enchain/License.md"}] - -Copyright 2012 Irakli Gozalishvili. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: randombytes -Version: 2.1.0 -Description: random bytes from browserify stand alone -License: MIT -MIT License - -Copyright (c) 2017 crypto-browserify - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: randomfill -Version: 1.0.4 -Description: random fill from browserify stand alone -License: MIT -MIT License - -Copyright (c) 2017 crypto-browserify - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: range-parser -Version: 1.2.1 -Description: Range header field string parser -License: MIT -(The MIT License) - -Copyright (c) 2012-2014 TJ Holowaychuk -Copyright (c) 2015-2016 Douglas Christopher Wilson -Copyright (c) 2014-2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: rc -Version: 1.2.8 -Description: hardwired configuration loader -License: MIT -The MIT License - -Copyright (c) 2011 Dominic Tarr - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: read-pkg -Version: 1.1.0 -Description: Read a package.json file -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: read-pkg-up -Version: 1.0.1 -Description: Read the closest package.json file -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: readable-stream -Version: 2.3.7 -Description: Streams3, a user-land copy of the stream library from Node.js -License: MIT -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the -https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - ----------------- -Package: readdirp -Version: 3.4.0 -Description: Recursive version of fs.readdir with streaming API. -License: MIT -MIT License - -Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: rechoir -Version: 0.6.2 -Description: Require any supported file as a node module. -License: [{"type":"MIT","url":"https://github.com/tkellen/node-rechoir/blob/master/LICENSE"}] -Copyright (c) 2015 Tyler Kellen - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: redent -Version: 1.0.0 -Description: Strip redundant indentation and indent the string -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: regenerator-runtime -Version: 0.13.5 -Description: Runtime for Regenerator-compiled generator and async functions. -License: MIT -MIT License - -Copyright (c) 2014-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: regex-not -Version: 1.0.2 -Description: Create a javascript regular expression for matching everything except for the given string. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016, 2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: remove-trailing-separator -Version: 1.1.0 -Description: Removes separators from the end of the string. -License: ISC -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ----------------- -Package: repeat-element -Version: 1.1.3 -Description: Create an array by repeating the given value n times. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-present, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: repeat-string -Version: 1.6.1 -Description: Repeat the given string n times. Fastest implementation for repeating a string. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: repeating -Version: 2.0.1 -Description: Repeat a string - fast -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: request -Version: 2.88.2 -Description: Simplified HTTP request client. -License: Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and - -You must cause any modified files to carry prominent notices stating that You changed the files; and - -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS ----------------- -Package: require-directory -Version: 2.1.1 -Description: Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules. -License: MIT -The MIT License (MIT) - -Copyright (c) 2011 Troy Goode - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: require-main-filename -Version: 2.0.0 -Description: shim for require.main.filename() that works in as many environments as possible -License: ISC -Copyright (c) 2016, Contributors - -Permission to use, copy, modify, and/or distribute this software -for any purpose with or without fee is hereby granted, provided -that the above copyright notice and this permission notice -appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE -LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: resolve -Version: 1.17.0 -Description: resolve like require.resolve() on behalf of files asynchronously and synchronously -License: MIT -MIT License - -Copyright (c) 2012 James Halliday - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: resolve-cwd -Version: 2.0.0 -Description: Resolve the path of a module like `require.resolve()` but from the current working directory -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: resolve-dir -Version: 1.0.1 -Description: Resolve a directory that is either local, global or in the user's home directory. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2016, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: resolve-from -Version: 3.0.0 -Description: Resolve the path of a module like `require.resolve()` but from a given path -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: resolve-url -Version: 0.2.1 -Description: Like Node.js’ `path.resolve`/`url.resolve` for the browser. -License: MIT -The MIT License (MIT) - -Copyright (c) 2013 Simon Lydell - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: ret -Version: 0.1.15 -Description: Tokenizes a string that represents a regular expression. -License: MIT -Copyright (C) 2011 by Roly Fentanes - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: rimraf -Version: 2.7.1 -Description: A deep deletion module for node (like `rm -rf`) -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: ripemd160 -Version: 2.0.2 -Description: Compute ripemd160 of bytes or strings. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 crypto-browserify - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: run-queue -Version: 1.0.3 -Description: A promise based, dynamic priority queue runner, with concurrency limiting. -License: ISC -Copied from: https://en.wikipedia.org/wiki/ISC_license - -Copyright - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: safe-buffer -Version: 5.2.1 -Description: Safer Node.js Buffer API -License: MIT -The MIT License (MIT) - -Copyright (c) Feross Aboukhadijeh - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: safe-regex -Version: 1.1.0 -Description: detect possibly catastrophic, exponential-time regular expressions -License: MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: safer-buffer -Version: 2.1.2 -Description: Modern Buffer API polyfill without footguns -License: MIT -MIT License - -Copyright (c) 2018 Nikita Skovoroda - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: schema-utils -Version: 1.0.0 -Description: webpack Validation Utils -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: semver -Version: 5.7.1 -Description: The semantic version parser used by npm. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: send -Version: 0.17.1 -Description: Better streaming static file server with Range and conditional-GET support -License: MIT -(The MIT License) - -Copyright (c) 2012 TJ Holowaychuk -Copyright (c) 2014-2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: serialize-javascript -Version: 1.9.1 -Description: Serialize JavaScript to a superset of JSON that includes regular expressions and functions. -License: BSD-3-Clause -Copyright 2014 Yahoo! Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - * Neither the name of the Yahoo! Inc. nor the - names of its contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL YAHOO! INC. BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: serve-static -Version: 1.14.1 -Description: Serve static files -License: MIT -(The MIT License) - -Copyright (c) 2010 Sencha Inc. -Copyright (c) 2011 LearnBoost -Copyright (c) 2011 TJ Holowaychuk -Copyright (c) 2014-2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: set-blocking -Version: 2.0.0 -Description: set blocking stdio and stderr ensuring that terminal output does not truncate -License: ISC -Copyright (c) 2016, Contributors - -Permission to use, copy, modify, and/or distribute this software -for any purpose with or without fee is hereby granted, provided -that the above copyright notice and this permission notice -appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE -LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: set-value -Version: 2.0.1 -Description: Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: setimmediate -Version: 1.0.5 -Description: A shim for the setImmediate efficient script yielding API -License: MIT -Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic Denicola - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: setprototypeof -Version: 1.1.1 -Description: A small polyfill for Object.setprototypeof -License: ISC -Copyright (c) 2015, Wes Todd - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION -OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN -CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: sha.js -Version: 2.4.11 -Description: Streamable SHA hashes in pure javascript -License: (MIT AND BSD-3-Clause) -Copyright (c) 2013-2018 sha.js contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -Copyright (c) 1998 - 2009, Paul Johnston & Contributors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -Redistributions of source code must retain the above copyright notice, this -list of conditions and the following disclaimer. - -Redistributions in binary form must reproduce the above copyright notice, this -list of conditions and the following disclaimer in the documentation and/or -other materials provided with the distribution. - -Neither the name of the author nor the names of its contributors may be used to -endorse or promote products derived from this software without specific prior -written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ----------------- -Package: shebang-command -Version: 1.2.0 -Description: Get the command from a shebang -License: MIT -The MIT License (MIT) - -Copyright (c) Kevin Martensson (github.com/kevva) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: shebang-regex -Version: 1.0.0 -Description: Regular expression for matching a shebang -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: shelljs -Version: 0.8.4 -Description: Portable Unix shell commands for Node.js -License: BSD-3-Clause -Copyright (c) 2012, Artur Adib -All rights reserved. - -You may use this project under the terms of the New BSD license as follows: - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Artur Adib nor the - names of the contributors may be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL ARTUR ADIB BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: signal-exit -Version: 3.0.3 -Description: when you want to fire an event no matter how a process exits. -License: ISC -The ISC License - -Copyright (c) 2015, Contributors - -Permission to use, copy, modify, and/or distribute this software -for any purpose with or without fee is hereby granted, provided -that the above copyright notice and this permission notice -appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE -LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: single-line-log -Version: 1.1.2 -Description: Keep writing to the same line in the terminal. Very useful when you write progress bars, or a status message during longer operations -License: MIT -The MIT License (MIT) - -Copyright (c) Tobias Baunbæk - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: sinon -Version: 7.5.0 -Description: JavaScript test spies, stubs and mocks. -License: BSD-3-Clause -(The BSD License) - -Copyright (c) 2010-2017, Christian Johansen, christian@cjohansen.no -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of Christian Johansen nor the names of his contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: slash -Version: 1.0.0 -Description: Convert Windows backslash paths to slash paths -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: snapdragon -Version: 0.8.2 -Description: Fast, pluggable and easy-to-use parser-renderer factory. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: snapdragon-node -Version: 2.1.1 -Description: Snapdragon utility for creating a new AST node in custom code, such as plugins. -License: MIT -The MIT License (MIT) - -Copyright (c) 2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: snapdragon-util -Version: 3.0.1 -Description: Utilities for the snapdragon parser/compiler. -License: MIT -The MIT License (MIT) - -Copyright (c) 2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: source-list-map -Version: 2.0.1 -Description: Fast line to line SourceMap generator. -License: MIT -Copyright 2017 JS Foundation - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: source-map -Version: 0.6.1 -Description: Generates and consumes source maps -License: BSD-3-Clause - -Copyright (c) 2009-2011, Mozilla Foundation and contributors -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the names of the Mozilla Foundation nor the names of project - contributors may be used to endorse or promote products derived from this - software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: source-map-loader -Version: 0.2.4 -Description: extracts inlined source map and offers it to webpack -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: source-map-resolve -Version: 0.5.3 -Description: Resolve the source map and/or sources for a generated file. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014, 2015, 2016, 2017, 2018, 2019 Simon Lydell -Copyright (c) 2019 ZHAO Jinxiang - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: source-map-support -Version: 0.5.19 -Description: Fixes stack traces for files with source maps -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Evan Wallace - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: source-map-url -Version: 0.4.0 -Description: Tools for working with sourceMappingURL comments. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Simon Lydell - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: spatial-navigation-js -Version: 1.0.0 -Description: JavaScript SpatialNavigation ============================ -License: ISC -Mozilla Public License, version 2.0 - -1. Definitions - -1.1. "Contributor" - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - -1.2. "Contributor Version" - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor's Contribution. - -1.3. "Contribution" - - means Covered Software of a particular Contributor. - -1.4. "Covered Software" - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - -1.5. "Incompatible With Secondary Licenses" - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of - version 1.1 or earlier of the License, but not also under the terms of - a Secondary License. - -1.6. "Executable Form" - - means any form of the work other than Source Code Form. - -1.7. "Larger Work" - - means a work that combines Covered Software with other material, in a - separate file or files, that is not Covered Software. - -1.8. "License" - - means this document. - -1.9. "Licensable" - - means having the right to grant, to the maximum extent possible, whether - at the time of the initial grant or subsequently, any and all of the - rights conveyed by this License. - -1.10. "Modifications" - - means any of the following: - - a. any file in Source Code Form that results from an addition to, - deletion from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - -1.11. "Patent Claims" of a Contributor - - means any patent claim(s), including without limitation, method, - process, and apparatus claims, in any patent Licensable by such - Contributor that would be infringed, but for the grant of the License, - by the making, using, selling, offering for sale, having made, import, - or transfer of either its Contributions or its Contributor Version. - -1.12. "Secondary License" - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - -1.13. "Source Code Form" - - means the form of the work preferred for making modifications. - -1.14. "You" (or "Your") - - means an individual or a legal entity exercising rights under this - License. For legal entities, "You" includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, "control" means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - -2. License Grants and Conditions - -2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or - as part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its - Contributions or its Contributor Version. - -2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution - become effective for each Contribution on the date the Contributor first - distributes such Contribution. - -2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under - this License. No additional rights or licenses will be implied from the - distribution or licensing of Covered Software under this License. - Notwithstanding Section 2.1(b) above, no patent license is granted by a - Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party's - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of - its Contributions. - - This License does not grant any rights in the trademarks, service marks, - or logos of any Contributor (except as may be necessary to comply with - the notice requirements in Section 3.4). - -2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this - License (see Section 10.2) or under the terms of a Secondary License (if - permitted under the terms of Section 3.3). - -2.5. Representation - - Each Contributor represents that the Contributor believes its - Contributions are its original creation(s) or it has sufficient rights to - grant the rights to its Contributions conveyed by this License. - -2.6. Fair Use - - This License is not intended to limit any rights You have under - applicable copyright doctrines of fair use, fair dealing, or other - equivalents. - -2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - -3. Responsibilities - -3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under - the terms of this License. You must inform recipients that the Source - Code Form of the Covered Software is governed by the terms of this - License, and how they can obtain a copy of this License. You may not - attempt to alter or restrict the recipients' rights in the Source Code - Form. - -3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this - License, or sublicense it under different terms, provided that the - license for the Executable Form does not attempt to limit or alter the - recipients' rights in the Source Code Form under this License. - -3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for - the Covered Software. If the Larger Work is a combination of Covered - Software with a work governed by one or more Secondary Licenses, and the - Covered Software is not Incompatible With Secondary Licenses, this - License permits You to additionally distribute such Covered Software - under the terms of such Secondary License(s), so that the recipient of - the Larger Work may, at their option, further distribute the Covered - Software under the terms of either this License or such Secondary - License(s). - -3.4. Notices - - You may not remove or alter the substance of any license notices - (including copyright notices, patent notices, disclaimers of warranty, or - limitations of liability) contained within the Source Code Form of the - Covered Software, except that You may alter any license notices to the - extent required to remedy known factual inaccuracies. - -3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on - behalf of any Contributor. You must make it absolutely clear that any - such warranty, support, indemnity, or liability obligation is offered by - You alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - -4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, - judicial order, or regulation then You must: (a) comply with the terms of - this License to the maximum extent possible; and (b) describe the - limitations and the code they affect. Such description must be placed in a - text file included with all distributions of the Covered Software under - this License. Except to the extent prohibited by statute or regulation, - such description must be sufficiently detailed for a recipient of ordinary - skill to be able to understand it. - -5. Termination - -5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing - basis, if such Contributor fails to notify You of the non-compliance by - some reasonable means prior to 60 days after You have come back into - compliance. Moreover, Your grants from a particular Contributor are - reinstated on an ongoing basis if such Contributor notifies You of the - non-compliance by some reasonable means, this is the first time You have - received notice of non-compliance with this License from such - Contributor, and You become compliant prior to 30 days after Your receipt - of the notice. - -5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, - counter-claims, and cross-claims) alleging that a Contributor Version - directly or indirectly infringes any patent, then the rights granted to - You by any and all Contributors for the Covered Software under Section - 2.1 of this License shall terminate. - -5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - -6. Disclaimer of Warranty - - Covered Software is provided under this License on an "as is" basis, - without warranty of any kind, either expressed, implied, or statutory, - including, without limitation, warranties that the Covered Software is free - of defects, merchantable, fit for a particular purpose or non-infringing. - The entire risk as to the quality and performance of the Covered Software - is with You. Should any Covered Software prove defective in any respect, - You (not any Contributor) assume the cost of any necessary servicing, - repair, or correction. This disclaimer of warranty constitutes an essential - part of this License. No use of any Covered Software is authorized under - this License except under this disclaimer. - -7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from - such party's negligence to the extent applicable law prohibits such - limitation. Some jurisdictions do not allow the exclusion or limitation of - incidental or consequential damages, so this exclusion and limitation may - not apply to You. - -8. Litigation - - Any litigation relating to this License may be brought only in the courts - of a jurisdiction where the defendant maintains its principal place of - business and such litigation shall be governed by laws of that - jurisdiction, without reference to its conflict-of-law provisions. Nothing - in this Section shall prevent a party's ability to bring cross-claims or - counter-claims. - -9. Miscellaneous - - This License represents the complete agreement concerning the subject - matter hereof. If any provision of this License is held to be - unenforceable, such provision shall be reformed only to the extent - necessary to make it enforceable. Any law or regulation which provides that - the language of a contract shall be construed against the drafter shall not - be used to construe this License against a Contributor. - - -10. Versions of the License - -10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - -10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version - of the License under which You originally received the Covered Software, - or under the terms of any subsequent version published by the license - steward. - -10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a - modified version of this License if you rename the license and remove - any references to the name of the license steward (except to note that - such modified license differs from this License). - -10.4. Distributing Source Code Form that is Incompatible With Secondary - Licenses If You choose to distribute Source Code Form that is - Incompatible With Secondary Licenses under the terms of this version of - the License, the notice described in Exhibit B of this License must be - attached. - -Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - -If it is not possible or desirable to put the notice in a particular file, -then You may include the notice in a location (such as a LICENSE file in a -relevant directory) where a recipient would be likely to look for such a -notice. - -You may add additional accurate notices of copyright ownership. - -Exhibit B - "Incompatible With Secondary Licenses" Notice - - This Source Code Form is "Incompatible - With Secondary Licenses", as defined by - the Mozilla Public License, v. 2.0. - ----------------- -Package: spdx-correct -Version: 3.1.1 -Description: correct invalid SPDX expressions -License: Apache-2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ----------------- -Package: spdx-exceptions -Version: 2.3.0 -Description: list of SPDX standard license exceptions -License: CC-BY-3.0 ----------------- -Package: spdx-expression-parse -Version: 3.0.1 -Description: parse SPDX license expressions -License: MIT -The MIT License - -Copyright (c) 2015 Kyle E. Mitchell & other authors listed in AUTHORS - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: spdx-license-ids -Version: 3.0.5 -Description: A list of SPDX license identifiers -License: CC0-1.0 ----------------- -Package: speedometer -Version: 0.1.4 -Description: simple speed measurement in javascript -License: MIT -Copyright 2013 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: split-string -Version: 3.1.0 -Description: Split a string on a character except when the character is escaped. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: sprintf-js -Version: 1.0.3 -Description: JavaScript sprintf implementation -License: BSD-3-Clause -Copyright (c) 2007-2014, Alexandru Marasteanu -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: -* Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -* Neither the name of this software nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: sshpk -Version: 1.16.1 -Description: A library for finding and using SSH public keys -License: MIT -Copyright Joyent, Inc. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: ssri -Version: 6.0.1 -Description: Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec. -License: ISC -ISC License - -Copyright (c) npm, Inc. - -Permission to use, copy, modify, and/or distribute this software for -any purpose with or without fee is hereby granted, provided that the -above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE COPYRIGHT HOLDER DISCLAIMS -ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR -CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE -USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: static-extend -Version: 0.1.2 -Description: Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: statuses -Version: 1.5.0 -Description: HTTP status utility -License: MIT - -The MIT License (MIT) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: stream-browserify -Version: 2.0.2 -Description: the stream module from node core for browsers -License: MIT -This software is released under the MIT license: - -Copyright (c) James Halliday - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: stream-each -Version: 1.2.3 -Description: Iterate all the data in a stream -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: stream-http -Version: 2.8.3 -Description: Streaming http in the browser -License: MIT -The MIT License - -Copyright (c) 2015 John Hiesey - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: stream-shift -Version: 1.0.1 -Description: Returns the next buffer/object in a stream's readable queue -License: MIT -The MIT License (MIT) - -Copyright (c) 2016 Mathias Buus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: string-width -Version: 3.1.0 -Description: Get the visual width of a string - the number of columns required to display it -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: string_decoder -Version: 1.3.0 -Description: The string_decoder module from Node core -License: MIT -Node.js is licensed for use as follows: - -""" -Copyright Node.js contributors. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - -This license applies to parts of Node.js originating from the -https://github.com/joyent/node repository: - -""" -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -""" - - ----------------- -Package: strip-ansi -Version: 5.2.0 -Description: Strip ANSI escape codes from a string -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: strip-bom -Version: 2.0.0 -Description: Strip UTF-8 byte order mark (BOM) from a string/buffer -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: strip-indent -Version: 1.0.1 -Description: Strip leading whitespace from every line in a string -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: strip-json-comments -Version: 2.0.1 -Description: Strip comments from JSON. Lets you use comments in your JSON files! -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: style-loader -Version: 0.23.1 -Description: style loader module for webpack -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: sumchecker -Version: 2.0.2 -Description: Checksum validator -License: Apache-2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ----------------- -Package: supports-color -Version: 5.5.0 -Description: Detect whether a terminal supports color -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: tapable -Version: 1.1.3 -Description: Just a little module for plugins. -License: MIT -The MIT License - -Copyright (c) Tobias Koppers @sokra - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: terser -Version: 4.8.0 -Description: JavaScript parser, mangler/compressor and beautifier toolkit for ES6+ -License: BSD-2-Clause -UglifyJS is released under the BSD license: - -Copyright 2012-2018 (c) Mihai Bazon - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials - provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, -OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR -TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF -THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. - ----------------- -Package: terser-webpack-plugin -Version: 1.4.4 -Description: Terser plugin for webpack -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: throttleit -Version: 0.0.2 -Description: Throttle a function -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: through2 -Version: 2.0.5 -Description: A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise -License: MIT -# The MIT License (MIT) - -**Copyright (c) Rod Vagg (the "Original Author") and additional contributors** - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: timers-browserify -Version: 2.0.11 -Description: timers module for browserify -License: MIT -# timers-browserify - -This project uses the [MIT](http://jryans.mit-license.org/) license: - - Copyright © 2012 J. Ryan Stinnett - - Permission is hereby granted, free of charge, to any person obtaining a - copy of this software and associated documentation files (the “Software”), - to deal in the Software without restriction, including without limitation - the rights to use, copy, modify, merge, publish, distribute, sublicense, - and/or sell copies of the Software, and to permit persons to whom the - Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - DEALINGS IN THE SOFTWARE. - -# lib/node - -The `lib/node` directory borrows files from joyent/node which uses the following license: - - Copyright Joyent, Inc. and other Node contributors. All rights reserved. - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - IN THE SOFTWARE. - ----------------- -Package: to-arraybuffer -Version: 1.0.1 -Description: Get an ArrayBuffer from a Buffer as fast as possible -License: MIT -The MIT License - -Copyright (c) 2016 John Hiesey - -Permission is hereby granted, free of charge, -to any person obtaining a copy of this software and -associated documentation files (the "Software"), to -deal in the Software without restriction, including -without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom -the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice -shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR -ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: to-fast-properties -Version: 1.0.3 -Description: Force V8 to use fast properties for an object -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Petka Antonov - 2015 Sindre Sorhus - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: to-object-path -Version: 0.3.0 -Description: Create an object path from a list or array of strings. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2016, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: to-regex -Version: 3.0.2 -Description: Generate a regex from a string or array of strings. -License: MIT -The MIT License (MIT) - -Copyright (c) 2016-2018, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: to-regex-range -Version: 2.1.1 -Description: Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: toidentifier -Version: 1.0.0 -Description: Convert a string of words to a JavaScript identifier -License: MIT -MIT License - -Copyright (c) 2016 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: tough-cookie -Version: 2.5.0 -Description: RFC6265 Cookies and Cookie Jar for node.js -License: BSD-3-Clause -Copyright (c) 2015, Salesforce.com, Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ----------------- -Package: trim-newlines -Version: 1.0.0 -Description: Trim newlines from the start and/or end of a string -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: trim-right -Version: 1.0.1 -Description: Similar to String#trim() but removes only whitespace on the right -License: MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: tryer -Version: 1.0.1 -Description: Because everyone loves a tryer! Conditional and repeated task invocation for node and browser. -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: ts-loader -Version: 5.4.5 -Description: TypeScript loader for webpack -License: MIT -The MIT License (MIT) - -Copyright (c) 2015 TypeStrong - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - ----------------- -Package: ts-node -Version: 8.10.2 -Description: TypeScript execution environment and REPL for node.js, with source map support -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: tslib -Version: 1.13.0 -Description: Runtime library for TypeScript helper functions -License: 0BSD -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR -OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. ----------------- -Package: tslint -Version: 5.20.1 -Description: An extensible static analysis linter for the TypeScript language -License: Apache-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ----------------- -Package: tslint-loader -Version: 3.5.4 -Description: tslint loader for webpack -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: tsutils -Version: 2.29.0 -Description: utilities for working with typescript's AST -License: MIT -The MIT License (MIT) - -Copyright (c) 2017 Klaus Meinhardt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: tty-browserify -Version: 0.0.0 -Description: the tty module from node core for browsers -License: MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: tunnel-agent -Version: 0.6.0 -Description: HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module. -License: Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and - -You must cause any modified files to carry prominent notices stating that You changed the files; and - -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS ----------------- -Package: tweetnacl -Version: 0.14.5 -Description: Port of TweetNaCl cryptographic library to JavaScript -License: Unlicense -This is free and unencumbered software released into the public domain. - -Anyone is free to copy, modify, publish, use, compile, sell, or -distribute this software, either in source code form or as a compiled -binary, for any purpose, commercial or non-commercial, and by any -means. - -In jurisdictions that recognize copyright laws, the author or authors -of this software dedicate any and all copyright interest in the -software to the public domain. We make this dedication for the benefit -of the public at large and to the detriment of our heirs and -successors. We intend this dedication to be an overt act of -relinquishment in perpetuity of all present and future rights to this -software under copyright law. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR -OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - -For more information, please refer to - ----------------- -Package: type-check -Version: 0.3.2 -Description: type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax. -License: MIT -Copyright (c) George Zahariev - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: type-detect -Version: 4.0.8 -Description: Improved typeof detection for node.js and the browser. -License: MIT -Copyright (c) 2013 Jake Luer (http://alogicalparadox.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: type-is -Version: 1.6.18 -Description: Infer the content-type of a request. -License: MIT -(The MIT License) - -Copyright (c) 2014 Jonathan Ong -Copyright (c) 2014-2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: typedarray -Version: 0.0.6 -Description: TypedArray polyfill for old browsers -License: MIT -/* - Copyright (c) 2010, Linden Research, Inc. - Copyright (c) 2012, Joshua Bell - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. - $/LicenseInfo$ - */ - -// Original can be found at: -// https://bitbucket.org/lindenlab/llsd -// Modifications by Joshua Bell inexorabletash@gmail.com -// https://github.com/inexorabletash/polyfill - -// ES3/ES5 implementation of the Krhonos Typed Array Specification -// Ref: http://www.khronos.org/registry/typedarray/specs/latest/ -// Date: 2011-02-01 -// -// Variations: -// * Allows typed_array.get/set() as alias for subscripts (typed_array[]) - ----------------- -Package: typedoc -Version: 0.15.8 -Description: Create api documentation for TypeScript projects. -License: Apache-2.0 -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ----------------- -Package: typedoc-default-themes -Version: 0.6.3 -Description: Default themes for TypeDoc. -License: Apache-2.0 -Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ----------------- -Package: typescript -Version: 2.7.2 -Description: TypeScript is a language for application scale JavaScript development -License: Apache-2.0 -Apache License - -Version 2.0, January 2004 - -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and - -You must cause any modified files to carry prominent notices stating that You changed the files; and - -You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - -If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - ----------------- -Package: uglify-js -Version: 3.10.0 -Description: JavaScript parser, mangler/compressor and beautifier toolkit -License: BSD-2-Clause -UglifyJS is released under the BSD license: - -Copyright 2012-2019 (c) Mihai Bazon - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials - provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, -OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR -TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF -THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. - ----------------- -Package: uglifyjs-webpack-plugin -Version: 2.2.0 -Description: UglifyJS plugin for webpack -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: underscore -Version: 1.10.2 -Description: JavaScript's functional programming helper library. -License: MIT -Copyright (c) 2009-2020 Jeremy Ashkenas, DocumentCloud and Investigative -Reporters & Editors - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: union-value -Version: 1.0.1 -Description: Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: uniq -Version: 1.0.1 -Description: Removes duplicates from a sorted array in place -License: MIT - -The MIT License (MIT) - -Copyright (c) 2013 Mikola Lysenko - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: unique-filename -Version: 1.1.1 -Description: Generate a unique filename for use in temporary directories or caches. -License: ISC -Copyright npm, Inc - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: unique-slug -Version: 2.0.2 -Description: Generate a unique character string suitible for use in files and URLs. -License: ISC -The ISC License - -Copyright npm, Inc - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: universalify -Version: 0.1.2 -Description: Make a callback- or promise-based function support both promises and callbacks. -License: MIT -(The MIT License) - -Copyright (c) 2017, Ryan Zimmerman - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the 'Software'), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: unpipe -Version: 1.0.0 -Description: Unpipe a stream from all destinations -License: MIT -(The MIT License) - -Copyright (c) 2015 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: unset-value -Version: 1.0.0 -Description: Delete nested properties from an object using dot notation. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015, 2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: upath -Version: 1.2.0 -Description: A proxy to `path`, replacing `\` with `/` for all results & new methods to normalize & join keeping leading `./` and add, change, default, trim file extensions. -License: MIT -Copyright(c) 2014-2019 Angelos Pikoulas (agelos.pikoulas@gmail.com) - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: uri-js -Version: 4.2.2 -Description: An RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript. -License: BSD-2-Clause -Copyright - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ----------------- -Package: urix -Version: 0.1.0 -Description: Makes Windows-style paths more unix and URI friendly. -License: MIT -The MIT License (MIT) - -Copyright (c) 2013 Simon Lydell - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: url -Version: 0.11.0 -Description: The core `url` packaged standalone for use with Browserify. -License: MIT -The MIT License (MIT) - -Copyright Joyent, Inc. and other Node contributors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: url-toolkit -Version: 2.2.0 -Description: Build an absolute URL from a base URL and a relative URL (RFC 1808). No dependencies! -License: Apache-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - Copyright 2016 Tom Jenkinson - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ----------------- -Package: use -Version: 3.1.1 -Description: Easily add plugin support to your node.js application. -License: MIT -The MIT License (MIT) - -Copyright (c) 2015-present, Jon Schlinkert. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: utf8-decode -Version: 1.0.2 -Description: Decode JavaScript strings in UTF8 -License: MIT -Copyright (c) 2015 Forbes Lindesay - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. ----------------- -Package: util -Version: 0.11.1 -Description: Node.JS util module -License: MIT -Copyright Joyent, Inc. and other Node contributors. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. - ----------------- -Package: util-deprecate -Version: 1.0.2 -Description: The Node.js `util.deprecate()` function with browser support -License: MIT -(The MIT License) - -Copyright (c) 2014 Nathan Rajlich - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: utils-merge -Version: 1.0.1 -Description: merge() utility function -License: MIT -The MIT License (MIT) - -Copyright (c) 2013-2017 Jared Hanson - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: uuid -Version: 3.4.0 -Description: RFC4122 (v1, v4, and v5) UUIDs -License: MIT -The MIT License (MIT) - -Copyright (c) 2010-2016 Robert Kieffer and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: v8-compile-cache -Version: 2.1.1 -Description: Require hook for automatic V8 compile cache persistence -License: MIT -The MIT License (MIT) - -Copyright (c) 2019 Andres Suarez - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: validate-npm-package-license -Version: 3.0.4 -Description: Give me a string and I'll tell you if it's a valid npm package license string -License: Apache-2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ----------------- -Package: vary -Version: 1.1.2 -Description: Manipulate the HTTP Vary header -License: MIT -(The MIT License) - -Copyright (c) 2014-2017 Douglas Christopher Wilson - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: verror -Version: 1.10.0 -Description: richer JavaScript errors -License: MIT -Copyright (c) 2016, Joyent, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE - ----------------- -Package: vm-browserify -Version: 1.1.2 -Description: vm module for the browser -License: MIT -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: watchpack -Version: 1.7.2 -Description: -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: watchpack-chokidar2 -Version: 2.0.0 -Description: undefined -License: MIT -Copied from: https://en.wikipedia.org/wiki/MIT_License - -Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: webfontloader -Version: 1.6.28 -Description: Web Font Loader gives you added control when using linked fonts via @font-face. -License: Apache-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - ----------------- -Package: webpack -Version: 4.43.0 -Description: Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff. -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: webpack-bundle-analyzer -Version: 3.8.0 -Description: Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: webpack-cli -Version: 3.3.12 -Description: CLI for webpack & friends -License: MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------- -Package: webpack-log -Version: 2.0.0 -Description: A common logger for the webpack ecosystem -License: MIT -MIT License - -Copyright (c) 2017 webpack-contrib - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: webpack-merge -Version: 4.2.2 -Description: Variant of merge that's useful for webpack configuration -License: MIT -Copyright (c) 2015 Juho Vepsalainen - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: webpack-sources -Version: 1.4.3 -Description: Source code handling classes for webpack -License: MIT -MIT License - -Copyright (c) 2017 JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: which -Version: 1.3.1 -Description: Like which(1) unix command. Find the first instance of an executable in the PATH. -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: which-module -Version: 2.0.0 -Description: Find the module object for something that was require()d -License: ISC -Copyright (c) 2016, Contributors - -Permission to use, copy, modify, and/or distribute this software for any purpose -with or without fee is hereby granted, provided that the above copyright notice -and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF -THIS SOFTWARE. - ----------------- -Package: word-wrap -Version: 1.2.3 -Description: Wrap words to a specified length. -License: MIT -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: wordwrap -Version: 1.0.0 -Description: Wrap those words. Show them at what columns to start and stop. -License: MIT -This software is released under the MIT license: - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: worker-farm -Version: 1.7.0 -Description: Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options. -License: MIT -The MIT License (MIT) -===================== - -Copyright (c) 2014 LevelUP contributors ---------------------------------------- - -*LevelUP contributors listed at * - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: wrap-ansi -Version: 5.1.0 -Description: Wordwrap a string with ANSI escape codes -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - ----------------- -Package: wrappy -Version: 1.0.2 -Description: Callback wrapping utility -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: ws -Version: 6.2.1 -Description: Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js -License: MIT -The MIT License (MIT) - -Copyright (c) 2011 Einar Otto Stangvik - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: xregexp -Version: 4.2.4 -Description: Extended regular expressions -License: MIT -The MIT License - -Copyright (c) 2007-present Steven Levithan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: xtend -Version: 4.0.2 -Description: extend like a boss -License: MIT -The MIT License (MIT) -Copyright (c) 2012-2014 Raynos. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: y18n -Version: 4.0.0 -Description: the bare-bones internationalization library used by yargs -License: ISC -Copyright (c) 2015, Contributors - -Permission to use, copy, modify, and/or distribute this software for any purpose -with or without fee is hereby granted, provided that the above copyright notice -and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND -FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS -OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF -THIS SOFTWARE. - ----------------- -Package: yallist -Version: 3.1.1 -Description: Yet Another Linked List -License: ISC -The ISC License - -Copyright (c) Isaac Z. Schlueter and Contributors - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR -IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: yargs -Version: 13.3.2 -Description: yargs the modern, pirate-themed, successor to optimist. -License: MIT -Copyright 2010 James Halliday (mail@substack.net) -Modified work Copyright 2014 Contributors (ben@npmjs.com) - -This project is free software released under the MIT/X11 license: - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----------------- -Package: yargs-parser -Version: 13.1.2 -Description: the mighty option parser used by yargs -License: ISC -Copyright (c) 2016, Contributors - -Permission to use, copy, modify, and/or distribute this software -for any purpose with or without fee is hereby granted, provided -that the above copyright notice and this permission notice -appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE -LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - ----------------- -Package: yauzl -Version: 2.10.0 -Description: yet another unzip library for node -License: MIT -The MIT License (MIT) - -Copyright (c) 2014 Josh Wolfe - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - ----------------- -Package: yn -Version: 3.1.1 -Description: Parse yes/no like values -License: MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/apl-client-packages.json b/modules/Alexa/APLClientLibrary/apl-client-js/apl-client-packages.json deleted file mode 100644 index 1f510f9..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/apl-client-packages.json +++ /dev/null @@ -1,3466 +0,0 @@ -[ - { - "name": "abbrev", - "version": "1.0.9", - "description": "Like ruby's abbrev module, but in js", - "license": "ISC" - }, - { - "name": "accepts", - "version": "1.3.7", - "description": "Higher-level content negotiation", - "license": "MIT" - }, - { - "name": "acorn", - "version": "6.4.1", - "description": "ECMAScript parser", - "license": "MIT" - }, - { - "name": "acorn-walk", - "version": "7.2.0", - "description": "ECMAScript (ESTree) AST walker", - "license": "MIT" - }, - { - "name": "ajv", - "version": "6.12.2", - "description": "Another JSON Schema Validator", - "license": "MIT" - }, - { - "name": "ajv-errors", - "version": "1.0.1", - "description": "Custom error messages in JSON-Schema for Ajv validator", - "license": "MIT" - }, - { - "name": "ajv-keywords", - "version": "3.5.0", - "description": "Custom JSON-Schema keywords for Ajv validator", - "license": "MIT" - }, - { - "name": "amdefine", - "version": "1.0.1", - "description": "Provide AMD's define() API for declaring modules in the AMD format", - "license": "BSD-3-Clause OR MIT" - }, - { - "name": "ansi-colors", - "version": "3.2.4", - "description": "Easily add ANSI colors to your text and symbols in the terminal. A faster drop-in replacement for chalk, kleur and turbocolor (without the dependencies and rendering bugs).", - "license": "MIT" - }, - { - "name": "ansi-regex", - "version": "2.1.1", - "description": "Regular expression for matching ANSI escape codes", - "license": "MIT" - }, - { - "name": "ansi-styles", - "version": "3.2.1", - "description": "ANSI escape codes for styling strings in the terminal", - "license": "MIT" - }, - { - "name": "anymatch", - "version": "3.1.1", - "description": "Matches strings against configurable strings, globs, regular expressions, and/or functions", - "license": "ISC" - }, - { - "name": "aproba", - "version": "1.2.0", - "description": "A ridiculously light-weight argument validator (now browser friendly)", - "license": "ISC" - }, - { - "name": "arg", - "version": "4.1.3", - "description": "Another simple argument parser", - "license": "MIT" - }, - { - "name": "argparse", - "version": "1.0.10", - "description": "Very powerful CLI arguments parser. Native port of argparse - python's options parsing library", - "license": "MIT" - }, - { - "name": "arr-diff", - "version": "4.0.0", - "description": "Returns an array with only the unique values from the first array, by excluding all values from additional arrays using strict equality for comparisons.", - "license": "MIT" - }, - { - "name": "arr-flatten", - "version": "1.1.0", - "description": "Recursively flatten an array or arrays.", - "license": "MIT" - }, - { - "name": "arr-union", - "version": "3.1.0", - "description": "Combines a list of arrays, returning a single array with unique values, using strict equality for comparisons.", - "license": "MIT" - }, - { - "name": "array-find-index", - "version": "1.0.2", - "description": "ES2015 `Array#findIndex()` ponyfill", - "license": "MIT" - }, - { - "name": "array-flatten", - "version": "1.1.1", - "description": "Flatten an array of nested arrays into a single flat array", - "license": "MIT" - }, - { - "name": "array-from", - "version": "2.1.1", - "description": "A ponyfill for the ES 2015 (ES6) `Array.from()`.", - "license": "MIT" - }, - { - "name": "array-union", - "version": "1.0.2", - "description": "Create an array of unique values, in order, from the input arrays", - "license": "MIT" - }, - { - "name": "array-uniq", - "version": "1.0.3", - "description": "Create an array without duplicates", - "license": "MIT" - }, - { - "name": "array-unique", - "version": "0.3.2", - "description": "Remove duplicate values from an array. Fastest ES5 implementation.", - "license": "MIT" - }, - { - "name": "asn1", - "version": "0.2.4", - "description": "Contains parsers and serializers for ASN.1 (currently BER only)", - "license": "MIT" - }, - { - "name": "asn1.js", - "version": "4.10.1", - "description": "ASN.1 encoder and decoder", - "license": "MIT" - }, - { - "name": "assert", - "version": "1.5.0", - "description": "The node.js assert module, re-packaged for web browsers.", - "license": "MIT" - }, - { - "name": "assert-plus", - "version": "1.0.0", - "description": "Extra assertions on top of node's assert module", - "license": "MIT" - }, - { - "name": "assertion-error", - "version": "1.1.0", - "description": "Error constructor for test and validation frameworks that implements standardized AssertionError specification.", - "license": "MIT" - }, - { - "name": "assign-symbols", - "version": "1.0.0", - "description": "Assign the enumerable es6 Symbol properties from an object (or objects) to the first object passed on the arguments. Can be used as a supplement to other extend, assign or merge methods as a polyfill for the Symbols part of the es6 Object.assign method.", - "license": "MIT" - }, - { - "name": "async", - "version": "1.5.2", - "description": "Higher-order functions and common patterns for asynchronous code", - "license": "MIT" - }, - { - "name": "async-each", - "version": "1.0.3", - "description": "No-bullshit, ultra-simple, 35-lines-of-code async parallel forEach / map function for JavaScript.", - "license": "MIT" - }, - { - "name": "async-limiter", - "version": "1.0.1", - "description": "asynchronous function queue with adjustable concurrency", - "license": "MIT" - }, - { - "name": "asynckit", - "version": "0.4.0", - "description": "Minimal async jobs utility library, with streams support", - "license": "MIT" - }, - { - "name": "atob", - "version": "2.1.2", - "description": "atob for Node.JS and Linux / Mac / Windows CLI (it's a one-liner)", - "license": "(MIT OR Apache-2.0)" - }, - { - "name": "aws-sign2", - "version": "0.7.0", - "description": "AWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.", - "license": "Apache-2.0" - }, - { - "name": "aws4", - "version": "1.10.0", - "description": "Signs and prepares requests using AWS Signature Version 4", - "license": "MIT" - }, - { - "name": "babel-code-frame", - "version": "6.26.0", - "description": "Generate errors that contain a code frame that point to source locations.", - "license": "MIT" - }, - { - "name": "babel-generator", - "version": "6.26.1", - "description": "Turns an AST into code.", - "license": "MIT" - }, - { - "name": "babel-messages", - "version": "6.23.0", - "description": "Collection of debug messages used by Babel.", - "license": "MIT" - }, - { - "name": "babel-runtime", - "version": "6.26.0", - "description": "babel selfContained runtime", - "license": "MIT" - }, - { - "name": "babel-template", - "version": "6.26.0", - "description": "Generate an AST from a string template.", - "license": "MIT" - }, - { - "name": "babel-traverse", - "version": "6.26.0", - "description": "The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes", - "license": "MIT" - }, - { - "name": "babel-types", - "version": "6.26.0", - "description": "Babel Types is a Lodash-esque utility library for AST nodes", - "license": "MIT" - }, - { - "name": "babylon", - "version": "6.18.0", - "description": "A JavaScript parser", - "license": "MIT" - }, - { - "name": "backbone", - "version": "1.4.0", - "description": "Give your JS App some Backbone with Models, Views, Collections, and Events.", - "license": "MIT" - }, - { - "name": "balanced-match", - "version": "1.0.0", - "description": "Match balanced character pairs, like \"{\" and \"}\"", - "license": "MIT" - }, - { - "name": "base", - "version": "0.11.2", - "description": "base is the foundation for creating modular, unit testable and highly pluggable node.js applications, starting with a handful of common methods, like `set`, `get`, `del` and `use`.", - "license": "MIT" - }, - { - "name": "base64-js", - "version": "1.3.1", - "description": "Base64 encoding/decoding in pure JS", - "license": "MIT" - }, - { - "name": "bcrypt-pbkdf", - "version": "1.0.2", - "description": "Port of the OpenBSD bcrypt_pbkdf function to pure JS", - "license": "BSD-3-Clause" - }, - { - "name": "bfj", - "version": "6.1.2", - "description": "Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.", - "license": "MIT" - }, - { - "name": "big.js", - "version": "5.2.2", - "description": "A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic", - "license": "MIT" - }, - { - "name": "binary-extensions", - "version": "2.1.0", - "description": "List of binary file extensions", - "license": "MIT" - }, - { - "name": "bindings", - "version": "1.5.0", - "description": "Helper module for loading your native module's .node file", - "license": "MIT" - }, - { - "name": "bluebird", - "version": "3.7.2", - "description": "Full featured Promises/A+ implementation with exceptionally good performance", - "license": "MIT" - }, - { - "name": "bn.js", - "version": "4.11.9", - "description": "Big number implementation in pure javascript", - "license": "MIT" - }, - { - "name": "body-parser", - "version": "1.19.0", - "description": "Node.js body parsing middleware", - "license": "MIT" - }, - { - "name": "brace-expansion", - "version": "1.1.11", - "description": "Brace expansion as known from sh/bash", - "license": "MIT" - }, - { - "name": "braces", - "version": "2.3.2", - "description": "Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.", - "license": "MIT" - }, - { - "name": "brorand", - "version": "1.1.0", - "description": "Random number generator for browsers and node.js", - "license": "MIT" - }, - { - "name": "browser-stdout", - "version": "1.3.1", - "description": "", - "license": "ISC" - }, - { - "name": "browserify-aes", - "version": "1.2.0", - "description": "aes, for browserify", - "license": "MIT" - }, - { - "name": "browserify-cipher", - "version": "1.0.1", - "description": "ciphers for the browser", - "license": "MIT" - }, - { - "name": "browserify-des", - "version": "1.0.2", - "description": "", - "license": "MIT" - }, - { - "name": "browserify-rsa", - "version": "4.0.1", - "description": "RSA for browserify", - "license": "MIT" - }, - { - "name": "browserify-sign", - "version": "4.2.0", - "description": "adds node crypto signing for browsers", - "license": "ISC" - }, - { - "name": "browserify-zlib", - "version": "0.2.0", - "description": "Full zlib module for the browser", - "license": "MIT" - }, - { - "name": "buffer", - "version": "4.9.2", - "description": "Node.js Buffer API, for the browser", - "license": "MIT" - }, - { - "name": "buffer-crc32", - "version": "0.2.13", - "description": "A pure javascript CRC32 algorithm that plays nice with binary data", - "license": "MIT" - }, - { - "name": "buffer-from", - "version": "1.1.1", - "license": "MIT" - }, - { - "name": "buffer-xor", - "version": "1.0.3", - "description": "A simple module for bitwise-xor on buffers", - "license": "MIT" - }, - { - "name": "builtin-modules", - "version": "1.1.1", - "description": "List of the Node.js builtin modules", - "license": "MIT" - }, - { - "name": "builtin-status-codes", - "version": "3.0.0", - "description": "The map of HTTP status codes from the builtin http module", - "license": "MIT" - }, - { - "name": "bytes", - "version": "3.1.0", - "description": "Utility to parse a string bytes to bytes and vice-versa", - "license": "MIT" - }, - { - "name": "cacache", - "version": "12.0.4", - "description": "Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.", - "license": "ISC" - }, - { - "name": "cache-base", - "version": "1.0.1", - "description": "Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.", - "license": "MIT" - }, - { - "name": "camelcase", - "version": "5.3.1", - "description": "Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`", - "license": "MIT" - }, - { - "name": "camelcase-keys", - "version": "2.1.0", - "description": "Convert object keys to camelCase", - "license": "MIT" - }, - { - "name": "caseless", - "version": "0.12.0", - "description": "Caseless object set/get/has, very useful when working with HTTP headers.", - "license": "Apache-2.0" - }, - { - "name": "chai", - "version": "4.2.0", - "description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic.", - "license": "MIT" - }, - { - "name": "chalk", - "version": "2.4.2", - "description": "Terminal string styling done right", - "license": "MIT" - }, - { - "name": "check-error", - "version": "1.0.2", - "description": "Error comparison and information related utility for node and the browser", - "license": "MIT" - }, - { - "name": "check-types", - "version": "8.0.3", - "description": "A little library for asserting types and values.", - "license": "MIT" - }, - { - "name": "chokidar", - "version": "3.4.0", - "description": "A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.", - "license": "MIT" - }, - { - "name": "chownr", - "version": "1.1.4", - "description": "like `chown -R`", - "license": "ISC" - }, - { - "name": "chrome-trace-event", - "version": "1.0.2", - "description": "A library to create a trace of your node app per Google's Trace Event format.", - "license": "MIT" - }, - { - "name": "cipher-base", - "version": "1.0.4", - "description": "abstract base class for crypto-streams", - "license": "MIT" - }, - { - "name": "class-utils", - "version": "0.3.6", - "description": "Utils for working with JavaScript classes and prototype methods.", - "license": "MIT" - }, - { - "name": "cliui", - "version": "5.0.0", - "description": "easily create complex multi-column command-line-interfaces", - "license": "ISC" - }, - { - "name": "co", - "version": "4.6.0", - "description": "generator async control flow goodness", - "license": "MIT" - }, - { - "name": "code-point-at", - "version": "1.1.0", - "description": "ES2015 `String#codePointAt()` ponyfill", - "license": "MIT" - }, - { - "name": "collection-visit", - "version": "1.0.0", - "description": "Visit a method over the items in an object, or map visit over the objects in an array.", - "license": "MIT" - }, - { - "name": "color-convert", - "version": "1.9.3", - "description": "Plain color conversion functions", - "license": "MIT" - }, - { - "name": "color-name", - "version": "1.1.3", - "description": "A list of color names and its values", - "license": "MIT" - }, - { - "name": "combined-stream", - "version": "1.0.8", - "description": "A stream that emits multiple other streams one after another.", - "license": "MIT" - }, - { - "name": "commander", - "version": "2.20.3", - "description": "the complete solution for node.js command-line programs", - "license": "MIT" - }, - { - "name": "commondir", - "version": "1.0.1", - "description": "compute the closest common parent for file paths", - "license": "MIT" - }, - { - "name": "component-emitter", - "version": "1.3.0", - "description": "Event emitter", - "license": "MIT" - }, - { - "name": "concat-map", - "version": "0.0.1", - "description": "concatenative mapdashery", - "license": "MIT" - }, - { - "name": "concat-stream", - "version": "1.6.2", - "description": "writable stream that concatenates strings or binary data and calls a callback with the result", - "license": "MIT" - }, - { - "name": "console-browserify", - "version": "1.2.0", - "description": "Emulate console for all the browsers", - "license": "MIT" - }, - { - "name": "constants-browserify", - "version": "1.0.0", - "description": "node's constants module for the browser", - "license": "MIT" - }, - { - "name": "content-disposition", - "version": "0.5.3", - "description": "Create and parse Content-Disposition header", - "license": "MIT" - }, - { - "name": "content-type", - "version": "1.0.4", - "description": "Create and parse HTTP Content-Type header", - "license": "MIT" - }, - { - "name": "convert-source-map", - "version": "1.7.0", - "description": "Converts a source-map from/to different formats and allows adding/changing properties.", - "license": "MIT" - }, - { - "name": "cookie", - "version": "0.4.0", - "description": "HTTP server cookie parsing and serialization", - "license": "MIT" - }, - { - "name": "cookie-signature", - "version": "1.0.6", - "description": "Sign and unsign cookies", - "license": "MIT" - }, - { - "name": "copy-concurrently", - "version": "1.0.5", - "description": "Promises of copies of files, directories and symlinks, with concurrency controls and win32 junction fallback.", - "license": "ISC" - }, - { - "name": "copy-descriptor", - "version": "0.1.1", - "description": "Copy a descriptor from object A to object B", - "license": "MIT" - }, - { - "name": "copy-dir", - "version": "1.3.0", - "description": "copy-dir", - "license": "MIT" - }, - { - "name": "copy-webpack-plugin", - "version": "5.1.1", - "description": "Copy files && directories with webpack", - "license": "MIT" - }, - { - "name": "core-js", - "version": "2.6.11", - "description": "Standard library", - "license": "MIT" - }, - { - "name": "core-util-is", - "version": "1.0.2", - "description": "The `util.is*` functions introduced in Node v0.12.", - "license": "MIT" - }, - { - "name": "create-ecdh", - "version": "4.0.3", - "description": "createECDH but browserifiable", - "license": "MIT" - }, - { - "name": "create-hash", - "version": "1.2.0", - "description": "create hashes for browserify", - "license": "MIT" - }, - { - "name": "create-hmac", - "version": "1.1.7", - "description": "node style hmacs in the browser", - "license": "MIT" - }, - { - "name": "cross-env", - "version": "5.2.1", - "description": "Run scripts that set and use environment variables across platforms", - "license": "MIT" - }, - { - "name": "cross-spawn", - "version": "6.0.5", - "description": "Cross platform child_process#spawn and child_process#spawnSync", - "license": "MIT" - }, - { - "name": "crypto-browserify", - "version": "3.12.0", - "description": "implementation of crypto for the browser", - "license": "MIT" - }, - { - "name": "css-loader", - "version": "3.6.0", - "description": "css loader module for webpack", - "license": "MIT" - }, - { - "name": "cssesc", - "version": "3.0.0", - "description": "A JavaScript library for escaping CSS strings and identifiers while generating the shortest possible ASCII-only output.", - "license": "MIT" - }, - { - "name": "currently-unhandled", - "version": "0.4.1", - "description": "Track the list of currently unhandled promise rejections.", - "license": "MIT" - }, - { - "name": "cyclist", - "version": "1.0.1", - "description": "Cyclist is an efficient cyclic list implemention.", - "license": "MIT" - }, - { - "name": "dashdash", - "version": "1.14.1", - "description": "A light, featureful and explicit option parsing library.", - "license": "MIT" - }, - { - "name": "debug", - "version": "2.6.9", - "description": "small debugging utility", - "license": "MIT" - }, - { - "name": "decamelize", - "version": "1.2.0", - "description": "Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow", - "license": "MIT" - }, - { - "name": "decode-uri-component", - "version": "0.2.0", - "description": "A better decodeURIComponent", - "license": "MIT" - }, - { - "name": "deep-eql", - "version": "3.0.1", - "description": "Improved deep equality testing for Node.js and the browser.", - "license": "MIT" - }, - { - "name": "deep-extend", - "version": "0.6.0", - "description": "Recursive object extending", - "license": "MIT" - }, - { - "name": "deep-is", - "version": "0.1.3", - "description": "node's assert.deepEqual algorithm except for NaN being equal to NaN", - "license": "{\"type\":\"MIT\",\"url\":\"https://github.com/thlorenz/deep-is/blob/master/LICENSE\"}" - }, - { - "name": "define-property", - "version": "0.2.5", - "description": "Define a non-enumerable property on an object.", - "license": "MIT" - }, - { - "name": "delayed-stream", - "version": "1.0.0", - "description": "Buffers events from a stream until you are ready to handle them.", - "license": "MIT" - }, - { - "name": "depd", - "version": "1.1.2", - "description": "Deprecate all the things", - "license": "MIT" - }, - { - "name": "des.js", - "version": "1.0.1", - "description": "DES implementation", - "license": "MIT" - }, - { - "name": "destroy", - "version": "1.0.4", - "description": "destroy a stream if possible", - "license": "MIT" - }, - { - "name": "detect-file", - "version": "1.0.0", - "description": "Detects if a file exists and returns the resolved filepath.", - "license": "MIT" - }, - { - "name": "detect-indent", - "version": "4.0.0", - "description": "Detect the indentation of code", - "license": "MIT" - }, - { - "name": "diff", - "version": "3.5.0", - "description": "A javascript text diff implementation.", - "license": "BSD" - }, - { - "name": "diffie-hellman", - "version": "5.0.3", - "description": "pure js diffie-hellman", - "license": "MIT" - }, - { - "name": "dir-glob", - "version": "2.2.2", - "description": "Convert directories to glob compatible strings", - "license": "MIT" - }, - { - "name": "domain-browser", - "version": "1.2.0", - "description": "Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.", - "license": "MIT" - }, - { - "name": "duplexer", - "version": "0.1.1", - "description": "Creates a duplex stream", - "license": "MIT" - }, - { - "name": "duplexify", - "version": "3.7.1", - "description": "Turn a writable and readable stream into a streams2 duplex stream with support for async initialization and streams1/streams2 input", - "license": "MIT" - }, - { - "name": "ecc-jsbn", - "version": "0.1.2", - "description": "ECC JS code based on JSBN", - "license": "MIT" - }, - { - "name": "ee-first", - "version": "1.1.1", - "description": "return the first event in a set of ee/event pairs", - "license": "MIT" - }, - { - "name": "ejs", - "version": "2.7.4", - "description": "Embedded JavaScript templates", - "license": "Apache-2.0" - }, - { - "name": "electron", - "version": "4.2.12", - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "license": "MIT" - }, - { - "name": "electron-download", - "version": "4.1.1", - "description": "download electron prebuilt binary zips from github releases", - "license": "BSD-3-Clause" - }, - { - "name": "electron-mocha", - "version": "6.0.4", - "description": "Mocha tests in Electron.", - "license": "MIT" - }, - { - "name": "electron-window", - "version": "0.8.1", - "description": "Convenience methods for Electron windows.", - "license": "MIT" - }, - { - "name": "elliptic", - "version": "6.5.3", - "description": "EC cryptography", - "license": "MIT" - }, - { - "name": "emoji-regex", - "version": "7.0.3", - "description": "A regular expression to match all Emoji-only symbols as per the Unicode Standard.", - "license": "MIT" - }, - { - "name": "emojis-list", - "version": "3.0.0", - "description": "Complete list of standard emojis.", - "license": "MIT" - }, - { - "name": "encodeurl", - "version": "1.0.2", - "description": "Encode a URL to a percent-encoded form, excluding already-encoded sequences", - "license": "MIT" - }, - { - "name": "end-of-stream", - "version": "1.4.4", - "description": "Call a callback when a readable/writable/duplex stream has completed or failed.", - "license": "MIT" - }, - { - "name": "enhanced-resolve", - "version": "4.2.0", - "description": "Offers a async require.resolve function. It's highly configurable.", - "license": "MIT" - }, - { - "name": "env-paths", - "version": "1.0.0", - "description": "Get paths for storing things like data, config, cache, etc", - "license": "MIT" - }, - { - "name": "errno", - "version": "0.1.7", - "description": "libuv errno details exposed", - "license": "MIT" - }, - { - "name": "error-ex", - "version": "1.3.2", - "description": "Easy error subclassing and stack customization", - "license": "MIT" - }, - { - "name": "escape-html", - "version": "1.0.3", - "description": "Escape string for use in HTML", - "license": "MIT" - }, - { - "name": "escape-string-regexp", - "version": "1.0.5", - "description": "Escape RegExp special characters", - "license": "MIT" - }, - { - "name": "escodegen", - "version": "1.8.1", - "description": "ECMAScript code generator", - "license": "BSD-2-Clause" - }, - { - "name": "eslint-scope", - "version": "4.0.3", - "description": "ECMAScript scope analyzer for ESLint", - "license": "BSD-2-Clause" - }, - { - "name": "esprima", - "version": "2.7.3", - "description": "ECMAScript parsing infrastructure for multipurpose analysis", - "license": "BSD-2-Clause" - }, - { - "name": "esrecurse", - "version": "4.2.1", - "description": "ECMAScript AST recursive visitor", - "license": "BSD-2-Clause" - }, - { - "name": "estraverse", - "version": "4.3.0", - "description": "ECMAScript JS AST traversal functions", - "license": "BSD-2-Clause" - }, - { - "name": "esutils", - "version": "2.0.3", - "description": "utility box for ECMAScript language tools", - "license": "BSD-2-Clause" - }, - { - "name": "etag", - "version": "1.8.1", - "description": "Create simple HTTP ETags", - "license": "MIT" - }, - { - "name": "eventemitter3", - "version": "3.1.2", - "description": "EventEmitter3 focuses on performance while maintaining a Node.js AND browser compatible interface.", - "license": "MIT" - }, - { - "name": "events", - "version": "3.1.0", - "description": "Node's event emitter for all engines.", - "license": "MIT" - }, - { - "name": "evp_bytestokey", - "version": "1.0.3", - "description": "The insecure key derivation algorithm from OpenSSL", - "license": "MIT" - }, - { - "name": "expand-brackets", - "version": "2.1.4", - "description": "Expand POSIX bracket expressions (character classes) in glob patterns.", - "license": "MIT" - }, - { - "name": "expand-tilde", - "version": "2.0.2", - "description": "Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.", - "license": "MIT" - }, - { - "name": "express", - "version": "4.17.1", - "description": "Fast, unopinionated, minimalist web framework", - "license": "MIT" - }, - { - "name": "extend", - "version": "3.0.2", - "description": "Port of jQuery.extend for node.js and the browser", - "license": "MIT" - }, - { - "name": "extend-shallow", - "version": "2.0.1", - "description": "Extend an object with the properties of additional objects. node.js/javascript util.", - "license": "MIT" - }, - { - "name": "extglob", - "version": "2.0.4", - "description": "Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.", - "license": "MIT" - }, - { - "name": "extract-zip", - "version": "1.7.0", - "description": "unzip a zip file into a directory using 100% javascript", - "license": "BSD-2-Clause" - }, - { - "name": "extsprintf", - "version": "1.3.0", - "description": "extended POSIX-style sprintf", - "license": "MIT" - }, - { - "name": "fast-deep-equal", - "version": "3.1.3", - "description": "Fast deep equal", - "license": "MIT" - }, - { - "name": "fast-json-stable-stringify", - "version": "2.1.0", - "description": "deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify", - "license": "MIT" - }, - { - "name": "fast-levenshtein", - "version": "2.0.6", - "description": "Efficient implementation of Levenshtein algorithm with locale-specific collator support.", - "license": "MIT" - }, - { - "name": "fd-slicer", - "version": "1.1.0", - "description": "safely create multiple ReadStream or WriteStream objects from the same file descriptor", - "license": "MIT" - }, - { - "name": "figgy-pudding", - "version": "3.5.2", - "description": "Delicious, festive, cascading config/opts definitions", - "license": "ISC" - }, - { - "name": "file-uri-to-path", - "version": "1.0.0", - "description": "Convert a file: URI to a file path", - "license": "MIT" - }, - { - "name": "filesize", - "version": "3.6.1", - "description": "JavaScript library to generate a human readable String describing the file size", - "license": "BSD-3-Clause" - }, - { - "name": "fill-range", - "version": "4.0.0", - "description": "Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`", - "license": "MIT" - }, - { - "name": "finalhandler", - "version": "1.1.2", - "description": "Node.js final http responder", - "license": "MIT" - }, - { - "name": "find-cache-dir", - "version": "2.1.0", - "description": "Finds the common standard cache directory", - "license": "MIT" - }, - { - "name": "find-up", - "version": "3.0.0", - "description": "Find a file or directory by walking up parent directories", - "license": "MIT" - }, - { - "name": "findup-sync", - "version": "3.0.0", - "description": "Find the first file matching a given pattern in the current directory or the nearest ancestor directory.", - "license": "MIT" - }, - { - "name": "flush-write-stream", - "version": "1.1.1", - "description": "A write stream constructor that supports a flush function that is called before finish is emitted", - "license": "MIT" - }, - { - "name": "for-in", - "version": "1.0.2", - "description": "Iterate over the own and inherited enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Exit early by returning `false`. JavaScript/Node.js", - "license": "MIT" - }, - { - "name": "forever-agent", - "version": "0.6.1", - "description": "HTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.", - "license": "Apache-2.0" - }, - { - "name": "form-data", - "version": "2.3.3", - "description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.", - "license": "MIT" - }, - { - "name": "forwarded", - "version": "0.1.2", - "description": "Parse HTTP X-Forwarded-For header", - "license": "MIT" - }, - { - "name": "fragment-cache", - "version": "0.2.1", - "description": "A cache for managing namespaced sub-caches", - "license": "MIT" - }, - { - "name": "fresh", - "version": "0.5.2", - "description": "HTTP response freshness testing", - "license": "MIT" - }, - { - "name": "from2", - "version": "2.3.0", - "description": "Convenience wrapper for ReadableStream, with an API lifted from \"from\" and \"through2\"", - "license": "MIT" - }, - { - "name": "fs-extra", - "version": "6.0.1", - "description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as mkdir -p, cp -r, and rm -rf.", - "license": "MIT" - }, - { - "name": "fs-write-stream-atomic", - "version": "1.0.10", - "description": "Like `fs.createWriteStream(...)`, but atomic.", - "license": "ISC" - }, - { - "name": "fs.realpath", - "version": "1.0.0", - "description": "Use node's fs.realpath, but fall back to the JS implementation if the native one fails", - "license": "ISC" - }, - { - "name": "fsevents", - "version": "2.1.3", - "description": "Native Access to MacOS FSEvents", - "license": "MIT" - }, - { - "name": "get-caller-file", - "version": "2.0.5", - "description": "", - "license": "ISC" - }, - { - "name": "get-func-name", - "version": "2.0.0", - "description": "Utility for getting a function's name for node and the browser", - "license": "MIT" - }, - { - "name": "get-stdin", - "version": "4.0.1", - "description": "Easier stdin", - "license": "MIT" - }, - { - "name": "get-value", - "version": "2.0.6", - "description": "Use property paths (`a.b.c`) to get a nested value from an object.", - "license": "MIT" - }, - { - "name": "getpass", - "version": "0.1.7", - "description": "getpass for node.js", - "license": "MIT" - }, - { - "name": "glob", - "version": "7.1.6", - "description": "a little globber", - "license": "ISC" - }, - { - "name": "glob-parent", - "version": "3.1.0", - "description": "Strips glob magic from a string to provide the parent directory path", - "license": "ISC" - }, - { - "name": "global-modules", - "version": "2.0.0", - "description": "The directory used by npm for globally installed npm modules.", - "license": "MIT" - }, - { - "name": "global-prefix", - "version": "3.0.0", - "description": "Get the npm global path prefix.", - "license": "MIT" - }, - { - "name": "globals", - "version": "9.18.0", - "description": "Global identifiers from different JavaScript environments", - "license": "MIT" - }, - { - "name": "globby", - "version": "7.1.1", - "description": "Extends `glob` with support for multiple patterns and exposes a Promise API", - "license": "MIT" - }, - { - "name": "graceful-fs", - "version": "4.2.4", - "description": "A drop-in replacement for fs, making various improvements.", - "license": "ISC" - }, - { - "name": "growl", - "version": "1.10.5", - "description": "Growl unobtrusive notifications", - "license": "MIT" - }, - { - "name": "gzip-size", - "version": "5.1.1", - "description": "Get the gzipped size of a string or buffer", - "license": "MIT" - }, - { - "name": "handlebars", - "version": "4.7.6", - "description": "Handlebars provides the power necessary to let you build semantic templates effectively with no frustration", - "license": "MIT" - }, - { - "name": "har-schema", - "version": "2.0.0", - "description": "JSON Schema for HTTP Archive (HAR)", - "license": "ISC" - }, - { - "name": "har-validator", - "version": "5.1.3", - "description": "Extremely fast HTTP Archive (HAR) validator using JSON Schema", - "license": "MIT" - }, - { - "name": "has-ansi", - "version": "2.0.0", - "description": "Check if a string has ANSI escape codes", - "license": "MIT" - }, - { - "name": "has-flag", - "version": "3.0.0", - "description": "Check if argv has a specific flag", - "license": "MIT" - }, - { - "name": "has-value", - "version": "1.0.0", - "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.", - "license": "MIT" - }, - { - "name": "has-values", - "version": "1.0.0", - "description": "Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. ", - "license": "MIT" - }, - { - "name": "hash-base", - "version": "3.1.0", - "description": "abstract base class for hash-streams", - "license": "MIT" - }, - { - "name": "hash.js", - "version": "1.1.7", - "description": "Various hash functions that could be run by both browser and node", - "license": "MIT" - }, - { - "name": "he", - "version": "1.1.1", - "description": "A robust HTML entities encoder/decoder with full Unicode support.", - "license": "MIT" - }, - { - "name": "highlight.js", - "version": "9.18.1", - "description": "Syntax highlighting with language autodetection.", - "license": "BSD-3-Clause" - }, - { - "name": "hls.js", - "version": "0.13.2", - "description": "JavaScript HLS client using MediaSourceExtension", - "license": "Apache-2.0" - }, - { - "name": "hmac-drbg", - "version": "1.0.1", - "description": "Deterministic random bit generator (hmac)", - "license": "MIT" - }, - { - "name": "homedir-polyfill", - "version": "1.0.3", - "description": "Node.js os.homedir polyfill for older versions of node.js.", - "license": "MIT" - }, - { - "name": "hoopy", - "version": "0.1.4", - "description": "Like an array, but rounder.", - "license": "MIT" - }, - { - "name": "hosted-git-info", - "version": "2.8.8", - "description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab", - "license": "ISC" - }, - { - "name": "http-errors", - "version": "1.7.2", - "description": "Create HTTP error objects", - "license": "MIT" - }, - { - "name": "http-signature", - "version": "1.2.0", - "description": "Reference implementation of Joyent's HTTP Signature scheme.", - "license": "MIT" - }, - { - "name": "https-browserify", - "version": "1.0.0", - "description": "https module compatability for browserify", - "license": "MIT" - }, - { - "name": "iconv-lite", - "version": "0.4.24", - "description": "Convert character encodings in pure javascript.", - "license": "MIT" - }, - { - "name": "icss-utils", - "version": "4.1.1", - "description": "ICSS utils for postcss ast", - "license": "ISC" - }, - { - "name": "ieee754", - "version": "1.1.13", - "description": "Read/write IEEE754 floating point numbers from/to a Buffer or array-like object", - "license": "BSD-3-Clause" - }, - { - "name": "iferr", - "version": "0.1.5", - "description": "Higher-order functions for easier error handling", - "license": "MIT" - }, - { - "name": "ignore", - "version": "3.3.10", - "description": "Ignore is a manager and filter for .gitignore rules.", - "license": "MIT" - }, - { - "name": "image-scale", - "version": "2.1.0", - "description": "Scale images to fit or fill any target container via two simple properties: scale and align.", - "license": "MIT" - }, - { - "name": "import-local", - "version": "2.0.0", - "description": "Let a globally installed package use a locally installed version of itself if available", - "license": "MIT" - }, - { - "name": "imurmurhash", - "version": "0.1.4", - "description": "An incremental implementation of MurmurHash3", - "license": "MIT" - }, - { - "name": "indent-string", - "version": "2.1.0", - "description": "Indent each line in a string", - "license": "MIT" - }, - { - "name": "indexes-of", - "version": "1.0.1", - "description": "line String/Array#indexOf but return all the indexes in an array", - "license": "MIT" - }, - { - "name": "infer-owner", - "version": "1.0.4", - "description": "Infer the owner of a path based on the owner of its nearest existing parent", - "license": "ISC" - }, - { - "name": "inflight", - "version": "1.0.6", - "description": "Add callbacks to requests in flight to avoid async duplication", - "license": "ISC" - }, - { - "name": "inherits", - "version": "2.0.4", - "description": "Browser-friendly inheritance fully compatible with standard node.js inherits()", - "license": "ISC" - }, - { - "name": "ini", - "version": "1.3.5", - "description": "An ini encoder/decoder for node", - "license": "ISC" - }, - { - "name": "interpret", - "version": "1.4.0", - "description": "A dictionary of file extensions and associated module loaders.", - "license": "MIT" - }, - { - "name": "invariant", - "version": "2.2.4", - "description": "invariant", - "license": "MIT" - }, - { - "name": "ipaddr.js", - "version": "1.9.1", - "description": "A library for manipulating IPv4 and IPv6 addresses in JavaScript.", - "license": "MIT" - }, - { - "name": "is-accessor-descriptor", - "version": "1.0.0", - "description": "Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.", - "license": "MIT" - }, - { - "name": "is-arrayish", - "version": "0.2.1", - "description": "Determines if an object can be used as an array", - "license": "MIT" - }, - { - "name": "is-binary-path", - "version": "2.1.0", - "description": "Check if a file path is a binary file", - "license": "MIT" - }, - { - "name": "is-buffer", - "version": "1.1.6", - "description": "Determine if an object is a Buffer", - "license": "MIT" - }, - { - "name": "is-data-descriptor", - "version": "1.0.0", - "description": "Returns true if a value has the characteristics of a valid JavaScript data descriptor.", - "license": "MIT" - }, - { - "name": "is-descriptor", - "version": "1.0.2", - "description": "Returns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.", - "license": "MIT" - }, - { - "name": "is-electron-renderer", - "version": "2.0.1", - "description": "Check if code is running in Electron renderer process.", - "license": "MIT" - }, - { - "name": "is-extendable", - "version": "0.1.1", - "description": "Returns true if a value is any of the object types: array, regexp, plain object, function or date. This is useful for determining if a value can be extended, e.g. \"can the value have keys?\"", - "license": "MIT" - }, - { - "name": "is-extglob", - "version": "2.1.1", - "description": "Returns true if a string has an extglob.", - "license": "MIT" - }, - { - "name": "is-finite", - "version": "1.1.0", - "description": "ES2015 Number.isFinite() ponyfill", - "license": "MIT" - }, - { - "name": "is-fullwidth-code-point", - "version": "2.0.0", - "description": "Check if the character represented by a given Unicode code point is fullwidth", - "license": "MIT" - }, - { - "name": "is-glob", - "version": "4.0.1", - "description": "Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a better user experience.", - "license": "MIT" - }, - { - "name": "is-number", - "version": "3.0.0", - "description": "Returns true if the value is a number. comprehensive tests.", - "license": "MIT" - }, - { - "name": "is-plain-object", - "version": "2.0.4", - "description": "Returns true if an object was created by the `Object` constructor.", - "license": "MIT" - }, - { - "name": "is-typedarray", - "version": "1.0.0", - "description": "Detect whether or not an object is a Typed Array", - "license": "MIT" - }, - { - "name": "is-utf8", - "version": "0.2.1", - "description": "Detect if a buffer is utf8 encoded.", - "license": "MIT" - }, - { - "name": "is-windows", - "version": "1.0.2", - "description": "Returns true if the platform is windows. UMD module, works with node.js, commonjs, browser, AMD, electron, etc.", - "license": "MIT" - }, - { - "name": "is-wsl", - "version": "1.1.0", - "description": "Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)", - "license": "MIT" - }, - { - "name": "isarray", - "version": "1.0.0", - "description": "Array#isArray for older browsers", - "license": "MIT" - }, - { - "name": "isexe", - "version": "2.0.0", - "description": "Minimal module to check if a file is executable.", - "license": "ISC" - }, - { - "name": "isobject", - "version": "3.0.1", - "description": "Returns true if the value is an object and not an array or null.", - "license": "MIT" - }, - { - "name": "isstream", - "version": "0.1.2", - "description": "Determine if an object is a Stream", - "license": "MIT" - }, - { - "name": "istanbul", - "version": "0.4.5", - "description": "Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale", - "license": "BSD-3-Clause" - }, - { - "name": "istanbul-instrumenter-loader", - "version": "3.0.1", - "description": "Istanbul instrumenter loader for webpack", - "license": "MIT" - }, - { - "name": "istanbul-lib-coverage", - "version": "1.2.1", - "description": "Data library for istanbul coverage objects", - "license": "BSD-3-Clause" - }, - { - "name": "istanbul-lib-instrument", - "version": "1.10.2", - "description": "Core istanbul API for JS code coverage", - "license": "BSD-3-Clause" - }, - { - "name": "istanbul-threshold-checker", - "version": "0.2.1", - "description": "Utility module to check istanbul thresholds", - "license": "MIT" - }, - { - "name": "jquery", - "version": "3.5.1", - "description": "JavaScript library for DOM operations", - "license": "MIT" - }, - { - "name": "jquery-touchswipe", - "version": "1.6.19", - "description": "A jquery plugin to be used on touch devices such as iPad, iPhone, Android etc, to react to swipe gestures.", - "license": "[{\"type\":\"MIT\",\"url\":\"https://raw.githubusercontent.com/mattbryson/TouchSwipe-Jquery-Plugin/master/LICENCE\"},{\"type\":\"GPL V2\",\"url\":\"https://raw.githubusercontent.com/mattbryson/TouchSwipe-Jquery-Plugin/master/LICENCE\"}]" - }, - { - "name": "js-tokens", - "version": "4.0.0", - "description": "A regex that tokenizes JavaScript.", - "license": "MIT" - }, - { - "name": "js-yaml", - "version": "3.14.0", - "description": "YAML 1.2 parser and serializer", - "license": "MIT" - }, - { - "name": "jsbn", - "version": "0.1.1", - "description": "The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers.", - "license": "MIT" - }, - { - "name": "jsesc", - "version": "1.3.0", - "description": "A JavaScript library for escaping JavaScript strings while generating the shortest possible valid output.", - "license": "MIT" - }, - { - "name": "json-parse-better-errors", - "version": "1.0.2", - "description": "JSON.parse with context information on error", - "license": "MIT" - }, - { - "name": "json-schema", - "version": "0.2.3", - "description": "JSON Schema validation and specifications", - "license": "BSD, AFL" - }, - { - "name": "json-schema-traverse", - "version": "0.4.1", - "description": "Traverse JSON Schema passing each schema object to callback", - "license": "MIT" - }, - { - "name": "json-stringify-safe", - "version": "5.0.1", - "description": "Like JSON.stringify, but doesn't blow up on circular refs.", - "license": "ISC" - }, - { - "name": "json5", - "version": "1.0.1", - "description": "JSON for humans.", - "license": "MIT" - }, - { - "name": "jsonfile", - "version": "4.0.0", - "description": "Easily read/write JSON files.", - "license": "MIT" - }, - { - "name": "jsprim", - "version": "1.4.1", - "description": "utilities for primitive JavaScript types", - "license": "MIT" - }, - { - "name": "just-extend", - "version": "4.1.0", - "description": "extend an object", - "license": "MIT" - }, - { - "name": "kind-of", - "version": "3.2.2", - "description": "Get the native type of a value.", - "license": "MIT" - }, - { - "name": "levn", - "version": "0.3.0", - "description": "Light ECMAScript (JavaScript) Value Notation - human written, concise, typed, flexible", - "license": "MIT" - }, - { - "name": "load-json-file", - "version": "1.1.0", - "description": "Read and parse a JSON file", - "license": "MIT" - }, - { - "name": "loader-runner", - "version": "2.4.0", - "description": "Runs (webpack) loaders", - "license": "MIT" - }, - { - "name": "loader-utils", - "version": "1.4.0", - "description": "utils for webpack loaders", - "license": "MIT" - }, - { - "name": "locate-path", - "version": "3.0.0", - "description": "Get the first path that exists on disk of multiple paths", - "license": "MIT" - }, - { - "name": "lodash", - "version": "4.17.15", - "description": "Lodash modular utilities.", - "license": "MIT" - }, - { - "name": "lodash.throttle", - "version": "4.1.1", - "description": "The lodash method `_.throttle` exported as a module.", - "license": "MIT" - }, - { - "name": "loglevel", - "version": "1.6.8", - "description": "Minimal lightweight logging for JavaScript, adding reliable log level methods to any available console.log methods", - "license": "MIT" - }, - { - "name": "lolex", - "version": "4.2.0", - "description": "Fake JavaScript timers", - "license": "BSD-3-Clause" - }, - { - "name": "loose-envify", - "version": "1.4.0", - "description": "Fast (and loose) selective `process.env` replacer using js-tokens instead of an AST", - "license": "MIT" - }, - { - "name": "loud-rejection", - "version": "1.6.0", - "description": "Make unhandled promise rejections fail loudly instead of the default silent fail", - "license": "MIT" - }, - { - "name": "lru-cache", - "version": "5.1.1", - "description": "A cache object that deletes the least-recently-used items.", - "license": "ISC" - }, - { - "name": "lunr", - "version": "2.3.8", - "description": "Simple full-text search in your browser.", - "license": "MIT" - }, - { - "name": "make-dir", - "version": "2.1.0", - "description": "Make a directory and its parents if needed - Think `mkdir -p`", - "license": "MIT" - }, - { - "name": "make-error", - "version": "1.3.6", - "description": "Make your own error types!", - "license": "ISC" - }, - { - "name": "map-cache", - "version": "0.2.2", - "description": "Basic cache object for storing key-value pairs.", - "license": "MIT" - }, - { - "name": "map-obj", - "version": "1.0.1", - "description": "Map object keys and values into a new object", - "license": "MIT" - }, - { - "name": "map-visit", - "version": "1.0.0", - "description": "Map `visit` over an array of objects.", - "license": "MIT" - }, - { - "name": "marked", - "version": "0.8.2", - "description": "A markdown parser built for speed", - "license": "MIT" - }, - { - "name": "md5.js", - "version": "1.3.5", - "description": "node style md5 on pure JavaScript", - "license": "MIT" - }, - { - "name": "media-typer", - "version": "0.3.0", - "description": "Simple RFC 6838 media type parser and formatter", - "license": "MIT" - }, - { - "name": "memory-fs", - "version": "0.4.1", - "description": "A simple in-memory filesystem. Holds data in a javascript object.", - "license": "MIT" - }, - { - "name": "meow", - "version": "3.7.0", - "description": "CLI app helper", - "license": "MIT" - }, - { - "name": "merge-descriptors", - "version": "1.0.1", - "description": "Merge objects using descriptors", - "license": "MIT" - }, - { - "name": "methods", - "version": "1.1.2", - "description": "HTTP methods that node supports", - "license": "MIT" - }, - { - "name": "micromatch", - "version": "3.1.10", - "description": "Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.", - "license": "MIT" - }, - { - "name": "miller-rabin", - "version": "4.0.1", - "description": "Miller Rabin algorithm for primality test", - "license": "MIT" - }, - { - "name": "mime", - "version": "1.6.0", - "description": "A comprehensive library for mime-type mapping", - "license": "MIT" - }, - { - "name": "mime-db", - "version": "1.44.0", - "description": "Media Type Database", - "license": "MIT" - }, - { - "name": "mime-types", - "version": "2.1.27", - "description": "The ultimate javascript content-type utility.", - "license": "MIT" - }, - { - "name": "minimalistic-assert", - "version": "1.0.1", - "description": "minimalistic-assert ===", - "license": "ISC" - }, - { - "name": "minimalistic-crypto-utils", - "version": "1.0.1", - "description": "Minimalistic tools for JS crypto modules", - "license": "MIT" - }, - { - "name": "minimatch", - "version": "3.0.4", - "description": "a glob matcher in javascript", - "license": "ISC" - }, - { - "name": "minimist", - "version": "1.2.5", - "description": "parse argument options", - "license": "MIT" - }, - { - "name": "mississippi", - "version": "3.0.0", - "description": "a collection of useful streams", - "license": "BSD-2-Clause" - }, - { - "name": "mixin-deep", - "version": "1.3.2", - "description": "Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.", - "license": "MIT" - }, - { - "name": "mkdirp", - "version": "0.5.5", - "description": "Recursively mkdir, like `mkdir -p`", - "license": "MIT" - }, - { - "name": "mocha", - "version": "5.2.0", - "description": "simple, flexible, fun test framework", - "license": "MIT" - }, - { - "name": "move-concurrently", - "version": "1.0.1", - "description": "Promises of moves of files or directories with rename, falling back to recursive rename/copy on EXDEV errors, with configurable concurrency and win32 junction support.", - "license": "ISC" - }, - { - "name": "mp3-parser", - "version": "0.3.0", - "description": "Read MPEG audio frames & tags", - "license": "MIT" - }, - { - "name": "ms", - "version": "2.0.0", - "description": "Tiny milisecond conversion utility", - "license": "MIT" - }, - { - "name": "nan", - "version": "2.14.1", - "description": "Native Abstractions for Node.js: C++ header for Node 0.8 -> 14 compatibility", - "license": "MIT" - }, - { - "name": "nanomatch", - "version": "1.2.13", - "description": "Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)", - "license": "MIT" - }, - { - "name": "negotiator", - "version": "0.6.2", - "description": "HTTP content negotiation", - "license": "MIT" - }, - { - "name": "neo-async", - "version": "2.6.1", - "description": "Neo-Async is thought to be used as a drop-in replacement for Async, it almost fully covers its functionality and runs faster ", - "license": "MIT" - }, - { - "name": "nice-try", - "version": "1.0.5", - "description": "Tries to execute a function and discards any error that occurs", - "license": "MIT" - }, - { - "name": "nise", - "version": "1.5.3", - "description": "Fake XHR and server", - "license": "BSD-3-Clause" - }, - { - "name": "node-libs-browser", - "version": "2.2.1", - "description": "The node core libs for in browser usage.", - "license": "MIT" - }, - { - "name": "nopt", - "version": "3.0.6", - "description": "Option parsing for Node, supporting types, shorthands, etc. Used by npm.", - "license": "ISC" - }, - { - "name": "normalize-package-data", - "version": "2.5.0", - "description": "Normalizes data that can be found in package.json files.", - "license": "BSD-2-Clause" - }, - { - "name": "normalize-path", - "version": "3.0.0", - "description": "Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.", - "license": "MIT" - }, - { - "name": "nugget", - "version": "2.0.1", - "description": "minimalist wget clone written in node. HTTP GETs a file and saves it to the current working directory", - "license": "BSD-3-Clause" - }, - { - "name": "number-is-nan", - "version": "1.0.1", - "description": "ES2015 Number.isNaN() ponyfill", - "license": "MIT" - }, - { - "name": "oauth-sign", - "version": "0.9.0", - "description": "OAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module.", - "license": "Apache-2.0" - }, - { - "name": "object-assign", - "version": "4.1.1", - "description": "ES2015 `Object.assign()` ponyfill", - "license": "MIT" - }, - { - "name": "object-copy", - "version": "0.1.0", - "description": "Copy static properties, prototype properties, and descriptors from one object to another.", - "license": "MIT" - }, - { - "name": "object-keys", - "version": "0.4.0", - "description": "An Object.keys replacement, in case Object.keys is not available. From https://github.com/kriskowal/es5-shim", - "license": "MIT" - }, - { - "name": "object-visit", - "version": "1.0.1", - "description": "Call a specified method on each value in the given object.", - "license": "MIT" - }, - { - "name": "object.pick", - "version": "1.3.0", - "description": "Returns a filtered copy of an object with only the specified keys, similar to `_.pick` from lodash / underscore.", - "license": "MIT" - }, - { - "name": "on-finished", - "version": "2.3.0", - "description": "Execute a callback when a request closes, finishes, or errors", - "license": "MIT" - }, - { - "name": "once", - "version": "1.4.0", - "description": "Run a function exactly one time", - "license": "ISC" - }, - { - "name": "opener", - "version": "1.5.1", - "description": "Opens stuff, like webpages and files and executables, cross-platform", - "license": "(WTFPL OR MIT)" - }, - { - "name": "optionator", - "version": "0.8.3", - "description": "option parsing and help generation", - "license": "MIT" - }, - { - "name": "os-browserify", - "version": "0.3.0", - "license": "MIT" - }, - { - "name": "p-limit", - "version": "2.3.0", - "description": "Run multiple promise-returning & async functions with limited concurrency", - "license": "MIT" - }, - { - "name": "p-locate", - "version": "3.0.0", - "description": "Get the first fulfilled promise that satisfies the provided testing function", - "license": "MIT" - }, - { - "name": "p-try", - "version": "2.2.0", - "description": "`Start a promise chain", - "license": "MIT" - }, - { - "name": "pako", - "version": "1.0.11", - "description": "zlib port to javascript - fast, modularized, with browser support", - "license": "(MIT AND Zlib)" - }, - { - "name": "parallel-transform", - "version": "1.2.0", - "description": "Transform stream that allows you to run your transforms in parallel without changing the order", - "license": "MIT" - }, - { - "name": "parse-asn1", - "version": "5.1.5", - "description": "utility library for parsing asn1 files for use with browserify-sign.", - "license": "ISC" - }, - { - "name": "parse-json", - "version": "2.2.0", - "description": "Parse JSON with more helpful errors", - "license": "MIT" - }, - { - "name": "parse-passwd", - "version": "1.0.0", - "description": "Parse a passwd file into a list of users.", - "license": "MIT" - }, - { - "name": "parseurl", - "version": "1.3.3", - "description": "parse a url with memoization", - "license": "MIT" - }, - { - "name": "pascalcase", - "version": "0.1.1", - "description": "Convert a string to pascal-case.", - "license": "MIT" - }, - { - "name": "path-browserify", - "version": "0.0.1", - "description": "the path module from node core for browsers", - "license": "MIT" - }, - { - "name": "path-dirname", - "version": "1.0.2", - "description": "Node.js path.dirname() ponyfill", - "license": "MIT" - }, - { - "name": "path-exists", - "version": "3.0.0", - "description": "Check if a path exists", - "license": "MIT" - }, - { - "name": "path-is-absolute", - "version": "1.0.1", - "description": "Node.js 0.12 path.isAbsolute() ponyfill", - "license": "MIT" - }, - { - "name": "path-key", - "version": "2.0.1", - "description": "Get the PATH environment variable key cross-platform", - "license": "MIT" - }, - { - "name": "path-parse", - "version": "1.0.6", - "description": "Node.js path.parse() ponyfill", - "license": "MIT" - }, - { - "name": "path-to-regexp", - "version": "0.1.7", - "description": "Express style path to RegExp utility", - "license": "MIT" - }, - { - "name": "path-type", - "version": "3.0.0", - "description": "Check if a path is a file, directory, or symlink", - "license": "MIT" - }, - { - "name": "pathval", - "version": "1.1.0", - "description": "Object value retrieval given a string path", - "license": "MIT" - }, - { - "name": "pbkdf2", - "version": "3.1.1", - "description": "This library provides the functionality of PBKDF2 with the ability to use any supported hashing algorithm returned from crypto.getHashes()", - "license": "MIT" - }, - { - "name": "pend", - "version": "1.2.0", - "description": "dead-simple optimistic async helper", - "license": "MIT" - }, - { - "name": "perfect-scrollbar", - "version": "1.5.0", - "description": "Minimalistic but perfect custom scrollbar plugin", - "license": "MIT" - }, - { - "name": "performance-now", - "version": "2.1.0", - "description": "Implements performance.now (based on process.hrtime).", - "license": "MIT" - }, - { - "name": "picomatch", - "version": "2.2.2", - "description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.", - "license": "MIT" - }, - { - "name": "pify", - "version": "2.3.0", - "description": "Promisify a callback-style function", - "license": "MIT" - }, - { - "name": "pinkie", - "version": "2.0.4", - "description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation", - "license": "MIT" - }, - { - "name": "pinkie-promise", - "version": "2.0.1", - "description": "ES2015 Promise ponyfill", - "license": "MIT" - }, - { - "name": "pkg-dir", - "version": "3.0.0", - "description": "Find the root directory of a Node.js project or npm package", - "license": "MIT" - }, - { - "name": "posix-character-classes", - "version": "0.1.1", - "description": "POSIX character classes for creating regular expressions.", - "license": "MIT" - }, - { - "name": "postcss", - "version": "7.0.32", - "description": "Tool for transforming styles with JS plugins", - "license": "MIT" - }, - { - "name": "postcss-modules-extract-imports", - "version": "2.0.0", - "description": "A CSS Modules transform to extract local aliases for inline imports", - "license": "ISC" - }, - { - "name": "postcss-modules-local-by-default", - "version": "3.0.2", - "description": "A CSS Modules transform to make local scope the default", - "license": "MIT" - }, - { - "name": "postcss-modules-scope", - "version": "2.2.0", - "description": "A CSS Modules transform to extract export statements from local-scope classes", - "license": "ISC" - }, - { - "name": "postcss-modules-values", - "version": "3.0.0", - "description": "PostCSS plugin for CSS Modules to pass arbitrary values between your module files", - "license": "ISC" - }, - { - "name": "postcss-selector-parser", - "version": "6.0.2", - "license": "MIT" - }, - { - "name": "postcss-value-parser", - "version": "4.1.0", - "description": "Transforms css values and at-rule params into the tree", - "license": "MIT" - }, - { - "name": "prelude-ls", - "version": "1.1.2", - "description": "prelude.ls is a functionally oriented utility library. It is powerful and flexible. Almost all of its functions are curried. It is written in, and is the recommended base library for, LiveScript.", - "license": "[{\"type\":\"MIT\",\"url\":\"https://raw.github.com/gkz/prelude-ls/master/LICENSE\"}]" - }, - { - "name": "pretty-bytes", - "version": "1.0.4", - "description": "Convert bytes to a human readable string: 1337 → 1.34 kB", - "license": "MIT" - }, - { - "name": "process", - "version": "0.11.10", - "description": "process information for node.js and browsers", - "license": "MIT" - }, - { - "name": "process-nextick-args", - "version": "2.0.1", - "description": "process.nextTick but always with args", - "license": "MIT" - }, - { - "name": "progress", - "version": "2.0.3", - "description": "Flexible ascii progress bar", - "license": "MIT" - }, - { - "name": "progress-stream", - "version": "1.2.0", - "description": "Read the progress of a stream", - "license": "BSD-2-Clause" - }, - { - "name": "promise-inflight", - "version": "1.0.1", - "description": "One promise for multiple requests in flight to avoid async duplication", - "license": "ISC" - }, - { - "name": "proxy-addr", - "version": "2.0.6", - "description": "Determine address of proxied request", - "license": "MIT" - }, - { - "name": "prr", - "version": "1.0.1", - "description": "A better Object.defineProperty()", - "license": "MIT" - }, - { - "name": "psl", - "version": "1.8.0", - "description": "Domain name parser based on the Public Suffix List", - "license": "MIT" - }, - { - "name": "public-encrypt", - "version": "4.0.3", - "description": "browserify version of publicEncrypt & privateDecrypt", - "license": "MIT" - }, - { - "name": "pump", - "version": "3.0.0", - "description": "pipe streams together and close all of them if one of them closes", - "license": "MIT" - }, - { - "name": "pumpify", - "version": "1.5.1", - "description": "Combine an array of streams into a single duplex stream using pump and duplexify", - "license": "MIT" - }, - { - "name": "punycode", - "version": "2.1.1", - "description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.", - "license": "MIT" - }, - { - "name": "qs", - "version": "6.7.0", - "description": "A querystring parser that supports nesting and arrays, with a depth limit", - "license": "BSD-3-Clause" - }, - { - "name": "querystring", - "version": "0.2.0", - "description": "Node's querystring module for all engines.", - "license": "[{\"type\":\"MIT\",\"url\":\"https://github.com/Gozala/enchain/License.md\"}]" - }, - { - "name": "querystring-es3", - "version": "0.2.1", - "description": "Node's querystring module for all engines. (ES3 compat fork)", - "license": "[{\"type\":\"MIT\",\"url\":\"https://github.com/Gozala/enchain/License.md\"}]" - }, - { - "name": "randombytes", - "version": "2.1.0", - "description": "random bytes from browserify stand alone", - "license": "MIT" - }, - { - "name": "randomfill", - "version": "1.0.4", - "description": "random fill from browserify stand alone", - "license": "MIT" - }, - { - "name": "range-parser", - "version": "1.2.1", - "description": "Range header field string parser", - "license": "MIT" - }, - { - "name": "raw-body", - "version": "2.4.0", - "description": "Get and validate the raw body of a readable stream.", - "license": "MIT" - }, - { - "name": "rc", - "version": "1.2.8", - "description": "hardwired configuration loader", - "license": "MIT" - }, - { - "name": "read-pkg", - "version": "1.1.0", - "description": "Read a package.json file", - "license": "MIT" - }, - { - "name": "read-pkg-up", - "version": "1.0.1", - "description": "Read the closest package.json file", - "license": "MIT" - }, - { - "name": "readable-stream", - "version": "2.3.7", - "description": "Streams3, a user-land copy of the stream library from Node.js", - "license": "MIT" - }, - { - "name": "readdirp", - "version": "3.4.0", - "description": "Recursive version of fs.readdir with streaming API.", - "license": "MIT" - }, - { - "name": "rechoir", - "version": "0.6.2", - "description": "Require any supported file as a node module.", - "license": "[{\"type\":\"MIT\",\"url\":\"https://github.com/tkellen/node-rechoir/blob/master/LICENSE\"}]" - }, - { - "name": "redent", - "version": "1.0.0", - "description": "Strip redundant indentation and indent the string", - "license": "MIT" - }, - { - "name": "regenerator-runtime", - "version": "0.13.5", - "description": "Runtime for Regenerator-compiled generator and async functions.", - "license": "MIT" - }, - { - "name": "regex-not", - "version": "1.0.2", - "description": "Create a javascript regular expression for matching everything except for the given string.", - "license": "MIT" - }, - { - "name": "remove-trailing-separator", - "version": "1.1.0", - "description": "Removes separators from the end of the string.", - "license": "ISC" - }, - { - "name": "repeat-element", - "version": "1.1.3", - "description": "Create an array by repeating the given value n times.", - "license": "MIT" - }, - { - "name": "repeat-string", - "version": "1.6.1", - "description": "Repeat the given string n times. Fastest implementation for repeating a string.", - "license": "MIT" - }, - { - "name": "repeating", - "version": "2.0.1", - "description": "Repeat a string - fast", - "license": "MIT" - }, - { - "name": "request", - "version": "2.88.2", - "description": "Simplified HTTP request client.", - "license": "Apache-2.0" - }, - { - "name": "require-directory", - "version": "2.1.1", - "description": "Recursively iterates over specified directory, require()'ing each file, and returning a nested hash structure containing those modules.", - "license": "MIT" - }, - { - "name": "require-main-filename", - "version": "2.0.0", - "description": "shim for require.main.filename() that works in as many environments as possible", - "license": "ISC" - }, - { - "name": "resolve", - "version": "1.17.0", - "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously", - "license": "MIT" - }, - { - "name": "resolve-cwd", - "version": "2.0.0", - "description": "Resolve the path of a module like `require.resolve()` but from the current working directory", - "license": "MIT" - }, - { - "name": "resolve-dir", - "version": "1.0.1", - "description": "Resolve a directory that is either local, global or in the user's home directory.", - "license": "MIT" - }, - { - "name": "resolve-from", - "version": "3.0.0", - "description": "Resolve the path of a module like `require.resolve()` but from a given path", - "license": "MIT" - }, - { - "name": "resolve-url", - "version": "0.2.1", - "description": "Like Node.js’ `path.resolve`/`url.resolve` for the browser.", - "license": "MIT" - }, - { - "name": "ret", - "version": "0.1.15", - "description": "Tokenizes a string that represents a regular expression.", - "license": "MIT" - }, - { - "name": "rimraf", - "version": "2.7.1", - "description": "A deep deletion module for node (like `rm -rf`)", - "license": "ISC" - }, - { - "name": "ripemd160", - "version": "2.0.2", - "description": "Compute ripemd160 of bytes or strings.", - "license": "MIT" - }, - { - "name": "run-queue", - "version": "1.0.3", - "description": "A promise based, dynamic priority queue runner, with concurrency limiting.", - "license": "ISC" - }, - { - "name": "safe-buffer", - "version": "5.2.1", - "description": "Safer Node.js Buffer API", - "license": "MIT" - }, - { - "name": "safe-regex", - "version": "1.1.0", - "description": "detect possibly catastrophic, exponential-time regular expressions", - "license": "MIT" - }, - { - "name": "safer-buffer", - "version": "2.1.2", - "description": "Modern Buffer API polyfill without footguns", - "license": "MIT" - }, - { - "name": "schema-utils", - "version": "1.0.0", - "description": "webpack Validation Utils", - "license": "MIT" - }, - { - "name": "semver", - "version": "5.7.1", - "description": "The semantic version parser used by npm.", - "license": "ISC" - }, - { - "name": "send", - "version": "0.17.1", - "description": "Better streaming static file server with Range and conditional-GET support", - "license": "MIT" - }, - { - "name": "serialize-javascript", - "version": "1.9.1", - "description": "Serialize JavaScript to a superset of JSON that includes regular expressions and functions.", - "license": "BSD-3-Clause" - }, - { - "name": "serve-static", - "version": "1.14.1", - "description": "Serve static files", - "license": "MIT" - }, - { - "name": "set-blocking", - "version": "2.0.0", - "description": "set blocking stdio and stderr ensuring that terminal output does not truncate", - "license": "ISC" - }, - { - "name": "set-value", - "version": "2.0.1", - "description": "Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.", - "license": "MIT" - }, - { - "name": "setimmediate", - "version": "1.0.5", - "description": "A shim for the setImmediate efficient script yielding API", - "license": "MIT" - }, - { - "name": "setprototypeof", - "version": "1.1.1", - "description": "A small polyfill for Object.setprototypeof", - "license": "ISC" - }, - { - "name": "sha.js", - "version": "2.4.11", - "description": "Streamable SHA hashes in pure javascript", - "license": "(MIT AND BSD-3-Clause)" - }, - { - "name": "shebang-command", - "version": "1.2.0", - "description": "Get the command from a shebang", - "license": "MIT" - }, - { - "name": "shebang-regex", - "version": "1.0.0", - "description": "Regular expression for matching a shebang", - "license": "MIT" - }, - { - "name": "shelljs", - "version": "0.8.4", - "description": "Portable Unix shell commands for Node.js", - "license": "BSD-3-Clause" - }, - { - "name": "signal-exit", - "version": "3.0.3", - "description": "when you want to fire an event no matter how a process exits.", - "license": "ISC" - }, - { - "name": "single-line-log", - "version": "1.1.2", - "description": "Keep writing to the same line in the terminal. Very useful when you write progress bars, or a status message during longer operations", - "license": "MIT" - }, - { - "name": "sinon", - "version": "7.5.0", - "description": "JavaScript test spies, stubs and mocks.", - "license": "BSD-3-Clause" - }, - { - "name": "slash", - "version": "1.0.0", - "description": "Convert Windows backslash paths to slash paths", - "license": "MIT" - }, - { - "name": "snapdragon", - "version": "0.8.2", - "description": "Fast, pluggable and easy-to-use parser-renderer factory.", - "license": "MIT" - }, - { - "name": "snapdragon-node", - "version": "2.1.1", - "description": "Snapdragon utility for creating a new AST node in custom code, such as plugins.", - "license": "MIT" - }, - { - "name": "snapdragon-util", - "version": "3.0.1", - "description": "Utilities for the snapdragon parser/compiler.", - "license": "MIT" - }, - { - "name": "source-list-map", - "version": "2.0.1", - "description": "Fast line to line SourceMap generator.", - "license": "MIT" - }, - { - "name": "source-map", - "version": "0.6.1", - "description": "Generates and consumes source maps", - "license": "BSD-3-Clause" - }, - { - "name": "source-map-loader", - "version": "0.2.4", - "description": "extracts inlined source map and offers it to webpack", - "license": "MIT" - }, - { - "name": "source-map-resolve", - "version": "0.5.3", - "description": "Resolve the source map and/or sources for a generated file.", - "license": "MIT" - }, - { - "name": "source-map-support", - "version": "0.5.19", - "description": "Fixes stack traces for files with source maps", - "license": "MIT" - }, - { - "name": "source-map-url", - "version": "0.4.0", - "description": "Tools for working with sourceMappingURL comments.", - "license": "MIT" - }, - { - "name": "spatial-navigation-js", - "version": "1.0.0", - "description": "JavaScript SpatialNavigation ============================", - "license": "ISC" - }, - { - "name": "spdx-correct", - "version": "3.1.1", - "description": "correct invalid SPDX expressions", - "license": "Apache-2.0" - }, - { - "name": "spdx-exceptions", - "version": "2.3.0", - "description": "list of SPDX standard license exceptions", - "license": "CC-BY-3.0" - }, - { - "name": "spdx-expression-parse", - "version": "3.0.1", - "description": "parse SPDX license expressions", - "license": "MIT" - }, - { - "name": "spdx-license-ids", - "version": "3.0.5", - "description": "A list of SPDX license identifiers", - "license": "CC0-1.0" - }, - { - "name": "speedometer", - "version": "0.1.4", - "description": "simple speed measurement in javascript", - "license": "MIT" - }, - { - "name": "split-string", - "version": "3.1.0", - "description": "Split a string on a character except when the character is escaped.", - "license": "MIT" - }, - { - "name": "sprintf-js", - "version": "1.0.3", - "description": "JavaScript sprintf implementation", - "license": "BSD-3-Clause" - }, - { - "name": "sshpk", - "version": "1.16.1", - "description": "A library for finding and using SSH public keys", - "license": "MIT" - }, - { - "name": "ssri", - "version": "6.0.1", - "description": "Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.", - "license": "ISC" - }, - { - "name": "static-extend", - "version": "0.1.2", - "description": "Adds a static `extend` method to a class, to simplify inheritance. Extends the static properties, prototype properties, and descriptors from a `Parent` constructor onto `Child` constructors.", - "license": "MIT" - }, - { - "name": "statuses", - "version": "1.5.0", - "description": "HTTP status utility", - "license": "MIT" - }, - { - "name": "stream-browserify", - "version": "2.0.2", - "description": "the stream module from node core for browsers", - "license": "MIT" - }, - { - "name": "stream-each", - "version": "1.2.3", - "description": "Iterate all the data in a stream", - "license": "MIT" - }, - { - "name": "stream-http", - "version": "2.8.3", - "description": "Streaming http in the browser", - "license": "MIT" - }, - { - "name": "stream-shift", - "version": "1.0.1", - "description": "Returns the next buffer/object in a stream's readable queue", - "license": "MIT" - }, - { - "name": "string-width", - "version": "3.1.0", - "description": "Get the visual width of a string - the number of columns required to display it", - "license": "MIT" - }, - { - "name": "string_decoder", - "version": "1.3.0", - "description": "The string_decoder module from Node core", - "license": "MIT" - }, - { - "name": "strip-ansi", - "version": "5.2.0", - "description": "Strip ANSI escape codes from a string", - "license": "MIT" - }, - { - "name": "strip-bom", - "version": "2.0.0", - "description": "Strip UTF-8 byte order mark (BOM) from a string/buffer", - "license": "MIT" - }, - { - "name": "strip-indent", - "version": "1.0.1", - "description": "Strip leading whitespace from every line in a string", - "license": "MIT" - }, - { - "name": "strip-json-comments", - "version": "2.0.1", - "description": "Strip comments from JSON. Lets you use comments in your JSON files!", - "license": "MIT" - }, - { - "name": "style-loader", - "version": "0.23.1", - "description": "style loader module for webpack", - "license": "MIT" - }, - { - "name": "sumchecker", - "version": "2.0.2", - "description": "Checksum validator", - "license": "Apache-2.0" - }, - { - "name": "supports-color", - "version": "5.5.0", - "description": "Detect whether a terminal supports color", - "license": "MIT" - }, - { - "name": "tapable", - "version": "1.1.3", - "description": "Just a little module for plugins.", - "license": "MIT" - }, - { - "name": "terser", - "version": "4.8.0", - "description": "JavaScript parser, mangler/compressor and beautifier toolkit for ES6+", - "license": "BSD-2-Clause" - }, - { - "name": "terser-webpack-plugin", - "version": "1.4.4", - "description": "Terser plugin for webpack", - "license": "MIT" - }, - { - "name": "throttleit", - "version": "0.0.2", - "description": "Throttle a function", - "license": "MIT" - }, - { - "name": "through2", - "version": "2.0.5", - "description": "A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise", - "license": "MIT" - }, - { - "name": "timers-browserify", - "version": "2.0.11", - "description": "timers module for browserify", - "license": "MIT" - }, - { - "name": "to-arraybuffer", - "version": "1.0.1", - "description": "Get an ArrayBuffer from a Buffer as fast as possible", - "license": "MIT" - }, - { - "name": "to-fast-properties", - "version": "1.0.3", - "description": "Force V8 to use fast properties for an object", - "license": "MIT" - }, - { - "name": "to-object-path", - "version": "0.3.0", - "description": "Create an object path from a list or array of strings.", - "license": "MIT" - }, - { - "name": "to-regex", - "version": "3.0.2", - "description": "Generate a regex from a string or array of strings.", - "license": "MIT" - }, - { - "name": "to-regex-range", - "version": "2.1.1", - "description": "Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.", - "license": "MIT" - }, - { - "name": "toidentifier", - "version": "1.0.0", - "description": "Convert a string of words to a JavaScript identifier", - "license": "MIT" - }, - { - "name": "tough-cookie", - "version": "2.5.0", - "description": "RFC6265 Cookies and Cookie Jar for node.js", - "license": "BSD-3-Clause" - }, - { - "name": "trim-newlines", - "version": "1.0.0", - "description": "Trim newlines from the start and/or end of a string", - "license": "MIT" - }, - { - "name": "trim-right", - "version": "1.0.1", - "description": "Similar to String#trim() but removes only whitespace on the right", - "license": "MIT" - }, - { - "name": "tryer", - "version": "1.0.1", - "description": "Because everyone loves a tryer! Conditional and repeated task invocation for node and browser.", - "license": "MIT" - }, - { - "name": "ts-loader", - "version": "5.4.5", - "description": "TypeScript loader for webpack", - "license": "MIT" - }, - { - "name": "ts-node", - "version": "8.10.2", - "description": "TypeScript execution environment and REPL for node.js, with source map support", - "license": "MIT" - }, - { - "name": "tslib", - "version": "1.13.0", - "description": "Runtime library for TypeScript helper functions", - "license": "0BSD" - }, - { - "name": "tslint", - "version": "5.20.1", - "description": "An extensible static analysis linter for the TypeScript language", - "license": "Apache-2.0" - }, - { - "name": "tslint-loader", - "version": "3.5.4", - "description": "tslint loader for webpack", - "license": "MIT" - }, - { - "name": "tsutils", - "version": "2.29.0", - "description": "utilities for working with typescript's AST", - "license": "MIT" - }, - { - "name": "tty-browserify", - "version": "0.0.0", - "description": "the tty module from node core for browsers", - "license": "MIT" - }, - { - "name": "tunnel-agent", - "version": "0.6.0", - "description": "HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.", - "license": "Apache-2.0" - }, - { - "name": "tweetnacl", - "version": "0.14.5", - "description": "Port of TweetNaCl cryptographic library to JavaScript", - "license": "Unlicense" - }, - { - "name": "type-check", - "version": "0.3.2", - "description": "type-check allows you to check the types of JavaScript values at runtime with a Haskell like type syntax.", - "license": "MIT" - }, - { - "name": "type-detect", - "version": "4.0.8", - "description": "Improved typeof detection for node.js and the browser.", - "license": "MIT" - }, - { - "name": "type-is", - "version": "1.6.18", - "description": "Infer the content-type of a request.", - "license": "MIT" - }, - { - "name": "typedarray", - "version": "0.0.6", - "description": "TypedArray polyfill for old browsers", - "license": "MIT" - }, - { - "name": "typedoc", - "version": "0.15.8", - "description": "Create api documentation for TypeScript projects.", - "license": "Apache-2.0" - }, - { - "name": "typedoc-default-themes", - "version": "0.6.3", - "description": "Default themes for TypeDoc.", - "license": "Apache-2.0" - }, - { - "name": "typescript", - "version": "2.7.2", - "description": "TypeScript is a language for application scale JavaScript development", - "license": "Apache-2.0" - }, - { - "name": "uglify-js", - "version": "3.10.0", - "description": "JavaScript parser, mangler/compressor and beautifier toolkit", - "license": "BSD-2-Clause" - }, - { - "name": "uglifyjs-webpack-plugin", - "version": "2.2.0", - "description": "UglifyJS plugin for webpack", - "license": "MIT" - }, - { - "name": "underscore", - "version": "1.10.2", - "description": "JavaScript's functional programming helper library.", - "license": "MIT" - }, - { - "name": "union-value", - "version": "1.0.1", - "description": "Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.", - "license": "MIT" - }, - { - "name": "uniq", - "version": "1.0.1", - "description": "Removes duplicates from a sorted array in place", - "license": "MIT" - }, - { - "name": "unique-filename", - "version": "1.1.1", - "description": "Generate a unique filename for use in temporary directories or caches.", - "license": "ISC" - }, - { - "name": "unique-slug", - "version": "2.0.2", - "description": "Generate a unique character string suitible for use in files and URLs.", - "license": "ISC" - }, - { - "name": "universalify", - "version": "0.1.2", - "description": "Make a callback- or promise-based function support both promises and callbacks.", - "license": "MIT" - }, - { - "name": "unpipe", - "version": "1.0.0", - "description": "Unpipe a stream from all destinations", - "license": "MIT" - }, - { - "name": "unset-value", - "version": "1.0.0", - "description": "Delete nested properties from an object using dot notation.", - "license": "MIT" - }, - { - "name": "upath", - "version": "1.2.0", - "description": "A proxy to `path`, replacing `\\` with `/` for all results & new methods to normalize & join keeping leading `./` and add, change, default, trim file extensions.", - "license": "MIT" - }, - { - "name": "uri-js", - "version": "4.2.2", - "description": "An RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.", - "license": "BSD-2-Clause" - }, - { - "name": "urix", - "version": "0.1.0", - "description": "Makes Windows-style paths more unix and URI friendly.", - "license": "MIT" - }, - { - "name": "url", - "version": "0.11.0", - "description": "The core `url` packaged standalone for use with Browserify.", - "license": "MIT" - }, - { - "name": "url-toolkit", - "version": "2.2.0", - "description": "Build an absolute URL from a base URL and a relative URL (RFC 1808). No dependencies!", - "license": "Apache-2.0" - }, - { - "name": "use", - "version": "3.1.1", - "description": "Easily add plugin support to your node.js application.", - "license": "MIT" - }, - { - "name": "utf8-decode", - "version": "1.0.2", - "description": "Decode JavaScript strings in UTF8", - "license": "MIT" - }, - { - "name": "util", - "version": "0.11.1", - "description": "Node.JS util module", - "license": "MIT" - }, - { - "name": "util-deprecate", - "version": "1.0.2", - "description": "The Node.js `util.deprecate()` function with browser support", - "license": "MIT" - }, - { - "name": "utils-merge", - "version": "1.0.1", - "description": "merge() utility function", - "license": "MIT" - }, - { - "name": "uuid", - "version": "3.4.0", - "description": "RFC4122 (v1, v4, and v5) UUIDs", - "license": "MIT" - }, - { - "name": "v8-compile-cache", - "version": "2.1.1", - "description": "Require hook for automatic V8 compile cache persistence", - "license": "MIT" - }, - { - "name": "validate-npm-package-license", - "version": "3.0.4", - "description": "Give me a string and I'll tell you if it's a valid npm package license string", - "license": "Apache-2.0" - }, - { - "name": "vary", - "version": "1.1.2", - "description": "Manipulate the HTTP Vary header", - "license": "MIT" - }, - { - "name": "verror", - "version": "1.10.0", - "description": "richer JavaScript errors", - "license": "MIT" - }, - { - "name": "vm-browserify", - "version": "1.1.2", - "description": "vm module for the browser", - "license": "MIT" - }, - { - "name": "watchpack", - "version": "1.7.2", - "description": "", - "license": "MIT" - }, - { - "name": "watchpack-chokidar2", - "version": "2.0.0", - "license": "MIT" - }, - { - "name": "webfontloader", - "version": "1.6.28", - "description": "Web Font Loader gives you added control when using linked fonts via @font-face.", - "license": "Apache-2.0" - }, - { - "name": "webpack", - "version": "4.43.0", - "description": "Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.", - "license": "MIT" - }, - { - "name": "webpack-bundle-analyzer", - "version": "3.8.0", - "description": "Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap", - "license": "MIT" - }, - { - "name": "webpack-cli", - "version": "3.3.12", - "description": "CLI for webpack & friends", - "license": "MIT" - }, - { - "name": "webpack-log", - "version": "2.0.0", - "description": "A common logger for the webpack ecosystem", - "license": "MIT" - }, - { - "name": "webpack-merge", - "version": "4.2.2", - "description": "Variant of merge that's useful for webpack configuration", - "license": "MIT" - }, - { - "name": "webpack-sources", - "version": "1.4.3", - "description": "Source code handling classes for webpack", - "license": "MIT" - }, - { - "name": "which", - "version": "1.3.1", - "description": "Like which(1) unix command. Find the first instance of an executable in the PATH.", - "license": "ISC" - }, - { - "name": "which-module", - "version": "2.0.0", - "description": "Find the module object for something that was require()d", - "license": "ISC" - }, - { - "name": "word-wrap", - "version": "1.2.3", - "description": "Wrap words to a specified length.", - "license": "MIT" - }, - { - "name": "wordwrap", - "version": "1.0.0", - "description": "Wrap those words. Show them at what columns to start and stop.", - "license": "MIT" - }, - { - "name": "worker-farm", - "version": "1.7.0", - "description": "Distribute processing tasks to child processes with an über-simple API and baked-in durability & custom concurrency options.", - "license": "MIT" - }, - { - "name": "wrap-ansi", - "version": "5.1.0", - "description": "Wordwrap a string with ANSI escape codes", - "license": "MIT" - }, - { - "name": "wrappy", - "version": "1.0.2", - "description": "Callback wrapping utility", - "license": "ISC" - }, - { - "name": "ws", - "version": "6.2.1", - "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js", - "license": "MIT" - }, - { - "name": "xregexp", - "version": "4.2.4", - "description": "Extended regular expressions", - "license": "MIT" - }, - { - "name": "xtend", - "version": "4.0.2", - "description": "extend like a boss", - "license": "MIT" - }, - { - "name": "y18n", - "version": "4.0.0", - "description": "the bare-bones internationalization library used by yargs", - "license": "ISC" - }, - { - "name": "yallist", - "version": "3.1.1", - "description": "Yet Another Linked List", - "license": "ISC" - }, - { - "name": "yargs", - "version": "13.3.2", - "description": "yargs the modern, pirate-themed, successor to optimist.", - "license": "MIT" - }, - { - "name": "yargs-parser", - "version": "13.1.2", - "description": "the mighty option parser used by yargs", - "license": "ISC" - }, - { - "name": "yauzl", - "version": "2.10.0", - "description": "yet another unzip library for node", - "license": "MIT" - }, - { - "name": "yn", - "version": "3.1.1", - "description": "Parse yes/no like values", - "license": "MIT" - } -] \ No newline at end of file diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphic.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphic.d.ts deleted file mode 100644 index bee2b23..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphic.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { GraphicElementData } from "./APLGraphicElement"; -export interface GraphicData { - root: GraphicElementData; - isValid: boolean; - intrinsicWidth: number; - intrinsicHeight: number; - viewportWidth: number; - viewportHeight: number; - dirty: GraphicElementData[]; -} -export declare class APLGraphic implements APL.Graphic { - private root; - private valid; - private intrinsicWidth; - private intrinsicHeight; - private viewportWidth; - private viewportHeight; - private dirty; - constructor(data: GraphicData); - private addToDirty(dirty); - getRoot(): APL.GraphicElement; - isValid(): boolean; - getIntrinsicHeight(): number; - getIntrinsicWidth(): number; - getViewportWidth(): number; - getViewportHeight(): number; - clearDirty(): void; - getDirty(): { - [key: number]: APL.GraphicElement; - }; - delete(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicElement.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicElement.d.ts deleted file mode 100644 index d77818d..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicElement.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export declare function toActualSize(value: number): number; -export declare function toFillOrStroke(value: any): any; -export interface GraphicElementData { - id: number; - children: GraphicElementData[]; - props: { - [key: string]: any; - }; - type: number; - dirtyProperties: number[]; -} -export declare class APLGraphicElement implements APL.GraphicElement { - private id; - private type; - private props; - private children; - private dirtyProperties; - constructor(data: GraphicElementData); - getId(): number; - getChildCount(): number; - getChildren(): APLGraphicElement[]; - getChildAt(index: number): APL.GraphicElement; - getValue(key: number): T; - getDirtyProperties(): number[]; - getType(): number; - delete(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicPattern.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicPattern.d.ts deleted file mode 100644 index 1fc3d68..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/avg/APLGraphicPattern.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { GraphicElementData } from "./APLGraphicElement"; -export interface GraphicPatternData { - id: string; - description: string; - width: number; - height: number; - items: GraphicElementData[]; -} -export declare class APLGraphicPattern implements APL.GraphicPattern { - private id; - private description; - private width; - private height; - private items; - constructor(data: GraphicPatternData); - getId(): string; - getDescription(): string; - getHeight(): number; - getWidth(): number; - getItemCount(): number; - getItemAt(index: number): APL.GraphicElement; - delete(): void; -} diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/avg/GraphicProperties.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/avg/GraphicProperties.d.ts deleted file mode 100644 index 798c7d1..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/avg/GraphicProperties.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -import { Bimap } from "../Bimap"; -import { GraphicPropertyKey } from "apl-html"; -export declare const graphicPropertyBimap: Bimap; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/index.d.ts b/modules/Alexa/APLClientLibrary/apl-client-js/index.d.ts deleted file mode 100644 index 6f1f290..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */ -export * from "./APLWSRenderer"; -export * from "./APLClient"; -export * from "./APLConfigurationChange"; -export * from "./WebSocketClient"; -export * from "./@types/apl-html/lib/index"; -export { default as APLRenderer } from "./@types/apl-html/lib/index"; diff --git a/modules/Alexa/APLClientLibrary/apl-client-js/index.js b/modules/Alexa/APLClientLibrary/apl-client-js/index.js deleted file mode 100644 index f4228e9..0000000 --- a/modules/Alexa/APLClientLibrary/apl-client-js/index.js +++ /dev/null @@ -1,154 +0,0 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.APLClient=t():e.APLClient=t()}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=10)}([function(e,t){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=13)}([function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{d(n.next(e))}catch(e){o(e)}}function s(e){try{d(n.throw(e))}catch(e){o(e)}}function d(e){e.done?i(e.value):new r((function(t){t(e.value)})).then(a,s)}d((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=r(148),o=r(5),a=r(149),s=r(1),d=r(31),u=r(30),c=r(7),l=r(150),f=r(151),h=r(23),p=r(152),y=r(153),m=r(154),g=r(71),v={[u.ComponentType.kComponentTypeContainer]:"Container",[u.ComponentType.kComponentTypeFrame]:"Frame",[u.ComponentType.kComponentTypeImage]:"Image",[u.ComponentType.kComponentTypePager]:"Pager",[u.ComponentType.kComponentTypeScrollView]:"ScrollView",[u.ComponentType.kComponentTypeSequence]:"Sequence",[u.ComponentType.kComponentTypeGridSequence]:"GridSequence",[u.ComponentType.kComponentTypeText]:"Text",[u.ComponentType.kComponentTypeTouchWrapper]:"TouchWrapper",[u.ComponentType.kComponentTypeVideo]:"Video",[u.ComponentType.kComponentTypeVectorGraphic]:"VectorGraphic"};t.SVG_NS="http://www.w3.org/2000/svg",t.uuidv4=r(45),t.IDENTITY_TRANSFORM="matrix(1.000000,0.000000,0.000000,1.000000,0.000000,0.000000)",t.copyAsPixels=(e,t,r)=>{t.style[r]=e[r]+"px"},t.fitElementToRectangle=(e,r)=>{["top","left","width","height"].forEach(n=>t.copyAsPixels(r,e,n))};class b extends i{constructor(e,r,n,i){super(),this.renderer=e,this.component=r,this.factory=n,this.parent=i,this.container=document.createElement("div"),this.$container=o(this.container),this.children=[],this.props={},this.isDestroyed=!1,this.doForceInvisible=!1,this.state={[d.UpdateType.kUpdatePagerPosition]:0,[d.UpdateType.kUpdatePressState]:0,[d.UpdateType.kUpdatePressed]:0,[d.UpdateType.kUpdateScrollPosition]:0,[d.UpdateType.kUpdateTakeFocus]:0},this.executors=new Map,this.propExecutor=(e,...t)=>{for(const r of t)this.executors.set(r,r=>{const n=Object.keys(t);for(const e of n)delete r[parseInt(e,10)];e()});return this.propExecutor},this.setTransform=()=>{if(this.renderer){const e=this.renderer.context.getScaleFactor(),t=l.getScaledTransform(this.props[s.PropertyKey.kPropertyTransform],e);this.$container.css({transform:t})}},this.setOpacity=()=>{this.$container.css("opacity",this.props[s.PropertyKey.kPropertyOpacity])},this.setDisplay=()=>{let e=this.props[s.PropertyKey.kPropertyDisplay];switch(this.hasValidBounds()&&!this.doForceInvisible||(e=a.Display.kDisplayInvisible),e){case a.Display.kDisplayInvisible:case a.Display.kDisplayNone:this.$container.css({display:"none"});break;case a.Display.kDisplayNormal:this.$container.css({display:this.getNormalDisplay()});break;default:this.logger.warn("Incorrect display type: "+e)}},this.setBoundsAndDisplay=()=>{if(this.bounds=this.props[s.PropertyKey.kPropertyBounds],!this.bounds)return;this.setDisplay();let e=0,r=0;if(this.parent&&this.parent.component.getType()===u.ComponentType.kComponentTypeFrame){const t=this.parent.component.getCalculatedByKey(s.PropertyKey.kPropertyBorderWidth);e-=t,r-=t}this.bounds={top:this.bounds.top+e,left:this.bounds.left+r,height:this.bounds.height,width:this.bounds.width};for(const e of this.children)e.setBoundsAndDisplay();t.fitElementToRectangle(this.container,this.bounds),this.innerBounds=this.props[s.PropertyKey.kPropertyInnerBounds],this.$container.css("padding-left",this.innerBounds.left),this.$container.css("padding-right",this.bounds.width-this.innerBounds.left-this.innerBounds.width),this.$container.css("padding-top",this.innerBounds.top),this.$container.css("padding-bottom",this.bounds.height-this.innerBounds.top-this.innerBounds.height),this.boundsUpdated()},this.setUserProperties=()=>{if(!this.renderer)return;const e=this.renderer.getDeveloperToolOptions();if(!e)return;const t=this.props[s.PropertyKey.kPropertyUser],r=e.mappingKey;if(r&&t.hasOwnProperty(r)){const e=t[r]+this.id;this.renderer.componentByMappingKey.set(e,this)}const n=e.writeKeys;if(n&&Array.isArray(n))for(const e of n)t.hasOwnProperty(e)&&this.container.setAttribute(["data",e].join("-"),t[e])},this.handleComponentChildrenChange=()=>{for(const e of this.props[s.PropertyKey.kPropertyNotifyChildrenChanged])e.action===h.ChildAction.Insert?this.factory(this.renderer,this.component.getChildAt(e.index),this,!0,e.index):e.action===h.ChildAction.Remove?void 0!==this.container.children[e.uid]&&this.container.children[e.uid].remove():this.logger.warn(`Invalid action type ${e.action} for child ${e.uid}`)},this.getCssShadow=()=>`${this.props[s.PropertyKey.kPropertyShadowHorizontalOffset]}px ${this.props[s.PropertyKey.kPropertyShadowVerticalOffset]}px ${this.props[s.PropertyKey.kPropertyShadowRadius]}px ${b.numberToColor(this.props[s.PropertyKey.kPropertyShadowColor])}`,this.setShadow=()=>{this.applyCssShadow(this.getCssShadow())},this.applyCssShadow=e=>{this.$container.css("box-shadow",e)},this.logger=c.LoggerFactory.getLogger(v[r.getType()]||"Component"),this.$container.css({position:"absolute","transform-origin":"0% 0%","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),this.id=r.getUniqueId(),this.$container.attr("id",this.id),this.assignedId=r.getId(),e&&(e.componentMap[this.id]=this,e.componentIdMap[this.assignedId]=this),this.container.classList.add("apl-"+this.constructor.name.toLowerCase()),this.parent=i,this.propExecutor(this.setTransform,s.PropertyKey.kPropertyTransform)(this.setBoundsAndDisplay,s.PropertyKey.kPropertyBounds,s.PropertyKey.kPropertyInnerBounds,s.PropertyKey.kPropertyDisplay)(this.setOpacity,s.PropertyKey.kPropertyOpacity)(this.setUserProperties,s.PropertyKey.kPropertyUser)(this.handleComponentChildrenChange,s.PropertyKey.kPropertyNotifyChildrenChanged)(this.setShadow,s.PropertyKey.kPropertyShadowHorizontalOffset,s.PropertyKey.kPropertyShadowVerticalOffset,s.PropertyKey.kPropertyShadowRadius,s.PropertyKey.kPropertyShadowColor)}init(){const e=this.component.getChildCount();for(let t=0;t{const r=parseInt(t,10);this.props[r]=e[r]}),Object.keys(e).forEach(t=>{const r=parseInt(t,10);if(r in e){const t=this.executors.get(r);t&&t(e)}}),this.onPropertiesUpdated()}updateDirtyProps(){const e=this.component.getDirtyProps();this.setProperties(e)}update(e,t){"string"==typeof t?(this.state[e]=t.toString(),this.component.updateEditText(e,t.toString())):(this.state[e]=t,this.component.update(e,t))}destroy(e=!1){this.container&&this.container.parentElement&&this.container.parentElement.removeChild(this.container),this.isDestroyed=!0,this.parent=void 0,delete this.renderer.componentMap[this.id],delete this.renderer.componentMap[this.assignedId],this.renderer=void 0;for(const t of this.children)t.destroy(e);this.children=void 0,e&&(this.component.delete(),this.component=void 0)}static numberToColor(e){return`rgba(${255&e>>24}, ${255&e>>16}, ${255&e>>8}, ${(255&e)/255})`}static getGradientSpreadMethod(e){switch(e){case f.GradientSpreadMethod.REFLECT:return"reflect";case f.GradientSpreadMethod.REPEAT:return"repeat";case f.GradientSpreadMethod.PAD:default:return"pad"}}static getGradientUnits(e){switch(e){case p.GradientUnits.kGradientUnitsUserSpace:return"userSpaceOnUse";case p.GradientUnits.kGradientUnitsBoundingBox:default:return"objectBoundingBox"}}static fillAndStrokeConverter(e,t,r,n){return"number"==typeof e?{value:this.numberToColor(e)}:void 0!==e.type?y.createGradientElement(e,t,r,n):e.getId()?m.createPatternElement(e,t,r,n):void n.warn("Type is not supported yet.")}hasValidBounds(){return this.bounds.width>0&&this.bounds.width<1e6}static getClipPathElementId(e,r){if(!e||""===e)return"";const n=document.createElementNS(t.SVG_NS,"defs"),i=document.createElementNS(t.SVG_NS,"clipPath"),o=document.createElementNS(t.SVG_NS,"path"),a=t.uuidv4().toString();return i.setAttributeNS("","id",a),o.setAttributeNS("","d",e.toString()),i.appendChild(o),n.appendChild(i),r.appendChild(n),`url('#${a}')`}inflateAndAddChild(e,t){const r=this.component.inflateChild(t,e);let n;return r&&(n=this.factory(this.renderer,r,this,!0,e),this.children.splice(e,0,n)),n}remove(){return!!this.component.remove()&&(this.parent&&this.parent.children&&this.parent.children.splice(this.parent.children.indexOf(this),1),this.destroy(!0),!0)}boundsUpdated(){}isLayout(){return!1}alignSize(){if(!this.bounds)return;let e=this.bounds.width,t=this.bounds.height;if(this.parent&&this.parent.component.getType()===u.ComponentType.kComponentTypeContainer&&this.isLayout()&&(this.bounds.width+this.bounds.left>this.parent.bounds.width||this.bounds.height+this.bounds.top>this.parent.bounds.height)&&(e=Math.min(this.parent.bounds.width-this.bounds.left,this.bounds.width),t=Math.min(this.parent.bounds.height-this.bounds.top,this.bounds.height),this.logger.warn(`Component ${this.id} has bounds that is bigger than parent bounds.\nCheck your template correctness.\nAdjusting ${this.id} to parent ${this.parent.id}\nWIDTH: ${this.bounds.width} => ${e}\nHEIGHT: ${this.bounds.height} => ${t}`),this.bounds={left:this.bounds.left,top:this.bounds.top,width:e,height:t},this.innerBounds)){if(this.innerBounds.width>this.bounds.width||this.innerBounds.height>this.bounds.height){const r=this.bounds.width-e,n=this.bounds.height-t;this.innerBounds={left:this.innerBounds.left,top:this.innerBounds.top,width:this.innerBounds.width-r,height:this.innerBounds.height-n}}this.$container.css("width",e),this.$container.css("height",t),this.$container.css("padding-left",this.innerBounds.left),this.$container.css("padding-right",e-this.innerBounds.left-this.innerBounds.width),this.$container.css("padding-top",this.innerBounds.top),this.$container.css("padding-bottom",t-this.innerBounds.top-this.innerBounds.height),this.boundsUpdated()}}getProperties(){return this.component.getCalculated()}forceInvisible(e){this.doForceInvisible!==e&&(this.doForceInvisible=e,this.setDisplay())}getNormalDisplay(){return""}takeFocus(){return n(this,void 0,void 0,(function*(){const e=(yield this.renderer.context.getFocusableAreas())[this.id];e&&this.renderer.context.setFocus(g.FocusDirection.kFocusDirectionNone,e,this.id)}))}}t.Component=b},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.kPropertyScrollDirection=0]="kPropertyScrollDirection",e[e.kPropertyAccessibilityActions=1]="kPropertyAccessibilityActions",e[e.kPropertyAccessibilityLabel=2]="kPropertyAccessibilityLabel",e[e.kPropertyAlign=3]="kPropertyAlign",e[e.kPropertyAlignItems=4]="kPropertyAlignItems",e[e.kPropertyAlignSelf=5]="kPropertyAlignSelf",e[e.kPropertyAudioTrack=6]="kPropertyAudioTrack",e[e.kPropertyAutoplay=7]="kPropertyAutoplay",e[e.kPropertyBackgroundColor=8]="kPropertyBackgroundColor",e[e.kPropertyBorderBottomLeftRadius=9]="kPropertyBorderBottomLeftRadius",e[e.kPropertyBorderBottomRightRadius=10]="kPropertyBorderBottomRightRadius",e[e.kPropertyBorderColor=11]="kPropertyBorderColor",e[e.kPropertyBorderRadius=12]="kPropertyBorderRadius",e[e.kPropertyBorderRadii=13]="kPropertyBorderRadii",e[e.kPropertyBorderStrokeWidth=14]="kPropertyBorderStrokeWidth",e[e.kPropertyBorderTopLeftRadius=15]="kPropertyBorderTopLeftRadius",e[e.kPropertyBorderTopRightRadius=16]="kPropertyBorderTopRightRadius",e[e.kPropertyBorderWidth=17]="kPropertyBorderWidth",e[e.kPropertyBottom=18]="kPropertyBottom",e[e.kPropertyBounds=19]="kPropertyBounds",e[e.kPropertyCenterId=20]="kPropertyCenterId",e[e.kPropertyCenterIndex=21]="kPropertyCenterIndex",e[e.kPropertyChildHeight=22]="kPropertyChildHeight",e[e.kPropertyChildWidth=23]="kPropertyChildWidth",e[e.kPropertyChecked=24]="kPropertyChecked",e[e.kPropertyColor=25]="kPropertyColor",e[e.kPropertyColorKaraokeTarget=26]="kPropertyColorKaraokeTarget",e[e.kPropertyColorNonKaraoke=27]="kPropertyColorNonKaraoke",e[e.kPropertyCurrentPage=28]="kPropertyCurrentPage",e[e.kPropertyDescription=29]="kPropertyDescription",e[e.kPropertyDirection=30]="kPropertyDirection",e[e.kPropertyDisabled=31]="kPropertyDisabled",e[e.kPropertyDisplay=32]="kPropertyDisplay",e[e.kPropertyDrawnBorderWidth=33]="kPropertyDrawnBorderWidth",e[e.kPropertyEntities=34]="kPropertyEntities",e[e.kPropertyFastScrollScale=35]="kPropertyFastScrollScale",e[e.kPropertyFilters=36]="kPropertyFilters",e[e.kPropertyFirstId=37]="kPropertyFirstId",e[e.kPropertyFirstIndex=38]="kPropertyFirstIndex",e[e.kPropertyFocusable=39]="kPropertyFocusable",e[e.kPropertyFontFamily=40]="kPropertyFontFamily",e[e.kPropertyFontSize=41]="kPropertyFontSize",e[e.kPropertyFontStyle=42]="kPropertyFontStyle",e[e.kPropertyFontWeight=43]="kPropertyFontWeight",e[e.kPropertyHandleTick=44]="kPropertyHandleTick",e[e.kPropertyHighlightColor=45]="kPropertyHighlightColor",e[e.kPropertyHint=46]="kPropertyHint",e[e.kPropertyHintColor=47]="kPropertyHintColor",e[e.kPropertyHintStyle=48]="kPropertyHintStyle",e[e.kPropertyHintWeight=49]="kPropertyHintWeight",e[e.kPropertyGestures=50]="kPropertyGestures",e[e.kPropertyGraphic=51]="kPropertyGraphic",e[e.kPropertyGrow=52]="kPropertyGrow",e[e.kPropertyHandleKeyDown=53]="kPropertyHandleKeyDown",e[e.kPropertyHandleKeyUp=54]="kPropertyHandleKeyUp",e[e.kPropertyHeight=55]="kPropertyHeight",e[e.kPropertyId=56]="kPropertyId",e[e.kPropertyInitialPage=57]="kPropertyInitialPage",e[e.kPropertyInnerBounds=58]="kPropertyInnerBounds",e[e.kPropertyItemsPerCourse=59]="kPropertyItemsPerCourse",e[e.kPropertyJustifyContent=60]="kPropertyJustifyContent",e[e.kPropertyKeyboardType=61]="kPropertyKeyboardType",e[e.kPropertyLeft=62]="kPropertyLeft",e[e.kPropertyLetterSpacing=63]="kPropertyLetterSpacing",e[e.kPropertyLineHeight=64]="kPropertyLineHeight",e[e.kPropertyMaxHeight=65]="kPropertyMaxHeight",e[e.kPropertyMaxLength=66]="kPropertyMaxLength",e[e.kPropertyMaxLines=67]="kPropertyMaxLines",e[e.kPropertyMaxWidth=68]="kPropertyMaxWidth",e[e.kPropertyMediaBounds=69]="kPropertyMediaBounds",e[e.kPropertyMediaState=70]="kPropertyMediaState",e[e.kPropertyMinHeight=71]="kPropertyMinHeight",e[e.kPropertyMinWidth=72]="kPropertyMinWidth",e[e.kPropertyNavigation=73]="kPropertyNavigation",e[e.kPropertyNextFocusDown=74]="kPropertyNextFocusDown",e[e.kPropertyNextFocusForward=75]="kPropertyNextFocusForward",e[e.kPropertyNextFocusLeft=76]="kPropertyNextFocusLeft",e[e.kPropertyNextFocusRight=77]="kPropertyNextFocusRight",e[e.kPropertyNextFocusUp=78]="kPropertyNextFocusUp",e[e.kPropertyNotifyChildrenChanged=79]="kPropertyNotifyChildrenChanged",e[e.kPropertyNumbered=80]="kPropertyNumbered",e[e.kPropertyNumbering=81]="kPropertyNumbering",e[e.kPropertyOnBlur=82]="kPropertyOnBlur",e[e.kPropertyOnCancel=83]="kPropertyOnCancel",e[e.kPropertyOnConfigChange=84]="kPropertyOnConfigChange",e[e.kPropertyOnDown=85]="kPropertyOnDown",e[e.kPropertyOnEnd=86]="kPropertyOnEnd",e[e.kPropertyOnFocus=87]="kPropertyOnFocus",e[e.kPropertyOnMount=88]="kPropertyOnMount",e[e.kPropertyOnMove=89]="kPropertyOnMove",e[e.kPropertyHandlePageMove=90]="kPropertyHandlePageMove",e[e.kPropertyOnPageChanged=91]="kPropertyOnPageChanged",e[e.kPropertyOnPause=92]="kPropertyOnPause",e[e.kPropertyOnPlay=93]="kPropertyOnPlay",e[e.kPropertyOnPress=94]="kPropertyOnPress",e[e.kPropertyOnScroll=95]="kPropertyOnScroll",e[e.kPropertyOnSubmit=96]="kPropertyOnSubmit",e[e.kPropertyOnTextChange=97]="kPropertyOnTextChange",e[e.kPropertyOnUp=98]="kPropertyOnUp",e[e.kPropertyOnTimeUpdate=99]="kPropertyOnTimeUpdate",e[e.kPropertyOnTrackUpdate=100]="kPropertyOnTrackUpdate",e[e.kPropertyOpacity=101]="kPropertyOpacity",e[e.kPropertyOverlayColor=102]="kPropertyOverlayColor",e[e.kPropertyOverlayGradient=103]="kPropertyOverlayGradient",e[e.kPropertyPadding=104]="kPropertyPadding",e[e.kPropertyPaddingBottom=105]="kPropertyPaddingBottom",e[e.kPropertyPaddingLeft=106]="kPropertyPaddingLeft",e[e.kPropertyPaddingRight=107]="kPropertyPaddingRight",e[e.kPropertyPaddingTop=108]="kPropertyPaddingTop",e[e.kPropertyPageDirection=109]="kPropertyPageDirection",e[e.kPropertyPageId=110]="kPropertyPageId",e[e.kPropertyPageIndex=111]="kPropertyPageIndex",e[e.kPropertyPlayingState=112]="kPropertyPlayingState",e[e.kPropertyPosition=113]="kPropertyPosition",e[e.kPropertyPreserve=114]="kPropertyPreserve",e[e.kPropertyRight=115]="kPropertyRight",e[e.kPropertyRole=116]="kPropertyRole",e[e.kPropertyScale=117]="kPropertyScale",e[e.kPropertyScrollAnimation=118]="kPropertyScrollAnimation",e[e.kPropertyScrollOffset=119]="kPropertyScrollOffset",e[e.kPropertyScrollPercent=120]="kPropertyScrollPercent",e[e.kPropertyScrollPosition=121]="kPropertyScrollPosition",e[e.kPropertySecureInput=122]="kPropertySecureInput",e[e.kPropertySelectOnFocus=123]="kPropertySelectOnFocus",e[e.kPropertyShadowColor=124]="kPropertyShadowColor",e[e.kPropertyShadowHorizontalOffset=125]="kPropertyShadowHorizontalOffset",e[e.kPropertyShadowRadius=126]="kPropertyShadowRadius",e[e.kPropertyShadowVerticalOffset=127]="kPropertyShadowVerticalOffset",e[e.kPropertyShrink=128]="kPropertyShrink",e[e.kPropertySize=129]="kPropertySize",e[e.kPropertySnap=130]="kPropertySnap",e[e.kPropertySource=131]="kPropertySource",e[e.kPropertySpacing=132]="kPropertySpacing",e[e.kPropertySpeech=133]="kPropertySpeech",e[e.kPropertySubmitKeyType=134]="kPropertySubmitKeyType",e[e.kPropertyText=135]="kPropertyText",e[e.kPropertyTextAlign=136]="kPropertyTextAlign",e[e.kPropertyTextAlignVertical=137]="kPropertyTextAlignVertical",e[e.kPropertyTrackCount=138]="kPropertyTrackCount",e[e.kPropertyTrackCurrentTime=139]="kPropertyTrackCurrentTime",e[e.kPropertyTrackDuration=140]="kPropertyTrackDuration",e[e.kPropertyTrackEnded=141]="kPropertyTrackEnded",e[e.kPropertyTrackIndex=142]="kPropertyTrackIndex",e[e.kPropertyTrackPaused=143]="kPropertyTrackPaused",e[e.kPropertyTransform=144]="kPropertyTransform",e[e.kPropertyTransformAssigned=145]="kPropertyTransformAssigned",e[e.kPropertyTop=146]="kPropertyTop",e[e.kPropertyUser=147]="kPropertyUser",e[e.kPropertyWidth=148]="kPropertyWidth",e[e.kPropertyOnCursorEnter=149]="kPropertyOnCursorEnter",e[e.kPropertyOnCursorExit=150]="kPropertyOnCursorExit",e[e.kPropertyLaidOut=151]="kPropertyLaidOut",e[e.kPropertyValidCharacters=152]="kPropertyValidCharacters",e[e.kPropertyWrap=153]="kPropertyWrap"}(t.PropertyKey||(t.PropertyKey={}))},function(e,t,r){"use strict"; -/*! - * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - * SPDX-License-Identifier: Apache-2.0 - */var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{d(n.next(e))}catch(e){o(e)}}function s(e){try{d(n.throw(e))}catch(e){o(e)}}function d(e){e.done?i(e.value):new r((function(t){t(e.value)})).then(a,s)}d((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const i=r(1),o=r(41),a=r(7),s={[o.EventType.kEventTypeSendEvent]:"SendEvent",[o.EventType.kEventTypeControlMedia]:"ControlMedia",[o.EventType.kEventTypePlayMedia]:"PlayMedia",[o.EventType.kEventTypeScrollTo]:"ScrollTo",[o.EventType.kEventTypeSetPage]:"SetPage",[o.EventType.kEventTypeRequestFirstLineBounds]:"RequestFirstLineBounds",[o.EventType.kEventTypePreroll]:"Preroll",[o.EventType.kEventTypeSpeak]:"Speak",[o.EventType.kEventTypeFinish]:"Finish",[o.EventType.kEventTypeFocus]:"Focus",[o.EventType.kEventTypeOpenURL]:"OpenURL",[o.EventType.kEventTypeExtension]:"Extension",[o.EventType.kEventTypeDataSourceFetchRequest]:"DataSourceFetchRequest"};t.Event=class{constructor(e,t){this.event=e,this.renderer=t,this.isTerminated=!1,this.type=s[e.getType()]||"Event",this.logger=a.LoggerFactory.getLogger(this.type),e.addTerminateCallback(()=>{this.terminate()})}terminate(){this.isTerminated=!0}resolve(){this.event.resolve()}waitForValidLayout(e){return n(this,void 0,void 0,(function*(){for(;;){const t=e.getCalculatedByKey(i.PropertyKey.kPropertyBounds);if(t.width>0&&t.width<1e6)break;yield this.waitAFrame()}}))}wait(e){return new Promise(t=>{setTimeout(t,e)})}waitAFrame(){const e=Date.now();return new Promise(t=>{requestAnimationFrame(()=>{t(Date.now()-e)})})}destroy(){this.renderer=void 0,this.event=void 0}}},function(e,t){var r=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(53)("wks"),i=r(38),o=r(8).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t,r){var n; -/*! - * jQuery JavaScript Library v3.5.1 - * https://jquery.com/ - * - * Includes Sizzle.js - * https://sizzlejs.com/ - * - * Copyright JS Foundation and other contributors - * Released under the MIT license - * https://jquery.org/license - * - * Date: 2020-05-04T22:49Z - */!function(t,r){"use strict";"object"==typeof e.exports?e.exports=t.document?r(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return r(e)}:r(t)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],a=Object.getPrototypeOf,s=o.slice,d=o.flat?function(e){return o.flat.call(e)}:function(e){return o.concat.apply([],e)},u=o.push,c=o.indexOf,l={},f=l.toString,h=l.hasOwnProperty,p=h.toString,y=p.call(Object),m={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},v=function(e){return null!=e&&e===e.window},b=r.document,k={type:!0,src:!0,nonce:!0,noModule:!0};function P(e,t,r){var n,i,o=(r=r||b).createElement("script");if(o.text=e,t)for(n in k)(i=t[n]||t.getAttribute&&t.getAttribute(n))&&o.setAttribute(n,i);r.head.appendChild(o).parentNode.removeChild(o)}function S(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[f.call(e)]||"object":typeof e}var T=function(e,t){return new T.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,r=S(e);return!g(e)&&!v(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:"3.5.1",constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r+~]|"+N+")"+N+"*"),W=new RegExp(N+"|>"),z=new RegExp(K),q=new RegExp("^"+B+"$"),$={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+G),PSEUDO:new RegExp("^"+K),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),re=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ae=ke((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(I=M.call(P.childNodes),P.childNodes),I[P.childNodes.length].nodeType}catch(e){O={apply:I.length?function(e,t){R.apply(e,M.call(t))}:function(e,t){for(var r=e.length,n=0;e[r++]=t[n++];);e.length=r-1}}}function se(e,t,n,i){var o,s,u,c,l,p,g,v=t&&t.ownerDocument,P=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==P&&9!==P&&11!==P)return n;if(!i&&(f(t),t=t||h,y)){if(11!==P&&(l=Z.exec(e)))if(o=l[1]){if(9===P){if(!(u=t.getElementById(o)))return n;if(u.id===o)return n.push(u),n}else if(v&&(u=v.getElementById(o))&&b(t,u)&&u.id===o)return n.push(u),n}else{if(l[2])return O.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&r.getElementsByClassName&&t.getElementsByClassName)return O.apply(n,t.getElementsByClassName(o)),n}if(r.qsa&&!C[e+" "]&&(!m||!m.test(e))&&(1!==P||"object"!==t.nodeName.toLowerCase())){if(g=e,v=t,1===P&&(W.test(e)||V.test(e))){for((v=ee.test(e)&&ge(t.parentNode)||t)===t&&r.scope||((c=t.getAttribute("id"))?c=c.replace(ne,ie):t.setAttribute("id",c=k)),s=(p=a(e)).length;s--;)p[s]=(c?"#"+c:":scope")+" "+be(p[s]);g=p.join(",")}try{return O.apply(n,v.querySelectorAll(g)),n}catch(t){C(e,!0)}finally{c===k&&t.removeAttribute("id")}}}return d(e.replace(j,"$1"),t,n,i)}function de(){var e=[];return function t(r,i){return e.push(r+" ")>n.cacheLength&&delete t[e.shift()],t[r+" "]=i}}function ue(e){return e[k]=!0,e}function ce(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var r=e.split("|"),i=r.length;i--;)n.attrHandle[r[i]]=t}function fe(e,t){var r=t&&e,n=r&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(r)for(;r=r.nextSibling;)if(r===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var r=t.nodeName.toLowerCase();return("input"===r||"button"===r)&&t.type===e}}function ye(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ue((function(t){return t=+t,ue((function(r,n){for(var i,o=e([],r.length,t),a=o.length;a--;)r[i=o[a]]&&(r[i]=!(n[i]=r[i]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in r=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,r=(e.ownerDocument||e).documentElement;return!Y.test(t||r&&r.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:P;return a!=h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,y=!o(h),P!=h&&(i=h.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),r.scope=ce((function(e){return p.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),r.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),r.getElementsByTagName=ce((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),r.getElementsByClassName=Q.test(h.getElementsByClassName),r.getById=ce((function(e){return p.appendChild(e).id=k,!h.getElementsByName||!h.getElementsByName(k).length})),r.getById?(n.filter.ID=function(e){var t=e.replace(te,re);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&y){var r=t.getElementById(e);return r?[r]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,re);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&y){var r,n,i,o=t.getElementById(e);if(o){if((r=o.getAttributeNode("id"))&&r.value===e)return[o];for(i=t.getElementsByName(e),n=0;o=i[n++];)if((r=o.getAttributeNode("id"))&&r.value===e)return[o]}return[]}}),n.find.TAG=r.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):r.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,n=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;r=o[i++];)1===r.nodeType&&n.push(r);return n}return o},n.find.CLASS=r.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&y)return t.getElementsByClassName(e)},g=[],m=[],(r.qsa=Q.test(h.querySelectorAll))&&(ce((function(e){var t;p.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+N+"*(?:value|"+F+")"),e.querySelectorAll("[id~="+k+"-]").length||m.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+N+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(r.matchesSelector=Q.test(v=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ce((function(e){r.disconnectedMatch=v.call(e,"*"),v.call(e,"[s!='']:x"),g.push("!=",K)})),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(p.compareDocumentPosition),b=t||Q.test(p.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(r.contains?r.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!r.sortDetached&&t.compareDocumentPosition(e)===n?e==h||e.ownerDocument==P&&b(P,e)?-1:t==h||t.ownerDocument==P&&b(P,t)?1:c?D(c,e)-D(c,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var r,n=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==h?-1:t==h?1:i?-1:o?1:c?D(c,e)-D(c,t):0;if(i===o)return fe(e,t);for(r=e;r=r.parentNode;)a.unshift(r);for(r=t;r=r.parentNode;)s.unshift(r);for(;a[n]===s[n];)n++;return n?fe(a[n],s[n]):a[n]==P?-1:s[n]==P?1:0},h):h},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),r.matchesSelector&&y&&!C[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var n=v.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){C(t,!0)}return se(t,h,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=h&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=h&&f(e);var i=n.attrHandle[t.toLowerCase()],o=i&&_.call(n.attrHandle,t.toLowerCase())?i(e,t,!y):void 0;return void 0!==o?o:r.attributes||!y?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(ne,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],i=0,o=0;if(l=!r.detectDuplicates,c=!r.sortStable&&e.slice(0),e.sort(A),l){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)e.splice(n[i],1)}return c=null,e},i=se.getText=function(e){var t,r="",n=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[n++];)r+=i(t);return r},(n=se.selectors={cacheLength:50,createPseudo:ue,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,re),e[3]=(e[3]||e[4]||e[5]||"").replace(te,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&z.test(r)&&(t=a(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&E(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(n){var i=se.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(U," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,d){var u,c,l,f,h,p,y=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),v=!d&&!s,b=!1;if(m){if(o){for(;y;){for(f=t;f=f[y];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;p=y="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&v){for(b=(h=(u=(c=(l=(f=m)[k]||(f[k]={}))[f.uniqueID]||(l[f.uniqueID]={}))[e]||[])[0]===S&&u[1])&&u[2],f=h&&m.childNodes[h];f=++h&&f&&f[y]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[S,h,b];break}}else if(v&&(b=h=(u=(c=(l=(f=t)[k]||(f[k]={}))[f.uniqueID]||(l[f.uniqueID]={}))[e]||[])[0]===S&&u[1]),!1===b)for(;(f=++h&&f&&f[y]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(v&&((c=(l=f[k]||(f[k]={}))[f.uniqueID]||(l[f.uniqueID]={}))[e]=[S,b]),f!==t)););return(b-=i)===n||b%n==0&&b/n>=0}}},PSEUDO:function(e,t){var r,i=n.pseudos[e]||n.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[k]?i(t):i.length>1?(r=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,r){for(var n,o=i(e,t),a=o.length;a--;)e[n=D(e,o[a])]=!(r[n]=o[a])})):function(e){return i(e,0,r)}):i}},pseudos:{not:ue((function(e){var t=[],r=[],n=s(e.replace(j,"$1"));return n[k]?ue((function(e,t,r,i){for(var o,a=n(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,n(t,null,o,r),t[0]=null,!r.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,re),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ue((function(e){return q.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,re).toLowerCase(),function(t){var r;do{if(r=y?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var r=e.location&&e.location.hash;return r&&r.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ye(!1),disabled:ye(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,r){return[r<0?r+t:r]})),even:me((function(e,t){for(var r=0;rt?t:r;--n>=0;)e.push(n);return e})),gt:me((function(e,t,r){for(var n=r<0?r+t:r;++n1?function(t,r,n){for(var i=e.length;i--;)if(!e[i](t,r,n))return!1;return!0}:e[0]}function Se(e,t,r,n,i){for(var o,a=[],s=0,d=e.length,u=null!=t;s-1&&(o[u]=!(a[u]=l))}}else g=Se(g===a?g.splice(p,g.length):g),i?i(null,a,g,d):O.apply(a,g)}))}function Ee(e){for(var t,r,i,o=e.length,a=n.relative[e[0].type],s=a||n.relative[" "],d=a?1:0,c=ke((function(e){return e===t}),s,!0),l=ke((function(e){return D(t,e)>-1}),s,!0),f=[function(e,r,n){var i=!a&&(n||r!==u)||((t=r).nodeType?c(e,r,n):l(e,r,n));return t=null,i}];d1&&Pe(f),d>1&&be(e.slice(0,d-1).concat({value:" "===e[d-2].type?"*":""})).replace(j,"$1"),r,d0,i=e.length>0,o=function(o,a,s,d,c){var l,p,m,g=0,v="0",b=o&&[],k=[],P=u,T=o||i&&n.find.TAG("*",c),E=S+=null==P?1:Math.random()||.1,x=T.length;for(c&&(u=a==h||a||c);v!==x&&null!=(l=T[v]);v++){if(i&&l){for(p=0,a||l.ownerDocument==h||(f(l),s=!y);m=e[p++];)if(m(l,a||h,s)){d.push(l);break}c&&(S=E)}r&&((l=!m&&l)&&g--,o&&b.push(l))}if(g+=v,r&&v!==g){for(p=0;m=t[p++];)m(b,k,a,s);if(o){if(g>0)for(;v--;)b[v]||k[v]||(k[v]=L.call(d));k=Se(k)}O.apply(d,k),c&&!o&&k.length>0&&g+t.length>1&&se.uniqueSort(d)}return c&&(S=E,u=P),b};return r?ue(o):o}(o,i))).selector=e}return s},d=se.select=function(e,t,r,i){var o,d,u,c,l,f="function"==typeof e&&e,h=!i&&a(e=f.selector||e);if(r=r||[],1===h.length){if((d=h[0]=h[0].slice(0)).length>2&&"ID"===(u=d[0]).type&&9===t.nodeType&&y&&n.relative[d[1].type]){if(!(t=(n.find.ID(u.matches[0].replace(te,re),t)||[])[0]))return r;f&&(t=t.parentNode),e=e.slice(d.shift().value.length)}for(o=$.needsContext.test(e)?0:d.length;o--&&(u=d[o],!n.relative[c=u.type]);)if((l=n.find[c])&&(i=l(u.matches[0].replace(te,re),ee.test(d[0].type)&&ge(t.parentNode)||t))){if(d.splice(o,1),!(e=i.length&&be(d)))return O.apply(r,i),r;break}}return(f||s(e,h))(i,t,!y,r,!t||ee.test(e)&&ge(t.parentNode)||t),r},r.sortStable=k.split("").sort(A).join("")===k,r.detectDuplicates=!!l,f(),r.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))})),ce((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||le("type|href|height|width",(function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),r.attributes&&ce((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||le("value",(function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||le(F,(function(e,t,r){var n;if(!r)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),se}(r);T.find=x,T.expr=x.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=x.uniqueSort,T.text=x.getText,T.isXMLDoc=x.isXML,T.contains=x.contains,T.escapeSelector=x.escape;var w=function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(r))break;n.push(e)}return n},C=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},A=T.expr.match.needsContext;function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var I=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function L(e,t,r){return g(t)?T.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?T.grep(e,(function(e){return e===t!==r})):"string"!=typeof t?T.grep(e,(function(e){return c.call(t,e)>-1!==r})):T.filter(t,e,r)}T.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?T.find.matchesSelector(n,e)?[n]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,r,n=this.length,i=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t1?T.uniqueSort(r):r},filter:function(e){return this.pushStack(L(this,e||[],!1))},not:function(e){return this.pushStack(L(this,e||[],!0))},is:function(e){return!!L(this,"string"==typeof e&&A.test(e)?T(e):e||[],!1).length}});var R,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,r){var n,i;if(!e)return this;if(r=r||R,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:O.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),I.test(n[1])&&T.isPlainObject(t))for(n in t)g(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(i=b.getElementById(n[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==r.ready?r.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,R=T(b);var M=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function F(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),r=t.length;return this.filter((function(){for(var e=0;e-1:1===r.nodeType&&T.find.matchesSelector(r,e))){o.push(r);break}return this.pushStack(o.length>1?T.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?c.call(T(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return w(e,"parentNode")},parentsUntil:function(e,t,r){return w(e,"parentNode",r)},next:function(e){return F(e,"nextSibling")},prev:function(e){return F(e,"previousSibling")},nextAll:function(e){return w(e,"nextSibling")},prevAll:function(e){return w(e,"previousSibling")},nextUntil:function(e,t,r){return w(e,"nextSibling",r)},prevUntil:function(e,t,r){return w(e,"previousSibling",r)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(r,n){var i=T.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=T.filter(n,i)),this.length>1&&(D[e]||T.uniqueSort(i),M.test(e)&&i.reverse()),this.pushStack(i)}}));var N=/[^\x20\t\r\n\f]+/g;function B(e){return e}function G(e){throw e}function K(e,t,r,n){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(r):e&&g(i=e.then)?i.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(N)||[],(function(e,r){t[r]=!0})),t}(e):T.extend({},e);var t,r,n,i,o=[],a=[],s=-1,d=function(){for(i=i||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s-1;)o.splice(r,1),r<=s&&s--})),this},has:function(e){return e?T.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=r="",this},disabled:function(){return!o},lock:function(){return i=a=[],r||t||(o=r=""),this},locked:function(){return!!i},fireWith:function(e,r){return i||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||d()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!n}};return u},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(r){T.each(t,(function(t,n){var i=g(e[n[4]])&&e[n[4]];o[n[1]]((function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,d=arguments,u=function(){var r,u;if(!(e=o&&(n!==G&&(s=void 0,d=[r]),t.rejectWith(s,d))}};e?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),r.setTimeout(c))}}return T.Deferred((function(r){t[0][3].add(a(0,r,g(i)?i:B,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:B)),t[2][3].add(a(0,r,g(n)?n:G))})).promise()},promise:function(e){return null!=e?T.extend(e,i):i}},o={};return T.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,r=t,n=Array(r),i=s.call(arguments),o=T.Deferred(),a=function(e){return function(r){n[e]=this,i[e]=arguments.length>1?s.call(arguments):r,--t||o.resolveWith(n,i)}};if(t<=1&&(K(e,o.done(a(r)).resolve,o.reject,!t),"pending"===o.state()||g(i[r]&&i[r].then)))return o.then();for(;r--;)K(i[r],a(r),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&U.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){r.setTimeout((function(){throw e}))};var j=T.Deferred();function H(){b.removeEventListener("DOMContentLoaded",H),r.removeEventListener("load",H),T.ready()}T.fn.ready=function(e){return j.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||j.resolveWith(b,[T]))}}),T.ready.then=j.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",H),r.addEventListener("load",H));var V=function(e,t,r,n,i,o,a){var s=0,d=e.length,u=null==r;if("object"===S(r))for(s in i=!0,r)V(e,t,s,r[s],!0,o,a);else if(void 0!==n&&(i=!0,g(n)||(a=!0),u&&(a?(t.call(e,n),t=null):(u=t,t=function(e,t,r){return u.call(T(e),r)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),T.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=J.get(e,t),r&&(!n||Array.isArray(r)?n=J.access(e,t,T.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=T.queue(e,t),n=r.length,i=r.shift(),o=T._queueHooks(e,t);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete o.stop,i.call(e,(function(){T.dequeue(e,t)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return J.get(e,r)||J.access(e,r,{empty:T.Callbacks("once memory").add((function(){J.remove(e,[t+"queue",r])}))})}}),T.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length\x20\t\r\n\f]*)/i,ge=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(pe=b.createElement("input")).setAttribute("type","radio"),pe.setAttribute("checked","checked"),pe.setAttribute("name","t"),he.appendChild(pe),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",m.option=!!he.lastChild;var ve={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function be(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?T.merge([e],r):r}function ke(e,t){for(var r=0,n=e.length;r",""]);var Pe=/<|&#?\w+;/;function Se(e,t,r,n,i){for(var o,a,s,d,u,c,l=t.createDocumentFragment(),f=[],h=0,p=e.length;h-1)i&&i.push(o);else if(u=ae(o),a=be(l.appendChild(o),"script"),u&&ke(a),r)for(c=0;o=a[c++];)ge.test(o.type||"")&&r.push(o);return l}var Te=/^key/,Ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xe=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Ce(){return!1}function Ae(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function _e(e,t,r,n,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof r&&(n=n||r,r=void 0),t)_e(e,s,r,n,t[s],o);return e}if(null==n&&null==i?(i=r,n=r=void 0):null==i&&("string"==typeof r?(i=n,n=void 0):(i=n,n=r,r=void 0)),!1===i)i=Ce;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return T().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,i,n,r)}))}function Ie(e,t,r){r?(J.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,i,o=J.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),J.set(this,t,o),n=r(this,t),this[t](),o!==(i=J.get(this,t))||n?J.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(J.set(this,t,{value:T.event.trigger(T.extend(o[0],T.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===J.get(e,t)&&T.event.add(e,t,we)}T.event={global:{},add:function(e,t,r,n,i){var o,a,s,d,u,c,l,f,h,p,y,m=J.get(e);if(Y(e))for(r.handler&&(r=(o=r).handler,i=o.selector),i&&T.find.matchesSelector(oe,i),r.guid||(r.guid=T.guid++),(d=m.events)||(d=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(N)||[""]).length;u--;)h=y=(s=xe.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(l=T.event.special[h]||{},h=(i?l.delegateType:l.bindType)||h,l=T.event.special[h]||{},c=T.extend({type:h,origType:y,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=d[h])||((f=d[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,n,p,a)||e.addEventListener&&e.addEventListener(h,a)),l.add&&(l.add.call(e,c),c.handler.guid||(c.handler.guid=r.guid)),i?f.splice(f.delegateCount++,0,c):f.push(c),T.event.global[h]=!0)},remove:function(e,t,r,n,i){var o,a,s,d,u,c,l,f,h,p,y,m=J.hasData(e)&&J.get(e);if(m&&(d=m.events)){for(u=(t=(t||"").match(N)||[""]).length;u--;)if(h=y=(s=xe.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(l=T.event.special[h]||{},f=d[h=(n?l.delegateType:l.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!i&&y!==c.origType||r&&r.guid!==c.guid||s&&!s.test(c.namespace)||n&&n!==c.selector&&("**"!==n||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,l.remove&&l.remove.call(e,c));a&&!f.length&&(l.teardown&&!1!==l.teardown.call(e,p,m.handle)||T.removeEvent(e,h,m.handle),delete d[h])}else for(h in d)T.event.remove(e,h+t[u],r,n,!0);T.isEmptyObject(d)&&J.remove(e,"handle events")}},dispatch:function(e){var t,r,n,i,o,a,s=new Array(arguments.length),d=T.event.fix(e),u=(J.get(this,"events")||Object.create(null))[d.type]||[],c=T.event.special[d.type]||{};for(s[0]=d,t=1;t=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],a={},r=0;r-1:T.find(i,this,null,[u]).length),a[i]&&o.push(n);o.length&&s.push({elem:u,handlers:o})}return u=this,d\s*$/g;function Me(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Fe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ne(e,t){var r,n,i,o,a,s;if(1===t.nodeType){if(J.hasData(e)&&(s=J.get(e).events))for(i in J.remove(t,"handle events"),s)for(r=0,n=s[i].length;r1&&"string"==typeof p&&!m.checkClone&&Re.test(p))return e.each((function(i){var o=e.eq(i);y&&(t[0]=p.call(this,i,o.html())),Ge(o,t,r,n)}));if(f&&(o=(i=Se(t,e[0].ownerDocument,!1,e,n)).firstChild,1===i.childNodes.length&&(i=o),o||n)){for(s=(a=T.map(be(i,"script"),De)).length;l0&&ke(a,!d&&be(e,"script")),s},cleanData:function(e){for(var t,r,n,i=T.event.special,o=0;void 0!==(r=e[o]);o++)if(Y(r)){if(t=r[J.expando]){if(t.events)for(n in t.events)i[n]?T.event.remove(r,n):T.removeEvent(r,n,t.handle);r[J.expando]=void 0}r[Q.expando]&&(r[Q.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Ke(this,e,!0)},remove:function(e){return Ke(this,e)},text:function(e){return V(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ge(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return Ge(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ge(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(be(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!ve[(me.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;r3,oe.removeChild(e)),s}}))}();var qe=["Webkit","Moz","ms"],$e=b.createElement("div").style,Ye={};function Xe(e){return T.cssProps[e]||Ye[e]||(e in $e?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=qe.length;r--;)if((e=qe[r]+t)in $e)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Ze={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,r){var n=ne.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function rt(e,t,r,n,i,o){var a="width"===t?1:0,s=0,d=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(d+=T.css(e,r+ie[a],!0,i)),n?("content"===r&&(d-=T.css(e,"padding"+ie[a],!0,i)),"margin"!==r&&(d-=T.css(e,"border"+ie[a]+"Width",!0,i))):(d+=T.css(e,"padding"+ie[a],!0,i),"padding"!==r?d+=T.css(e,"border"+ie[a]+"Width",!0,i):s+=T.css(e,"border"+ie[a]+"Width",!0,i));return!n&&o>=0&&(d+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-d-s-.5))||0),d}function nt(e,t,r){var n=je(e),i=(!m.boxSizingReliable()||r)&&"border-box"===T.css(e,"boxSizing",!1,n),o=i,a=We(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ue.test(a)){if(!r)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&_(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,n))&&e.getClientRects().length&&(i="border-box"===T.css(e,"boxSizing",!1,n),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+rt(e,t,r||(i?"border":"content"),o,n,a)+"px"}function it(e,t,r,n,i){return new it.prototype.init(e,t,r,n,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=We(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=$(t),d=Qe.test(t),u=e.style;if(d||(t=Xe(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===r)return a&&"get"in a&&void 0!==(i=a.get(e,!1,n))?i:u[t];"string"==(o=typeof r)&&(i=ne.exec(r))&&i[1]&&(r=ue(e,t,i),o="number"),null!=r&&r==r&&("number"!==o||d||(r+=i&&i[3]||(T.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==r||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(r=a.set(e,r,n))||(d?u.setProperty(t,r):u[t]=r))}},css:function(e,t,r,n){var i,o,a,s=$(t);return Qe.test(t)||(t=Xe(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,r)),void 0===i&&(i=We(e,t,n)),"normal"===i&&t in et&&(i=et[t]),""===r||r?(o=parseFloat(i),!0===r||isFinite(o)?o||0:i):i}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,r,n){if(r)return!Je.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,n):He(e,Ze,(function(){return nt(e,t,n)}))},set:function(e,r,n){var i,o=je(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||n)&&"border-box"===T.css(e,"boxSizing",!1,o),d=n?rt(e,t,n,s,o):0;return s&&a&&(d-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-rt(e,t,"border",!1,o)-.5)),d&&(i=ne.exec(r))&&"px"!==(i[3]||"px")&&(e.style[t]=r,r=T.css(e,t)),tt(0,r,d)}}})),T.cssHooks.marginLeft=ze(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(r){for(var n=0,i={},o="string"==typeof r?r.split(" "):[r];n<4;n++)i[e+ie[n]+t]=o[n]||o[n-2]||o[0];return i}},"margin"!==e&&(T.cssHooks[e+t].set=tt)})),T.fn.extend({css:function(e,t){return V(this,(function(e,t,r){var n,i,o={},a=0;if(Array.isArray(t)){for(n=je(e),i=t.length;a1)}}),T.Tween=it,it.prototype={constructor:it,init:function(e,t,r,n,i,o){this.elem=e,this.prop=r,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=o||(T.cssNumber[r]?"":"px")},cur:function(){var e=it.propHooks[this.prop];return e&&e.get?e.get(this):it.propHooks._default.get(this)},run:function(e){var t,r=it.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):it.propHooks._default.set(this),this}},it.prototype.init.prototype=it.prototype,it.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},it.propHooks.scrollTop=it.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=it.prototype.init,T.fx.step={};var ot,at,st=/^(?:toggle|show|hide)$/,dt=/queueHooks$/;function ut(){at&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,T.fx.interval),T.fx.tick())}function ct(){return r.setTimeout((function(){ot=void 0})),ot=Date.now()}function lt(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(r=ie[n])]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function ft(e,t,r){for(var n,i=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?T.prop(e,t,r):(1===o&&T.isXMLDoc(e)||(i=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?pt:void 0)),void 0!==r?null===r?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:(e.setAttribute(t,r+""),r):i&&"get"in i&&null!==(n=i.get(e,t))?n:null==(n=T.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&_(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,i=t&&t.match(N);if(i&&1===e.nodeType)for(;r=i[n++];)e.removeAttribute(r)}}),pt={set:function(e,t,r){return!1===t?T.removeAttr(e,r):e.setAttribute(r,r),r}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=yt[t]||T.find.attr;yt[t]=function(e,t,n){var i,o,a=t.toLowerCase();return n||(o=yt[a],yt[a]=i,i=null!=r(e,t,n)?a:null,yt[a]=o),i}}));var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(N)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}T.fn.extend({prop:function(e,t){return V(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,r){var n,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,r,n,i,o,a,s,d=0;if(g(e))return this.each((function(t){T(this).addClass(e.call(this,t,bt(this)))}));if((t=kt(e)).length)for(;r=this[d++];)if(i=bt(r),n=1===r.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");i!==(s=vt(n))&&r.setAttribute("class",s)}return this},removeClass:function(e){var t,r,n,i,o,a,s,d=0;if(g(e))return this.each((function(t){T(this).removeClass(e.call(this,t,bt(this)))}));if(!arguments.length)return this.attr("class","");if((t=kt(e)).length)for(;r=this[d++];)if(i=bt(r),n=1===r.nodeType&&" "+vt(i)+" "){for(a=0;o=t[a++];)for(;n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");i!==(s=vt(n))&&r.setAttribute("class",s)}return this},toggleClass:function(e,t){var r=typeof e,n="string"===r||Array.isArray(e);return"boolean"==typeof t&&n?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(r){T(this).toggleClass(e.call(this,r,bt(this),t),t)})):this.each((function(){var t,i,o,a;if(n)for(i=0,o=T(this),a=kt(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==r||((t=bt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))}))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+vt(bt(r))+" ").indexOf(t)>-1)return!0;return!1}});var Pt=/\r/g;T.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=g(e),this.each((function(r){var i;1===this.nodeType&&(null==(i=n?e.call(this,r,T(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=T.map(i,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=T.valHooks[i.type]||T.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(Pt,""):null==r?"":r:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:vt(T.text(e))}},select:{get:function(e){var t,r,n,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],d=a?o+1:i.length;for(n=o<0?d:a?o:0;n-1)&&(r=!0);return r||(e.selectedIndex=-1),o}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},m.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in r;var St=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,i){var o,a,s,d,u,c,l,f,p=[n||b],y=h.call(e,"type")?e.type:e,m=h.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!St.test(y+T.event.triggered)&&(y.indexOf(".")>-1&&(m=y.split("."),y=m.shift(),m.sort()),u=y.indexOf(":")<0&&"on"+y,(e=e[T.expando]?e:new T.Event(y,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),l=T.event.special[y]||{},i||!l.trigger||!1!==l.trigger.apply(n,t))){if(!i&&!l.noBubble&&!v(n)){for(d=l.delegateType||y,St.test(d+y)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(n.ownerDocument||b)&&p.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=p[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?d:l.bindType||y,(c=(J.get(a,"events")||Object.create(null))[e.type]&&J.get(a,"handle"))&&c.apply(a,t),(c=u&&a[u])&&c.apply&&Y(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=y,i||e.isDefaultPrevented()||l._default&&!1!==l._default.apply(p.pop(),t)||!Y(n)||u&&g(n[y])&&!v(n)&&((s=n[u])&&(n[u]=null),T.event.triggered=y,e.isPropagationStopped()&&f.addEventListener(y,Tt),n[y](),e.isPropagationStopped()&&f.removeEventListener(y,Tt),T.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,r){var n=T.extend(new T.Event,r,{type:e,isSimulated:!0});T.event.trigger(n,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return T.event.trigger(e,t,r,!0)}}),m.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var r=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,i=J.access(n,t);i||n.addEventListener(e,r,!0),J.access(n,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,i=J.access(n,t)-1;i?J.access(n,t,i):(n.removeEventListener(e,r,!0),J.remove(n,t))}}}));var Et=r.location,xt={guid:Date.now()},wt=/\?/;T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var Ct=/\[\]$/,At=/\r?\n/g,_t=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,r,n){var i;if(Array.isArray(t))T.each(t,(function(t,i){r||Ct.test(e)?n(e,i):Lt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,r,n)}));else if(r||"object"!==S(t))n(e,t);else for(i in t)Lt(e+"["+i+"]",t[i],r,n)}T.param=function(e,t){var r,n=[],i=function(e,t){var r=g(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){i(this.name,this.value)}));else for(r in e)Lt(r,e[r],t,i);return n.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&It.test(this.nodeName)&&!_t.test(e)&&(this.checked||!ye.test(e))})).map((function(e,t){var r=T(this).val();return null==r?null:Array.isArray(r)?T.map(r,(function(e){return{name:t.name,value:e.replace(At,"\r\n")}})):{name:t.name,value:r.replace(At,"\r\n")}})).get()}});var Rt=/%20/g,Ot=/#.*$/,Mt=/([?&])_=[^&]*/,Dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:GET|HEAD)$/,Nt=/^\/\//,Bt={},Gt={},Kt="*/".concat("*"),Ut=b.createElement("a");function jt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,i=0,o=t.toLowerCase().match(N)||[];if(g(r))for(;n=o[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Ht(e,t,r,n){var i={},o=e===Gt;function a(s){var d;return i[s]=!0,T.each(e[s]||[],(function(e,s){var u=s(t,r,n);return"string"!=typeof u||o||i[u]?o?!(d=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),d}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Vt(e,t){var r,n,i=T.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&T.extend(!0,e,n),e}Ut.href=Et.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Kt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Vt(Vt(e,T.ajaxSettings),t):Vt(T.ajaxSettings,e)},ajaxPrefilter:jt(Bt),ajaxTransport:jt(Gt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,d,u,c,l,f,h=T.ajaxSetup({},t),p=h.context||h,y=h.context&&(p.nodeType||p.jquery)?T(p):T.event,m=T.Deferred(),g=T.Callbacks("once memory"),v=h.statusCode||{},k={},P={},S="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Dt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(e,t){return null==u&&(e=P[e.toLowerCase()]=P[e.toLowerCase()]||e,k[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)E.always(e[E.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||S;return n&&n.abort(t),x(0,t),this}};if(m.promise(E),h.url=((e||h.url||Et.href)+"").replace(Nt,Et.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(N)||[""],null==h.crossDomain){d=b.createElement("a");try{d.href=h.url,d.href=d.href,h.crossDomain=Ut.protocol+"//"+Ut.host!=d.protocol+"//"+d.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),Ht(Bt,h,t,E),u)return E;for(l in(c=T.event&&h.global)&&0==T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ft.test(h.type),i=h.url.replace(Ot,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(f=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(wt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Mt,"$1"),f=(wt.test(i)?"&":"?")+"_="+xt.guid+++f),h.url=i+f),h.ifModified&&(T.lastModified[i]&&E.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&E.setRequestHeader("If-None-Match",T.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Kt+"; q=0.01":""):h.accepts["*"]),h.headers)E.setRequestHeader(l,h.headers[l]);if(h.beforeSend&&(!1===h.beforeSend.call(p,E,h)||u))return E.abort();if(S="abort",g.add(h.complete),E.done(h.success),E.fail(h.error),n=Ht(Gt,h,t,E)){if(E.readyState=1,c&&y.trigger("ajaxSend",[E,h]),u)return E;h.async&&h.timeout>0&&(s=r.setTimeout((function(){E.abort("timeout")}),h.timeout));try{u=!1,n.send(k,x)}catch(e){if(u)throw e;x(-1,e)}}else x(-1,"No Transport");function x(e,t,a,d){var l,f,b,k,P,S=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,o=d||"",E.readyState=e>0?4:0,l=e>=200&&e<300||304===e,a&&(k=function(e,t,r){for(var n,i,o,a,s=e.contents,d=e.dataTypes;"*"===d[0];)d.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){d.unshift(i);break}if(d[0]in r)o=d[0];else{for(i in r){if(!d[0]||e.converters[i+" "+d[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==d[0]&&d.unshift(o),r[o]}(h,E,a)),!l&&T.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),k=function(e,t,r,n){var i,o,a,s,d,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(r[e.responseFields[o]]=t),!d&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),d=o,o=c.shift())if("*"===o)o=d;else if("*"!==d&&d!==o){if(!(a=u[d+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[d+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+d+" to "+o}}}return{state:"success",data:t}}(h,k,E,l),l?(h.ifModified&&((P=E.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=P),(P=E.getResponseHeader("etag"))&&(T.etag[i]=P)),204===e||"HEAD"===h.type?S="nocontent":304===e?S="notmodified":(S=k.state,f=k.data,l=!(b=k.error))):(b=S,!e&&S||(S="error",e<0&&(e=0))),E.status=e,E.statusText=(t||S)+"",l?m.resolveWith(p,[f,S,E]):m.rejectWith(p,[E,S,b]),E.statusCode(v),v=void 0,c&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?f:b]),g.fireWith(p,[E,S]),c&&(y.trigger("ajaxComplete",[E,h]),--T.active||T.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,r){return T.get(e,t,r,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,r,n,i){return g(r)&&(i=i||n,n=r,r=void 0),T.ajax(T.extend({url:e,type:t,dataType:i,data:r,success:n},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,r){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,r)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(r){T(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},zt=T.ajaxSettings.xhr();m.cors=!!zt&&"withCredentials"in zt,m.ajax=zt=!!zt,T.ajaxTransport((function(e){var t,n;if(m.cors||zt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,i){t=T("